2010/4/8 Juha Heinanen <jh(a)tutpro.com>om>:
Jon Bonilla (Manwe) writes:
I have xloged $du and $ru just after next_gw()
call and also in branch_route:
Afer next_gw ----
ru=sip:58658765876587685@77.77.77.77
du=sip:91.121.117.27:5080
Branch ----
ru=sip:58658765876587685@77.77.77.77
du=sip:91.121.117.27:5080
Branch ----
ru=sip:58658765876587685@sindominio.net
du=sip:58658765876587685@sindominio.net
it is all ok after next_gw() call. try to figure out why do you enter
branch route two times. you should be there only once (the first one).
Hi, IMHO it's not ok after netx_gw(). Note that the incomig INVITE is:
INVITE sip:4644235465675757@77.77.77.77
When hostname is "sindominio.org" then after t_relay() ru ad du should
look like:
ru = sip:4644235465675757@sindominio.org
du = sip:91.121.117.27:5080
but they are:
ru = sip:58658765876587685@77.77.77.77
du = sip:91.121.117.27:5080
(note that the ruri domain has not been changed !!!).
Setting "hostname" to NULL in gw table then after t_realy ru and du should be:
ru = sip:4644235465675757@91.121.117.27:5080
du = <null>
but they are:
ru = sip:58658765876587685@77.77.77.77
du = <null>
It's obviously wrong. Not sure why two branches are generated, but the
values of ru and du after t_realy don't look correct for me.
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>