Try to comment out this line, too, to get a hangup: <action application="answer"/> It answers your call into dead silence. On Sat, Mar 1, 2014 at 8:29 AM, Adelia C. <hexade@hotmail.com> wrote:
In reply to :
Answer 1: Check your 2nd destination_number - you lacked 1 digit, I think.
On Sat, Mar 1, 2014 at 5:23 AM, Adelia C. <hexade at hotmail.com <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>> wrote:
* Question1of2. - Collapse dialplan with regex. *>>* How do I collapse this simple condition using regex and params/vars?: *>* <include> *>* <extension name="Dialplan1"> *>* <condition field="destination_number" expression="^15102481000$"> *>* <action application="transfer" data="1001 XML default"/> *>* </condition> *>* </extension> *>* <extension name="Dialplan2"> *>* <condition field="destination_number" expression="^1510481003$"> *>* <action application="transfer" data="1003 XML default"/> *>* </condition> *>
* Setting up a FreeSwitch PBX and running into some issues. Please help.
* </extension>"* Tried to be smart and replace the real number, but - in doing so - I mistyped it. The number in Dialplan2 is 15102481003 and that one works.
I am calling from 1000 to 1003 and that works fine. 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).
I found the config that controls playing music to the caller (remember, no VM set up) and I commeted it out:
in FreeSWITCH\conf\dialplan\default.xml, in LocalExtension, I commented out this: <action application="bridge" data="user/${dialed_extension}@${domain_name}"/> <action application="answer"/> <!--action application="sleep" data="1000"/> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/-->
Music is gone, call is not connected but it's a silent failure. Still not sure how to force calls to busy extensions. Maybe 'transfer' to extension will not do in this case ... Hope someone will chime in.
Thank you.
PS: Thanks for the regex.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org