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

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to