[Freeswitch-users] Inbound dialplan

Michael Collins msc at freeswitch.org
Fri May 27 22:35:22 MSD 2011


On Fri, May 27, 2011 at 9:42 AM, baskar <yudha2008 at gmail.com> wrote:

> Hi Mike,
>
> Yes i dialed in from the outside, got to the IVR, and then dialed extension
> is 5107.
>
> Yes i have two endpoint in my bridge line. One is keying extension and
> other
> is default extension.
>
> But this dialplan send by David what i tried.
> <entry action="menu-exec-app" digits="/^([1-6][0-9][0-9][0-9])$/"
> param="execute_extension
>
> set:continue_on_fail=BUSY,bridge:sofia/internal/$1%XX.XX.XX.XX,bridge:sofia/internal/5998%XX.XX.XX.XX
> "/>
>
> My actual conduction is i dialed in from the outside, got to the ivr, where
> after keying in the extension number the call gets transferred to the
> appropriate extension and if the extension is busy it should be hunted to a
> default extension.
>
> Well, it looks like you are trying to execute_extension on an inline
dialplan without actually specifying "inline" in your param. I've never
tried this, so I'm shooting from the hip here. Try this:

<entry action="menu-exec-app" digits="/^([1-6][0-9][0-9][0-9])$/"
param="execute_extension
set:continue_on_fail=BUSY,bridge:sofia/internal/$1%XX.XX.XX.XX,bridge:sofia/internal/5998%XX.XX.XX.XX
inline
"/>

-OR-
Put these 3 actions into an actual dialplan extension, perhaps even their
own context and execute that extension...

-MC

FYI, inline dialplan stuff is discussed here:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_InlineDialplan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110527/cc57c58f/attachment.html 


More information about the FreeSWITCH-users mailing list