Created
September 7, 2021 02:02
-
-
Save ambiorixg12/6f5d7831c2a6ffb98317380af02229c6 to your computer and use it in GitHub Desktop.
freepbx select cdr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -bash-4.2# mysql -e "select * from cdr order by calldate desc limit 2\G" asteriskcdrdb | |
| *************************** 1. row *************************** | |
| calldate: 2021-09-06 21:52:53 | |
| clid: "+18092373831" <+18092373831> | |
| src: +18092373831 | |
| dst: 700 | |
| dcontext: ext-group | |
| channel: SIP/twilio2-0000058c | |
| dstchannel: SIP/102-0000058e | |
| lastapp: Dial | |
| lastdata: SIP/100&SIP/102,120,trQ(NO_ANSWER)M(auto-blkvm)b(func-apply-sipheaders^s^1), | |
| duration: 5 | |
| billsec: 0 | |
| disposition: NO ANSWER | |
| amaflags: 3 | |
| accountcode: | |
| uniqueid: 1630979573.46761 | |
| userfield: | |
| did: +13522681342 | |
| recordingfile: | |
| cnum: +18092373831 | |
| cnam: +18092373831 | |
| outbound_cnum: | |
| outbound_cnam: | |
| dst_cnam: | |
| linkedid: 1630979573.46761 | |
| peeraccount: | |
| sequence: 47161 | |
| *************************** 2. row *************************** | |
| calldate: 2021-09-06 21:52:53 | |
| clid: "+18092373831" <+18092373831> | |
| src: +18092373831 | |
| dst: 700 | |
| dcontext: ext-group | |
| channel: SIP/twilio2-0000058c | |
| dstchannel: SIP/100-0000058d | |
| lastapp: Dial | |
| lastdata: SIP/100&SIP/102,120,trQ(NO_ANSWER)M(auto-blkvm)b(func-apply-sipheaders^s^1), | |
| duration: 5 | |
| billsec: 0 | |
| disposition: NO ANSWER | |
| amaflags: 3 | |
| accountcode: | |
| uniqueid: 1630979573.46761 | |
| userfield: | |
| did: +13522681342 | |
| recordingfile: | |
| cnum: +18092373831 | |
| cnam: +18092373831 | |
| outbound_cnum: | |
| outbound_cnam: | |
| dst_cnam: | |
| linkedid: 1630979573.46761 | |
| peeraccount: | |
| sequence: 47158 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment