[Asterisk-Users] How to get list of codecs

Moises Silva moises.silva at gmail.com
Tue Apr 12 08:45:41 MST 2005


mmm i think Agi by itself does not provide a way to do so. And the
codecs are negotiated depending upon the codec that both call sides
support. So, i belive that the only way is making your own
implementation of AGI in res_agi.c  :)

Hopefully someone will come up with a better idea :-)


best regards 

On Apr 12, 2005 1:34 PM, Pavel Siderov - Hostmates <pi at hostmates.com> wrote:
> Hi Guys,
> 
> Is it possible to get the UAC supported codec list when making
> a call. I want to assign to variable1 and variable2 the first 2
> supported codecs using AGI script e.g.
> 
> $variable1=g723
> $variable2=g729
> 
> Somebody can help me ? Any help is appreciated.
> 
> Thanks,
> Pavel Siderov
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list