Hi all,
I have problem with inbound call. Outbound works without any problems.
I always get 400 Bad Request on INVITE message. I already try to change
header lines "To" and "Contact"
from:
To: <sip:38116789766@10.41.100.10>
Contact: <sip:015672227@10.41.100.10:5060>
to:
To: <sip:38116789766@10.41.100.10>
Contact: <sip:015672227@10.41.100.10:5060>
but nothing change. I also try to change parameter in Record-Route
"lr=on" but I always get 400 Bad Request from Genexis OCQ118.
Have I malformed message INVITE or what could be wrong?
Call is from PSTN to Genexis
Kamailio External IP: 85.23.65.2
Kamailio Internal IP: 10.41.100.10
SIP Client IP (Genexis OCQ118): 10.41.10.100
Trace:
INVITE sip:38116789766@10.41.10.100:5060 SIP/2.0
Record-Route:
<sip:10.41.100.10;r2=on;lr;ftag=as741efbef;did=41c.12f18333>
Record-Route:
<sip:85.23.65.2;r2=on;lr;ftag=as741efbef;did=41c.12f18333>
Via: SIP/2.0/UDP 10.41.100.10;branch=z9hG4bK52b8.1b7b9b04.0
Via: SIP/2.0/UDP
85.23.65.2:5070;received=85.23.65.2;branch=z9hG4bK265923dc;rport=5070
Max-Forwards: 69
From: "015672227" <sip:015672227@85.23.65.2>;tag=as741efbef
To: <sip:38116789766@85.23.65.2>
Contact: <sip:015672227@85.23.65.2:5070>
Call-ID: 06bbd69d6e21230a13aadfdd3c0158c7@85.23.65.2
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.1.9
Date: Mon, 08 Mar 2010 13:41:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 303
v=0
o=root 492361776 492361776 IN IP4 10.41.100.10
s=Asterisk PBX 1.6.1.9
c=IN IP4 10.41.100.10
t=0 0
m=audio 11576 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
a=nortpproxy:yes
SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 10.41.100.10;branch=z9hG4bK52b8.1b7b9b04.0
Via: SIP/2.0/UDP
85.23.65.2:5070;received=85.23.65.2;branch=z9hG4bK265923dc;rport=5070
CSeq: 102 INVITE
Call-ID: 06bbd69d6e21230a13aadfdd3c0158c7@85.23.65.2
Content-Length: 0
Thanks for help
BG
Ernest