[Freeswitch-users] Multiple 183 SDP Change Codecs - allowed?

Steven Ayre steveayre at gmail.com
Tue Jul 3 18:50:10 MSD 2012


Actually rereading the trace, it looks like you have both PCMU & PCMA
enabled on lines 39-40.
AviMarcus, Can you confirm your codec preferences to be sure?

If so, it appears to only be comparing the codec in the 2nd SDP to the
codec that's been selected for the call, not to all the codecs enabled on
the profile. That does sound like a bug, unless there's some parameter set
that's intentionally causing that behaviour...

-Steve



On 3 July 2012 15:46, Steven Ayre <steveayre at gmail.com> wrote:

> Looking at lines 75-78 you have PCMA enabled on FS as a codec option but
> not PCMU.
>
> When it goes to change to the PCMU codec it looks through the enabled
> codecs but doesn't find PCMU so hangs up the call with
> INCOMPATIBLE_DESTINATION.
>
> You need to add both PCMA and PCMU in your codec preferences.
>
> -Steve
>
>
>
>
> On 3 July 2012 14:38, Avi Marcus <avi at avimarcus.net> wrote:
>
>> If so.. which I think is not.. is this a bug then in FS?
>>
>> http://pastebin.freeswitch.org/19423
>> You see from the first SDP that PCMU and PCMA were both options.
>> Then for the next SDP FreeSWITCH was only considering PCMU which was the
>> one that got chosen by the first SDP.
>>
>> Voxbeam claims it's not their fault.. is it?
>>
>>  -Avi
>>
>>
>>
>> On Tue, Jul 3, 2012 at 4:26 PM, Kristian Kielhofner <kris at kriskinc.com>wrote:
>>
>>> Avi,
>>>
>>>   Multiple 18x responses that change the SDP are allowed.  I can't
>>> find the specific document text now but as a random guy on the
>>> internet (for whatever that's worth) I'm certain it is allowed.
>>>
>>>   A re-INVITE can't be sent from either side until the dialog has been
>>> established (200+ACK).  In a case where the UAC (caller) would like to
>>> update the session before it is established method UPDATE must be
>>> used.
>>>
>>> On Tue, Jul 3, 2012 at 1:04 AM, Avi Marcus <avi at avimarcus.net> wrote:
>>> > Are multiple 183s from the endpoint that changes the SDP allowed? I'm
>>> under
>>> > the impression this is broken, similar to
>>> > http://wiki.freeswitch.org/wiki/NDLB#NDLB-allow-nondup-sdp
>>> > ... which is why when the codec changes, FS freaks out and cancels the
>>> call
>>> > because of codec negotiation error.
>>> > Does that NDLB flag allow this, too?
>>> >
>>> > First has: audio 10116 RTP/AVP 0 101 13
>>> > Second has:  audio 49020 RTP/AVP 8 13 101
>>> > PCAP: http://ge.tt/7MpyBwJ
>>> >
>>> > Can someone point me to the specific RFC so I can tell the supplier to
>>> fix
>>> > it?
>>> > And just curious.. what would make this allowed? A re-INVITE..?
>>> >
>>> > -Avi
>>> >
>>> >
>>> _________________________________________________________________________
>>> > Professional FreeSWITCH Consulting Services:
>>> > consulting at freeswitch.org
>>> > http://www.freeswitchsolutions.com
>>> >
>>> > 
>>> > 
>>> >
>>> > Official FreeSWITCH Sites
>>> > http://www.freeswitch.org
>>> > http://wiki.freeswitch.org
>>> > http://www.cluecon.com
>>> >
>>> > Join Us At ClueCon - Aug 7-9, 2012
>>> >
>>> > 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
>>> >
>>>
>>>
>>>
>>> --
>>> Kristian Kielhofner
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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/20120703/26aaf2ab/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list