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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -