[asterisk-users] No more CDR record for simple Hangup?
J Gao
jgao at veecall.com
Thu Aug 11 14:32:03 CDT 2011
On 11-08-08 09:50 AM, Miguel Molina wrote:
> El 08/08/11 11:46, J Gao escribió:
>> On 11-08-06 10:06 AM, Miguel Molina wrote:
>>> El 05/08/11 13:20, J Gao escribió:
>>>> I am using the new 1.8.5 and I just found out that Asterisk won't
>>>> record the call if the call just hangup. I did a test like this:
>>>>
>>>> exten => 1009, 1, Hangup()
>>>>
>>>> Then I called 1009:
>>>>
>>>> == Using UDPTL CoS mark 5
>>>> == Using SIP RTP CoS mark 5
>>>> -- Executing [1009 at init-1005:1] Hangup("SIP/1007-0000003c", "")
>>>> in new stack
>>>> == Spawn extension (init-1005, 1009, 1) exited non-zero on
>>>> 'SIP/1005-0000003c'
>>>>
>>>> I am not sure why now Asterisk doesn't write this into CDR. In the
>>>> previous version Asterisk record the hangup call.
>>>>
>>>> Is there anyway I can have the hangup write into the CDR?
>>>>
>>>>
>>>>
>>> What is your cdr.conf configuration?
>>>
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>> here is my cdr.conf:
>> ==================
>>
>> [general]
>>
>>
>> endbeforehexten=yes
>>
>>
>>
>> [csv]
>> usegmtime=yes ; log date/time in GMT. Default is "no"
>> loguniqueid=yes ; log uniqueid. Default is "no"
>> loguserfield=yes ; log user field. Default is "no"
>> accountlogs=yes ; create separate log file for each account code.
>> Default is "yes"
>>
>>
>>
> Try this cdr.conf general setting: unanswered=yes
> -----------------------------------------------------------------------------------
>
> Este mensaje y sus anexos son para uso exclusivo de sus destinatarios
> y puede
> contener informacion confidencial y/o privada protegida legalmente. Si
> usted no es el destinatario, se le notifica que cualquier distribucion
> o reproduccion
> de este mensaje, o de cualquiera de sus anexos, esta estrictamente
> prohibida. Si usted ha recibido este mensaje por error, por favor
> notifiquenos inmediatamente
> y elimine su texto original, incluidos los anexos y destruya cualquier
> reproduccion
> del mismo. Las opiniones expresadas en este mensaje son
> responsabilidad exclusiva
> de quien las emite y no necesariamente reflejan la posicion de
> Millenium Phone Center S.A, ni comprometen la responsabilidad
> institucional por el uso que el destinatario haga de las mismas.
> -----------------------------------------------------------------------------------
>
> --
> _____________________________________________________________________
> -- 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
>
Thank you for the help. It works after I enabled the unanswered=yes like
you suggested.
:)
Jian
--
More information about the asterisk-users
mailing list