Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-11 Thread Daniel-Constantin Mierla
Hello, you need to rearm the execution of the branch route when re-routing to a gateway. Cheers, Daniel On 10/01/2017 14:41, Laura wrote: > > Dear Daniel and list.. > > a very strange situation.. why this parameters is valid on the first > gw only inside the lcr.. > > if i add differents string

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Laura
Dear Daniel and list.. a very strange situation.. why this parameters is valid on the first gw only inside the lcr.. if i add differents string on 2 gateways... and the call is goind on both of them.. i see the parameter added to invite only on the fist gw... Cheers Laura Il 10/01/17 14:3

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Daniel-Constantin Mierla
Hello! Welcome and thanks for providing back details about the solution in the config file. I am sure it will help others with similar needs in the future. As further hints, the value in the tag column can be more complex, storing more than information about the extra headers, just use a format t

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Anthony Joseph Messina
On Tuesday, January 10, 2017 10:51:30 AM CST Laura wrote: > Dear all, > > I'm using kamailio 4.3.6 and LCR modules.. i was wondering if it was > possibile to add some special paramenter to all call sent to a specific > gateway. > > I was try to use the " params" field on lcr_gw table but it's not

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Laura
Dear Daniel, thanks for your idea.. for anyone need it on their config.. on branch_route[MANAGE_BRANCH] ... if ($avp(lcr_tag)!=$null) { #!ifdef WITH_XLOG xlog("L_INFO","BRANCH_ROUTE: lcr_tag: $avp(lcr_tag) -> add field on INVITE\n"); #!endif append_hf("$avp(lcr_tag)\r\n")

Re: [SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Daniel-Constantin Mierla
Hello, afaik the params column stores the parameters for request URI. You are looking to add extra headers. One option is to leverage on tag column -- its value should be returned in a variable inside kamailio.cfg. There you can test the value and if it has a specific value, then you can add the

[SR-Users] Kamailio and default paramenters to a specific gatewy

2017-01-10 Thread Laura
Dear all, I'm using kamailio 4.3.6 and LCR modules.. i was wondering if it was possibile to add some special paramenter to all call sent to a specific gateway. I was try to use the " params" field on lcr_gw table but it's not working like i was think.. The issue is simple.. i want to add t