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 <[email protected]>

> Hi Daniel.
> Sure. pls email me to [email protected].
>
> 2009/11/2 Zeng, Qinglan (Daniel) <[email protected]>
>
>  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:[email protected]]
>> *Sent:* Monday, November 02, 2009 10:27 AM
>> *To:* [email protected]
>> *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:xx...@xxxx:5060;user=phone SIP/2.0
>> Contact: <sip:x...@xxxx:5061>
>> MIME-version: 1.0
>> Content-Type: multipart/mixed;boundary=Alcatel-boundary
>> To: <sip:x...@xxxx:5060;user=phone>
>> From: xxxx<sip:x...@xxxxx:5061;user=phone>;tag=73D332463135364195291201
>> P-Asserted-Identity: <sip:x...@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: 01fd03487281400000023...@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:xx...@xxxx:5061;user=phone>;tag=73D332463135364195291201
>> To: <sip:xx...@xxxxx:5060;user=phone>;tag=m6XS44BKF4pSS
>> Call-ID: 01fd03487281400000023...@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
>> [email protected]
>>
>
>
>
> --
> Lei.Tang
> [email protected]
>



-- 
Lei.Tang
[email protected]
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to