hi all,
i am dialing the number 123456789 (example) reaching fs via inbound sip gateway
and hitting following dialplan:
<condition field="${sip_to_user}" expression="^123456(\d+)$">
<action application="set" data="my_dialed_extension=$1"/>
</condition>
<condition field="${my_dialed_extension}" expression="^789">
...
<action application="bridge"
data="{ignore_early_media=true}user/${my_dialed_extensi...@$${domain}"/>
...
</condition>
via info i can see that the variable my_dialed_extension is populated ok with
789 but somehow the second condition is not met.
when i change that to match (.*) the actions gets executed and the
my_dialed_extension inside is correct.
any suggestions?
kind regards
alex
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org