Re: [asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-09 Thread Marek Červenka
search in archives save the records to another table like cdr_extended Dne 7.10.2015 v 15:26 Ross Beer napsal(a): Hi, I have the following code that operates when a channel is hung-up: [record-hangupcause] exten => 1,n,Set(CDR(hangupcause)=${HANGUPCAUSE}) exten => s,n,Return()

Re: [asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-09 Thread Andrew Colin
ion <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR This was always possible in the past, however does not work in the current release. I believe this is a bug. _ To: asterisk-users@lists.digium.com <mailto:asterisk-users@list

Re: [asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-09 Thread Ross Beer
This was always possible in the past, however does not work in the current release. I believe this is a bug. To: asterisk-users@lists.digium.com From: cerv...@fpf.slu.cz Date: Fri, 9 Oct 2015 10:04:47 +0200 Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR search

Re: [asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-09 Thread Ross Beer
Date: Fri, 9 Oct 2015 14:50:51 +0200 Subject: Re: [asterisk-users] Storing HANGUPCAUSE in CDR You can use this exten => h,1,Set(CDR(userfield)=Hangupcause:${HANGUPCAUSE})From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Ross Beer S

Re: [asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-09 Thread Matthew Jordan
On Fri, Oct 9, 2015 at 8:27 AM, Ross Beer wrote: > Hi Andrew, > > Unfortunately that has stopped working when using chan_pjsip and asterisk > 13. > > The CDR is closed too early after a dial attempt. This is the expected > behaviour for Asterisk 13, however you should be

[asterisk-users] Storing HANGUPCAUSE in CDR

2015-10-07 Thread Ross Beer
Hi, I have the following code that operates when a channel is hung-up: [record-hangupcause]exten => 1,n,Set(CDR(hangupcause)=${HANGUPCAUSE})exten => s,n,Return() Before the dial a hangup handler is registered: Set(CHANNEL(hangup_handler_push)=record-hangupcause,s,1) The routine is called and the