Displaying 20 results from an estimated 130 matches similar to: "AGI - IVR - Time Clock"
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements.....
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $callerid = $input{'callerid'};
if ($optemp != 1) {
my $empid = $AGI->get_data('employee',-1,5);
$AGI->stream_file(entered);
$AGI->say_digits($empid);
my $optemp =
2020 Oct 18
1
Resultado de la consola como un tibble
Hola,
Bueno, puedes hacer el cálculo de una forma mucho más compacta y rápida.
Esta forma es especialmente recomendable cuando tienes muchas columnas y
muchas filas.
> library(data.table)
> myDT <- as.data.table(mtcars)
> myDTlong <- melt(myDT, measure.vars=1:ncol(myDT))
> myDTlong[ , list(p_value = shapiro.test(value)$p.value, v_stat =
shapiro.test(value)$statistic) , by
2010 Mar 05
2
Bug in driver-mysql.c + fix
I tried to use MySQL stored procedures from dovecot:
password_query = CALL user_pass_check('%n', '%d', '%w')
user_query = CALL user_info('%n', '%d')
This failed with the message:
User query failed: PROCEDURE imap.user_info can't return a result set in the given context
The root of this problem is that mysql_real_connect() needs to be called with
2006 May 09
3
validations erasing the form
Hi there
I have a for with a couple of text_fields. I''m doing some validation
via the model and when the validation "works" I get there was an error
on blah blah
the problem is the form is erased and I have to fill up the form again!
I saw that scaffold keeps the form filled when the validation "works"
but I dont know exactly what''s making it happen!
I would
2006 Mar 14
3
ActiveRecord row-by-row processing
I want to use ActiveRecord outside of Rails to do processing on large
tables. I want to be able to process the rows as they are retrieved
rather than having to store the results in an intermediate array.
Any suggestions?
Looks like I could hack the adapter to provide an accessor to the
underlying DBI handle. Anything cleaner than that?
2009 Jan 20
1
problem with applying where condition
Hi all,
I am a biggener in R-Project
I got one problem with applying *where condition*
like
if 2 tables like
table1:
empid name dep
101 kiran solutions
102 ram testing
103 pavan database
table2:
empid month sal
101 Dec 9500
102 Dec 9800
103 Dec 8500
in first table i have to take *empid* with
2004 Apr 18
0
AGI Module
Hey all,
I'm sorry to bother you with something so trivial, but I seem to
be having an issue with the Asterisk::AGI module. I am a relative
newbie with Perl so it could be a stupid syntax mistake that I missed.
It seems when I try to execute either the stream_file or the get_data
subs nothing is actually done. It doesn't seem to stream the files, but
on the console it says it played the
2004 Sep 17
1
AGI Python Clear or Channel Failure?
Hi All,
When I call the stream_file function all goes well if the user doesn't
clear the call. But if I do clear the call (on the handset for
example), I get the following exception:
-- Channel 0/31, span 1 got hangup
RESULT_LINE: 200 result=-1 endpos=28000
== Spawn extension (default, 600006, 1) exited non-zero on
'Zap/31-1'
2020 Oct 18
2
Resultado de la consola como un tibble
Buen día
estimados
Estoy tratando de hacer un tibble con los resultados de un apply que se
muestran en la consola que me da R, no estoy seguro si eso se pueda hacer,
pero me gustaría organizar los resultados de esa manera.
mi código es:
data("mtcars")
Mtcars_matriz <- as.matrix(mtcars)
apply(Mtcars_matriz, MARGIN =2, FUN = shapiro.test)
DF2 <- tibble(Variable = NA, W = NA, Pvalue =
2013 May 24
0
Wine release 1.5.31
The Wine development release 1.5.31 is now available.
What's new in this release (see below for details):
- New version of the Gecko engine based on Firefox 21.
- Joystick force feedback support on Mac OS X.
- Window management fixes in the Mac driver.
- Various bug fixes.
The source is available from the following locations:
2007 Jul 23
0
Problem w/ MySQL update from perl AGI script
I've been trying to get a basic 5 question IVR survey working in an AGI script,
and am having trouble with the SQL portion not updating the table. When I take
out all the AGI references, and run just the perl script, the table updates
with no problem(DBname,username,password have been substituted in this example
for the actual values):
#!/usr/bin/perl
#
#
use DBI;
$DATETIME =
2007 Aug 28
1
deadagi and billsec or answeredtime
Hello,
I want to create php rate script and I'm using Deadagi. But I allways get
billsec 0 , or nothing. Can you help me to solve this problem...
My extension.conf:
exten => _123,1,DeadAgi(rate.php)
exten => _123,2,hangup
And my simple test php script rate.php
#!/usr/local/bin/php -q
<?php
include_once (dirname(__FILE__)."/phpagi.php");
$AGI = new AGI();
2016 Nov 08
0
samba with customized ldap backend (fwd)
Sir,
below is smb.conf file;
[global]
workgroup = CDAC
server string = Samba Server Version %v
security = DOMAIN
passdb backend = ldapsam:ldap://10.208.1.211/
log file = /var/log/samba/log.%m
max log size = 50
client signing = required
ldap admin dn = cn=manager,dc=cdac,dc=in
ldap passwd sync = only
ldap suffix = ou=User,dc=cdac,dc=in
ldap ssl = no
template shell =
2016 Nov 07
1
samba with customized ldap backend
Sir,
As you told that Samba normaly set uid=Username and not the uidNumber.
Here due some requirement we had configured ldap with dn uid="user's emp
id" and it is very well working with all the services like nagios
anonymous authentication, ssh, smtp, imap authentication, rdesktop means
all the possible services but I am very badly stuck with samba
authentication.
For example
2016 Nov 10
0
samba with customized ldap backend (fwd)
Sir,
My setup is able to Samba authenticate by using of SSSD or nslcd but I
have to use 102220 (numeric) instead of username.
Okay I will explore on nss-pam-ldap, let's see.
Thanks for your support/effort/suggestions.
Regards,
Arun
__________________
OK, you have a strange setup, I have suggested how you could possibly
configure sssd or nslcd and neither work.
I have also pointed out
2011 May 04
3
Regexp question
I have a string like this
st <- "SELECT COUNT(empid), COUNT(mgrid), COUNT(empname),
COUNT(salary), FROM Employees"
How can I remove the last comma before the FROM statement?
-J
2016 Oct 24
1
password sync issues
Hi,
I have configured 2 ldap tree, one for unix account (ou=User) (below is
sample ldif)
dn: uid=2011150,ou=User,dc=acer,dc=in
empID: 2011150
username: test1
cn: test1
centre: PN
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
oldempid: 1150
mail: test1 at acer.in
givenName: test1
uid: 2011150
shadowLastChange: 15590
loginShell: /bin/bash
2004 Jan 22
1
Variable to play all gsm files in a directory?
Is there a variable that can be used with the playback command to
play all gsm sound files in a directory? For example like '*.*' <- which
I know doesn't work. Is the only solution for this to create an AGI
script and use the stream_file command ?
Thanks,
J.C.
2006 Mar 14
1
Directory doesn't work well Asterisk@home2.7- try from PSTN with Digital recepcionist- Directory based on Last name
Hi all,
Directory lookup, Asterisk@home 2.7, are this small bugs?
case DIR_FIRST: $intro = ($operator ? "dir-intro-fn-oper" :
"dir-intro-fn"); break;
case DIR_BOTH: $intro = ($operator ?
"dir-intro-fnln-oper" : "dir-intro-fnln"); break;
case DIR_LAST: default: $intro = ($operator ?
"dir-intro-oper" :
2007 May 16
0
AGI "record_file" issue... bug?
I am having a problem with "record_file" working properly depending on when
it is called -- basically if it is called immediately upon a call, it acts
like it does not hear anything from the callers phone (yes, my phone is
setup properly and functions fine otherwise)... if I do a "background" or
"festival" command before calling it, it works fine.
Details below: