[Freeswitch-users] not taking var in dialplan
Brian West
brian at freeswitch.org
Sat Feb 15 01:01:25 MSK 2014
Its because you’ve stacked them reverse the order of operations for those conditions.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Feb 14, 2014, at 9:53 AM, Jason Holden <jason.holden at start.ca> wrote:
> Hi,
> Anyone provide any advise.
> The following dial plan chunk is not taking the EXT number and placing it in my bridge statement.
>
> <extension name="Voicemail_Get_Admin">
> <condition field="destination_number" expression="^\*86(7\d{3})$"/>
> <condition field="${phone_type}" expression="1">
> <action application="set" data="dialed_number=$1"/>
> <action application="bridge" data="{origination_callee_id_name='Voicemail'}sofia/gateway/vm/vm86-${phone_type}-$1-${site}-$${lang}"/>
> </condition>
> </extension>
> _________________________________________________________________________
> 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
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list