All this time I was dialing from non real IP. Sending you a call log now from a call made from real IP with - ngrep -d any -P ' ' -W byline -T -t "$*" udp port 5060.
Still same issue, but this time no issue with contact headers as mentioned by you.
Regards Deepak Singhal
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of Iñaki Baz Castillo Sent: Tuesday, September 04, 2007 7:08 PM To: users@openser.org Subject: Re: [OpenSER-Users] Opnser rejecting BYE packet
El Tuesday 04 September 2007 15:03:25 Dan escribió:
Full ngrep log attached.
In the INVITE OpenSEr sends to your provider is appears:
## U 78.45.146.34:5060 -> 212.34.169.220:5060 INVITE sip:1217773456@212.34.169.220:5060 SIP/2.0. Record-Route: sip:78.45.146.34;ftag=6613ce14;lr. To: sip:1217773456@78.45.146.34. From: 58.68.96.11sip:test@78.45.146.34;tag=6613ce14. Call-ID: 757a270529254e41. ... Contact: sip:test@72.55.124.23:5060 <---- **1**
But in the BYE from your provider it appears:
## U 212.34.169.220:5060 -> 78.45.146.34:5060 BYE sip:test@78.45.146.34 SIP/2.0. <---- **2** Route: sip:78.45.146.34;ftag=6613ce14;lr. From: sip:1217773456@78.45.146.34;tag=04093807084639921117967993. Call-ID: 757a270529254e41. To: 58.68.96.11sip:test@78.45.146.34;tag=6613ce14. ...
That is wrong, the **2** field should be the same as **1** in order to OpenSer route the BYE to EyeBeam. Because the URI is 78.45.146.34 (OpenSer's IP) then the BYE arrives to OpenSer, it reads "Route: 78.45.146.34" so it deletes the "Route" header and sends again the BYE to himself. But this time there is not a "Route" header so the message is NOT in dialog.
I htink you have deleted, by error, some of the trace messages after the BYE, maybe you though they were repeat messages (retransmited by timers and so). Nooo, sorry, you don't see it in the trace because now it's localhost connection (not ethX).
Try again the trace but with -d any (all the net devices, not just eth0). ngrep -d any -P ' ' -W byline -T -t "$*" udp port 5060