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/ ... terns.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
Bad From Header reply from FreeSwitch
Moderator: Brekeke Support Team
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
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