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    : [email protected]

MSN ID :[email protected]

Skype    : k_chehab

Web Site: http://www.icucall.com

                     http://www.allohi.com

 


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to