[Freeswitch-users] Codec Negotiation

Moises Silva moises.silva at gmail.com
Tue Jul 10 22:09:25 MSD 2012


On Tue, Jul 10, 2012 at 11:51 AM, Stephen Wilde <wstephen80 at gmail.com>wrote:

> Is this message flow valid?
>
> FS   ----------------  MyProvider
>
> ---> INVITE (w/SDP G729, G711a, G711u)
>
> <--- 100 Trying
>
> <--- 183 Session Progress (w/SDP G729, G711a, G711u)
>
> <--- 200 OK (w/SDP G729, G711a, G711u)
>
>
> What is strange to me is that my provider send back a 183 Session Progress
> with all codec list of Freeswitch INVITE (I expect only the choosen codec).
>
> It's this message flow correct?
>
>
Although strange, I think per spec is correct.

http://www.ietf.org/rfc/rfc3264.txt

Section 7, mentions multiple answers are valid to the offer and it MAY send
media in any of the accepted streams and MUST send media using one of the
accepted formats and it SHOULD use the first one listed in the answer.

Anyone feel free to correct me if my understanding is wrong, as I just
started going thru the SIP related specs myself to troubleshoot and support
this kind of scenarios.

*Moises Silva
**Manager, Software Engineering***

msilva at sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada


t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223



**<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>

Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
| YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120710/aad28239/attachment.html 


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