Cdr after hangup

Connected to Asterisk 22.2.0 currently running on vds2578638 (pid = 3754332)

2025-08-22 12:45:18,744 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read: Event: Hangup
2025-08-22 12:45:18,744 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread lline: Event
2025-08-22 12:45:18,744 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Privilege: call,all
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: SystemName: asterisk
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Channel: PJSIP/vats342271-2-000007af
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: ChannelState: 6
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: ChannelStateDesc: Up
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: CallerIDNum: +7---416--56
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: CallerIDName: Пятигорск
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: ConnectedLineNum: 22
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: ConnectedLineName: 22
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Language: ru
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: AccountCode:
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Context: incoming-vats--2271
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Exten: dzjuba_darja
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Priority: 22
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Uniqueid: asterisk-1755855829.2998
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Linkedid: asterisk-1755855829.2998
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Cause: 16
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Cause-txt: Normal Clearing
2025-08-22 12:45:18,745 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line:

2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read: Event: Cdr
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread lline: Event
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Privilege: cdr,all
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: SystemName: asterisk
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: AccountCode:
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Source: +7---416--56
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Destination: *_darja
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: DestinationContext: incoming-vats342271
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: CallerID: "Пятигорск" <+7---416--56>
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Channel: PJSIP/vats--2271-2-000007af
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: DestinationChannel: PJSIP/22-000007b1
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: LastApplication: Dial
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: LastData: PJSIP/16,20,tTU(audiofork,s,1)
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: StartTime: 2025-08-22 12:43:53
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: AnswerTime: 2025-08-22 12:43:53
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: EndTime: 2025-08-22 12:45:18
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Duration: 84
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: BillableSeconds: 84
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: Disposition: ANSWERED
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: AMAFlags: DOCUMENTATION
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: UniqueID: asterisk-1755855829.2998
2025-08-22 12:45:18,753 INFO  [com.catneye.asterisk.AMI.AMIThread] (Thread-105) AMIThread read Event line: UserField:

why?

You need to provide more context and information. Why what exactly?

from documentation:

At this point, no further events for PJSIP/kermit-00000001 will be sent.

But, periodical i have cdr after hangup.

i need close channel thread by hangup, but i lose cdr’s

now, i disable endbeforehexten and batch in cdr.conf

may be…

or it’s a bug?

And there isn’t. CDR events are NOT channel events. CDR events can show up afterwards.

I don’t understand the problem.

ok. close topic

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.