[Freeswitch-users] Get error "415 Unsupported Media Type" whenreceiving call from softswitch

Lei Tang lei.tlfly at gmail.com
Mon Nov 2 01:24:52 PST 2009


Hi all,
The problem is solved. I ask the softswitch to send only sdp in INVITE
message, then It works.
I think sofia doesn't support multipart content currently. is it right?

2009/11/2 Lei Tang <lei.tlfly at gmail.com>

> Hi Daniel.
> Sure. pls email me to tlfly at hotmail.com.
>
> 2009/11/2 Zeng, Qinglan (Daniel) <qzeng at avaya.com>
>
>  Lei,
>>
>> This is Daniel Zeng and I got your email address from the maillist of FS.
>> I have personal interestings on FS and if possible can we have a talk on
>> this?
>>
>> Thanks
>> Daniel Zeng
>>
>>  ------------------------------
>> *From:* Lei Tang [mailto:lei.tlfly at gmail.com]
>> *Sent:* Monday, November 02, 2009 10:27 AM
>> *To:* freeswitch-users at lists.freeswitch.org
>> *Subject:* [Freeswitch-users] Get error "415 Unsupported Media Type"
>> whenreceiving call from softswitch
>>
>> 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?
>>
>> ===here is the invite messagefrom softswitch
>> INVITE sip:xxxxx at xxxx:5060;user=phone SIP/2.0
>> Contact: <sip:xxxx at xxxx:5061>
>> MIME-version: 1.0
>> Content-Type: multipart/mixed;boundary=Alcatel-boundary
>> To: <sip:xxxx at xxxx:5060;user=phone>
>> From: xxxx<sip:xxxx at xxxxx:5061;user=phone>;tag=73D332463135364195291201
>> P-Asserted-Identity: <sip:xxxx at xxxxx:5061;user=phone>
>> Allow:
>> INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,COMET,UPDATE,PRACK,REFER,SUBSCRIBE,NOTIFY,MESSAGE
>> Supported: 100rel,timer,replaces,diversion
>> Expires: 155
>> Session-Expires: 1800
>> Min-SE: 90
>> Call-ID: 01FD034872814000000230A1 at sip-3
>> Max-Forwards: 70
>> CSeq: 1 INVITE
>> Timestamp: 10645
>> Via: SIP/2.0/UDP xxxxx:5061;branch=z9hG4bK8E1558EA4F1BE09A2BCB669331A9AC7E
>> Content-Length: 542
>>
>> --Alcatel-boundary
>> Content-Type: application/sdp
>>
>> v=0
>> o=- 5 8 IN IP4 xxxxxx
>> s=SDP Data
>> c=IN IP4 xxxxx
>> t=0 0
>> m=audio 10266 RTP/AVP 0 8 96 110 111 112 113 3 97
>> a=rtpmap:110 speex/8000/1
>> a=rtpmap:0 PCMU/8000
>> a=rtpmap:8 PCMA/8000
>> a=rtpmap:96 TELEPHONE-EVENT/8000
>> a=fmtp:110 mode=3
>> a=rtpmap:111 speex/8000/1
>> a=rtpmap:3 GSM/8000
>> a=ptime:30
>> a=fmtp:111 mode=2
>> a=rtpmap:112 speex/8000/1
>>
>> --Alcatel-boundary
>> Content-Type: application/ISUP;version=N/A
>>
>> .. ....
>> ...0.D...
>> ...V..0......1...n..p...
>> --Alcatel-boundary--
>>
>> =====response message from FS
>> SIP/2.0 415 Unsupported Media Type
>> Via: SIP/2.0/UDP xxxxx:5061;branch=z9hG4bK8E1558EA4F1BE09A2BCB669331A9AC7E
>> From: xxxxx <sip:xxxxx at xxxx:5061;user=phone>;tag=73D332463135364195291201
>> To: <sip:xxxxx at xxxxx:5060;user=phone>;tag=m6XS44BKF4pSS
>> Call-ID: 01FD034872814000000230A1 at sip-3
>> CSeq: 1 INVITE
>> Timestamp: 10645 0.000000
>> User-Agent: FreeSWITCH-mod_sofia/1.0.4-14460
>> Accept: application/sdp
>> Accept-Encoding:
>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
>> NOTIFY, REFER, UPDATE, REGISTER, INFO
>> Supported: timer, precondition, path, replaces
>> Allow-Events: talk, refer
>> Content-Length: 0
>> --
>> Lei.Tang
>> lei.tlfly at gmail.com
>>
>
>
>
> --
> Lei.Tang
> lei.tlfly at gmail.com
>



-- 
Lei.Tang
lei.tlfly at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091102/3504a8c7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list