Can't you just create a different context for inbound and outbound calls? Then specify your codec preference order in there. I don't think you can specify the bandwidth= parameter within a context other than the global one though.

-mark

On Jan 25, 2005, at 6:13 PM, <[EMAIL PROTECTED]> wrote:

I don't want that... because

- for outbound calls I want priority to be g729 first
- for inbound calls I want no priority at all (e.g. the calling asterisk
to decide which codec we will use)


The last doesn't happen..

This by the way DID happen correctly with previous versions of asterisk
(1.0.3 for example) the current CVS-HEAD version doesn't


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mohammed Salim Sent: dinsdag 25 januari 2005 22:10 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Codec negotiation

The order matters in asterisk so if you want GSM to take priority over
G729,
simply put that ahead of the G729... so your settings should be:

Allow=all
Allow=gsm
Allow=g729
Allow=ulaw
Allow=alaw

Try that and see if it works.

Regards,
Mohammed Salim
EZZI Telecom, Inc.



--
Mark Eissler, [EMAIL PROTECTED]
Mixtur Interactive, Inc. [EMAIL PROTECTED] http://www.mixtur.com

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to