<div dir="ltr"><br><div class="gmail_extra"><div><div>Answer 1: Check your 2nd destination_number - you lacked 1 digit, I think.</div></div>
<br><br><div class="gmail_quote">On Sat, Mar 1, 2014 at 5:23 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">Setting up a FreeSwitch PBX and running into some issues. Please help.<br><br>Question1of2. - Collapse dialplan with regex.<br><br>How do I collapse this simple condition using regex and params/vars?:<br>
<include><br> <extension name="Dialplan1"><br> <condition field="destination_number" expression="^15102481000$"><br> <action application="transfer" data="1001 XML default"/><br>
</condition><br> </extension><br> <extension name="Dialplan2"><br> <condition field="destination_number" expression="^1510481003$"><br> <action application="transfer" data="1003 XML default"/><br>
</condition><br> </extension><br><br>Calls are always to 510248xxxx, want to strip that and call the extension xxxx. <br><br>Question2of2. - Transfer call to busy extension<br><br>How do I make calls from one extension (ex: 1000) back into the same extension? With my current configuration, I can't.<br>
With called party busy, music is played back to the caller (VM not configured).<br>What config chance would allow me to send a call to a busy extension?<br><br>I checked my config files for this condition and it's missing:<br>
<condition field="destination_number" expression="^${caller_id_number}$"><br> <br>Inbound calls hit Dialplan1 and 2, configured as shown in my first question.<br>The local extension in FreeSWITCH\conf\directory\default\default.xml is as follows:<br>
<br><extension name="Local Extensions"><br> <condition field="destination_number" expression="^(10[01][0-9])$"><br> <action application="set" data="dialed_ext=$1"/><br>
<action application="export" data="dialed_ext=$1"/><br> <action application="set" data="call_timeout=20"/> <!-- IS THIS A PROBLEM ?? --><br> <action application="set" data="continue_on_fail=false"/> <!-- IS THIS A PROBLEM ?? --><br>
<action application="answer"/><br> </condition><br><br>This is the log I see:<br>EXECUTE sofia/internal/<a href="tel:3036267667" value="+13036267667" target="_blank">3036267667</a>@<a href="http://10.20.10.69:5060" target="_blank">10.20.10.69:5060</a> bridge(loopback/app=voicemail:default 10.50.1.92 1001)<br>
don't know how to trace it back to a config file.<br><br>Where in the configs can I override this?<br><br>Thank you in advance!<span class="HOEnZb"><font color="#888888"><br>A.C.<br>                                            </font></span></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>