Dialplan not executing on continue_on_fail=true
Hi, I have a dialplan as follows: <include> <extension name="public_did"> <condition field="destination_number" expression="^(47673501)$"> <action application="answer"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="api_hangup_hook=perl hook.pl"/> <action application="set" data="session_in_hangup_hook=true"/> <action application="perl" data="perl/ash.pl"/> </condition> </extension> </include> when the called party does not pick up the phone or is busy, the dialplan does not proceed and hook.pl does not get executed. Please help -- Ashish Gautam IVR Developer Nucleus Microsystems (Pvt.) Ltd.
I may be misunderstanding - but where are you causing it to ring a device? You've told it to internally answer the call, and then not do anything. There's no bridging to an actual extension. Only thing I see that would happen is it running perl/ash.pl, unclear if it would in term execute hook.pl when that script finished (I don't know what that behavior is expected to be). -- Nathan On 05/24/2013 07:17 AM, Ashish gautam wrote:
Hi,
I have a dialplan as follows:
<include> <extension name="public_did"> <condition field="destination_number" expression="^(47673501)$"> <action application="answer"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="api_hangup_hook=perl hook.pl <http://hook.pl>"/> <action application="set" data="session_in_hangup_hook=true"/> <action application="perl" data="perl/ash.pl <http://ash.pl>"/> </condition> </extension> </include>
when the called party does not pick up the phone or is busy, the dialplan does not proceed and hook.pl <http://hook.pl> does not get executed.
Please help -- Ashish Gautam
IVR Developer
Nucleus Microsystems (Pvt.) Ltd.
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
On Fri, May 24, 2013 at 05:47:39PM +0530, Ashish gautam wrote:
<action application="set" data="api_hangup_hook=perl [1]hook.pl"/>
when the called party does not pick up the phone or is busy, the dialplan does not proceed and [3]hook.pl does not get executed.
Perhaps "api_reporting_hook" would work for you in this use-case? Regards,
participants (3)
-
Ashish gautam
-
Nathan Neulinger
-
Paul Cupis