[asterisk-users] IVR after hangup

Benny Amorsen benny+usenet at amorsen.dk
Wed Mar 14 09:02:27 MST 2007


I have a rather interesting issue with catching calls which have been
hung up by the callee, but not by the caller. I would like those calls
to return to an IVR, and it almost works:

[incoming]
 exten => 12345678,1,Goto(testIVR,s,1)

[testIVR]
 exten => s,1,Answer
 exten => s,n(play),Background(beep)
 exten => s,n,WaitExten(5)

 exten => 1,1,Dial(SIP/phone)

 exten => t,1,Goto(s,play)

 exten => i,1,Goto(s,play)

 exten => h,1,Playback(01)
 exten => h,n,Wait(1)
 exten => h,n,Goto(testIVR,s,1)


A call comes in through incoming, gets sent off the testIVR, the
caller dials 1. The SIP phone answers, talks, and hangs up. Now the
caller is sent back to the IVR, and hears the beep. It all works
perfectly until the caller dials 1. Then the call is abrubtly cut off,
instead of going through the Dial().


/Benny




More information about the asterisk-users mailing list