<div dir="ltr">Try to comment out this line, too, to get a hangup:<div><action application="answer"/><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"><<a href="mailto:hexade@hotmail.com" target="_blank">hexade@hotmail.com</a>></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. <<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">hexade at hotmail.com</a>> wrote:
><i> Setting up a FreeSwitch PBX and running into some issues. Please help.
</i><div class="">><i>
</i>><i> Question1of2. - Collapse dialplan with regex.
</i>><i>
</i>><i> How do I collapse this simple condition using regex and params/vars?:
</i>><i> <include>
</i>><i> <extension name="Dialplan1">
</i>><i> <condition field="destination_number" expression="^15102481000$">
</i>><i> <action application="transfer" data="1001 XML default"/>
</i>><i> </condition>
</i>><i> </extension>
</i>><i> <extension name="Dialplan2">
</i>><i> <condition field="destination_number" expression="^1510481003$">
</i>><i> <action application="transfer" data="1003 XML default"/>
</i>><i> </condition>
</i>><i> </extension>"<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><action application="bridge" data="user/${dialed_extension}@${domain_name}"/><br>
<action application="answer"/><br><!--action application="sleep" data="1000"/><br><action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/--><br>
<br>Music is gone, call is not connected but it's a silent failure. Still not sure how to force calls to busy extensions.<br>Maybe 'transfer' 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>