similar to: FW: Get dialed numbers in AGI

Displaying 20 results from an estimated 9000 matches similar to: "FW: Get dialed numbers in AGI"

2007 Jan 10
2
Get dialed numbers in AGI
Hi, I'm trying to write a AGI in PHP to get the numbers dialed (with read()), save it into a variable to insert it into a SQL server database. But I cannot see results into the variable, it always return NULL. Here is a piece of the AGI. fwrite(STDOUT,"exec Read my_var|/sound_to_play|5|||15 \n"); fflush(STDOUT); $conn=odbc_connect('MSSQL', 'USER', 'PASS');
2007 Mar 03
2
hanging an asterisk box off of a PBX analog extension
Wanting to connect my asterisk box off of 2 unused analog extensions on the non* PBX system. Can I bring those lines in to * on XP100 FXO cards? Any special wiring/open loop issues to watch for? The desired config is inbound PRI -> non* PBX, attendant picks up and if caller wants services on * box then xfers call to one of the analog extensions where * picks up and handles call from that
2006 Nov 20
1
g729 registered
Hi guys, I've registered some g729 licenses, during register process everything worked fine. astk2*CLI> show g729 0/0 encoders/decoders of 20 licensed channels are currently in use But I'm not able to use this codec. I'm trying to use a linksys PAP2 to talk using g729 but I got this answer from asterisk: Got SIP response 488 "Not Acceptable Here" back from
2006 May 18
3
just softphone
Hi, I'm trying to start with Asterisk, but I could not put 2 softphones to talk. The asterisk server rejects the connections always when I dial. May 17 07:49:22 NOTICE[1924]: Rejected connect attempt from 192.168.0.106 What is necessary to put it to work? There is no need to configure external lines. extensions.conf [internal1] exten => 311000,1,Dial(SIP/teste1) [internal2] exten
2006 Jan 14
3
link_to_remote where the url contain a javascript variable
Ok, so I am basically trying to use ''link_to_remote'' and pass the value of a javascript variable as an argument. Something like that: link_to_remote "my_link", :update => ''my_div'', :url => { :action => "my_action", :var => ''my_var'' } Basically,
2007 Feb 01
3
How to Clone Asterisk
I want to essentially transplant my existing Asterisk server to a new machine, and take the old sever out of service. Assuming I install Asterisk on the new machine, does anyone know what files I would have to copy over? What comes to mind are the *.conf files in /etc/asterisk, as well as the voicemail audio files. Anything else? -------------- next part -------------- An HTML attachment was
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although I've used AGIs many times in the past, I'm stumped on this one. It may just be a simple issue that I need another eyeset to look at. My AGI does the following: #!/usr/bin/perl #Load a few modules... use Asterisk::AGI; use DBI; $AGI = new Asterisk::AGI; #Grab input from Asterisk my %input =
2009 Feb 20
6
How to mock an object defined in the before_filter function?
Hello, I am trying to implement the following scenario, but I am stuck ... The thing is I want to initialize a variable @comment when the stub function "find_comment" is called. The way I do it below doesn''t work, since "before_filter :find_comment" returns true/false and @comment initialization is done inside it. Could you please give me a hint how to do it? One
2007 Jan 11
2
Asterisk Compilation and Installation
Hi List; I understand that I have to compile zaptel but what about asterisk? Is it enough to extract it? Well, how I will run asterisk (without compilation and installation)? Any advise? Regards Bilal ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited
2007 Aug 27
3
voip provider settings problem, please help
hi ppl, i'm using asterisk 1.2 because i'm making use of voiceone, but before i was using asterisk 1.4 and had the same problem, it concerns an italian voip/sip provider called eutelia/skypho, my problem is the following one: when i start my pbx my skypho account is working fine, meaning that e.g. incoming calls are shown in the asterisk CLI and caller and callee can hear each other when
2007 Nov 02
3
use dial plan passed arg value in C agi code
Hello * users, I know that passing variable in the AGI script is by exten => _.,1,AGI(simple_c_prgm|123|789) ; 123, 789 are arguments being passed and simple_c_prgm is C code Now how will I receive these variables within C code ? Is it by the same way arguments are passed in command line to C by using argc and argv or there is more to be done than that? Thanks Regards -- Arpit Mehta
2006 Feb 23
3
How to query a table from the keypad?
I am trying to give users the option to query our accts. payable database by supplying their PO number. I able to write queries via perl->DBI->mysql but have no idea how to get * to do it from the IVR. Is this possible? Can anyone point me in the right direction for help or examples? Thanks, Richard --------------------------------- What are the most popular cars?
2013 Feb 08
2
SayDigits
Hello Is there a way to slow down or speed up the speed at which SayDigits rattles off a series of digits? Reagards
2008 Mar 02
1
Problem plotting curve on survival curve (something silly?)
OK this is bound to be something silly as I'm completely new to R - having started using it yesterday. However I am already warming to its lack of 'proper' GUI... I like being able to rerun a command by editing one parameter easily... try and do that in a Excel Chart Wizzard! I eventually want to use it to analyse some chemotherapy response / survival data. That data will not be
2006 Feb 26
11
Asterisk question
Any idea how to read an external file, grab some stuff and push it back into an Asterisk variable? I can do it the other way with: system(echo "${UNIQUEID} =>" >> /home/ast/curr_calls) but I'm a bit stumped on how to go the other way around.... much thanks, Paul Hales
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
After upgrading from asterisk-10.5.0 to asterisk-11.1.2, I am getting a Segmentation fault. [root at localhost asterisk-11.1.2]# asterisk -vvvvvvc Asterisk 11.1.2, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer <markster at digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components
2004 Aug 24
2
Remotely change call forward
Is it possible using asterisk to allow someone to dial in and remotely change where their call is forwarded to? For example, I'm working from home so I want my calls to go to 555 1234, now I need to go out for a bit so I'd like to phone the office and using DTMF tell the asterisk PBX to now forward my calls to my cell phone 555 3456 Has anyone implimented anything like this? R.
2003 Jul 15
3
Conditional Contexts
I was wondering if the following was possible: 2 separate incoming contexts. The first will be used when there is a secretary present. The second will be used when there is no secretary. I know that this can be done using includes and specifying the time in which each separate context would be included. However, I would like to be able to switch them from the reception telephone. For
2012 Sep 18
2
Access block scope from AR object
I need to create a sort of transaction around some Active Record objects that perform many insert/updates. Example: class MyObject def transaction &block @my_var = value self.instance_eval block end end MyObject.new.transaction do Model.create Model.collection.create etc...... end I have a gem that add a method into AR::Base and I need to read
2003 Jun 19
2
Is it possible to do this with Asterisk?
Here's what I am trying to do... First I'll have a list of 4 digit numbers like: Code:OtherCode 1234:4321 9999:4444 3333:1111 People will call our 800#, Have the number they are calling from read to them (ANI?) & then enter in the code (let's say 1234). If the code matches one on the list, then the OtherCode (4321 for 1234) will be read/spoken to them. With the exception of the