[OpenSIPS-Users] Termiination tghrough a specific IP

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jan 18 11:28:40 CET 2013


Hi Khaled,

Use the force_send_socket() function - see 
http://www.opensips.org/Resources/DocsCoreFcn18#toc117, but this does 
not accept variables; for that, use the $fs variable - see 
http://www.opensips.org/Resources/DocsCoreVar18#toc42 :
         $fs = "udp:" + $avp(ipaddress) + ":5060" ;

Regards,

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


On 01/17/2013 03:58 PM, M.Khaled W Chehab wrote:
>
> Hi,
>
> My opensips is listening on two IPs, how can force the outgoing sip 
> leg to a trunk  goes over  a specific IP from these two IPs .
>
> Regards
>
> Khaled Chehab
>
> Senior NGN Engineer
>
> Description: icucall
>
> Operations Office - Lebanon
>
> Office    : +961 1 515155 ext 300
>
> Mobile  : +961 3 045212
>
> E-mail    : kchehab at icucall.com
>
> MSN ID :khalidchehab at hotmail.com
>
> Skype    : k_chehab
>
> Web Site: http://www.icucall.com
>
> http://www.allohi.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130118/4dd8f3ab/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5316 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130118/4dd8f3ab/attachment-0001.png>


More information about the Users mailing list