Displaying 1 result from an estimated 1 matches for "cdrfield".
Did you mean:
canfield
2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
...ify-1)
;If this was first attempt from route 1, go to notification for route 1
down
exten => _XXX.,n,goto(notify-2)
;else go to notification for route 2
exten => _XXX.,n(set_cause),hangup()
;at set_cause, firstly hang up channel (if not done already)
exten => _XXX.,n,goto(CDRfield)
;go to CDR field mapping section
exten => _XXX.,n(CDRfield),Set(CDR(userfield)=${HANGUPCAUSE})
;set Hangupcause to user field in CDR
exten => _XXX.,n(notify-1),System(echo "Call redirect detected on
'${route1}'" | mail -s "Calls Fail Over" Neeraj.chand at...