[Kamailio-Users] lcr module creating extra branch

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Thu Apr 8 19:54:33 CEST 2010


El Thu, 8 Apr 2010 20:11:35 +0300
jh at tutpro.com (Juha Heinanen) escribió:

> jon,
> 
> since you have hostname defined, next_gw() function sets r-uri and
> destination uri and t_relay() should relay only based destination uri
> unless you call t_relay() more than once.
> 
>  > No append_branch is executed at all. I have two INVITES IMHO because
>  > next_gw() function does create the second one.
> 
> next_gw() function does not create any invites.  check how your r-uri
> and dst uri look like after next_gw() call.
> 
> -- juha


Hi Juha

I have xloged $du and $ru just after next_gw() call and also in branch_route:


Afer next_gw ----
ru=sip:58658765876587685 at 77.77.77.77
du=sip:91.121.117.27:5080 

Branch ----
ru=sip:58658765876587685 at 77.77.77.77
du=sip:91.121.117.27:5080

Branch ----
ru=sip:58658765876587685 at sindominio.net
du=sip:58658765876587685 at sindominio.net


Setting "hostname" to NULL in gw table I get:

Afer next_gw ----
ru=sip:58658765876587685 at 77.77.77.77
du=<null>

Branch ----
ru=sip:58658765876587685 at 77.77.77.77
du=sip:58658765876587685 at 77.77.77.77

Branch ----
ru=sip:58658765876587685 at 91.121.117.27:5080
du=sip:58658765876587685 at 91.121.117.27:5080




More information about the sr-users mailing list