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

Brian Wilkins brian at hcc.net
Mon Nov 22 10:07:18 MST 2004


It's not a bug. You are setting global parameters. When you do that, it 
overrides the peer settings. Try setting for each individual peer. If you 
have many peers (100 or more), use a database solution such as RealTime or a 
script to build your sip.conf (one is included with the cvs).

On Monday 22 November 2004 09:55 pm, Brian C. Fertig wrote:
> I have found this same problem to be true.   I don't know what to do to
> fix it.  I believe it's a bug but don't know for sure.  If you find a
> way drop me a line I would like to know.
>
> Brian
>
>
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew
> Boehm
> Sent: Monday, November 22, 2004 4:46 PM
> 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/asterisk-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

-- 
Brian Wilkins
Software Engineer
brian at hcc.net

Heritage Communications Corporation
  Melbourne, FL     USA     32935
321.308.4000 x33
http://www.hcc.net




More information about the asterisk-users mailing list