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@Z.Z.Z.Z;lr
And forward as the same to Z.Z.Z.Z.
The route header must be : sip:11dc0d7918b56374@Z.Z.Z.Z;lr
I think my kamailio must delete the first part of the route header, like this explaination: http://www.tech-invite.com/Ti-sip-dialog.html#inv-ack
Could you help me?
Regards,
2009/10/30 Alex Rendour rendour@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@Z.Z.Z.Z;lr
And forward as the same to Z.Z.Z.Z.
The route header must be : sip:11dc0d7918b56374@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?
Iñaki Baz Castillo a écrit :
2009/10/30 Alex Rendour rendour@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@Z.Z.Z.Z;lr
And forward as the same to Z.Z.Z.Z.
The route header must be : sip:11dc0d7918b56374@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; }
2009/10/30 Alex Rendour rendour@acropolistelecom.net:
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; }
Wrong. ACK for 200 (that containing Route header) is a new in-dialog transaction so it must be handled by "loose_route" section. Please check the default config file of Kamailio.