Channels vs Calls

From FreeSWITCH Wiki
Jump to: navigation, search

--snipped from Michael Collins' post on the mailing list--

If you are curious as to why "show calls" and "show channels" returns such different information in the fs_cli - in an extreme, why "show calls" may return 0 while there are active calls, this will explain the difference.

A "channel" is just a single call leg, but a "call" is two channels bridged together.

So, dialing from one phone to another phone will yield 2 channels and 1 call.

You homework assignment tonight is to make several calls and experiment with these commands:

  • show calls
  • show channels
  • show distinct_channels

Try calling from phone to phone as well as trying things like calling voicemail.