[SR-Users] proxy is not forwarding 180 ringing reply

Juha Heinanen jh at tutpro.com
Wed Oct 23 17:25:58 CEST 2013


i compared debug of failing 180 reply to working one and i don't see any
other difference except in working one reply gets relayed:

...
Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: DEBUG: tm [t_lookup.c:1140]: t_check_msg(): DEBUG: t_check_msg: msg id=11 global id=11 T end=0xb425e168
Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: DEBUG: tm [t_reply.c:2258]: reply_received(): DEBUG: reply_received: org. status uas=0, uac[0]=0 local=0 is_invite=1)
Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: INFO: Received reply
Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: DEBUG: tm [t_reply.c:1362]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=180
Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: DEBUG: tm [t_reply.c:1879]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=0
...

in failing one it does not happen and things are cleaned up:

...
Oct 23 17:40:51 rautu /usr/sbin/sip-proxy[8730]: DEBUG: tm [t_lookup.c:1140]: t_check_msg(): DEBUG: t_check_msg: msg id=5 global id=5 T end=0xb4256d88
Oct 23 17:40:51 rautu /usr/sbin/sip-proxy[8730]: DEBUG: tm [t_reply.c:2258]: reply_received(): DEBUG: reply_received: org. status uas=0, uac[0]=0 local=0 is_invite=1)
Oct 23 17:40:51 rautu /usr/sbin/sip-proxy[8730]: INFO: Received reply
Oct 23 17:40:51 rautu /usr/sbin/sip-proxy[8730]: DEBUG: <core>
[usr_avp.c:644]: destroy_avp_list(): DEBUG:destroy_avp_list: destroying
list (nil)
...

in both cases the reply code is the same and debug shows that the status
of the reply is the same.

why reply is not relayed in the failing test?  why does kamailio think
that it should not relay the reply?

-- juha



More information about the sr-users mailing list