192 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
55
views
how to read data from asterisk 11 to agi server ding dong in case of speech to text
I have asterisk server and nodejs agi server (ding-dong npm lib).
I want to enable speech to text so that i can NLP.
One quick way is to record the file on asterisk and then do stt using google speech ...
0
votes
1
answer
55
views
Asterisk Date Readback Issue
We are using asterisk say data service for readback of date. We have integrated asterisk with bpmn-js, and use context to execute commands for say date in case of readback.
Following is the code which ...
0
votes
1
answer
52
views
Request help | SEVERE: No script configured for URL 'agi://localhost/callin.agi' (script 'callin.agi')
I built and installed Asterisk-Java 3.41.0 from source in /usr/src/asterisk-java/. Inside the target folder I created a directory "buildPackage", inside which I compiled the ExampleCallIn....
0
votes
2
answers
161
views
Problem Getting RECOG_INSTANCE() Value When Using MRCPRecog with Asterisk-Java AGI
I am running some operations over Asterisk-Java AGI (Asterisk Gateway Interface) using MRCPRecog. There is a problem I am facing with the results from MRCPRecog.
The result returned by MRCPRecog is as ...
-1
votes
1
answer
246
views
dialplan show the unicode char
I have s simple code:
exten => p111,1, NoOp(********** test unicode char ************);
same => n,Answer();
same => n,Set(myVariable="امین رستمی")
same => n,NoOp(******** #2 ${...
0
votes
1
answer
58
views
Error converting phone_number to integer: invalid literal for int() with base 10: ''
I'm trying to do the following:
The script takes a line from the file, splits it, and then the phone number should be set as a variable for the asterisk dialplan.
File line looks like:
Doe,John,Adam,...
-1
votes
1
answer
298
views
Asterisk AGI fails to execute cURL
I'm using Bicom PBXware. I have complex cURL with headers to send using -H which means I can not use Asterisk CURL app. So I created bash script which works properly:
/opt/pbxware/pw/var/lib/...
1
vote
1
answer
176
views
create AGIScript in classLibrary project
I have a simple project create with c# (.Net Core 6.0)
I create a AGIScript class with Asternet and recieve the data from asterisk server.
it's working well, As long as both are in the same project (...
0
votes
1
answer
1k
views
how to play background music in Asterisk AGI while some process is Going on in background to remove the silence during execution
I am using python 2 in asterisk 2 there is a section where code listen to callers audio and process the audio. During the process there is a silence of 15 sec before the audio is played. I want to add ...
0
votes
1
answer
247
views
I need multiple execute php async and I should be shut down specific chanel when I want
Php File(demo.php);
#!/usr/bin/php -q
<?php
set_time_limit(0);
ini_set('max_execution_time', 0);
require('phpagi.php');
$agi = new AGI();
$timeParameter = $argv[1];
$agi-&...
1
vote
0
answers
742
views
Asterisk EAGI audio while running AMD or other asterisk app via "EXEC"
Is it possible to use "AMD" to detect silence in EAGI script and receive the audio on fd 3 at the same time?
Is this scenario supported or I am doing something wrong?
Simple demonstration ...
0
votes
1
answer
1k
views
What is the Asterisk Dial() Option to Call Subroutine on "Ringing" Status Received from Called Party?
I need to execute AGI scripts when following events occur:
An incoming call (it is simple just call AGI() function).
When a call is "Ringing" (I cannot figure it out!). <-- Problem, how ...
0
votes
1
answer
458
views
What should be the value of ARGS in pyst2(python asterisk library)?
>>>from asterisk.agi import *
>>>agi = AGI() #after execute this, below thing poped
>>>ARGS: ['']
ENV LINE:
>>>class AGI: self.env = {}
I just import pyst2's agi ...
0
votes
2
answers
4k
views
What should my path if I am using python venv?
I use python 3.6.9 and asterisk 16.16.0 in Ubuntu 18.04.
If you know about AGI then you probably know about this line
#!/usr/bin/python
or this
#!/usr/bin/env python
if not then don't worry its tells ...
0
votes
1
answer
2k
views
Asterisk is not executing python file using AGI
Log of asterisk after call is as follows:
<SIP/AC_221-00000007>AGI Tx >> agi_channel: SIP/AC_221-00000007
<SIP/AC_221-00000007>AGI Tx >> agi_language: en
<SIP/AC_221-...