Re: [SR-Users] Changing outgoing/source port

2013-02-25 Thread Carsten Bock
Hi Efelin, please check the force_send_socket() method from core, it does exactly what you want: http://www.kamailio.org/wiki/cookbooks/devel/core#force_send_socket Kind regards, Carsten 2013/2/25 Efelin Novak : > Hi, > > I'd like to ask whether I am able to change an outgoing port. I'm > using

[SR-Users] Changing outgoing/source port

2013-02-25 Thread Efelin Novak
Hi, I'd like to ask whether I am able to change an outgoing port. I'm using t_relay for outgoing INVITEs & Kamailio uses 5060 port defined in listen. When the call fails I am rerouting it using append_branch and I'd like to change an outgoing port to 5061. The reason I'd like to do this is a Loop