[SR-Users] source port used for forwarded requests

Alex Balashov abalashov at evaristesys.com
Fri Dec 16 00:26:49 CET 2011


On 12/15/2011 06:25 PM, Ben WIlliams wrote:

> Hi,
> My Kamailio server listens on multiple IPs - say IP1, IP2. If a
> request arrives on one IP, Kamailio uses the same IP as the source
> address when forwarding, which is good. But is there any way a UA
> could generate a request to IP1 that gets forwarded by Kamailio with
> source address IP2 ? The reason I ask is because Asterisk is setup to
> trust all calls arriving from IP2 but not IP1.

Yes, this is the function of force_send_socket() and/or $fs.


-- 
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list