Re: [sr-dev] Set arbitrary destination port for outgoing request/reply

2018-05-21 Thread Tsvetomir Dimitrov
Thank you! This sounds like exactly what I need. Best regards, Tsvetomir On Thu, May 17, 2018 at 9:23 AM Daniel-Constantin Mierla wrote: > Hello, > > for sip request, just set the $du to the address you want to send, I guess > the port you know, doesn't really has to be

Re: [sr-dev] Set arbitrary destination port for outgoing request/reply

2018-05-17 Thread Daniel-Constantin Mierla
Hello, for sip request, just set the $du to the address you want to send, I guess the port you know, doesn't really has to be randomly generated by Kamailio -- however, if yes, then there is a variable that should help, iirc it is named $RANDOM, but you can check the pv cookbook in the wiki or

[sr-dev] Set arbitrary destination port for outgoing request/reply

2018-05-10 Thread Tsvetomir Dimitrov
Hello, Is it possible to modify the destination UDP port number for outgoing SIP request/response? I am working on a sec-agree extension implementation for Kamailio and after negotiating the IPSec tunnel parameters I need to redirect the messages to the new port number. I checked the code and