Freeswitch rejecting streams when a=rtpmap:96 /0
Hi, I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected. I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug? t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0
Can you provide the entire sip dialog? -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Sep 18, 2013, at 7:11 PM, Sam Russell <sam.h.russell@gmail.com> wrote:
Hi,
I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected.
I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug?
t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
It may be mad at the /0 which I assume is <name>/<speed> with blank name and 0 speed It may be that it's supposed to ignore it but since it doesn't like the format it still gets mad. Even better would be if they didn't send a pointless a= with questionable content in the first place. On Thu, Sep 19, 2013 at 7:45 AM, Brian West <brian@freeswitch.org> wrote:
Can you provide the entire sip dialog?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Sep 18, 2013, at 7:11 PM, Sam Russell <sam.h.russell@gmail.com> wrote:
Hi,
I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected.
I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug?
t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
I would love it if they didn't send the pointless a=, but it looks like it may be a Cisco device that does this - and arguing with them is going to be as useful as yelling at a rock. Sent from my iPhone On 20/09/2013, at 6:45 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote: It may be mad at the /0 which I assume is <name>/<speed> with blank name and 0 speed It may be that it's supposed to ignore it but since it doesn't like the format it still gets mad. Even better would be if they didn't send a pointless a= with questionable content in the first place. On Thu, Sep 19, 2013 at 7:45 AM, Brian West <brian@freeswitch.org> wrote:
Can you provide the entire sip dialog?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Sep 18, 2013, at 7:11 PM, Sam Russell <sam.h.russell@gmail.com> wrote:
Hi,
I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected.
I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug?
t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Try HEAD of master or stable, i added a patch, I can see cisco arguing that since you are supposed to ignore a= lines it's perfectly ok to specify an incomplete one...... Consider jira in the future. On Thu, Sep 19, 2013 at 1:46 PM, Sam Russell <sam.h.russell@gmail.com>wrote:
I would love it if they didn't send the pointless a=, but it looks like it may be a Cisco device that does this - and arguing with them is going to be as useful as yelling at a rock.
Sent from my iPhone
On 20/09/2013, at 6:45 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
It may be mad at the /0 which I assume is <name>/<speed> with blank name and 0 speed It may be that it's supposed to ignore it but since it doesn't like the format it still gets mad. Even better would be if they didn't send a pointless a= with questionable content in the first place.
On Thu, Sep 19, 2013 at 7:45 AM, Brian West <brian@freeswitch.org> wrote:
Can you provide the entire sip dialog?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Sep 18, 2013, at 7:11 PM, Sam Russell <sam.h.russell@gmail.com> wrote:
Hi,
I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected.
I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug?
t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Cool, will give this a shot, thanks for getting the patch out so quickly! Sent from my iPhone On 20/09/2013, at 7:43 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote: Try HEAD of master or stable, i added a patch, I can see cisco arguing that since you are supposed to ignore a= lines it's perfectly ok to specify an incomplete one...... Consider jira in the future. On Thu, Sep 19, 2013 at 1:46 PM, Sam Russell <sam.h.russell@gmail.com>wrote:
I would love it if they didn't send the pointless a=, but it looks like it may be a Cisco device that does this - and arguing with them is going to be as useful as yelling at a rock.
Sent from my iPhone
On 20/09/2013, at 6:45 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
It may be mad at the /0 which I assume is <name>/<speed> with blank name and 0 speed It may be that it's supposed to ignore it but since it doesn't like the format it still gets mad. Even better would be if they didn't send a pointless a= with questionable content in the first place.
On Thu, Sep 19, 2013 at 7:45 AM, Brian West <brian@freeswitch.org> wrote:
Can you provide the entire sip dialog?
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Sep 18, 2013, at 7:11 PM, Sam Russell <sam.h.russell@gmail.com> wrote:
Hi,
I've been using Freeswitch as a PBX, and I'm having problems when making video calls when the video stream is rejected. The other endpoint (happens on 4 distinct endpoints) sends back a m= line with port 0, and an a= line with codec type as /0. When this happens, I get the error "sofia.c:1431 nua_i_media_error: unknown event 22: 988 Incomplete offer/answer" and the call is rejected.
I think Freeswitch is getting upset with the a= line after the "m=video 0" line because there's no codec name. The RFC says that any a= lines after an m= line with port=0 must be ignored, is this a bug?
t=0 0 m=audio 31720 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 m=video 0 RTP/AVP 96 a=rtpmap:96 /0
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Brian West
-
Sam Russell