[asterisk-users] Possible Bug (Include ${HANGUPCAUSE} in CDR)
Tilghman Lesher
tilghman at meg.abyt.es
Wed Dec 22 19:16:33 UTC 2010
On Wednesday 22 December 2010 11:42:33 Bryant Zimmerman wrote:
> Ok I can't get my CDR values to set from the h extension in either 1.6.2
> or 1.8 What is wrong? Here is what I found in the cdr.conf
>
> ; Normally, CDR's are not closed out until after all extensions are
> finished
> ; executing. By enabling this option, the CDR will be ended before
> executing
> ; the "h" extension so that CDR values such as "end" and "billsec" may
> be ; retrieved inside of of this extension. The default value is "no".
> endbeforehexten=no
>
> The default is set to no so why can't I store any CDR values in my h
> extension.
>
> exp..
> exten => h,n,Set(CDR(cause_code)=${HANGUPCAUSE})
> I need the cause code stored.
Sounds like your "h" extension is in the wrong context. Try including some
information about where you are putting the "h" extension and what includes
you're doing.
--
Tilghman
More information about the asterisk-users
mailing list