[Freeswitch-users] Dialplan help needed - inbound PBX dialing (to BUSY extension)

Nandy Dagondon nandy1925 at gmail.com
Sat Mar 1 00:56:05 MSK 2014


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> wrote:

> Setting up a FreeSwitch PBX and running into some issues. Please help.
>
> 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>
>   </extension>
>
> Calls are always to 510248xxxx, want to strip that and call the extension
> xxxx.
>
> Question2of2.  - Transfer call to busy extension
>
> How do I make calls from one extension (ex: 1000) back into the same
> extension? With my current configuration, I can't.
> With called party busy, music is played back to the caller (VM not
> configured).
> What config chance would allow me to send a call to a busy extension?
>
> I checked my config files for this condition and it's missing:
> <condition field="destination_number" expression="^${caller_id_number}$">
>
> Inbound calls hit Dialplan1 and 2, configured as shown in my first
> question.
> The local extension in FreeSWITCH\conf\directory\default\default.xml is as
> follows:
>
> <extension name="Local Extensions">
>       <condition field="destination_number" expression="^(10[01][0-9])$">
>         <action application="set" data="dialed_ext=$1"/>
>         <action application="export" data="dialed_ext=$1"/>
>         <action application="set" data="call_timeout=20"/> <!-- IS THIS A
> PROBLEM ?? -->
>         <action application="set" data="continue_on_fail=false"/> <!-- IS
> THIS A PROBLEM ?? -->
>         <action application="answer"/>
>       </condition>
>
> This is the log I see:
> EXECUTE sofia/internal/3036267667 at 10.20.10.69:5060bridge(loopback/app=voicemail:default 10.50.1.92 1001)
> don't know how to trace it back to a config file.
>
> Where in the configs can I override this?
>
> Thank you in advance!
> A.C.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140301/f072956c/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list