[Freeswitch-users] Setting Restrictions on Default Dialplan

Michael Collins msc at freeswitch.org
Mon Dec 21 15:53:49 PST 2009


On Sun, Dec 20, 2009 at 10:31 PM, Edmar Cruz <darklion11 at yahoo.com> wrote:

>
> Where should I write this line
>
> <extension name="international dialing">
>  <condition field="${toll_allow}" expression="international">
>    <anti-action application="playfile"
> data="misc/you-are-not-authorized.wav"/>
>    <anti-action application="hangup"/>
>  </condition>
>  <condition field="destination_number" expression="^(\d+)$"> <!-- use
> whatever value works for you -->
>     <action application="bridge" data="sofia/internal/$1 at whatever"/>
>  </condition>
>
> on the default.xml or in the default category?
>

You can put it in default.xml or in an xml file in conf/dialplan/default/
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091221/08d5c351/attachment-0002.html 


More information about the FreeSWITCH-users mailing list