[Kamailio-Devel] Nathelper SDP message parsing from the Nortel softswitch

Andrew O. Zhukov gnugk at telegroup.com.ua
Tue Dec 23 12:59:28 CET 2008


I have 2 questions:

1. Can someone try to parse invite message with multipart content in 
Mediaproxy?
2. Is it possible to fix a parsing of this kind of message in the 
nathelper module?

I got the followed error set:
ERROR:nathelper:check_content_type: invalid type for a message
ERROR:nathelper:extract_body: content type mismatching
ERROR:nathelper:force_rtp_proxy2_f: can't extract body from the message
.....
ERROR:nathelper:force_rtp_proxy2_f: incorrect port 0 in reply from rtp 
proxy


Here is INVITE from Nortel.

-----Skipped--------

Max-Forwards: 69
Supported: 100rel,x-nortel-sipvc,replaces,timer
User-Agent: Nortel CS1000 SIP GW release_5.0 version_sse-5.00.31

-----Skipped--------

INVITE,ACK,BYE,REGISTER,REFER,NOTIFY,CANCEL,PRACK,OPTIONS,INFO,SUBSCRIBE,UPDATE
Content-Type: multipart/mixed;boundary=unique-boundary-1
Content-Length: 760

--unique-boundary-1
Content-Type: application/sdp

v=0
o=- 120 1 IN IP4 192.168.32.89
s=-
t=0 0
m=audio 5200 RTP/AVP 0 8 18 101 111
c=IN IP4 192.168.33.8
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:111 X-nt-inforeq/8000
a=ptime:30
a=sendrecv

--unique-boundary-1
Content-Type: 
application/x-nt-mcdn-frag-hex;version=sse-5.00.31;base=x2611\015\012
Content-Disposition: signal;handling=optional

05002702
0107130081900000a200
09090f00e9a083000100a700
1315070011fa0f00a10d02010102020100cc042a016d2f00
1e0403008183
--unique-boundary-1
Content-Type: application/x-nt-epid-frag-hex;version=sse-5.00.31;base=x2611
Content-Disposition: signal;handling=optional

011201
00:02:b3:f7:80:16
--unique-boundary-1--

Thanks for respond in advance.

Andrew.



More information about the Devel mailing list