search for: totalchannel

Displaying 2 results from an estimated 2 matches for "totalchannel".

Did you mean: totalchannels
2006 Mar 29
1
OT: HOWTO: Query channel state on an Ateus Voice Blue GSM gateway
...AMA number of the mobile to call querygamgateway.agi: #!/bin/bash GSMCHANNEL=`asterisk -rx "SIP SHOW CHANNELS" | grep -a -A0 ".201"` CURRENTCHANNEL1=${GSMCHANNEL:55:7} CURRENTCHANNEL2=${GSMCHANNEL:118:7} CURRENTCHANNEL3=${GSMCHANNEL:181:7} CURRENTCHANNEL4=${GSMCHANNEL:244:7} TOTALCHANNELS=0 if [ "${GSMCHANNEL:55:7}" != "" ] then if [ $CURRENTCHANNEL1 = "ulaw" ] then TOTALCHANNELS=$((TOTALCHANNELS+1)) fi fi if [ "${GSMCHANNEL:118:7}" != "" ] then if [ $CURRENTCHANNEL2 = "ulaw" ] then TOTALCHANNELS=$((TOTALCHANNELS+1)) f...
2006 Mar 31
4
How to check if a phone / line is used?
In the past I used SetGroup and CheckGroup to figure out if my allowed providers lines are all used or not. Since most of my provider have given me a single line anyway, I wonder if there is a way to check if this (provider) line is taken already. How can I do that? Same is with the phone. How can I see in CLI if a phone is now in use or not? "Sip show peers" shows me just if it is