FYI, Here is the log when I set sofia loglevel all 9<br>==============<br>tport_wakeup_pri(00DFE3E8): events IN<br>tport_recv_event(00DFE3E8)<br>tport(00DFE3E8) msg 01B2E0C0 from (udp/MyIP:5060) has 1315 bytes, veclen<br>= 1<br>
tport(00DFE3E8): msg 01B2E0C0 (1315 bytes) from udp/SSIP:5060/sip next=000<br>00000<br>nta: received INVITE sip:AAA@MyIP:5060;user=phone SIP/2.0 (CSeq<br>1)<br>nta: canonizing sip:AAA@MyIP:5060 with contact<br>nta: INVITE (1) going to a default leg<br>
nta: timer shortened to 200 ms<br>tport_tsend(00DFE3E8) tpn = UDP/SSIP:5061<br>tport_resolve addrinfo = SSIP:5061<br>tport(00DFE3E8): not found by name UDP/SSIP:5061<br>tport_vsend(00DFE3E8): 652 bytes of 652 to udp/SSIP:5061<br>
tport_vsend returned 652<br>nta: sent 415 Unsupported Media Type for INVITE (1)<br>tport_wakeup_pri(00DFE3E8): events IN<br>tport_recv_event(00DFE3E8)<br>tport(00DFE3E8) msg 0192C510 from (udp/MyIP:5060) has 388 bytes, veclen =<br>
1<br>tport(00DFE3E8): msg 0192C510 (388 bytes) from udp/SSIP:5060/sip next=0000<br>0000<br>nta: received ACK sip:AAA@MyIP:5060;user=phone SIP/2.0 (CSeq 1)<br>nta: ACK (1) is going to INVITE (1)<br>nta: timer set next to 937 ms<br>
nta: timer J fired, terminate 200 response<br>incoming_reclaim_all(00000000, 00000000, 02E2FEB8)<br>nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free<br>nta: timer set next to 3859 ms<br>nta: timer I fired, terminate 415 response<br>
incoming_reclaim_all(00000000, 00000000, 02E2FEB8)<br>nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free<br>nta: timer not set<br><br><div class="gmail_quote">2009/11/2 Lei Tang <span dir="ltr"><<a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all, I get a "415 Unsupported Media Type" when FS receiving call from a softswitch. I captured some packets, It seems that the softswitch use SIP-I protocol, does FS can handle SIP-I message?<br>
<br clear="all">
===here is the invite messagefrom softswitch<br>INVITE sip:xxxxx@xxxx:5060;user=phone SIP/2.0<br>Contact: <sip:xxxx@xxxx:5061><br>MIME-version: 1.0<br>Content-Type: multipart/mixed;boundary=Alcatel-boundary<br>To: <sip:xxxx@xxxx:5060;user=phone><br>
From: xxxx<sip:xxxx@xxxxx:5061;user=phone>;tag=73D332463135364195291201<br>P-Asserted-Identity: <sip:xxxx@xxxxx:5061;user=phone><br>Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,COMET,UPDATE,PRACK,REFER,SUBSCRIBE,NOTIFY,MESSAGE<br>
Supported: 100rel,timer,replaces,diversion<br>Expires: 155<br>Session-Expires: 1800<br>Min-SE: 90<br>Call-ID: 01FD034872814000000230A1@sip-3<br>Max-Forwards: 70<br>CSeq: 1 INVITE<br>Timestamp: 10645<br>Via: SIP/2.0/UDP xxxxx:5061;branch=z9hG4bK8E1558EA4F1BE09A2BCB669331A9AC7E<br>
Content-Length: 542<br><br>--Alcatel-boundary<br>Content-Type: application/sdp<br><br>v=0<br>o=- 5 8 IN IP4 xxxxxx<br>s=SDP Data<br>c=IN IP4 xxxxx<br>t=0 0<br>m=audio 10266 RTP/AVP 0 8 96 110 111 112 113 3 97<br>a=rtpmap:110 speex/8000/1<br>
a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:96 TELEPHONE-EVENT/8000<br>a=fmtp:110 mode=3<br>a=rtpmap:111 speex/8000/1<br>a=rtpmap:3 GSM/8000<br>a=ptime:30<br>a=fmtp:111 mode=2<br>a=rtpmap:112 speex/8000/1<br>
<br>--Alcatel-boundary<br>Content-Type: application/ISUP;version=N/A<br><br>.. ....<br>...0.D...<br>...V..0......1...n..p...<br>--Alcatel-boundary--<br><br>=====response message from FS<br>SIP/2.0 415 Unsupported Media Type<br>
Via: SIP/2.0/UDP xxxxx:5061;branch=z9hG4bK8E1558EA4F1BE09A2BCB669331A9AC7E<br>From: xxxxx <sip:xxxxx@xxxx:5061;user=phone>;tag=73D332463135364195291201<br>To: <sip:xxxxx@xxxxx:5060;user=phone>;tag=m6XS44BKF4pSS<br>
Call-ID: 01FD034872814000000230A1@sip-3<br>CSeq: 1 INVITE<br>Timestamp: 10645 0.000000<br>User-Agent: FreeSWITCH-mod_sofia/1.0.4-14460<br>Accept: application/sdp<br>Accept-Encoding: <br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO<br>
Supported: timer, precondition, path, replaces<br>Allow-Events: talk, refer<br>Content-Length: 0<br><font color="#888888">-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a><br>