[Freeswitch-users] Occasional INCOMPATIBLE_DESTINATION error

Michael Jerris mike at jerris.com
Mon Jun 22 23:09:24 MSD 2015


It is absolutely manipulated by the library.  Regardless, your issue is on the browser side, not the freeswitch side, you will need to figure out why it is sending that.


> On Jun 22, 2015, at 2:50 PM, Oleg Stolyar <olegstolyar at gmail.com> wrote:
> 
> OK, thanks.  Since this is not reproducible at will, the only way for me to try it with sip.js is to release sip.js into production.  It's not really feasible just to test this one case.
> 
> From everything I could find, my understanding is that the m= line is created by Chrome and not manipulated by the library.
> 
> I think the question is this:  Is 0 a valid value for an attribute ID.  Unless it's explicitly forbidden by some RFP, I don't see why it wouldn't be.  If it is, then shouldn't FS handle it?
> 
> On Mon, Jun 22, 2015 at 11:39 AM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
> it is manipulated by the js library.
> 
>> On Jun 22, 2015, at 2:29 PM, Oleg Stolyar <olegstolyar at gmail.com <mailto:olegstolyar at gmail.com>> wrote:
>> 
>> Isn't SDP created by Chrome rather than the SIP JS library?
>> 
>> On Mon, Jun 22, 2015 at 11:25 AM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>> see if you get the same results with sip.js instead of jssip.
>> 
>>> On Jun 22, 2015, at 2:20 PM, Oleg Stolyar <olegstolyar at gmail.com <mailto:olegstolyar at gmail.com>> wrote:
>>> 
>>> The client is sending this to Freeswitch.
>>> 
>>> On Mon, Jun 22, 2015 at 11:15 AM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>>> is that the client sending that or freeswitch?
>>> 
>>>> On Jun 22, 2015, at 2:09 PM, Oleg Stolyar <olegstolyar at gmail.com <mailto:olegstolyar at gmail.com>> wrote:
>>>> 
>>>> Thanks Brian, this makes a lot of sense.  Snippets from SDP in these problem cases look like this:
>>>>    m=audio 0 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
>>>>    c=IN IP4 10.198.149.58
>>>>    a=rtcp:0 IN IP4 10.198.149.58
>>>> 
>>>> While good INVITES have this:
>>>>    m=audio 50937 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
>>>>    c=IN IP4 10.198.149.35
>>>>    a=rtcp:50937 IN IP4 10.198.149.35
>>>> 
>>>> Looks like it happens when the first parameter in m=audio is 0 even though there is a seemingly valid attribute 0 present.  Should 0 be handled?  If so, is this an FS bug?
>>>> 
>>>> 
>>>> On Mon, Jun 22, 2015 at 10:31 AM, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> wrote:
>>>> See the logs with the offer and look at the codec parsing, without this its really hard to tell what is going on, it could be an issue in chrome.  Do you ever see device or permission error?
>>>> 
>>>> On Mon, Jun 22, 2015 at 12:29 PM, Oleg Stolyar <olegstolyar at gmail.com <mailto:olegstolyar at gmail.com>> wrote:
>>>> Hi guys,
>>>> 
>>>> I am calling FreeSWITCH from Chrome with WebRTC (JsSip).  It works great but occasionally (much less than 1%) FreeSWITCH does this when trying to execute answer.  I cannot reproduce it at will, so just collecting data from production logs.  Is there some way I can find out what exactly makes FS unhappy?
>>>> 
>>>> EXECUTE sofia/leia_agent/anonymous at anonymous.invalid <mailto:sofia/leia_agent/anonymous at anonymous.invalid> answer()
>>>> 2015-06-22 16:04:53.414528 [DEBUG] switch_core_session.c:912 Send signal sofia/leia_agent/anonymous at anonymous.invalid <mailto:sofia/leia_agent/anonymous at anonymous.invalid> [BREAK]
>>>> 2015-06-22 16:04:53.414528 [NOTICE] switch_channel.c:3750 Hangup sofia/leia_agent/anonymous at anonymous.invalid <mailto:sofia/leia_agent/anonymous at anonymous.invalid> [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
>>>> 2015-06-22 16:04:53.414528 [DEBUG] switch_channel.c:3242 Send signal sofia/leia_agent/anonymous at anonymous.invalid <mailto:sofia/leia_agent/anonymous at anonymous.invalid> [KILL]
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Brian West
>>>> brian at freeswitch.org <mailto:brian at freeswitch.org>
>>>> 
>>>> Twitter: @FreeSWITCH , @briankwest
>>>> http://www.freeswitchbook.com <http://www.freeswitchbook.com/>
>>>> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
>>>> ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>> T:+19184209001 <tel:%2B19184209001> | F:+19184209002 <tel:%2B19184209002> | M:+1918424WEST (9378)
>>>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services: 
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services: 
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150622/c45b701a/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list