Re: [asterisk-users] how to get Current Calls details

2011-02-03 Thread shayne.al...@gmail.com
I think you are looking for a way to have such a report, on console: CallCenter*CLI> sip show channelstats Peer Call ID Duration Recv: Pack Lost ( %) Jitter Send: Pack Lost ( %) Jitter 2.168.11.731ea659 00:03:39 00236 ( 0.00%) 0.000 004685 00

Re: [asterisk-users] how to get Current Calls details

2011-02-03 Thread Daniel Tryba
On Wed, Feb 02, 2011 at 03:29:37PM +0530, Nikhil wrote: > 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. Take a closer look at the output. The link between the 2 can be found by matc

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Thorsten Göllner
Well, for me it seems to be simple: Just parse "core show channels verbose". If you "see" 2 lines per call the field "Channel" should be unique. After parsing write it to a flat file or to a database which you query in your gui/webinterface. Am 02.02.2011 12:10, schrieb Nikhil: thanks for rep

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Ishfaq Malik
Use the asterisk AMI to send a sequence of commands to the asterisk box and then parse the results to the output of your choice. http://www.voip-info.org/wiki/view/Asterisk+manager+API So, for instance, you could write a function that first does a core show channels via the AMI and then does core

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Nikhil
thanks for reply.. I know these commands .But my requirement is I should show the current call details to GUI eg: Caller CalleeStarttime Duration 101 1042010-12-21 12:24:34 PM10 Now tel me how I get these values by give commands to asterisk. Th

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Ishfaq Malik
On Wed, 2011-02-02 at 09:04 +0530, Nikhil wrote: > 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

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Nikhil
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,

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Nikhil
Any suggestions .. On 02/02/2011 09:04 AM, Nikhil wrote: 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

Re: [asterisk-users] how to get Current Calls details

2011-02-02 Thread Thorsten Göllner
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 prope

[asterisk-users] how to get Current Calls details

2011-02-01 Thread 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