<div dir="ltr">Try to comment out this line, too, to get a hangup:<div>&lt;action application=&quot;answer&quot;/&gt;<br><div class="gmail_extra">
<br>It answers your call into dead silence.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 1, 2014 at 8:29 AM, Adelia C. <span dir="ltr">&lt;<a href="mailto:hexade@hotmail.com" target="_blank">hexade@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">In reply to :<br><pre>Answer 1: Check your 2nd destination_number - you lacked 1 digit, I think.


On Sat, Mar 1, 2014 at 5:23 AM, Adelia C. &lt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">hexade at hotmail.com</a>&gt; wrote:

&gt;<i> Setting up a FreeSwitch PBX and running into some issues. Please help.
</i><div class="">&gt;<i>
</i>&gt;<i> Question1of2. - Collapse dialplan with regex.
</i>&gt;<i>
</i>&gt;<i> How do I collapse this simple condition using regex and params/vars?:
</i>&gt;<i> &lt;include&gt;
</i>&gt;<i>   &lt;extension name=&quot;Dialplan1&quot;&gt;
</i>&gt;<i>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^15102481000$&quot;&gt;
</i>&gt;<i>     &lt;action application=&quot;transfer&quot; data=&quot;1001 XML default&quot;/&gt;
</i>&gt;<i>     &lt;/condition&gt;
</i>&gt;<i>     &lt;/extension&gt;
</i>&gt;<i>     &lt;extension name=&quot;Dialplan2&quot;&gt;
</i>&gt;<i>     &lt;condition field=&quot;destination_number&quot; expression=&quot;^1510481003$&quot;&gt;
</i>&gt;<i>     &lt;action application=&quot;transfer&quot; data=&quot;1003 XML default&quot;/&gt;
</i>&gt;<i>     &lt;/condition&gt;
</i>&gt;<i>   &lt;/extension&gt;&quot;<br><br><br></i></div>Tried to be smart and replace the real number, but - in doing so - I mistyped it.<br>The number in Dialplan2 is <a href="tel:15102481003" value="+15102481003" target="_blank">15102481003</a> and that one works.<br>
<br>I am calling from 1000 to 1003 and that works fine.<br>When I call from 1000 to 1000 - I am calling over an external Sip Trunk, the call fails when I am calling 1000 inbound (knowing that the extension is busy on the outbound leg).<br>
<br>I found the config that controls playing music to the caller (remember, no VM set up) and I commeted it out:<br><br>in FreeSWITCH\conf\dialplan\default.xml, in LocalExtension, I commented out this:<br>&lt;action application=&quot;bridge&quot; data=&quot;user/${dialed_extension}@${domain_name}&quot;/&gt;<br>
&lt;action application=&quot;answer&quot;/&gt;<br>&lt;!--action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>&lt;action application=&quot;bridge&quot; data=&quot;loopback/app=voicemail:default ${domain_name} ${dialed_extension}&quot;/--&gt;<br>
<br>Music is gone, call is not connected but it&#39;s a silent failure. Still not sure how to force calls to busy extensions.<br>Maybe &#39;transfer&#39; to extension will not do in this case ... <br>Hope someone will chime in.<br>
<br>Thank you.<br><br>PS: Thanks for the regex.<br><br></pre>                                               </div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div></div></div>