Daqiang:<br><br><br>How do you make your IP phone not dial right after you press &quot;#&quot;? Usually the IP phone will dial the number already once you pushed &quot;#&quot;<br><br><br><br><br><div class="gmail_quote">On Sun, Oct 11, 2009 at 10:45 AM, daqiang wang <span dir="ltr">&lt;<a href="mailto:wangdq.no1@gmail.com">wangdq.no1@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">it&#39;s work . Thank you very much . <br><br><div class="gmail_quote">2009/10/11 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Some characters need a backslash to match in a regular expression. However, # is not one of them. I think your regex is wrong:<div><br>&lt;condition field=&quot;destination_number&quot; expression=&quot;^1#(d+)#(d+)$&quot;/&gt;<br>


<br></div>It should probably be:<div><br>&lt;condition field=&quot;destination_number&quot; expression=&quot;^1#(\d+)#(\d+)$&quot;/&gt;<br><br></div>Note the backslashes in front of the d+ entries. \d means &quot;match a digit&quot; whereas a bare d means &quot;make a lowercase d character&quot;.<br>


<br>Hope that helps.<br><font color="#888888">-MC<br></font><br>P.S. - The * character does need to be escaped in regexes. See the default.xml dialplan file for some obvious examples.<div><div></div><div><br><br>
<div class="gmail_quote">On Sat, Oct 10, 2009 at 6:24 AM, Milena <span dir="ltr">&lt;<a href="mailto:testeador01@gmail.com" target="_blank">testeador01@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">escape character is &#39;\&#39;<div>try <div><br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^1\#(d+)\#(d+)$&quot;/&gt;<br>


</div><div class="gmail_quote">2009/10/10 daqiang wang <span dir="ltr">&lt;<a href="mailto:wangdq.no1@gmail.com" target="_blank">wangdq.no1@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>hello every one : <br>   I want to match the # in XML dialplan , how to do  ? <br>


   example : <br>      1#5555#6666 . how to do ? <br>
     I do this : <br>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^1#(d+)#(d+)$&quot;/&gt;<br>
    but it&#39;s not work <br>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><input type="hidden"><input type="hidden"><div></div>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Henry Huang<br>UniC Solution - Communication Unified<br>VoIP &amp; Open Source software Consultant<br>