In other words, I want the calling (client) preferences to be considered FIRST.
Currently, my logs show
Accepting AUTHENTICATED call from 203.89.xxx.xx:
> requested format = ulaw,
> requested prefs = (),
> actual format = ilbc,
> host prefs = (ilbc|g729|gsm|speex|g726|alaw|ulaw),
> priority = mineAs can be seen, the request was for ulaw, which IS in the list, but the request is ignored because "priority = mine".
Can "priority = caller"? Or is this caused by the fact that "requested prefs" is empty?
----- Original Message ----- From: "Mark Eissler" <[EMAIL PROTECTED]>
Sent: Wednesday, January 26, 2005 8:51 AM
Subject: [Asterisk-Users] Codec negotiation
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
