To answer the question..
quoted from asterisk sample config file 
"codec order is respected only in [general]"
....."In user sections the order of codecs listed with allow= does NOT matter"

So...it's not a bug....It'll be nice though if it's possible ot set
different codec prefereces for different peers...

On Tue, 23 Nov 2004 23:15:15 +0800, Garry Taylor <[EMAIL PROTECTED]> wrote:
> I would like to see the answer to this also, I have experienced the same
> problem but not had much time to look at it.
> 
> regards
> Garry Taylor
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Matthew Boehm
> > Sent: Tuesday, 23 November 2004 5:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: [Asterisk-Users] sip.conf not paying attention to
> > allow/disallow
> >
> >
> > In my sip.conf, under general I have:
> >
> > disallow=all
> > allow=g729
> > allow=alaw
> > allow=ulaw
> >
> > Then I have a specific sip:
> >
> > [RNK]
> > <clip>
> > disallow=all
> > allow=alaw
> > allow=ulaw
> > allow=gsm
> >
> > If I do this:
> >
> > exten => _9.,1,Dial([EMAIL PROTECTED],60)
> >
> > The call still goes out as G729 even though I've told the RNK
> > to disallow g729. I need to be able to make other 729 calls
> > but to this one paticular group, they need to be 711.
> >
> > Any ideas?
> >
> > Thanks,
> > Matthew
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED] 
> > http://lists.digium.com/mailman/listinfo/aster> isk-users
> 
> 
> > To
> > UNSUBSCRIBE or update options visit:
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> 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
>
_______________________________________________
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