[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r140756 - /team/jdixon/chan_usbradio-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 2 18:58:33 CDT 2008


Author: jdixon
Date: Tue Sep  2 18:58:32 2008
New Revision: 140756

URL: http://svn.digium.com/view/asterisk?view=rev&rev=140756
Log:
Added irlp scripts

Added:
    team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/
    team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset   (with props)

Added: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset?view=auto&rev=140756
==============================================================================
--- team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset (added)
+++ team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset Tue Sep  2 18:58:32 2008
@@ -1,0 +1,44 @@
+#!/bin/bash
+
+# Info sent from the control or reply script
+# SYNTAX <on RemoteSTATIONID CODEC RemoteIP (notimeout)>
+
+[ -z "$SCRIPT" ] && SCRIPT=/home/irlp/scripts
+source $SCRIPT/common-functions.sh
+
+$BIN/unkey
+
+# Added to run custom_off in case of reset.
+if [ "$CUSTOM_OFF" = "YES" ] ; then
+  if [ -x $CUSTOM/custom_off ] ; then
+    $CUSTOM/custom_off
+  fi
+fi
+
+killall irlp_call>/dev/null 2>&1
+killall irlp_answer>/dev/null 2>&1
+killall ispeaker>/dev/null 2>&1
+killall imike>/dev/null 2>&1
+killall pgp>/dev/null 2>&1
+killall dtmf>/dev/null 2>&1
+killall sfswrapper>/dev/null 2>&1
+
+killall -9 irlp_call>/dev/null 2>&1
+killall -9 irlp_answer>/dev/null 2>&1
+killall -9 ispeaker>/dev/null 2>&1
+killall -9 imike>/dev/null 2>&1
+killall -9 pgp>/dev/null 2>&1
+killall -9 dtmf>/dev/null 2>&1
+killall -9 sfswrapper>/dev/null 2>&1
+
+
+rm -f $LOCAL/active
+rm -f $LOCAL/preaccess
+rm -f $LOCAL/connectedip
+rm -f $LOCAL/calledip
+rm -f $LOCAL/nomute
+rm -f $LOCAL/monitor_only
+
+rm -f $RUN/*
+
+touch $LOCAL/timeout

Propchange: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset
------------------------------------------------------------------------------
    svn:executable = *

Propchange: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/irlp-scripts/irlp_fullreset
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list