0.8.4 IVR

sbasan

Joined
Jul 11, 2007
Messages
10
Likes
0
Points
0
#1
When configuring IVR, after the announcement it simply disconnect with message:
== Auto fallthrough, channel 'SIP/150-08f63c70' status is 'UNKNOWN'
-- Executing [h@ivr-5:1] Hangup("SIP/150-08f63c70", "") in new stack
== Spawn extension (ivr-5, h, 1) exited non-zero on 'SIP/150-08f63c70'


anyone encounter this problem?
Someone can help me, please?
 

lek

Guest
#2
Could you send me the output of the log with a verbosity level of 9?

CLI> set verbose 9
 

sbasan

Joined
Jul 11, 2007
Messages
10
Likes
0
Points
0
#3
Hi,

Problem solved.
There is a problem with:
exten => i,n,Goto(loop,1)
exten => t,1,Goto(loop,1)

I edit it in extensions_custom.conf and it's working fine.
 

lek

Guest
#4
Dear sbasan,

Could you explain a little bit more about your fix?
 

sgenyuk

Joined
Jul 18, 2007
Messages
5
Likes
0
Points
0
#5
edgar said:
Dear sbasan,

Could you explain a little bit more about your fix?
As in Asterisk 1.4 autofallthrough set to true by default, it is WaitExten is missing in IVR.
I fixed my IVRs just inserting WaitExten in end of each of them. Would be nice to have patch to do it in right way from freebbx

Thank you
 

sgenyuk

Joined
Jul 18, 2007
Messages
5
Likes
0
Points
0
#6
Ok, have found fix from freepbx released a month ago.
modules/branches/2.2/ivr/functions.inc.php

$ext->add($id, 's', '', new ext_setvar('LOOPCOUNT', 0));
$ext->add($id, 's', '', new ext_setvar('__DIR-CONTEXT', $details['dircontext']));
$ext->add($id, 's', '', new ext_setvar('_IVR_CONTEXT_${CONTEXT}', '${IVR_CONTEXT}'));
$ext->add($id, 's', '', new ext_setvar('_IVR_CONTEXT', '${CONTEXT}'));
$ext->add($id, 's', '', new ext_gotoif('$["${CDR(disposition)}" = "ANSWERED"]','begin'));
$ext->add($id, 's', '', new ext_answer(''));
$ext->add($id, 's', '', new ext_wait('1'));
$ext->add($id, 's', 'begin', new ext_digittimeout(3));
$ext->add($id, 's', '', new ext_responsetimeout($details['timeout']));
if ($announcement != '') {
$ext->add($id, 's', '', new ext_background($announcement));
}
$ext->add($id, 's', '', new ext_waitexten());
$ext->add($id, 'hang', '', new ext_playback('vm-goodbye'));
$ext->add($id, 'hang', '', new ext_hangup(''));

$default_t=true;

// Actually add the IVR commands now.

Did anybody test inbound ivr in yor release?
As *1.4 cannot work without it in proper.
 

lek

Guest
#7
Thanks for publishing the fix. I'm going to check if it is included in the freePBX 2.2.3.
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#8
Was it published in the latest release?
 

Members online

No members online now.

Forum statistics

Threads
30,951
Messages
130,979
Members
17,652
Latest member
joeljag_19
Top