[OpenSIPS-Users] Setting up the $socket_out and transport for b2b_client_new
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Oct 23 14:41:20 UTC 2023
Hi,
It looks right what you are doing, so...what is failing? is going via
wrong IP? wrong proto? I assume the incoming INVITE is via UDP, right ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 10/18/23 3:14 PM, Denys Pozniak wrote:
> 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 <http://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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231023/a845bebb/attachment.html>
More information about the Users
mailing list