[Asterisk-Users] How to check how many G729 codec licenseinstalled
Andy Kuo
akuoca at gmail.com
Tue Nov 15 12:24:30 MST 2005
I think you can specify the priority in sip.conf in the [general] section
disallow=all
allow=g729
allow=ulaw
allow=alaw
.
.
.
During call setup, Asterisk will negotiate for g729 first, if it's not
available on the other end, it'll try ulaw next, then alaw...
I'm not sure what happens when your g729 license is used up. I'm assuming
it should go on the next codec on the priority. Need to confirm on that. So
far, we have morce g729 license than what we are using now.
Cheers.
AK
On 11/15/05, Mark Quitoriano <markquitoriano at gmail.com> wrote:
>
> hmmm... so there's no way i can prioritize g.729 before ulaw and alaw? i
> just want to do is use all g.729 first if all g.729 already used now thats
> the time ulaw will be used.
>
> On 11/16/05, trixter aka Bret McDanel <trixter at 0xdecafbad.com> wrote:
>
> > On Wed, 2005-11-16 at 01:20 +0800, Mark Quitoriano wrote:
> > > how can i force asterisk to use g.729 codec first. i try to call
> > > outside sometimes the g.729 is being used sometimes not.
> >
> > Asterisk will negotitate based on your list of available codecs for a
> > channel and the remote end points available codecs. If you set it to
> > only g.729 and the other end doesnt support g.729 the call will fail.
> >
> > Keep in mind that g.729 takes more cpu than some other codecs. Take
> > ulaw, while it uses quantinization it doesnt really compress (its
> > arguable that quantinization is compression but that is a symantic
> > argument more than anything). So its a trade off between cpu and
> > network resources.
> >
> > If you truely want to force all calls to use g.729 or nothing only allow
> >
> > g.729 and disallow everything else. I do not think you will be happy
> > unless you use only providers that support g.729 and have enough
> > licenses available for every call that you make. If you directly
> > connect to other servers that you dont know whether or not they do g.729
> > or if your provider doesnt have enough g.729 licenses you may see both
> > inbound and outbound calls fail from time to time.
> >
> >
> > --
> > Trixter http://www.0xdecafbad.com Bret McDanel
> > UK +44 870 340 4605 Germany +49 801 777 555 3402
> > US +1 360 207 0479 or +1 516 687 5200
> > FreeWorldDialup: 635378
> > http://www.sacaug.org/ Sacramento Asterisk Users Group
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> > iD8DBQBDeh2V+1olxlzQw5cRAtF3AKCykanu2BnxlIvD9YD6Se4s6yztfgCfQL7l
> > vKqil6wmZbgG2d6v8bFZKrc=
> > =jqaB
> > -----END PGP SIGNATURE-----
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com<http://easynews.com/>--
> >
> > 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
> >
> >
>
>
> --
> Regards,
> Mark Quitoriano, CCNA
> http://www.atamanetworks.com
>
> Fan the flame...
> http://www.spreadfirefox.com/?q=user/register&r=19441
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com<http://easynews.com/>--
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051115/9a38d78d/attachment.htm
More information about the asterisk-users
mailing list