[SR-Users] Preventing the use of received port as the source port for next hop

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 16 09:40:30 CET 2012


Hello,

On 1/14/12 12:38 PM, Arif Tuhin wrote:
> I've noticed this in both kamailio 3.1.5 and 3.2.x.
>
> I've configured to receive on udp 9090 port. This sip message will be 
> forwarded to a asterisk box listening on 5060 port. Now what i'm 
> trying to achieve is , When kamailio will receive the sip message on 
> udp 9090 port it will forward the message to asterisk using source 
> port 5060, not 9090.
>
> How can i configure this?

Is kamailio listening on port 5060 as well?

If yes, just use force_send_socket(...) or $fs = "..." to specify what 
local socket to be use for sending.

Cheers,
Daniel

> Thanks in advance.
>
> With Best Regards
> Ariful Hossain Tuhin
> email: 1. etothepowerpi at gmail.com <mailto:etothepowerpi at gmail.com> 2. 
> etothepowerpi at hotmail.com <mailto:etothepowerpi at hotmail.com> 
> 3.etothepowerpi at yahoo.com <mailto:3.etothepowerpi at yahoo.com>
> skype: freeburn1986
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120116/c70b8434/attachment.htm>


More information about the sr-users mailing list