Questions tagged [asterisk]

GENERAL ASTERISK SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. Server support like "please read this output and say what is wrong" or configuration is OFF-TOPIC. Asterisk is a PBX software whose main aim is to route audio/video calls. It is released under a dual license: the GNU General Public License (GPL) and a commercial license.

Asterisk is a Private Branch eXchange (PBX) software; its main aim is to route audio and video calls, but it supports the creation of services like voicemail, Interactive Voice Responders (IVR), least-cost routing (LCR) etc.

Asterisk supports different Voice over IP (VoIP) protocols - like SIP, IAX2, H.323 - and can be integrated with traditional telephony equipment and networks - like analog networks, ISDN BRI/PRI, GSM/UMTS.

Its behavior can be programmed using Asterisk Extension Language (AEL) or a legacy language, and exposes various APIs (including HTTP APIs) for run-time interaction with other programs and servers.

As Stack Overflow is a programming site, questions tagged should relate to the topic of programming. Such topics may include (but are not limited to):

  • Dialplan functionality using traditional syntax or AEL
  • Connecting to Asterisk via API interfaces
  • Work on the Asterisk codebase itself

Questions concerning the following topics could be off-topic for Stack Overflow and may be better suited for another site such as Server Fault or Super User:

  • Asterisk configuration
  • Hardware interface problems
  • Asterisk GUIs such as FreePBX
  • Call quality issues (e.g. one-way audio)

Important links:

3078 questions
0
votes
2 answers

seperating parts of the fread output with php for Asterisk AMI

I have a question that has kept me busy for the last days. I am working with the Asterisk AMI. The AMI gives output like this. Event: RTCPSent Privilege: reporting,all Channel: SIP/1001-00000000 ChannelState: 6 ChannelStateDesc:…
0
votes
1 answer

Asterisk AMI making a call with Action:Originate

I have started working with the Asterisk AMI. Love it, have been learning a lot the last few days. Now I want to make a call with the action:Originate Have done this the following way; //Make an action Action: Originate Channel: SIP/1001 Context:…
0
votes
1 answer

Replacing dialplan with ARI for "dynamic" inbound extensions

I'm experimenting with the ARI interface in Asterisk (v15.5). I've managed to placing and manage outbound calls relatively well, and I'm now trying to tackle inbound calls. I don't have any dialplan to speak of on my test server; it hasn't been…
KenD
  • 4,529
  • 7
  • 43
  • 77
0
votes
1 answer

Asterisk MessageSend to multiple devices using PJSIP

I currently have a setup using WebRTC -> Asterisk where I can call and send messages. When I make a call from A -> B all of B's registered devices get called (so if he is logged in several times). However using MessageSend the SIP message is only…
ananonposter
  • 136
  • 2
  • 6
0
votes
1 answer

Automatic Send DTMF for Survey Campaign, Goautodial v3

I am using Goautodial V3 and i want to setup a campaign that sends automatic DTMF *2 as soon as the call has been answered, I have tried changing the agi-dtmf.agi file but it did not help, i also changed the outbound carrier dialplan but it still…
0
votes
1 answer

Receive Simulteneous Call to Twilio SIP End Points from a Single Phone Number

I have a phone number and a SIP domain on Twilio. So when I receive a call on phone number all the SIP endpoints must ring simultaneously and once the call is received by any SIP end point, the ring to other numbers must stop. I want more or less a…
0
votes
1 answer

Asterisk audio capture on another machine on same LAN

Using Asterisk 13.12.1, which working fine. Also setup an AGI (AsterNet) on remote windows 10 machine which working fine too. Able to route calls to AGI on remote windows 10 machine fine, using like - exten =>…
kapill
  • 69
  • 7
0
votes
1 answer

How to get the data returned in sip debugging on asterisk?

Is it possible to store on a variable the sip header from asterisk? <--- SIP read from UDP:192.168.1.101:5060 ---> BYE sip:101@192.168.1.102:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.101:5060;branch=z9hG4bK04B0006fcc7eb2a5c0e From:…
Bee
  • 309
  • 3
  • 13
0
votes
1 answer

No video in WebRTC call on smartphone(Android) via Asterisk

I had built a WebRTC system based on Asterisk and sipml5, and I could make audio calls on my smartphone(Android), but when I enables the video, the caller can get callee's video for about 5sec, and the callee cannot get video at all. Is there any…
0
votes
2 answers

Asterisk 13 - system() dialplan app cannot call bash script on filing system

This was working fine in Asterisk 1.8.32.3 - I'm testing with Asterisk 13.22.0 on Centos 7 running as root (already - as you'll see below): same=>n,System(/usr/src/bash/setData.sh ${CHANNEL(accountcode)}) The script's permissions: [root@localhost…
Stefan
  • 111
  • 1
  • 10
0
votes
1 answer

how to pass values from extensions to AGI script and use that values in script

extension to call php_agi exten => 8380,n,AGI(php_falup.agi,${MSISDN},${var}) php_agiscript to grep values request[agi_arg_1,agi_arg_2]; I am…
0
votes
1 answer

Why in final image of yocto asterisk is not available?

I included meta-telephony in build/conf/bblayers and ran a 'bitbake asterisk' and the image is built successfully.But when i flash the image in SDcard I can't see any asterisk file or folder in the final image anywhere (/etc/asterisk or…
Mohammed Harris
  • 124
  • 1
  • 12
0
votes
1 answer

How to point a text files with bulk phone number on asterisk callfile

I am looking for a solution about asterisk call file. can any one please give me a clear example that how can i use bulk phone number on asterisk call file, want to put all numbers in a text file and add that text file to call file extension…
0
votes
1 answer

Forward sip call to number

I want to forward sip call like this : ---------- 1001 User1 1002 User2 2001 User3 3001 User4 ---------- When User1 (1001) call 1, I want to forward call to User3 (2001). When User2 (1002) call 1, I want to forward call to User4 (3001). Anybody…
0
votes
1 answer

Call a landline from Asterisk

Situation : I made a trunk between a landline and my server so that whenever someone calls my landline he goes through the dialplan I made in extensions.conf. Question : Now, taking into account that I have credits on that landline, is it possible…
Seb
  • 476
  • 4
  • 21
1 2 3
99
100