[Asterisk-Users] OT: HOWTO: Query channel state on an Ateus Voice Blue GSM gateway

Michiel van Baak michiel at vanbaak.info
Wed Mar 29 12:44:05 MST 2006


On 10:08, Wed 29 Mar 06, Colin Anderson wrote:
> Because the VoiceBlue is only 4 channels and I am supporting 100 cell users,
> I needed a way to overflow calls to the PRI of all 4 channels are full.
> Unfortunately, there seems to be no built-in mechanism to determine if the
> gateway is full, so this script parses the output of "asterisk -rx sip show
> channels XXX.XXX.XXX.XXX" to determine the number of channels currently in
> use. Hope this helps someone. 

We use SetGroup and CheckGroup for this (I know, I should
upgrade to 1.2 dialplan functions)

-- 
Michiel van Baak
michiel at vanbaak.info
http://michiel.vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-users mailing list