I am using asterisk 22.3.0 and I Originating call from Manager Usnig asterisk-ami using Simpla Actions, the calls are working fine except when some one does not answers the calls or call fails asterisk CDR show ‘s’ in dest, I want to populate src and dst numbers for all call dispositions , but asterisk is not giving it I have configured CDR for unanswered=yes and congestion =yes then also in dst it is logging as s .
Any help or insight would be appreciated.
Thanks in advance
Could you provide an example of the dialplan configuration and how it is reflected in the call detail records (CDR or master table)? This is because the data that gets recorded depends on how the dialplan is configured.
[personalized]
exten => _X.,1,Answer()
same => n,NoOp(user name is ${CUST})
same => n,Set(CDR(userfield)=${CUST})
same => n,Set(CDR(dst)=${EXTEN})
same => n,NoOp(${EXTEN})
same => n,Playback(${AUDIO_FILE})
same => n,Hangup()
This shouldn’t work. On the other hand, that is the value I’d expect the system to use, in this, simple, dialplan. The field is read-only and reflect the extension at the time the call is hungup.