Author |
Message |
dovid Brekeke Member
Joined: 03 May 2010 Posts: 12
Location: Cyprus,
|
Posted: Sat Jul 03, 2010 10:38 pm Post subject: Brekeke not acting correctly when getting a BYE |
|
|
1. Brekeke Product Name and version: 2.2.7.8
2. Java version: 6.0.26
3. OS type and the version: CentOS 5.5
4. UA (phone), gateway or other hardware/software involved: Asterisk 1.4.25
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem: 1 ad 9 (Brekeke sends call to clients PBX with a public IP).
When the Brekeke gets the BYE from the customers PBX it starts sending BYE's so the PBX. It should send a 200 OK. THE PBX getting the BYE is not expecting it and does not know what to do with it since it already sent the BYE. to the Brekeke.
I only get the call hung up correctly once LEG B (from the carrier's end) hangs up the call.
Here is a copy of the trace from the Brekeke server:
http://pastebin.com/Lp0155EZ |
|
Back to top |
|
dovid Brekeke Member
Joined: 03 May 2010 Posts: 12
Location: Cyprus,
|
Posted: Tue Jul 06, 2010 4:02 am Post subject: |
|
|
The issues seems to be that the Brekeke is being thrown off by the contact field in the 200 OK. I was going to change it in a new rule but it seems (from what I understand) I can only change what I am sending the PBX and not what I get from it. |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Wed Jul 07, 2010 7:07 pm Post subject: |
|
|
do you have any reason to use version 2.2.7.8 ??
if you don't have a reason, use the latest version.
you can download it from http://www.brekeke.com/download/download_sip_2_0.php
and update it at current SIP Server's GUI. |
|
Back to top |
|
dovid Brekeke Member
Joined: 03 May 2010 Posts: 12
Location: Cyprus,
|
Posted: Sun Jul 11, 2010 3:53 am Post subject: |
|
|
James,
I updated to 2.4.5.5 and I still have the same issue.
Regards,
Dovid |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Mon Jul 12, 2010 6:10 pm Post subject: |
|
|
do you have the same issue if you use another client instead of Asterisk??
Try X-Lite as a client for testing.
also.. do you have any DialPlan rules at SIP Server?
Is the SIP Server located behind NAT?
Which edition of SIP Server are you using?? |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Mon Jul 12, 2010 6:16 pm Post subject: |
|
|
i've looked at the packet trace.
Who is the SIP Server?
Is it 19.10.150.44?? |
|
Back to top |
|
dovid Brekeke Member
Joined: 03 May 2010 Posts: 12
Location: Cyprus,
|
Posted: Sun Jul 18, 2010 2:33 pm Post subject: |
|
|
James,
1) The IP's there are fake (I took out my real IP's). I believe that 19.10.150.44 is the IP of the switch. I would need to run the trace again to be sure.
2) The issue is Brekeke -> OpenSipS -> Asterisk. The issue is that when Asterisk returns the contact it sends it's IP. For instance.
Brekeke: 192.192.192.1
OpenSipS: 192.192.192.2
Asterisk: 192.192.192.3
The initial invite goes from the Brekeke to OpenSipS and OpenSipS passes it to Asterisk. The initial invite is to NUMBER@192.192.192.2. When Asterisk responds to sends a contact of NUMBER@192.192.3 which gets passed to OpenSipS and then back to the Brekeke. None of these servers are behind NAT. With the set up above there is an issue.
If I send the calls from Brekeke -> Asterisk there is no issue. The only difference is the contact so it seems it is a bug in the Brekeke Sip Server. |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Mon Jul 19, 2010 1:39 pm Post subject: |
|
|
I can not understand your situation..
Is it problem in 200 OK's Contact header?
If you remove "OpenSipS", there are no problem... right?
Why do you need OpenSipS?
You can ask brekeke's team to analyze packets. |
|
Back to top |
|
dovid Brekeke Member
Joined: 03 May 2010 Posts: 12
Location: Cyprus,
|
Posted: Thu Aug 05, 2010 12:56 am Post subject: |
|
|
James,
The issue is that in the 200 OK the contact is of the endpoint and not the box that the Brekeke is talking to.
I need OpenSipS for load balancing and to send options to the two servers to make sure that they are up running (which as far as I know Brekeke does not do).
How do I contact Brekeke to analyze the packets ? |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
|
Back to top |
|
|