Questions tagged [asterisk]

Asterisk is a software PBX used to route audio and video calls. QUESTIONS REGARDING THE USE AND CONFIGURATION OF ASTERISK ARE OFF-TOPIC. Only programming questions are on-topic for Stack Overflow. For example: dialplan configuration in extensions.conf, interfacing with Asterisk's C APIs, or working with AGI scripts.

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 dialplan syntax, and it exposes various APIs (including HTTP APIs) for run-time interaction with other programs and servers. External scripts can be called via the Asterisk Gateway Interface (AGI.)

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

  • Dialplan programming using traditional syntax or AEL
  • Connecting to Asterisk via API interfaces
  • Writing and calling AGI scripts
  • Work on the Asterisk codebase itself

Questions concerning the following topics are 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:

2895 questions
0
votes
1 answer

Asterisk call recording in single file for both channels

Currently asterisk is recording call in two separate wav files for both in and out channels and then merging them into one file. This merging is taking some time so we want to eliminate it. Is there any way in which Asterisk by default create only…
0
votes
2 answers

Numbering plan conflict

I am not an asterisk expert, but doing a SIP integration against one. Now we find an issue and they say they don't have a way to handle it but would like to confirm. Issue is that we have a numbering plan conflict. Our PBX range goes from 5000 to…
0
votes
2 answers

No audio in sipML5 with Firefox 58

With the recent release of Firefox Version 58, I have encountered a no audio issue using sipML5, I suspect it has to do with the change they did where they completely removed mozSrcObejct and they recommend to use SrcObeject instead: The prefixed…
0
votes
2 answers

Disallow 2 line to pass inbound ringing at the same time

I trying to use ooma with asterisk for my home setup, so I have 2 lines assigned to the same number forwarded through FXO gateways into asterisk. Outbound calls seem to work fine, but on inbound I have issue - both lines ring at the same time so on…
Slava
  • 43,454
  • 1
  • 47
  • 90
0
votes
1 answer

Crm cluster cannot mount drbd after switching

Here my freepbx active/passive cluster. it works on proxmox hypervisor. After turn off master, res_filesystem_1 on the second node does not start. drbd does not mount. and services that uses drbd didnt start. i have many errors then i show…
0
votes
1 answer

Securing asterisk - whilst having a remote extension

I'd like to install asterisk on a friend's computer but wish to do so without the computer being permanently bombarded with scammers. Locking down all the ports would be the obvious answer but this would mean that the remote client installed on a…
0
votes
1 answer

freePBX CDR on remote database failing to connect

Morning all, I have just finished a fresh install of freePBX and am trying to get the CDR to use a remote database without any luck. I have tested the connection to the remote DB using mysql -u USERNAME -h REMOTE_IP -p'PASSWORD' and it connects…
Blinkydamo
  • 1,582
  • 9
  • 20
0
votes
1 answer

execl in externnotify C code not working in voicemail part of Asterisk

I am struggling with this problem. In Asterisk, I need to execute an external script after leaving a voicemail message. For this, I enabled externnotify in voicemail.conf but it was not working. So I searched in C code and found the related code.…
AmirA
  • 133
  • 2
  • 15
0
votes
1 answer

Asterisk call transfer to queue

I have two sip extensions: 200 and 300 and a queue, let's call it my_queue. Extension 200 is talking to extension 300 and decides to transfer extension 300 to my_queue. So extension 200 puts extension 300 on hold and dials the queue number in the…
Akobold
  • 936
  • 8
  • 25
0
votes
2 answers

Asterisk module development

I am planing to develop application module for asterisk and want to put it on asterisk digium source tree, so it will be available in next release of asterisk. But I am confuse about which asterisk version should I use, Asterisk 15 Standard Asterisk…
abcd gef
  • 59
  • 1
  • 11
0
votes
1 answer

i want asterisk edit only message body (Sdp) i do not need it to edit sip headers

My problem is when A send invite to Asterisk then asterisk send it to B ,asterisk will change the call-id header and from tag and sdp part . i need it only change sdp and keep sip headers .
Mustafa
  • 21
  • 4
0
votes
1 answer

Asterisk cmd Transfer() after Answer()

I need to transfer a call using the asterisk 'transfer' function after the 'answer' function answers the call. If I transfer the call without answering with the 'answer' works normally. If I transfer after the answer the error at the end of the post…
Gibinha
  • 1
  • 1
0
votes
2 answers

Bash script in agi-bin fails to execute - asterisk

I am trying to execute a bash script from within my dialplan. The bash scripts are from within a directory projectFiles in /var/lib/asterisk/agi-bin. When I try to execute the script, like so: exten =>…
Sriram
  • 10,298
  • 21
  • 83
  • 136
0
votes
1 answer

Get call duration of active calls in Asterisk 13

Please, I want to implement billing in asterisk 13. i want to be able monitor an active call of a particular extension ( say extension 0001) and Hangup call once the extension have used 10mins. How do I achieve this in dailplan ( i.e…
0
votes
1 answer

Asterisk use of Log vs NoOp

In all the conversations I read, none ever named the possibility to use the function Log in the extensions.conf Then I found this minimal description: https://www.voip-info.org/wiki/view/Asterisk+cmd+Log What are the downsides of using Log vs NoOp,…
M4rk
  • 2,172
  • 5
  • 36
  • 70
1 2 3
99
100