Route header problem

View: New views
5 Messages — Rating Filter:   Alert me  

Route header problem

by Alex Rendour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...;lr>

And forward as the same to Z.Z.Z.Z.

The route header must be :
<sip:11dc0d7918b56374@...;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,

--
alex

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: Route header problem

by Bugzilla from ibc@aliax.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/30 Alex Rendour <rendour@...>:

> 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@...;lr>
>
> And forward as the same to Z.Z.Z.Z.
>
> The route header must be :
> <sip:11dc0d7918b56374@...;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
<ibc@...>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: Route header problem

by Alex Rendour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Iñaki Baz Castillo a écrit :

> 2009/10/30 Alex Rendour <rendour@...>:
>  
>> 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@...;lr>
>>
>> And forward as the same to Z.Z.Z.Z.
>>
>> The route header must be :
>> <sip:11dc0d7918b56374@...;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


_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: Route header problem

by Bugzilla from ibc@aliax.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/30 Alex Rendour <rendour@...>:

>> 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.

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Re: Route header problem

by Alex Rendour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Iñaki Baz Castillo a écrit :
>
> 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.
>
>  
OK, thanks loose_route solve my problem.



--
Alex

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@...
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users