Author |
Message |
ayo Brekeke Junior Member
Joined: 13 Feb 2009 Posts: 6
|
Posted: Sat Aug 28, 2010 10:23 am Post subject: Bad From Header reply from FreeSwitch |
|
|
1. Brekeke Product Name and version:SIP Server 2.3.8.4 standard
2. Java version:
3. OS type and the version:Windows 2000Enterprise
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem: I receive Status 400 "Bad From Header" error when traffic is sent to a FreeSwitch server. On the FreeSwitch server, authentication is done using IP address only. The below is the trace
INVITE sip:43899#4167247571@SwitchserverAddress SIP/2.0
Via: SIP/2.0/UDP MyserverAddress:5060;branch=z9hG4bK1499141334644fca450-216e811d-2001631a
Via: SIP/2.0/UDP MyClientaddress:5060;rport=5060;branch=z9hG4bKf25ca6ecd9ec87addd47-9e877c94-55385245
Via: SIP/2.0/UDP MyClientaddress:15062;rport=15062;branch=z9hG4bK6c83e29b80dca7196182c
From: "14167257459" <sip:14167257459@>;tag=b7b8b4fb5p
To: <sip:43899#4167247571@SwitchserverAddress>
Max-Forwards: 17
Contact: <sip:14167257459@MyServerAddress:5060>
Call-ID: 6ce29f2e-d3baf71a-11f9474b-415d8cd8@192.168.0.20
User-Agent: Brekeke PBX
CSeq: 1 INVITE
Allow: INVITE,ACK,BYE,CANCEL,INFO,MESSAGE,REFER,NOTIFY,SUBSCRIBE,UPDATE,PRACK
Record-Route: <sip:MyServerAddress:5060;lr>
Record-Route: <sip:MyClientAddress:5060;lr>
Content-Type: application/sdp
Content-Length: 208
Thanks
AYO |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Aug 30, 2010 10:03 am Post subject: |
|
|
there is no ip/domain in the from header?
is there any dial plan at brekeke used for the call, and change the from? |
|
Back to top |
|
ayo Brekeke Junior Member
Joined: 13 Feb 2009 Posts: 6
|
Posted: Mon Aug 30, 2010 10:14 am Post subject: |
|
|
The problem is that there is no IP/domain in the from Header.
We use SVK RadiusCat Billing which has the route manipulation table in it along with the SIP server. This is the only Dial Plan in the SIP Server for the routing.
Matching Patterns | $request = ^INVITE $addr = (.+) $svkdialplan.ipcallroutenum($addr) = (.+) From = sip:(.+)@
| Deploy Patterns | $auth = false To = sip:%2 $session = com.sample.radius.proxy.IPRadiusAcct %1 From = sip:%3@ $continue = false
|
Thanks,
AYO |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Aug 30, 2010 10:37 am Post subject: |
|
|
how about change dial plan as below:
Matching Patterns | $request = ^INVITE $addr = (.+) $svkdialplan.ipcallroutenum($addr) = (.+)
|
Deploy Patterns | $auth = false To = sip:%2 $session = com.sample.radius.proxy.IPRadiusAcct %1 $continue = false
|
|
|
Back to top |
|
ayo Brekeke Junior Member
Joined: 13 Feb 2009 Posts: 6
|
Posted: Wed Sep 01, 2010 3:49 am Post subject: |
|
|
Thanks Hope, you solve the problem.
AYO |
|
Back to top |
|
|