[OpenSIPS-Users] Change source port

Ovidiu Sas osas at voipembedded.com
Thu Mar 20 04:41:26 CET 2014


Check out the listen core parameter:
http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc59
When opensips starts, it will bind to those sockets.

When you forward a request, you can choose the socket to send through:
http://www.opensips.org/Documentation/Script-CoreVar-1-11#toc44

Regards,
Ovidiu Sas

On Wed, Mar 19, 2014 at 10:52 PM, Dovid Bender <os-list at dovid.net> wrote:
> Hi,
>
> If I have OpenSipS listening say on port 5066 and 50060 and I get a call and
> then send it to my carrier the source port will be 5066 and the destination
> port will be what ever I set it to. Other than sending the call back to 5060
> and then sending it to my carrier is there any way of changing the source
> port when sending out the packet?
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list