[Freeswitch-users] Problem setting up bind_digit_action
Steven Schoch
schoch+freeswitch.org at xwin32.com
Thu Feb 28 21:05:18 MSK 2013
On Thu, Feb 28, 2013 at 12:20 AM, Denis Gasparin <denis.gasparin at edistar.com
> wrote:
>
> The extension MYSETUP is:
> <extension name="MYSETUP_EXTENSION">
> <condition field="destination_number" expression="^MYSETUP$"/>
> <action application="log" data="INFO MYSETUP exec"/>
> </extension>
>
I'm rather new at this, so I could be wrong, but I believe an action must
be contained inside a condition. So extension from above should be:
<extension name="MYSETUP_EXTENSION">
<condition field="destination_number" expression="^MYSETUP$">
<action application="log" data="INFO MYSETUP exec"/>
</condition>
</extension>
--
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130228/56e8d117/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list