Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
X-Lite 400 Bad Request on Registration
Author Message
StephenC
Brekeke Member


Joined: 31 Oct 2006
Posts: 18

PostPosted: Wed Oct 10, 2007 3:54 pm    Post subject: X-Lite 400 Bad Request on Registration Reply with quote

1. Brekeke Product Name and version: PBX 2.0.7.2

2. Java version: Standard Edition 6, v1.6.0

3. OS type and the version: Windows 2003 SP2

4. UA (phone), gateway or other hardware/software involved: Grandstream GXP2000, X-Lite

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : 3

6. Your problem:

X-Lite client at external site cannot register with Brekeke PBX/SIP - 400 Bad Request

Draytek 2800V Router is configured with open ports UDP 5060, and 10000-10999, directed to PBX/SIP server

External DNS is configured to direct to our router public interface, and this domain ip address has been put in the network interfaces o the SIP configuration

Client will work as sipgate client
Back to top
View user's profile
StephenC
Brekeke Member


Joined: 31 Oct 2006
Posts: 18

PostPosted: Thu Oct 11, 2007 5:18 am    Post subject: Reply with quote

Some more info:

Get same result with Kapanga, configured as per wiki

debug log for kapanga contains:

REGISTER sip:sip.ourdomain.com SIP/2.0
Via: SIP/2.0/UDP 192.168.1.10:5062;branch=z9hG4bKEEB3CCACC46DDF9DD245E6CED8A9AEF8;rport
From: "201" <sip:201@sip.ourdomain.com:5060>;tag=2598111EC961CC9281B46027A6F2F843
To: "201" <sip:201@sip.ourdomain.com:5060>
Contact: <sip:201@192.168.1.10:5062;transport=udp>
Call-ID: 66ED521B6640CF386F888A07FBDBB416@sip.ourdomain.com:5060
User-Agent: Kapanga Softphone Desktop 1.00/2165d+1192102742_0003473F8265
Supported: timer, replaces
CSeq: 1 REGISTER
Max-Forwards: 70
Event: registration
Allow-Events: message-summary, registration
Expires: 3600
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Content-Length: 0

---------------------

SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.1.10:5062;branch=z9hG4bKEEB3CCACC46DDF9DD245E6CED8A9AEF8;rport=38150;received=87.127.119.219
From: "201" <sip:201@sip.ourdomain.com:5060>;tag=2598111EC961CC9281B46027A6F2F843
To: "201" <sip:201@sip.ourdomain.com:5060>;tag=CcR-11136
Call-ID: 66ED521B6640CF386F888A07FBDBB416@sip.ourdomain.com:5060
CSeq: 1 REGISTER
Content-Length: 0

(NB: domain name changed in above post)
Back to top
View user's profile
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Mon Oct 15, 2007 1:19 am    Post subject: Reply with quote

The packet looks like Kapanga.
Did you paste wrong one or is it the same even if you use Kapanga?
Back to top
View user's profile
StephenC
Brekeke Member


Joined: 31 Oct 2006
Posts: 18

PostPosted: Fri Oct 19, 2007 12:30 pm    Post subject: Reply with quote

Hi Peng

I have switched things around so that this is not longer an issue (using VPN now). However, it was the same with both X-Lite and Kapanga.

I suspect a problem with the router I was using, which was a Draytek 2800VG. I wasn't using the voice side of it, but there didn't seem to be any way to turn it off, so it is possible that the router was responding inappropriately to requests to port 5060 arriving at the public interface. I had set to forward to my Brekeke PBX/SIP server, but maybe there was an issue there.

I have swapped out the 2800VG with a 2800V at the external site, and the GXP2000 started registering, but I continued to have problems with outgoing calls to the GXP2000, so I went to VPN.

Thanks

Steve
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1