<br><br><div class="gmail_quote">On Wed, Jun 17, 2009 at 12:06 PM, Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com">larclap@yahoo.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;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-family: "Times New Roman","serif";">In
conf/dialplan/default.xml, the eavesdrop extension's condition is -
expression="^88(.*)$|^\*0(.*)$"></span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">Is this
intended? I thought it was defined to eavesdrop on internal extensions. Why
wouldn't it be something like -
expression="^88(\d{3,5})$|^\*0(\d{3,5})$">? The way it is now, if
I dial 888-555-1212 (rather than 1-888-555-1212), it goes into the eavesdrop
extension.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p></div></div></blockquote><div>Lars, <br>"8885551212" should never match regex expression "^88(\d{3,5})$" . It looks to me like your eavesdrop is matching on "^88(.*)$" which most definitely WILL match 8885551212. Please check your dialplan's eavesdrop extension's regex and make sure it is correct.<br>
<br>-MC<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p><span style="font-family: "Times New Roman","serif";"></span></p>
<p><span style="font-family: "Times New Roman","serif";">Log:</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">1030
Dialplan: <a href="mailto:sofia/internal/1009@192.168.10.29" target="_blank">sofia/internal/1009@192..168.10.29</a>
parsing [default->eavesdrop] continue=false</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">1031
Dialplan: <a href="mailto:sofia/internal/1009@192.168.10.29" target="_blank">sofia/internal/1009@192..168.10.29</a>
Regex (PASS) [eavesdrop] destination_number(8885819795) =~ /^88(.*)$|^\*0(.*)$/
break=on-false</span></p>
<p><span style="font-size: 9pt; font-family: "Courier New";">1032
Dialplan: <a href="mailto:sofia/internal/1009@192.168.10.29" target="_blank">sofia/internal/1009@192..168.10.29</a>
Action answer()</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">Thanks,
Lars</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
</div>
</div>
<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>