[Asterisk-Users] Codec negotiation

Mark Eissler mark at mixtur.com
Wed Jan 26 07:52:01 MST 2005


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, <niels at wxn.nl> 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: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] 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, mark at mixtur.com
Mixtur Interactive, Inc. - at - http://www.mixtur.com




More information about the asterisk-users mailing list