Is there a way to find the current status of call?

Is there a way to find the current status of call?

In the Asterisk terminal you can try “sip show channels”, and it returns several lines like these:
Asterisk*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message
1.1.1.1 (None) 22e83b0-a0a 00101/00001 0x0 (nothing) No Rx: REGISTER
2.2.2.2 1800555835 11eb7a403cf 00102/00000 0x200100 (g729| No Tx: ACK
3.3.3.3 1010 MmQxYTI5ZWI 00101/00002 0x4 (ulaw) No Rx: ACK
4.4.4.4 1133 302dcc216a4 00102/00000 0x200100 (g729| No Tx: ACK
5.5.5.5 1105 22db6b8-a0a 00101/00002 0x100 (g729) No Rx: ACK

From these lines you can understand, for example the peer on IP address 3.3.3.3 which has been registered as extension 1010 received ACK and now in the call with ulaw (PCMU).

You can try help in Asterisk terminal window for more commands.

[quote=“SergioTio”]In the Asterisk terminal you can try “sip show channels”, and it returns several lines like these:
Asterisk*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format Hold Last Message
1.1.1.1 (None) 22e83b0-a0a 00101/00001 0x0 (nothing) No Rx: REGISTER
2.2.2.2 1800555835 11eb7a403cf 00102/00000 0x200100 (g729| No Tx: ACK
3.3.3.3 1010 MmQxYTI5ZWI 00101/00002 0x4 (ulaw) No Rx: ACK
4.4.4.4 1133 302dcc216a4 00102/00000 0x200100 (g729| No Tx: ACK
5.5.5.5 1105 22db6b8-a0a 00101/00002 0x100 (g729) No Rx: ACK

From these lines you can understand, for example the peer on IP address 3.3.3.3 which has been registered as extension 1010 received ACK and now in the call with ulaw (PCMU).

You can try help in Asterisk terminal window for more commands.[/quote]

Thank you

How to get the number of active calls?