<br><br><div class="gmail_quote">On Wed, Jun 17, 2009 at 12:06 PM, Lars Zeb <span dir="ltr">&lt;<a href="mailto:larclap@yahoo.com">larclap@yahoo.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;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">In
conf/dialplan/default.xml, the eavesdrop extension&#39;s condition is -
expression=&quot;^88(.*)$|^\*0(.*)$&quot;&gt;</span></p>

<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></p>

<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Is this
intended? I thought it was defined to eavesdrop on internal extensions. Why
wouldn&#39;t it be something like -
expression=&quot;^88(\d{3,5})$|^\*0(\d{3,5})$&quot;&gt;? 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: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></p></div></div></blockquote><div>Lars, <br>&quot;8885551212&quot; should never match regex  expression &quot;^88(\d{3,5})$&quot; . It looks to me like your eavesdrop is matching on &quot;^88(.*)$&quot; which most definitely WILL match 8885551212. Please check your dialplan&#39;s eavesdrop extension&#39;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: &quot;Times New Roman&quot;,&quot;serif&quot;;"></span></p>


<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Log:</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;">1030
Dialplan: <a href="mailto:sofia/internal/1009@192.168.10.29" target="_blank">sofia/internal/1009@192..168.10.29</a>
parsing [default-&gt;eavesdrop] continue=false</span></p>

<p><span style="font-size: 9pt; font-family: &quot;Courier New&quot;;">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: &quot;Courier New&quot;;">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: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </span></p>

<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;">Thanks,
Lars</span></p>

<p><span style="font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"> </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>