[SR-Users] insert_hf in branch_route

Gustavo Garcia Bernardo ggb at tid.es
Fri Aug 26 15:14:50 CEST 2011


Thank you Klaus, you are right. After you answer we reviewed again the configuration and there was a mistake.

Regards,
G.

-----Original Message-----
From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Klaus Darilion
Sent: viernes, 26 de agosto de 2011 12:44
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] insert_hf in branch_route

This should work. I just tested with Kamailio 3.2.0-dev6 and it worked fine.

Are you sure the branch route is executed? Add some xlogl to the branch route and verify if the message is logged to verify that Kamailio is executing the branch route.

regards
klaus

Am 26.08.2011 11:33, schrieb Gustavo Garcia Bernardo:
> Hi,
>
>
>
> I'm trying to add some headers in a branch_route making use of
> insert_hf
> method:
>
>
>
> insert_hf("Route: <sip:10.10.10.10:5080;lr=on>\r\n");
>
>
>
> But the forwarded message doesn't include that new header.
>
>
>
> According to the doc, insert_hf can be used in a branch_route, Am I
> missing something?  I'm using Kamailio 3.1.
>
>
>
> G.
>
>
> ----------------------------------------------------------------------
> -- Este mensaje se dirige exclusivamente a su destinatario. Puede
> consultar nuestra política de envío y recepción de correo electrónico
> en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send
> and receive email on the basis of the terms set out at.
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users at lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at.
http://www.tid.es/ES/PAGINAS/disclaimer.aspx



More information about the sr-users mailing list