[SR-Users] insert_hf in branch_route

Klaus Darilion klaus.mailinglists at pernau.at
Fri Aug 26 12:44:23 CEST 2011


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



More information about the sr-users mailing list