[Freeswitch-users] Problem setting up bind_digit_action

Michael Collins msc at freeswitch.org
Fri Mar 1 04:01:11 MSK 2013


Sometimes the new eye is the one that sees the obvious. You are quite
correct. An action MUST be inside a condition, no exceptions. I suspect
your edited version of the condition block will function as the OP hopes it
would.

-MC

On Thu, Feb 28, 2013 at 10:05 AM, Steven Schoch <
schoch+freeswitch.org at xwin32.com> wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130228/66971843/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list