<div dir="ltr"><div>So with <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">NDLB-allow-nondup-sdp does that mean when the first SDP chooses PCMA then the second SDP with PCMU comes in - FS will still have that option available? (</span><a href="http://pastebin.freeswitch.org/19423" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">http://pastebin.freeswitch.org/19423</a> shows that currently it got lost after the 1st negotiation)</div>
<div><br></div>This was a parallel dial - the remote opensips apparently was trying various gateways, though..<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 9:48 PM, Kristian Kielhofner <span dir="ltr"><<a href="mailto:kris@kriskinc.com" target="_blank">kris@kriskinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If we only we had absolutes that were that simple...<br>
<br>
The default setting in FreeSWITCH when forking (parallel or serial) is<br>
to consider the first bridge (leg) that returns media (of any sort) as<br>
successful. This FreeSWITCH behavior can be changed. Many other<br>
implementations behave differently.<br>
<br>
In SIP (especially with proxies) this isn't an absolute and several<br>
other scenarios are still valid. A leg can return 183 w/SDP and then<br>
a 4xx/5xx/6xx, which should then defer to another leg (or pass the<br>
error, or branch further, etc). Various scenarios are perfectly valid<br>
per the specs. It's up to the implementor/application to decide which<br>
behavior is preferred.<br>
<div class="im HOEnZb"><br>
On Tue, Jul 3, 2012 at 1:50 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> 18x messages are supposed to make the call unreroutable since they indicate<br>
> the call has been successful on that route.<br>
><br>
> -Steve<br>
><br>
><br>
><br>
> On 3 July 2012 16:56, Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<br>
>><br>
>> They said the 1st carrier rejected it so the second 183 is from a second<br>
>> carrier.. but yes, the first carrier shouldn't be sending a 183...<br>
>> Anyway -- if you please look at the pcap from the first email, the log I<br>
>> posted a link to later, or the past two emails -- you'll see FS originally<br>
>> offers both PCMU and PCMA in the initial invite.<br>
>><br>
>> I think we need Anthony to chime in here... he knows the RFC stuff!<br>
>><br>
>> -Avi<br>
>><br>
>><br>
>><br>
>> On Tue, Jul 3, 2012 at 6:22 PM, Kristian Kielhofner <<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>><br>
>> wrote:<br>
>>><br>
>>> That's pretty nasty of voxbeam to do... Considering they return the<br>
>>> first 183 less than one second after the initial INVITE I'd say it's<br>
>>> very likely they're providing false ringback and/or FAS (false answer<br>
>>> supervision). Meanwhile the actual ringback comes over two seconds<br>
>>> later with PCMA. That's shady and if I were you I'd switch carriers<br>
>>> just on principle.<br>
>>><br>
>>> However, as I said before they're not doing anything that's not<br>
>>> allowed by the various specifications although FAS is considered by<br>
>>> many as fraud.<br>
>>><br>
>>> What are your codec settings like? Perhaps FS is rejecting PCMA<br>
>>> because you're not allowing it?<br>
>>><br>
>>> On Tue, Jul 3, 2012 at 9:38 AM, Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<br>
>>> > If so.. which I think is not.. is this a bug then in FS?<br>
>>> ><br>
>>> > <a href="http://pastebin.freeswitch.org/19423" target="_blank">http://pastebin.freeswitch.org/19423</a><br>
>>> > You see from the first SDP that PCMU and PCMA were both options.<br>
>>> > Then for the next SDP FreeSWITCH was only considering PCMU which was<br>
>>> > the one<br>
>>> > that got chosen by the first SDP.<br>
>>> ><br>
>>> > Voxbeam claims it's not their fault.. is it?<br>
>>> ><br>
>>> > -Avi<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > On Tue, Jul 3, 2012 at 4:26 PM, Kristian Kielhofner <<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Avi,<br>
>>> >><br>
>>> >> Multiple 18x responses that change the SDP are allowed. I can't<br>
>>> >> find the specific document text now but as a random guy on the<br>
>>> >> internet (for whatever that's worth) I'm certain it is allowed.<br>
>>> >><br>
>>> >> A re-INVITE can't be sent from either side until the dialog has been<br>
>>> >> established (200+ACK). In a case where the UAC (caller) would like to<br>
>>> >> update the session before it is established method UPDATE must be<br>
>>> >> used.<br>
>>> >><br>
>>> >> On Tue, Jul 3, 2012 at 1:04 AM, Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>> wrote:<br>
>>> >> > Are multiple 183s from the endpoint that changes the SDP allowed?<br>
>>> >> > I'm<br>
>>> >> > under<br>
>>> >> > the impression this is broken, similar to<br>
>>> >> > <a href="http://wiki.freeswitch.org/wiki/NDLB#NDLB-allow-nondup-sdp" target="_blank">http://wiki.freeswitch.org/wiki/NDLB#NDLB-allow-nondup-sdp</a><br>
>>> >> > ... which is why when the codec changes, FS freaks out and cancels<br>
>>> >> > the<br>
>>> >> > call<br>
>>> >> > because of codec negotiation error.<br>
>>> >> > Does that NDLB flag allow this, too?<br>
>>> >> ><br>
>>> >> > First has: audio 10116 RTP/AVP 0 101 13<br>
>>> >> > Second has: audio 49020 RTP/AVP 8 13 101<br>
>>> >> > PCAP: <a href="http://ge.tt/7MpyBwJ" target="_blank">http://ge.tt/7MpyBwJ</a><br>
>>> >> ><br>
>>> >> > Can someone point me to the specific RFC so I can tell the supplier<br>
>>> >> > to<br>
>>> >> > fix<br>
>>> >> > it?<br>
>>> >> > And just curious.. what would make this allowed? A re-INVITE..?<br>
>>> >> ><br>
>>> >> > -Avi<br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > _________________________________________________________________________<br>
>>> >> > Professional FreeSWITCH Consulting Services:<br>
>>> >> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >> ><br>
>>> >> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> >> > <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>> >> ><br>
>>> >> > Official FreeSWITCH Sites<br>
>>> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> > <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>> >> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>> >> ><br>
>>> >> > Join Us At ClueCon - Aug 7-9, 2012<br>
>>> >> ><br>
>>> >> > FreeSWITCH-users mailing list<br>
>>> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> ><br>
>>> >> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> ><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> --<br>
>>> >> Kristian Kielhofner<br>
>>> >><br>
>>> >><br>
>>> >> _________________________________________________________________________<br>
>>> >> Professional FreeSWITCH Consulting Services:<br>
>>> >> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> >> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> >><br>
>>> >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> >> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>> >><br>
>>> >> Official FreeSWITCH Sites<br>
>>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>> >> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>> >><br>
>>> >> Join Us At ClueCon - Aug 7-9, 2012<br>
>>> >><br>
>>> >> FreeSWITCH-users mailing list<br>
>>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >><br>
>>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > _________________________________________________________________________<br>
>>> > Professional FreeSWITCH Consulting Services:<br>
>>> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>> ><br>
>>> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> > <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>> ><br>
>>> > Official FreeSWITCH Sites<br>
>>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> > <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>> ><br>
>>> > Join Us At ClueCon - Aug 7-9, 2012<br>
>>> ><br>
>>> > FreeSWITCH-users mailing list<br>
>>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> ><br>
>>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Kristian Kielhofner<br>
>>><br>
>>> _________________________________________________________________________<br>
>>> Professional FreeSWITCH Consulting Services:<br>
>>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>>><br>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>>><br>
>>> Join Us At ClueCon - Aug 7-9, 2012<br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> Join Us At ClueCon - Aug 7-9, 2012<br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> Join Us At ClueCon - Aug 7-9, 2012<br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
<br>
--<br>
Kristian Kielhofner<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>