Bad From Header reply from FreeSwitch

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
ayo
Posts: 6
Joined: Fri Feb 13, 2009 3:06 pm

Bad From Header reply from FreeSwitch

Post by ayo »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

there is no ip/domain in the from header?
is there any dial plan at brekeke used for the call, and change the from?
ayo
Posts: 6
Joined: Fri Feb 13, 2009 3:06 pm

Post by ayo »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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
ayo
Posts: 6
Joined: Fri Feb 13, 2009 3:06 pm

Post by ayo »

Thanks Hope, you solve the problem.

AYO
Post Reply