similar to: AGI script commands

Displaying 20 results from an estimated 3000 matches similar to: "AGI script commands"

2023 Jul 01
1
SetCallerPres command gone
The AGI debug command worked well, and I found the offending command: SetCallerPres(allowed) That worked in Asterisk 13, but from my google searching it looks like this command has disappeared in Asterisk 20 (actually everything after ver 13). I thought it was replaced with CALLERPRES(allowed) but this generated an error too in Asterisk 20. Is there a replacement command? -----Original
2023 Jul 01
1
SetCallerPres command gone
I should have included the debug output: <PJSIP/Twilio-NA-W-3-In-00000006>AGI Rx << CALLERPRES(allowed) <PJSIP/Twilio-NA-W-3-In-00000006>AGI Tx >> 510 Invalid or unknown command -----Original Message----- From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of TTT Sent: Saturday, July 1, 2023 11:37 AM To: 'Asterisk Users Mailing List -
2005 Mar 24
0
AGI commands STDOUT problem
i have a problem with AGI in Asterisk 1.0.5, the problem occurs either with PHP or C AGI scripts/programs. Well, its simple, either asterisk is not sending correctly the command responses to the standard output, or for some unknown reason to me the scripts/programs are not able to read it from standard input. I have the next C test program for AGI: #include <stdio.h> main() { char
2023 Jul 02
1
Get channel variables via ARI/AMI
>> You use the AMI action Getvar[1] which allows channel variables and dialplan functions. >> [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar I actually tried that, and although I get “success” I never get useful data. For example: action: Getvar actionid: act1 channel: PJSIP/Twilio-NA-W-2-In-00000025 Variable: channel(pjsip,call-id)
2023 Jul 02
1
Get channel variables via ARI/AMI
On Sun, Jul 2, 2023 at 4:39 PM TTT <lists at telium.io> wrote: > >> You use the AMI action Getvar[1] which allows channel variables and > dialplan functions. > > >> [1] > https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Getvar > > > > > I actually tried that, and although I get “success” I never get useful > data. For
2003 Apr 11
1
Weird AGI/X100P behavior
I've got a single phone line coming into an X100P. In extensions.conf I've got this: [inboundzap] exten => s,1,Answer exten => s,2,EAgi,hanguptest.agi I see the ring come in and Asterisk detects it and tries to do something with it: NOTICE[20492]: File chan_zap.c, Line 4017 (ss_thread): Got event 2 (Ring/Answered)... -- Executing Answer("Zap/1-1", "") in
2023 Apr 20
1
Source code for AGI GET DATA command
On 4/20/2023 7:16 AM, Rhys Hanrahan wrote: > > Hi All, > > I’m having issues figuring out how to set no DTMF timeout on the AGI > GET DATA command as “0” still has a multi-second timeout if no input > is given. I am trying to find the source code of the AGI command to > figure it out, but I can’t for the life of me find the underlying > source code. The closest I’ve
2006 Apr 13
1
placing call with agi
I'm trying to set up a system so that I can record a conversation over SIP. Monitor and the like don't work so well for me, because I need to pipe the conversation to other programs in realtime, rather than record to a file, so I've been trying to use EAGI instead. (if anyone has any other suggestions about this, it would be greatly appreciated!) At this point, I'm a little
2011 Mar 17
0
blind transfer from AGI triggered call -> dropped
Hi! Maybe someone could help me out? When a call is routed via a2billing AGI and user does a transfer, the call is dropped. If the trunk is called directly everyhing works. Here's a direct scenario (working fine): [pbx000001] exten => 101,1,Set(__TRANSFER_CONTEXT=pbx000001) exten => 101,n,Dial(SIP/pozitel/37129238254,45,t) exten => 102,1,Dial(SIP/12345,60) so, when user calls ext
2014 Jul 31
0
AGI Record File / what does randomerror mean? res_agi.c / line 2377
Hi, I have a question about this here: Asterisk-Version: 11.10.2 File: res/res_agi.c Line: 2377 [...] static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, const char * const argv[]) 2304 { 2305 struct ast_filestream *fs; 2306 struct ast_frame *f; 2307 struct timeval start; 2308 long sample_offset = 0; 2309 int res = 0; 2310
2003 Oct 12
1
AGI Test Fails
I've been trying to use the AGI get_data function for some time now, and can't get it to work. Today I reinstalled a clean system with Red Hat 8.0 (I had been using RH9, but was told * had problems with RH9) and downloaded the latest Asterisk CVS to install. I then downloaded and installed perl-asterisk-0.08. I have extension 502 pointed at EAGI(agi-test.agi). When I call that
2015 Dec 02
2
Issues with Twilio number incoming call and context matching
Yes, I have tried that too (i.e, exten => +17775551212,1,Log(WARNING, TWILIO)). It does not work and NO error message in CLI. I have also tried http://orourketech.com/elastix-plus-sign-caller-id-messing-things/ since I first emailed this group, but that does not seem to work either. Here is my log: [Dec 2 15:09:28] NOTICE[26464]: res_pjsip_session.c:1920 new_invite: Call from
2018 Feb 08
3
pjsip trunking configuration issue
Greetings ! My goal is to get Twilio trunking working, and with TLS/SRTP. I see this concerning message in my log: [Feb 7 16:50:26] ERROR[20596] res_sorcery_config.c: Could not create an object of type 'endpoint' with id ?twilio' from configuration file ?pjsip.conf? Thus, ?pjsip show endpoints? does not show the endpoint for the Twilio trunk. Hoping for a sanity check of
2023 Jun 21
1
Asterisk not replacing private FROM ip with public IP in INVITE
Something perhaps noteworth, since this is a multihomed system I bound the transport to 172.31.253.4:5060 I don't *think* that would cause Asterisk to use that IP in the FROM...at least it shouldn't. -----Original Message----- From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of TTT Sent: Wednesday, June 21, 2023 2:58 PM To: 'Asterisk Users Mailing
2014 Feb 27
0
How to Integrate Twilio With Your Rails 4 App
*Disclosure: I am a Developer Evangelist at Twilio.* Hey everyone, I just published a blog post on how to use Webhooks and Concerns to integrate Twilio into a Rails 4 application. I hope some of you might find this useful: https://www.twilio.com/blog/2014/02/twilio-on-rails-integrating-twilio-with-your-rails-4-app.html I've also published the full source for this tutorial on Github:
2023 Jun 21
1
PJSIP not performing outbound authentication
I didn't use pjsip_wizard, I'm kind of crafting this by hand as I learn. I actually have a plain asterisk, and a FreePBX, system to help me learn. I sometimes create something in FreePBX to see what it does to the config files. So that's how I modelled my pjsip.X.conf files If I issue the command "pjsip show endpoint Twilio" it does show that outbound_auth=Twilio Does
2015 Dec 02
4
Issues with Twilio number incoming call and context matching
Hello, I am running Asterisk 13.6.0 in an AWS instance, and I set it up with Twilio SIP trunk using pjsip_wizard.conf (nice feature!). I see that the calls actually "reach" the PBX, but for some reason, they are not caught by any of my extensions context. Here's what I observe when I test this from a non-PBX connected E164 number (a landline), say 555-666-1212. My Twilio number is
2023 Jun 21
1
PJSIP not performing outbound authentication
On Wed, Jun 21, 2023 at 05:19:11PM +0000, TTT wrote: > I am using Asterisk 20.3.0 with PJSIP. I have setup a trunk to my ISP > (Twilio) who requires outbound authentication. My pjsip.auth.conf contains: > > [Twilio] > type=auth > auth_type=userpass > password=mysecret > username=myun > > However, my calls using the trunk are rejected with a 403. Using pjsip >
2004 Sep 14
1
asterisk does not start...
When I do a 'asterisk -vvvvvc' I get following, but asterisk does NOT stay up: == Parsing '/etc/asterisk/asterisk.conf': Found == Parsing '/etc/asterisk/extconfig.conf': Found
2023 Jun 21
1
Asterisk not replacing private FROM ip with public IP in INVITE
I tried that (only needed to add rewrite_contact=yes) but it didn't help. BTW, the CONTACT: line holds the correct ip! Only the FROM: line holds the wrong (private) IP. I'm still learning SIP...but I assume the FROM should also hold the rewritten public IP. Just don't know how to force Asterisk to do that. -----Original Message----- From: Eric Wieling [mailto:ewieling at