asterisk - Call duration during the call via AMI -
how can call duration during call via ami? status() or coreshowchannels() seconds needs after answering call
you have following options:
1)you can collect "link" events , store info calls start in application. ami not designed got call info. 1 correct way.
2) issue command http://www.voip-info.org/wiki/view/asterisk+manager+api+action+command "core show channel channel_name_here" have info duration
3)other option variable cdr(billsec)
http://www.voip-info.org/wiki/view/asterisk+manager+api+action+getvar
Comments
Post a Comment