[SR-Users] How to force snd_port?

Alex Balashov abalashov at evaristesys.com
Thu Jul 8 12:26:38 CEST 2010


On 07/08/2010 06:18 AM, Victor Pascual Avila wrote:

> How could I force my sip-router to send from a given port number?

Given that sip-router listens on the address of the interface 
(IP:port) that you want to send from, which is a requirement, you can 
use force_send_socket():

http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.0.x#force_send_socket

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list