[Kamailio-Users] Route header problem

Alex Rendour rendour at acropolistelecom.net
Fri Oct 30 11:56:13 CET 2009


Iñaki Baz Castillo a écrit :
> 2009/10/30 Alex Rendour <rendour at acropolistelecom.net>:
>   
>> Hello,
>> We have a problem with route on header.
>>
>> I  receive an ack from X.X.X.X  (asterisk) on Y.Y.Y.Y (kamailio 1.5.3).
>>  Y.Y.Y.Y relay ACK to  Z.Z.Z.Z
>>
>> Y.Y.Y.Y this route from X.X.X.X:
>> <sip:Y.Y.Y.Y;lr=on;ftag=as7e58db45>,<sip:11dc0d7918b56374 at Z.Z.Z.Z;lr>
>>
>> And forward as the same to Z.Z.Z.Z.
>>
>> The route header must be :
>> <sip:11dc0d7918b56374 at Z.Z.Z.Z;lr>
>>
>> I think  my kamailio must delete  the  first part of  the route header,
>> like  this explaination:
>>     
>
> Are you doing "loose_route()" for this ACK?
>
>
>   
When i receive the ack from X.X.X., i just relay to Z.Z.Z.Z with this:

if(!is_method("INVITE")){
                if(lookup("location")){
                        t_relay();exit;
                }

-- 
Alex





More information about the sr-users mailing list