search for: freesip

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

Did you mean: freerip
2012 Feb 02
1
Quick bash tip for finding free SIP extensions from your sip.conf
Created this function on one of my machines today, thought others might find it useful: freesip() { comm -2 <(seq $2 $3) <(cat $1 | grep ^\\[ | sort | uniq | tr -d \[ | tr -d \]) | grep ^[[:digit:]] } On RedHat/CentOS based systems you can create the following file to have the function available on login: /etc/profile.d/freesip.sh # Free SIP extensions freesip() { comm -2 <(seq $...