Do a 'show channels'. You can also do 'show channels concise' or 'show channels verbose' for more details. In any case, it'll show you number of active calls at the end of output.
Now some may point out to prepend 'core' before issuing these commands. I prefer to be brief, and used to this shorter syntax. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-09-14 12:39 PM, "Dan Journo" <[email protected]> wrote: Hi, I'm trying to view a list of the active calls to see if I can restart Asterisk. When I do 'sip show channels', I get a huge list like this (just a sample pasted):- 92.110.7.210 (None) 198827f2469 00102/00000 0x0 (nothing) No Init: OPTIONS 92.110.7.210 (None) 6b211bb04ac 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 4e05e84848b 00102/00000 0x0 (nothing) No Init: OPTIONS 92.110.7.210 (None) 7bdb88176f0 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 49ef531c4b7 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 4039350f335 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 0b91ed9d733 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 3223de36008 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 258c01bf4d6 00102/00000 0x0 (nothing) No Init: OPTIONS 92.108.34.153 (None) 2f35c6eb767 00102/00000 0x0 (nothing) No Init: OPTIONS Thanks Dan -- _____________________________________________________________________ -- 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
-- _____________________________________________________________________ -- 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
