[OpenSIPS-Users] Setting up the $socket_out and transport for b2b_client_new

Denys Pozniak denys.pozniak at gmail.com
Wed Oct 18 12:14:16 UTC 2023


Hello!

My OpenSIPS proxy has several internal interfaces with different
transports, how can I specify the protocol type and outgoing socket for a
function b2b_client_new?
Tried classic methods but it doesn't work:
...
$socket_out = "tcp:192.168.100.10:5060";
$avp(b2b_du) = "sip:192.168.100.20:5060;transport=tcp";
b2b_client_new("uac", $ru, $avp(b2b_du));
b2b_server_new("uas");
b2b_init_request("bridging");
...

--
BR,
Denys Pozniak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231018/508431bd/attachment.html>


More information about the Users mailing list