Jul
17
2011
0

AT&T takes Billions from US Tax Payers while Imposing Download Caps

For AT&T it’s another day, another dollar…  or rather billions of dollars. Your’s, collected from taxes and deficit spending.  I read a article on cnet about AT&T’s justification of ‘download usage caps’.  AT&T General Counsel Wayne Watts reasoned the need for caps like this,

 “It is hardly surprising that the general counsel of Netflix, a company that accounts for a whopping 30% of peak-hour Internet traffic in North America, would oppose Internet service providers charging customers based on how much Internet data (movies) they download,” Watts said in a letter posted on WSJ.com today.

What this genius(sarcasm) doesn’t get is that Netflix is the ONLY affordable and legal way to access lots of movies from the internet.  That’s all there is to it.  Do you think if a brand new movie at the super market check-out line was merely $1.99 people would bother to steal or stream?  My first point is that there are many ways to distribute content; Netflix happens to be popular now, but the buz was against hulu and youtube previously. My second point is that AT&T should be the last company in America to complain about it, much less feel entitled to gouge their customers.

(more…)

Jul
03
2011
2

BASH script to logout Dynamic Agents

This is a simple script for logging out Dynamic Agents in Asterisk.  The most common use would be to logout Agents automatically each day in case they forget or are on PAUSE.  Edit the “LOGGEDIN” variable below to match the correct length of digits.  By default it is three,  ‘SIP/…’.

You can add as many or as few Queues in place of QUEUE1, QUEUE2, & QUEUE3.  This is the ‘foreach’ section of the script.  Whatever that is here will be applied to each instance of SIP/xxx detected by grep.  Good luck.

agent-auto-loggoff.script

————————————————————————–

#!/bin/bash

#set -x

# Execute from the command line, Asterisk or by cron

LOGGEDIN=$(/usr/sbin/asterisk -rx “queue show” | /bin/grep -o ‘SIP/…’)

for i in $LOGGEDIN

do

echo “$i removed”

#  Add in all queues that should be included
#==============

/usr/sbin/asterisk -rx “queue remove member $i from QUEUE1”
/usr/sbin/asterisk -rx “queue remove member $i from QUEUE2”
/usr/sbin/asterisk -rx “queue remove member $i from QUEUE3”

done

exit