El Thu, 8 Apr 2010 20:11:35 +0300 j...@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:58658765876587...@77.77.77.77 du=sip:91.121.117.27:5080 Branch ---- ru=sip:58658765876587...@77.77.77.77 du=sip:91.121.117.27:5080 Branch ---- ru=sip:58658765876587...@sindominio.net du=sip:58658765876587...@sindominio.net Setting "hostname" to NULL in gw table I get: Afer next_gw ---- ru=sip:58658765876587...@77.77.77.77 du=<null> Branch ---- ru=sip:58658765876587...@77.77.77.77 du=sip:58658765876587...@77.77.77.77 Branch ---- ru=sip:58658765876587...@91.121.117.27:5080 du=sip:58658765876587...@91.121.117.27:5080 _______________________________________________ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users