search for: gsmchannels

Displaying 1 result from an estimated 1 matches for "gsmchannels".

Did you mean: gsmchannel
2006 Mar 29
1
OT: HOWTO: Query channel state on an Ateus Voice Blue GSM gateway
...1:7}" != "" ] then if [ $CURRENTCHANNEL3 = "ulaw" ] then TOTALCHANNELS=$((TOTALCHANNELS+1)) fi fi if [ "${GSMCHANNEL:244:7}" != "" ] then if [ $CURRENTCHANNEL4 = "ulaw" ] then TOTALCHANNELS=$((TOTALCHANNELS+1)) fi fi echo "SET VARIABLE GSMCHANNELS \"$TOTALCHANNELS\"" extensions.conf: exten => dial,1,AGI(/var/lib/asterisk/agi-bin/querygsmgateway.agi) 'Query the gateway exten => dial,3,Gotoif($[$["${DIALSTRING:7:3}" = "902"]]?4:20) 'Determine if the dialled # is a mobile. If so, use the gatewa...