VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
lei.tlfly at gmail.com Guest
|
Posted: Mon Nov 02, 2009 4:37 am Post subject: [Freeswitch-users] Get error "415 Unsupported Media Typ |
|
|
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@gmail.com (lei.tlfly@gmail.com)>
Quote: | Hi Daniel.
Sure. pls email me to tlfly@hotmail.com (tlfly@hotmail.com).
2009/11/2 Zeng, Qinglan (Daniel) <qzeng@avaya.com (qzeng@avaya.com)>
Quote: | 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@gmail.com (lei.tlfly@gmail.com)]
Sent: Monday, November 02, 2009 10:27 AM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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@xxxx:5060;user=phone SIP/2.0
Contact: <sip:xxxx@xxxx:5061>
MIME-version: 1.0
Content-Type: multipart/mixed;boundary=Alcatel-boundary
To: <sip:xxxx@xxxx:5060;user=phone>
From: xxxx<sip:xxxx@xxxxx:5061;user=phone>;tag=73D332463135364195291201
P-Asserted-Identity: <sip:xxxx@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@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@xxxx:5061;user=phone>;tag=73D332463135364195291201
To: <sip:xxxxx@xxxxx:5060;user=phone>;tag=m6XS44BKF4pSS
Call-ID: 01FD034872814000000230A1@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@gmail.com (lei.tlfly@gmail.com)
|
--
Lei.Tang
lei.tlfly@gmail.com (lei.tlfly@gmail.com)
|
--
Lei.Tang
lei.tlfly@gmail.com (lei.tlfly@gmail.com) |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Mon Nov 02, 2009 10:00 am Post subject: [Freeswitch-users] Get error "415 Unsupported Media Typ |
|
|
That is correct.
Mike
On Nov 2, 2009, at 4:24 AM, Lei Tang wrote:
Quote: | 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?
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|