Hi,
I'm new on Kamailio 3.0 This is the scenario I would like to build: 1 Subscriber A -> 2 kamailio -> 3 asterisk -> 4 Kamailio -> 5 Subscriber B Everything is working fine until the last step This is the code that manage the call from asterisk to kamailio if(is_method("INVITE") && (src_ip==80.169.xx.xx) ) { route(TOPROXYUSER); } And this is the code that should end the call the the subscriber route[TOPROXYUSER] { xlog("L_NOTICE", "$mi route[$rm][0] $fu -> $ru START PROCESSING MESSAGE\n"); rewritehostport("127.0.0.1:5060"); if (is_method("BYE|CANCEL")) { route(FAIL_ONE); } else if (is_method("INVITE")){ route(RELAY); }; exit; } Thank you, Stivu.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users