[Asterisk-Users] Re: Asterisk refuses to use anything but g729

Paul Rodan asterisk at glitch.cc
Tue Nov 2 10:25:59 MST 2004


Company meeting. Strange one. They want to improve morale. They want ideas
on how to have fun, like outings and such. 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tom Ivar
Helbekkmo
Sent: Tuesday, November 02, 2004 12:23 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Re: Asterisk refuses to use anything but g729

"Matthew Boehm" <mboehm at cytelcom.com> writes:

> This is really stupid behavior of asterisk. I have an ATA and an IP
> phone that I have set to use 711. These two devices MUST use 711
> because they are for faxing. I have some other phones that are set
> to use 729. In my sip.conf:
>
> disallow=all
> allow=g729
> allow=ulaw
> allow=alaw
> allow=gsm
> 
> The phones that are set to 729 work great. However, the other phones
> do not use 711. Asterisk FORCES them to use 729 when I have
> EXPLICITLY set the devices to use 711. WHY is asterisk forcing these
> devices to use something I told them not to use?

I guess you've got this in the [general] section, then?  The codec
list there is a specification of which codecs are allowed, and they
are listed in order of priority.  Thus, with your list, anything that
*can* speak g729 *will* do so.  You can override that, in individual
per-phone sections in the file:

[faxmachine]
disallow=all
allow=ulaw

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting
www.eunet.no  T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145
_______________________________________________
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