[asterisk-users] ${HANGUPCAUSE} is always 0 in the h extension
Alejandro Recarey
alexrecarey at gmail.com
Wed Apr 21 19:40:06 CDT 2010
Hi all,
I am using cdr_adaptive_odbc and it works fine. I am trying to save
the q931 hangupcause to a cdr record. My diaplan looks like this.
exten => _X.,1,Dial(${EXTEN})
exten => h,1,Set(CDR(q931)=${HANGUPCAUSE})
exten => h,2,Verbose(${HANGUPCAUSE})
However, as I can see by the verbose command, ${HANGUPCAUSE} is always
0. I thought it was a channel variable that contained the hangupcause?
How can I set this up to correctly save the hangupcause??
Thank you for your help
Regards,
Alex
More information about the asterisk-users
mailing list