Hi, I want to know how can I bypass UAC IP through OpenSIPS. Like my UAC IP is xx.xx.xx.xx, my OpenSIPS IP is yy.yy.yy.yy and Asterisk IP is zz.zz.zz.zz, where I'm using OpenSIPs as redirect server, when I make a call I want UAC IP displayed on Asterisk machine not OpenSIPs IP.
Kindly advise me which fuction do I require for it. The configuration I've done is listed down below; route{ if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; } if (is_method("INVITE")) { log("########INVITE#######################"); ds_select_domain("1","4"); sl_send_reply("300","Redirect"); route(1); log("#####END"); exit; } if (is_method("REGISTER")) { log("########REGISTER#######################"); ds_select_dst("1","4"); #t_replicate("77.66.2.136"); #sl_send_reply("200", "ok"); forward(); log("#####END"); #exit; return; } } -- Regards, Ahmed Munir
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users