[asterisk-users] how to get Current Calls details

Nikhil d.nikhil at cem-solutions.net
Wed Feb 2 03:59:37 CST 2011


Hi Thorsten

     Thanks of reply. The command core show verbose is working. but the 
problem is,  for one call we can see 2 results,there is no common field 
on these two.How I parse these result to get the proper 
values.(Caller,callee,starttime,duration).


Thanks
nikhil
On 02/02/2011 03:11 PM, Thorsten Göllner wrote:
> Am 02.02.2011 04:34, schrieb Nikhil:
>> Hi everyone
>>   How can I get the current calls details in asterisk.if I use cli 
>> commad core show channels,there is two channels of each call.But the 
>> requirement is, need to get caller ,calee,starttime ,duration of the 
>> current calls.This value should be proper for call forward,call 
>> transfer ,and scenarios.Please help me on this.
>>
>> Thanks
> Try this:
>
> bash# /usr/sbin/asterisk -rx "core show channels verbose"
>
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>




More information about the asterisk-users mailing list