[SR-Users] how i should process replies on nathelper pings?

Klaus Darilion klaus.mailinglists at pernau.at
Thu Nov 26 13:02:44 CET 2009


Never saw this yet. IIRC correctly, the responses should be consumed by 
nathelper module before entering the script.

which version are you using?

klaus

Andres Moya schrieb:
> Hi.
> 
> nathelper sending empty OPTIONS messages to clients. It have only one 
> VIA, server's IP address(195.167.152.55). Then it got reply i have:
> U 195.167.152.55:5060 -> 81.195.165.250:5060
>  OPTIONS sip:81.195.165.250:5060 SIP/2.0..Via: SIP/2.0/UDP 
> 195.167.152.55:5060;branch=0..From: sip:pinger at riki.ru;tag=e64c73d5..To: 
> sip:81.195.165.250:5060..Call-ID: 680bed34-d2e5c741-0eff517 at 195.167.152
>  .55..CSeq: 1 OPTIONS..Content-Length: 0....
> #
> U 81.195.165.250:5060 -> 195.167.152.55:5060
>  SIP/2.0 200 OK..Via: SIP/2.0/UDP 195.167.152.55:5060;branch=0..Contact: 
> <sip:10.0.52.103:5060>..To: 
> <sip:81.195.165.250:5060>;tag=021c6509..From: 
> <sip:pinger at riki.ru>;tag=e64c73d5..Call-ID: 680bed34-d2e
>  5c741-0eff517 at 195.167.152.55..CSeq: 1 OPTIONS..Accept: application/sdp, 
> application/sdp..Accept-Language: en..Allow: INVITE, ACK, CANCEL, BYE, 
> NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE..User-Agen
>  t: Zoiper rev.5324..Allow-Events: presence..Content-Length: 0....
> Nov 25 23:59:26 v /usr/local/sbin/kamailio[9697]: ERROR: <core> 
> [forward.c:695]: ERROR: forward_reply: no 2nd via found in reply
> #
> U 195.167.152.55:5070 -> 86.154.150.209:5060
>  OPTIONS sip:86.154.150.209:5060 SIP/2.0..Via: SIP/2.0/UDP 
> 195.167.152.55:5070;branch=0..From: sip:pinger at riki.ru;tag=f64c73d5..To: 
> sip:86.154.150.209:5060..Call-ID: 680bed34-e2e5c741-7eff517 at 195.167.152
>  .55..CSeq: 1 OPTIONS..Content-Length: 0....
> #
> U 86.154.150.209:5060 -> 195.167.152.55:5070
>  SIP/2.0 404 Not Found..Via: SIP/2.0/UDP 
> 195.167.152.55:5070;branch=0..To: 
> <sip:86.154.150.209>;tag=931uruqh0thc6crbneub..From: 
> <sip:pinger at riki.ru>;tag=f64c73d5..Call-ID: 680bed34-e2e5c741-7eff517 at 195.1
>  67.152.55..CSeq: 1 OPTIONS..Content-Length: 0....
> Nov 25 23:59:33 v /usr/local/sbin/kamailio[9698]: ERROR: <core> 
> [forward.c:695]: ERROR: forward_reply: no 2nd via found in reply
> 
> Reply should be consumed by nathelper? or i should eat it somewhere?  i 
> can't do so in request route. and i can't use reply route because i 
> can't set t_on_reply, it is not my request. There should be easy way... 
> tired get ERROR: forward_reply: no 2nd via found in reply
> 
> thanks
> 
> _______________________________________________
> 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