Hi,
I recently took an old Asterisk (CVS-HEAD-04/22/05-07:18:00) / AMP configuration running under Linux and ported it to Asterisk 1.4.19 running under Solaris 10.
I’ve gotten everything working, but I’ve run into one last problem which is stumping me. When a call is placed to an extension, and the extension hangs up, the caller is then transfered to the extension’s voicemail. Obviously, I’d rather the call disconnect.
This is my macro-dial:
[macro-dial]
exten => o,1,Background(pls-wait-connect-call)
exten => s,1,AGI,dialparties.agi
exten => s,22,Macro(hangupcall) ; The call was answered and then hungup
exten => s,23,Wait(1)
exten => s,24,Voicemail(b${ARG3}) ; The call was internal to extension, and was busy
exten => o,1,Background(pls-wait-connect-call) ; 0 during vm message will hangup
exten => o,2,Hangup
Anyone have any ideas? Thanks.