Answer the question
In order to leave comments, you need to log in
How to pass a variable to Asterisk through AMI so that it is displayed in AMI CDR?
Hello.
Asterisk 13.13.1
Through AMI, you can make a call to Astrerisk
I do it like this (call to 101, after picking up the phone it connects to subscriber 105)
Action: login
Username: admin
Secret: passw
Action: Originate
Channel: SIP/101
Callerid: 101
Timeout: 15000
Context: call-out
Exten: 105
Priority: 1
Event: Cdr
Privilege: cdr,all
Timestamp: 1485932439.571419
AccountCode:
Source: 101
Destination: 105
DestinationContext: call-out
CallerID: "Number 101" <101>
Channel: SIP/101-00000003
DestinationChannel: SIP/105-00000004
LastApplication: Dial
LastData: SIP/105
StartTime: 2017-02-01 10:00:32
AnswerTime: 2017-02-01 10:00:32
EndTime: 2017-02-01 10:00:39
Duration: 6
BillableSeconds: 6
Disposition: NO ANSWER
AMAFlags: DOCUMENTATION
UniqueID: 1485932428.5
UserField:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question