Displaying 9 results from an estimated 9 matches for "tempvar".
2009 Jun 24
1
Outgoing CallerID for KPN in Belgium
Hi,
I'm using a ISDN-30 E1 line from KPN Belgium.
The challenge is to get a correct CallerID on outgoing lines.
When I put this in my dialplan:
exten => _0.,1,Set(TEMPVAR=${CALLERID(num):1})
exten => _0.,2,Set(CALLERID(num)=144622${TEMPVAR})
exten => _0.,3,NoOp(${CALLERID(num)})
exten => _0.,4,Dial(Zap/g1/${EXTEN:1},,)
The resulting CallerID is accepted by the telco, but on phones it shows for instance as:
+14462241, whereas it should be +3214462241. So it...
2011 Jan 01
2
Applescript and .exe?
....app that is not the default Apple one
set dyldFallbackLibraryPath to "/usr/X11/lib"
-------------------------------------------------------
--DO NOT EDIT ANYTHING BELOW THIS LINE
-------------------------------------------------------
set toRunPath to do shell script "TEMPVAR=\"" & toRun & "\"; echo \"${TEMPVAR%/*}\""
set toRunFile to do shell script "TEMPVAR=\"" & toRun & "\"; TEMPVAR2=\"" & toRunPath & "\"; echo \"${TEMPVAR#$TEMPVAR2/}\""
do she...
2004 Nov 11
1
glm.fit warning message
I am feeling my way in the use of GLM's and have come across a warning whilst manually simplifying a model with interaction terms, removing terms one at a time from the maximum model (R1.9.0).
> model<-glm(midpnts~(AET+tempave+tempvar+MDE+sqrtarea)^2+Lat,family=poisson,weights=weightS)
> model2<-update(model,~.-tempave:tempvar)
Warning message:
fitted rates numerically 0 occurred in: glm.fit(x = X, y = Y, weights = weights, start = start, etastart = etastart,
I have had limited success in interpreting this message,...
2010 Dec 04
2
Re: Trouble with libgsm on Mac OS X 10.6.2
...not the default Apple one
set dyldFallbackLibraryPath to "/opt/X11/lib:/usr/X11/lib:/usr/lib"
-------------------------------------------------------
--DO NOT EDIT ANYTHING BELOW THIS LINE
-------------------------------------------------------
set toRunPath to do shell script "TEMPVAR=\"" & toRun & "\"; echo \"${TEMPVAR%/*}\""
set toRunFile to do shell script "TEMPVAR=\"" & toRun & "\"; TEMPVAR2=\"" & toRunPath & "\"; echo \"${TEMPVAR#$TEMPVAR2/}\""
do shell s...
2010 Apr 12
4
Winepath on Mac
I am trying to use winepath to convert between the WINE native file path and the normal Mac native filepath. Unfortunately, I do not seem to be able to return the logical Mac UNIX path when using winepath:
Macintosh:~ tpatko$ /Applications/Firefly/WINE/bin/wine winepath -u Z:\Applications\Firefly\BENCH1.out
/Users/tpatko/.wine/dosdevices/z:/Users/tpatko/ApplicationsFireflyBENCH1.out
Macintosh:~
2005 Oct 11
2
Pushing Javascript Helper to external file.
...a from all those rows,
causing a lagged response. I need to abort the remote call in onmouseover.
This isn''t a huge problem. I have to remove the :loading part from my helper
function and do it myself, but in the end I can do something like this...
onmouseover="abortCallandShowDiv(); tempvar = <%=
remote_function(:update=>''notediv'', :url => {:action => ''get_note'', :id =>
inventory.id <http://inventory.id>}) -%>"
And that works, but now I''m serving twice as much data as I need to. The
purist in me really wants to...
2012 Jul 18
0
Building a web risk calculator based on Cox, PH--definitive method for calculating probability?
...e
isn't likely to be a step at exactly "x" years, this is a bit more work
to do yourself. You might want to include the confidence limits in your
web report as well.
2. Put the whole formula into your coxph call. I have never ever
understood why people use the construct
tempvar <- with(data, Surv(time, status))
coxph(tempvar ~ age + sex + ....
It leaves you with harder to read code, poorer documentation (the
printout from coxph no longer shows the actual response variable), leads
to hard-to-diagnose failures for certain uses of predict, ... the list
goes on....
2002 May 09
0
functions : server_input_channel_req userauth_pubkey
...+
+ debug("realname passed in %s var is %d ", realname, oopt);
+ if (oopt == 1) {
+ /* write value to realname */
+ debug("writing temp value for realname");
+ lengrn = strlen(realname);
+ strncpy(temprealname, realname, lengrn );
+ debug(" VIX tempvar is %s", temprealname);
+ } else {
+ /* rewrite realname from temprealname */
+ debug("reading temp value for realname");
+ lengrn = strlen(temprealname);
+ strncpy(realname,&temprealname,lengrn);
+ }
+ debug(" VIX realname passed out is %s", real...
2006 Feb 19
3
Loops and Variables
I have the following in my dialplan, counts the number of loops and when
it hits greater then 5, exit. It works, but errors initially with,
"syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_LP or
tolken; Input: +1".
Could somebody tell me why?
Thanks:
; ****************************************
; Setup a varriable to count the number of
; times the message has been