]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix valet parking sample
authorBrian West <brian@freeswitch.org>
Wed, 10 Sep 2014 22:40:44 +0000 (17:40 -0500)
committerBrian West <brian@freeswitch.org>
Wed, 10 Sep 2014 22:40:59 +0000 (17:40 -0500)
conf/vanilla/dialplan/default.xml

index 8971939ec25ebfa303ac7f38ae529f0d588f37f6..1695159b36f4f58a5852afadd8410c9a5195e6b2 100644 (file)
         After call is retrieved, park extension is free for another call.
     -->
     <extension name="valet_park">
-      <condition field="destination_number" expression="^(60\d[1-9])$">
+      <condition field="destination_number" expression="^((?!6000)60\d{2})$">
        <action application="answer"/>
        <action application="valet_park" data="valet_parking_lot $1"/>
       </condition>