Questions tagged [cdr]

cdr (/ˈkʌdər/ or /ˈkʊdər/) is primitive operation on cons cells (or "non-atomic S-expressions") introduced in the Lisp programming language.

cdr (/ˈkʌdər/ or /ˈkʊdər/) is primitive operation on cons cells (or "non-atomic S-expressions") introduced in the Lisp programming language. A cons cell is composed of two pointers; The cdr operation extracts the second pointer.

Thus, the expression (cdr (cons x y)) evaluates to y.

For Compact Disc Recordable, use instead.

Source: Wikipedia

103 questions
0
votes
2 answers

Asn.1 development tools, CDR convert to XML using Java

I try to decode CDR file to convert it to XML I've installed Java Compiler on my PC. I used this link http://www.asnlab.org/asndt/overview.html I tried to decode my CDR file, but it is not working properly. It show first 19 records correctly, and…
Ryainad
  • 219
  • 1
  • 5
  • 14
0
votes
2 answers

Collect Asterisk cdr records by http post

I'm using Asterisk and want to collect cdr records. I searched for a while, and found that there are already modules which we can use to collect cdr records into CSV files or MySQL. I'm wondering that whether there is already a module which let me…
delphifirst
  • 1,781
  • 1
  • 14
  • 23
0
votes
1 answer

Higher-Order Procedure - pair construction (cons, car, cdr)

i need to create this procedures: my-cons, my-car, my-cdr in Scheme. It should work like this: (define p1 (my-cons 3 8)) (p1 #t) 3 (p1 #f) 8 (my-car p1) 3 (my-cdr p1) 8 now, I have only this: (define my-cons (lambda (x y) (cons x y) (let ((a (car…
kelly
  • 415
  • 2
  • 9
  • 24
-1
votes
1 answer

freepbx. Significant call time with BUSY status

I got big bill from operator.The duration of calls there significantly exceeds the sum in the sample from the asterisk database with the ANSWERED status 2021-11-09 20:16:33 XXXXXXXXX 3333 SIP/vodaphone-0000fad6 899 BUSY 2021-11-09 20:31:32…
-1
votes
1 answer

How can write a program in scheme to find factors of a list of numbers

This is the code for a single integer, how can it extends to list of function? (define (factors n) (define (*factors d) (cond ((> d n) (list)) ((= (modulo n d) 0) (cons d (*factors (+ d 1)))) (else (*factors…
safu mp
  • 5
  • 3
-1
votes
1 answer

missing ringing call in cdr table for asterisk voip

I'm making a php program that need to connect to voip but only thing i need from voip is call log and who is calling so i can search in my contact table and show to user who is calling right now i don't know anything about voip but i dig its mysql…
-1
votes
1 answer

How to insert the call-id through Asterisk Call-file?

I need to extract the Call-id info from the calls started by a Call-file (in Asterisk), and use this value as a parameter of another function in order to return the full-cdr from the SIP-Proxy. Either i need to extract the call-id from call file…
user2052015
  • 273
  • 4
  • 7
  • 15
-1
votes
1 answer

Asterisk 13 SIP SIMPLE messages to CDR

I have Asterisk 13.4.0 running on Ubuntu 12.04.3 and I need to log SIMPLE messages to MySQL CDR. Messages are sending between extensions and all other CDRs are recorded properly, but there are no any SIMPLE records in CDR. Is it possible to use…
-1
votes
1 answer

Asterisk: Unable to save call details in SQL Server database

I am having trouble in saving my cdr to database. The database connections are fine. I am able to insert data into my table using INSERT statements manually but the call records are not being saved automatically as the Asterisk tutorial suggests. I…
Y Khan
  • 1
  • 1
-1
votes
1 answer

Save Asterisk CDR to an external host

I'm trying to save Asterisk's CDR to an external mysql host. I've modified the the connection details in the FreePBX advanced settings section, and I also tried editing the cdr_mysql.conf file in /etc/asterisk, but FreePBX still can not connect to…
user3085271
  • 51
  • 1
  • 8
-2
votes
1 answer

How to make call records to show up on the web page (Asterisk CDR)?

We use Asterisk CDR and everything works fine, but the web page (Apache) shows call records for today only. So, yesterday there were only yesterday's calls, today there are only today's calls, etc. Physically the call records are in the folder where…
Pandemic
  • 11
  • 1
-2
votes
2 answers

How can write a program in scheme to find factors of a list of integer? how can extend it into arbitrarily large input?

This is the code for single integer, how can it extend to arbitrarily large input by passing list as a parameter? (define (factors n) (define (*factors d) (cond ((> d n) (list)) ((= (modulo n d) 0) (cons d (*factors (+ d 1)))) …
safu mp
  • 5
  • 3
-3
votes
4 answers

How to fix line breaks in the text cdr file?

i have following output from cdr file as shown in the below code snippet. 2021-10-27…
Baljot Singh
  • 113
  • 1
  • 1
  • 7
1 2 3 4 5 6
7