2,667 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
93
views
How to pass Asterisk CALL_UUID from API server to Python AudioSocket app?
I have 2 Python services and an Asterisk dialplan setup:
api_server.py → exposes an HTTP API endpoint
app.py → runs an AudioSocket server (accepts calls from Asterisk via TCP socket)
In my dialplan, I ...
0
votes
0
answers
156
views
Not able to send stream from Asterisk audio socket to python audio socket server
I added this in asterisk conf
same => n(newIvr),Log(NOTICE, Start New IVR POC flow)
same => n,AudioSocket(${UUID()},172.25.25.150:1579)
same => n,Playback(goodbye)
same => n,Hangup(...
0
votes
0
answers
183
views
Asterisk audiosocket with nodejs
I am using asterisk AudioSocket to send streams to Nodejs server
here is my asterisk extensions.conf
same => n,AudioSocket(${UUID()},ip:1579)
same => n, wait(10)
same => n,Playback(goodbye)...
0
votes
0
answers
203
views
Asterisk audio socket with nodejs web socket server
I'm working on a project to stream real-time audio from Asterisk 20 to a Node.js server for Speech-to-Text processing. I'm using a setup where Asterisk is running in a WSL Docker container on Windows, ...
1
vote
1
answer
91
views
Asterisk (PBX) channel driver - read() callback is never triggered
struct ast_channel_tech custom_tech = {
.type = "Custom",
.description = "Custom Channel Driver",
.requester = custom_request,
.call = custom_call,
.hangup = ...
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 ...
-1
votes
1
answer
70
views
How to get a global variable's value from a file?
In my dial plan, extensions.conf, I have a the following variables:
SALES=Dahdi/9&Dahdi/10&Dahdi/11
CUSTSVC=Dahdi/12&Dahdi/13&Dahdi/14
I would like to get the value of the second ...
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 ...
-1
votes
1
answer
156
views
Remove "Anonymous" text from From header - SIP invite
I need to remove "Anonymous" text from below From header in INVITE request. Done following configuration but no luck.
Used Asterisk 18.23.1 built by root @ pilrh-noc-dynamicconivr-app01 on a ...
2
votes
1
answer
620
views
AsterNET.ARI how to implement a simple call between internal numbers?
I need to call from number 401 to 402 using AsterNET.ARI Asterisk ARI (401 and 402 are two internal numbers that are connected to softphones)
my extensions.conf
exten => 1000,1, NoOp()
same => ...
0
votes
1
answer
468
views
Make multiple calls asterisk ari python
I wrote a script on python 3 that makes only one call, if the caller answered, then we play the melody and hang up. I use ari asterisk. How can this be done for only a few numbers?
#!/usr/bin/env ...
-2
votes
1
answer
81
views
Amı Originate Calls Diffrent Context From Sended Context
I'm using ami-io library with Node.js. I'm sending originate call with a context for redirect answered calls to ivr. There is 2 ivrs for diffrent purpose. Also I'm setting the lead_id to channel for ...
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 ...
0
votes
2
answers
183
views
How do i write a dial plan that plays a audio file takes user input and plays another audio file?
I am using Asterisk, Laravel and PAMI for this, and I
wanted make something that sends out a call that does the following:
Plays a recording:"press 1 or 2"
waits for user input
plays a ...
0
votes
3
answers
677
views
Using Cut with multiple delimeter
I have a small problem. I have a variableCTI_VARIABLES with this content:
cti_CallDirection=1@;cti_ContractNumber=00202417@;cti_TransferVDN=48195@;cti_IvrButton=1
Each different variable within this ...