Re: [SR-Users] Method Destination Variable

2018-08-02 Thread Duarte Rocha
That is perfect. Thanks a lot. 2018-08-01 17:09 GMT+01:00 Duarte Rocha : > Greetings, > > I thought about that but i wasn't sure it would be safe. But, in this > case, the Request-URI domain will be the only place where Kamailio will > look to find out the destination right within the dialog

Re: [SR-Users] Method Destination Variable

2018-08-01 Thread Daniel-Constantin Mierla
Hello, the rule behind next hop address: if $dd is set, then it is the address of the next hop. If $dd is not set, then it is $rd. But there is a dedicated variable so you do not need to do the IFs for above, just use $nh(d). Cheers, Daniel On Wed, Aug 1, 2018 at 6:09 PM, Duarte Rocha wrote:

Re: [SR-Users] Method Destination Variable

2018-08-01 Thread Duarte Rocha
Greetings, I thought about that but i wasn't sure it would be safe. But, in this case, the Request-URI domain will be the only place where Kamailio will look to find out the destination right within the dialog right? I'm going the statelless way, so that might be the correct answer. Thanks for

Re: [SR-Users] Method Destination Variable

2018-08-01 Thread Alex Balashov
Have you tried $rd? On Wed, Aug 01, 2018 at 04:28:38PM +0100, Duarte Rocha wrote: > Greetings, > > I have a Kamailio server set up without Registers. I'm using Dispatcher > module for balancing and selecting the destinations. I need to do some > changes in the message according to the chosen

[SR-Users] Method Destination Variable

2018-08-01 Thread Duarte Rocha
Greetings, I have a Kamailio server set up without Registers. I'm using Dispatcher module for balancing and selecting the destinations. I need to do some changes in the message according to the chosen destination. If it's the first INVITE, after Dispatcher operations, i can do it using $dd or $du