search for: database_get

Displaying 3 results from an estimated 3 matches for "database_get".

2010 Apr 04
1
[OT] phpagi help
...tempting to connect to the blacklist database using PHPAgi and it always seems to hang. The code snippet I am trying is: $r = $agi->get_variable("CALLERID(num)"); $cidnum = $r["data"]; if ($cidnum < 1000000000) # No valid callerid. { exit(0); } $r = $agi->database_get("blacklist", "$cidnum"); if ($r["result"] == 1) { $agi->verbose("Call blocked by blacklist."); $agi->exec('Set','CDR(userfield)="Blocked call by blacklist"'); $agi->set_variable("PHONESPAMFILTER",...
2003 Dec 23
2
Fw: perl database get
i mean AGI->database_get() ----- Original Message ----- From: "Muhammad Nasim" <muhammad@telappliant.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, December 23, 2003 6:41 PM Subject: Re: [Asterisk-Users] perl database get > I've used both the syntax you have given and the perl mod...
2005 Jan 02
1
Call Queue Question
Hi, I've been fussing with this for a while now - and cannot seem to get it to work correctly - or rather as I desire it.. I'm trying to implement a 'find-me' feature in my voicemail. Basically - pressing 1 at the voicemail puts the caller into a queue. The members of the queue are my cell phone and my work DID.. I need the queue to call both numbers at the same time and wait