search for: scripts_dir

Displaying 5 results from an estimated 5 matches for "scripts_dir".

2004 Jan 04
2
Voicemail Out call
...#39;busy' message ; ${ARG2} = mailbox ; ${ARG3} = Call user flag ; USAGE: ; exten => s,15,Macro(leave_voicemail,u,310,1) exten => s,1,ResponseTimeout(30) exten => s,2,Voicemail2(${ARG1}${ARG2}) exten => s,3,GoToIf($[${ARG3} = 0]?s|5) exten => s,4,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG2}) exten => s,5,NoOp exten => h,1,GoToIf($<A&NBSP;CLASS='WIKI'&NBSP;&NBSP;HREF='${ARG3}&NBSP;=&NBSP;0' >${ARG3} = 0?h|3) exten => h,2,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG2}) exten => h,3,NoOp...
2005 Sep 19
0
Voicemail() application returning -1 on a hangup
...oicemail Busy message exten => s-BUSY,2,Hangup() exten => _s-.,1,NoOp(Before Voicemail-u---Arg1=${ARG1} Arg2=${ARG2}) exten => _s-.,2,Voicemail(u${ARG1}) ; Voicemail Unavailable message exten => _s-.,3,NoOp(After Voicemail-u---Arg1=${ARG1} Arg2=${ARG2}) exten => _s-.,4,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG1}) exten => _s-.,5,NoOp(After system----Arg1=${ARG1} Arg2=${ARG2}) exten => _s-.,6,Hangup() ; this catches the error exit (n+101) from Voicemail, such was when a person hangs up after recording a message ; instead of hitting # (this doesn't work) ; exten =&...
2007 Jul 11
2
Pass Dialed number to a script
...1,1,Goto(s,3) ; replay message exten => 2,1,Goto(msgack,s,1) ; acknowledge message exten => 3,1,Goto(callback,s,1) exten => t,1,Playback(vm-goodbye) exten => t,2,Hangup [callback] exten => s,1,Playback(outboundmsgs/customerrepwillcall) --> exten => s,n,system(${SCRIPTS_DIR}/rep_callback.sh ${????????} ) exten => s,n,Playback(vm-goodbye) exten => s,n,Hangup how do I pass the number that was dialed (from the creation of a .call file) to the rep_callback.sh script ? thanks Shawn
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...continue working (#481105). --- xen-3.orig/tools/python/xen/xend/osdep.py 2008-05-12 12:01:59.000000000 +0100 +++ xen-3/tools/python/xen/xend/osdep.py 2008-07-20 12:53:18.000000000 +0100 @@ -18,7 +18,8 @@ # Use is subject to license terms. import os import commands +import xen.util.auxbin _scripts_dir = { "Linux": "/etc/xen/scripts", @@ -92,6 +93,6 @@ scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) -pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") +pygrub_path = _get(_pygrub_path, xen.util.auxbin....
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
.../python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -29,8 +29,13 @@ _xend_autorestart = { "SunOS": False, } +_pygrub_path = { + "SunOS": "/usr/lib/xen/bin/pygrub" +} + def _get(var, default=None): return var.get(os.uname()[0], default) scripts_dir = _get(_scripts_dir, "/etc/xen/scripts") xend_autorestart = _get(_xend_autorestart) +pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub") _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel