[asterisk-users] Codec choice
Sherwood McGowan
sherwood.mcgowan at gmail.com
Thu Aug 19 03:29:31 CDT 2010
On Thu, Aug 19, 2010 at 3:14 AM, Deepika Nijhawan
<deepika.nijhawan at oxygen8.com> wrote:
> Hi,
>
>
>
> Does anyone has an idea how to tell asterisk to use codec A for first 50
> calls and then codec B for rest of the calls.
>
>
>
> Thanks,
>
> Deepika
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
the easiest way I can think of is to use a global variable that you
increment each time a new call spawns, and once it's over your
threshold (50 in this case) use the CHANNEL() function to set the
audio format to the codec you want (google voip-info function CHANNEL)
Cheers
More information about the asterisk-users
mailing list