Sorry Scott, I am getting following error now
INFO | 20150429-112459.688 | | RESIP | 1077785408 | SipMessage.cxx:925 | 57 extra bytes after body. Ignoring these bytes.INFO | 20150429-112459.688 | | RESIP:DUM | 1077785408 | DialogUsageManager.cxx:1591 | Got: SipReq: INVITE
31879150000007@192.168.10.180:5060 tid=003c76c552f46557ed7 cseq=6054 INVITE contact=
9142000044@192.168.10.180:5065 / 6054 from(wire)
UAS(INVITE): testAppDialogSet: created.
UAS(INVITE): testAppDialogSet: UAS UserProfile requested for msg: SipReq: INVITE
31879150000007@192.168.10.180:5060 tid=003c76c552f46557ed7 cseq=6054 INVITE contact=
9142000044@192.168.10.180:5065 / 6054 from(wire)
UAS(INVITE): testAppDialog: created.
ERR | 20150429-112459.689 | | RESIP | 1077785408 | Helper.cxx:2146 | ParseException
../../rutil/ParseBuffer.hxx:226, Parse failed unexpected eof in context: Contents--zx-msce
Content-Type: application/sdp
v=0
o=ZTE-MSCe 14194 14194 IN IP4 192.168.10.180
s=Phone Call via ZTE MSCe
c=IN IP4 ...
t=0 0
m=audio 7882/1 RTP/AVP 96 97 8 12 0 99 100 18 4 98
a=rtpmap:96 EVRC0/8000
a=rtpmap:97 EVRC/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:12 QCELP/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:99 QCELP8K/8000
a=rtpmap:100 IWF/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:98 TELEPHONE-EVENT/8000
a=sendrecv
--zx-msce
Content-Type: application/ISUP; base=chn; version=chn
Content-Disposition: signal; handling=optional
01 00 00 00 00 02 0b 09 03 10 13 78 19 0
^
I am constructing SIP packet as follows for local testing which I actually got from MSC:
<send retrans="500">
<![CDATA[
INVITE sip:31879150000007@192.168.10.180:5060;transport=UDP;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.10.180:5065;branch=z9hG4bK003c76c552f46557ed7
To: <
sip:31879150000007@192.168.10.180;user=phone>
From: <
sip:9142000044@192.168.10.180;user=phone>;tag=003-57978710321b555210bec-25b57c32
Call-ID: 30384-003010258vx@...
CSeq: 6054 INVITE
Contact: <
sip:9142000044@192.168.10.180:5065>
Accept: application/sdp,multipart/mixed,application/dtmf,application/dtmf-relay
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,REGISTER,PRACK,UPDATE,REFER,NOTIFY
Max-Forwards: 70
MIME-Version: 1.0
Supported: 100rel
User-Agent: ZTE-MSCe
P-Asserted-Identity: <sip:9142000044@..;user=phone>
Content-Type: multipart/mixed;boundary=zx-msce
Content-Length: 619
--zx-msce
Content-Type: application/sdp
v=0
o=ZTE-MSCe 14194 14194 IN IP4 192.168.10.180
s=Phone Call via ZTE MSCe
c=IN IP4 192.168.10.180
t=0 0
m=audio 7882/1 RTP/AVP 96 97 8 12 0 99 100 18 4 98
a=rtpmap:96 EVRC0/8000
a=rtpmap:97 EVRC/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:12 QCELP/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:99 QCELP8K/8000
a=rtpmap:100 IWF/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:98 TELEPHONE-EVENT/8000
a=sendrecv
--zx-msce
Content-Type: application/ISUP; base=chn; version=chn
Content-Disposition: signal; handling=optional
01 00 00 00 00 02 0b 09 03 10 13 78 19 05 00 00 70 08 83 11 19 24 00 00 44 0f 00
--zx-msce--
]]>
</send>
Can you please help out what's wrong with the packet I am sending?