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
8
votes
6 answers

No audio on Asterisk SIP call

I almost managed to init a 2 sided call (click to call): 1st to my office and the 2nd to my cell using Michal Niklas answer (thanks Michal) on Asterisk click to call. The major ISSUE is that the 2 call participants can not hear one each other, I…
Sam
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

how can I make a sip call with twisted sip protocol?

I have an asterisk server and I want to know is this possible to make a sip call with twisted sip protocol? if yes how can I do this? unfortunatly I can't find any document about how to use twisted sip protocol or any example of how It works.
nim4n
  • 1,563
  • 3
  • 16
  • 33
8
votes
1 answer

Difference between tx and rx?

With asterisk I can set the volume of TX and RX. But what are those options? I've already googled this but can't find anything. Whats is the difference between TX and RX?
Jochem Gruter
  • 2,529
  • 3
  • 16
  • 36
7
votes
5 answers

Asterisk + Node.js + Browser Streaming

I would like to build a service that allows a user to listen to a call live from their browser. I have some experience with Asterisk and this seems to be flexible enough to do what I have described. Node.js sounds good because it is purported to…
Jonathan
  • 5,331
  • 4
  • 35
  • 52
7
votes
4 answers

Are there parallels to Asterisk AMI and AGI in FreeSWITCH?

Asterisk has Asterisk Manager Interface (AMI) and Asterisk Gateway Interface (AGI), using which one can trigger PHP scripts at certain events from Asterisk. Using the same PHP scripts can also instruct Asterisk what to do next to a call/conference.…
jeff musk
  • 951
  • 9
  • 30
7
votes
1 answer

Asterisk issue: Autodestruct on dialog ... with owner in place (Method: BYE)

After weeks of performing fantasically, our Asterisk went haywire the other day. I looked at the logs of our server and it does, indeed, report losing the ability to communicate with Asterisk at some point (we're using the Java…
aimzies
  • 305
  • 1
  • 6
  • 17
7
votes
4 answers

asterisk anti ex-girlfriend Dial plan?

I wrote simple dial plan in asterisk. This dial-plan target is to check caller-id of incoming call and for specific hangup :) ! but this dial-plan hangup all incoming call with diffrent caller-id. So what do i do? ;( [general] static=yes …
Rev
  • 2,148
  • 7
  • 42
  • 73
7
votes
1 answer

ARI JS client mute error

Am currently developing a mute function for asterisk which I can run from my web front end using asterisk ARI. But every time I try to run/call the mute function it gives me the following error: Error: { "message": "Channel not in Stasis…
Studento919
  • 585
  • 2
  • 11
  • 41
7
votes
4 answers

Set waiting tone for asterisk agi function processing

I am using asterisk with normal PHP AGI following this link the problem is that my PHP AGI takes 5 seconds to execute .I just want to set some waiting tone for the user to wait until the AGI is been processing. On the same link I found…
codegasmer
  • 1,304
  • 1
  • 12
  • 40
7
votes
2 answers

Wildcards in variable path with Powershell

I would like in my script to use wildcard in variable like this : $TARGET = "\\MACHINE1\c$\ProgramData\Test\12.*\Data\" The problem is $TARGET returns \\MACHINE1\c$\ProgramData\Test\12.*\Data\ and…
robinwood13
  • 139
  • 1
  • 1
  • 7
7
votes
4 answers

How to get all dialer events from Asterisk REST API (ARI)?

I'm making a web application which should be able to monitor calls on my Asterisk server. I can connect to ARI with Javascript WebSocket on URL ws://(host):8088/ari/events?app=dialer and it works. The problem is that I only get events from calls…
demian
  • 95
  • 1
  • 1
  • 6
7
votes
0 answers

SRTP output wanted, but no crypto suite was negotiated from kamailio rtpengine

I am trying to integrate webrtc->kamailio->asterisk to call from web browser. I am using kamailio configuration file from caruizdiaz and chrome browser with sipml5 and asterisk as media server. Till now I have achieved to call to pstn numbers…
dkakoti
  • 536
  • 7
  • 22
7
votes
4 answers

Unit/integration testing Asterisk configuration

Unit and integration testing is usually performed as part of a development process, of course. I'm looking for ways to use this methodology in configuration of an existing system, in this case the Asterisk soft PBX. In the case of Asterisk, the…
Jakob Borg
  • 21,033
  • 6
  • 45
  • 47
7
votes
2 answers

Connecting Skype to Asterisk

I have an Asterisk PBX under development, that I would like to link to a Skype account if possible. The idea is that people would call a particular Skype username, and be redirected to my SIP and through that to Asterisk. Is this doable? I have…
Philip Bennefall
  • 1,447
  • 5
  • 19
  • 32
6
votes
2 answers

SIP command not found

I have installed asterisk on Ubuntu Natty, When I go into asterisk CLI & type in sip reload or any SIP related commands, it says SIP command not found. Anyone had a similar problem before? Thanks
krishna bhargavi
  • 901
  • 4
  • 15
  • 23