[OpenSIPS-Users] b2b_logic issues about multi homed opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Mar 16 16:43:51 CET 2012


Nick,

try to replace that line with:
     ci.send_sock     = msg->force_send_socket ? msg->force_send_socket 
: msg->rcv.bind_address;

Regards,
Bogdan

On 03/16/2012 03:03 PM, Nick wrote:
> In my config mhomed=1, but in logic.c everything code like:
>
> ci.send_sock     = msg->rcv.bind_address;
>
> If I understand correctly, only used socket from which message received.
>
> --
> Nick
>
>
> 2012/3/16 Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>>
>
>     Hi Nick,
>
>     have you tried to enabled the mhomed option ?
>     http://www.opensips.org/Resources/DocsCoreFcn17#toc63
>
>     Regards,
>     Bogdan
>
>
>     On 03/16/2012 11:23 AM, Nick wrote:
>
>         Hello!
>
>         I try to make b2bua with two interfaces (external and
>         internal) and
>         need to bridge calls from internal to external interface (and
>         back).
>         But when initial INVITE received to internal socket, b2b_logic
>         sends
>         packet to external address also from internal socket.
>
>         I tried force_send_socket before b2b_init_request, it has no
>         effect.
>         I tried force_send_socket in local_route, it also has no effect.
>
>         Does anyone have any ideas how to solve this problem?
>
>         --
>         Nick
>
>
>     -- 
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120316/6a6c411f/attachment-0001.htm>


More information about the Users mailing list