Hi Jehanzaib, I never used such scenarios, I just receive inbound calls via registered connections.
I think you should form request-URI using $ru [1] variable before sending your INVITE. But I'm almost absolutely sure that your VoIP provider will check either From user or smth like that in your INVITEs, so be ready to use functions like uac_replace_from [2] before calling t_relay. In the simplest case it may be something like: ... $ru = "sip:xyz@1.2.3.4" uac_replace_from("...","..."); ... t_relay(); [1] https://www.opensips.org/Documentation/Script-CoreVar-2-4#toc75 [2] https://opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from_2 ----------------------------------------------- BR, Alexey http://alexeyka.zantsev.com/ _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users