[OpenSER-Devel] how to determine the codec used before RTP traffic
was sent?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Jul 20 11:08:28 CEST 2007
Hi Yan,
I'm afraid you cannot determine it. Each UA sends a list of supported
codecs and the other party will pick whatever it likes and start
transmitting RTP.
Regards,
Bogdan
yanlin wrote:
> Hi, all
>
> i'm confused with codec choosing.
> anybody knows how to determine the codec before rtp traffic was acturally received?
>
> i used openser + xlite + asterisk,
> when make call, i found
> "m=audio xxxx RTP/AVP 107 6 0 8 3 5 101" in INVITE message,
> and
> "m=audio xxxx RTP/AVP 3 0 8 101" in 200 OK reply message,
> then codec PCMU(0) was used in actual call,
> anybody know why PCMU(0) was choose? why not GSM(3) or PCMA(8)?
>
> yan lin
> 2007.7.20
>
>
>
>
> *** Disclaimer: This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. ***
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list