I wrote up a quick dialplan and intended on using $0 for the whole number, so my regex was: <condition field="destination_number" expression="^0\d+$"> but $0 was empty until I rewrote it: <condition field="destination_number" expression="^(0\d+)$"> Is this expected, I assumed not and I was not looking for $1 etc I figured $0 to always get populated. Thanks, jlc
What's in $0 on something like this? expresion="^0(\d+)$" Just curious. This is probably a minor bug, so open a jira w/ low priority. -MC On Sat, Jun 11, 2011 at 12:12 PM, Joseph L. Casale < jcasale@activenetwerx.com> wrote:
I wrote up a quick dialplan and intended on using $0 for the whole number, so my regex was: <condition field="destination_number" expression="^0\d+$"> but $0 was empty until I rewrote it: <condition field="destination_number" expression="^(0\d+)$">
Is this expected, I assumed not and I was not looking for $1 etc I figured $0 to always get populated.
Thanks, jlc
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Joseph L. Casale
-
Michael Collins