Displaying 1 result from an estimated 1 matches for "set_cause".
Did you mean:
set_base
2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
...dial)
;after attempting to dial, go to after-dial
exten => _XXX.,n(after-dial),Set(CDR(accountcode)=${DIALSTATUS})
;first step - add ${DIALSTATUS} to CDR in accountcode field
exten => _XXX.,n,goto(${DIALSTATUS})
;go to dial-status received from attempt
exten => _XXX.,n(BUSY),,goto(set_cause)
;if Busy, go to set_cause
exten => _XXX.,n(NOANSWER),goto(set_cause)
;if No answer, go to set_cause
exten => _XXX.,n(CANCEL),goto(set_cause)
;if Cancel, go to set_cause
exten => _XXX.,n(NOANSWER),goto(set_cause)
;if No Answer, go to set_cause
exten => _XXX.,n(CHANUNAVAIL),got...