[Asterisk-Users] sip.conf not paying attention to allow/disallow

Oliver Stone godvoip at gmail.com
Tue Nov 23 17:34:15 MST 2004


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 <garry at steelclaws.net> 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: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> > Matthew Boehm
> > Sent: Tuesday, 23 November 2004 5:46 AM
> > To: asterisk-users at lists.digium.com
> > 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(${EXTEN}@RNK,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
> > Asterisk-Users at lists.digium.com 
> > 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
> 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