this is up to your phone.... # means address complete and you phone sends the number you dialed into an INVITE message.<br><br>if you want to support FAC with # you should modify the phone's dialplan and make it expect more digits... for certain prefixes.<br>
<br>T.<br><br><br><div class="gmail_quote">On Sun, Oct 11, 2009 at 12:10 PM, Henry Huang <span dir="ltr"><<a href="mailto:red.rain.seven@gmail.com">red.rain.seven@gmail.com</a>></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;">
Daqiang:<br><br><br>How do you make your IP phone not dial right after you press "#"? Usually the IP phone will dial the number already once you pushed "#"<div><div></div><div class="h5"><br><br><br><br>
<br><div class="gmail_quote">On Sun, Oct 11, 2009 at 10:45 AM, daqiang wang <span dir="ltr"><<a href="mailto:wangdq.no1@gmail.com" target="_blank">wangdq.no1@gmail.com</a>></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's work . Thank you very much . <br><br><div class="gmail_quote">2009/10/11 Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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><condition field="destination_number" expression="^1#(d+)#(d+)$"/><br>
<br></div>It should probably be:<div><br><condition field="destination_number" expression="^1#(\d+)#(\d+)$"/><br><br></div>Note the backslashes in front of the d+ entries. \d means "match a digit" whereas a bare d means "make a lowercase d character".<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"><<a href="mailto:testeador01@gmail.com" target="_blank">testeador01@gmail.com</a>></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 '\'<div>try <div><br> <condition field="destination_number" expression="^1\#(d+)\#(d+)$"/><br>
</div><div class="gmail_quote">2009/10/10 daqiang wang <span dir="ltr"><<a href="mailto:wangdq.no1@gmail.com" target="_blank">wangdq.no1@gmail.com</a>></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> <condition field="destination_number" expression="^1#(d+)#(d+)$"/><br>
but it'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" 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 clear="all"><br></div></div><font color="#888888">-- <br>Henry Huang<br>UniC Solution - Communication Unified<br>VoIP & Open Source software Consultant<br>
</font><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>