Asterisk is software that enables a server to act as an IP PBX system, VoIP gateway, conference server, and more.

learn more… | top users | synonyms

0
votes
1answer
13 views

Can't get voice after changing Asterisk UDP port

Test environment consists of a CSipSimple client, Asterisk server and a router with NAT. Formerly the equipment used UDP port 5060 and everything was good. Then I changed port number to 15000 in ...
0
votes
1answer
6k views

Asterisk cached an old dial plan? rejected because extension not found in context?

I'm trying to fix my asterisk server which has been quite stable up until recently. Here's my problem: a) if i run a sip reload and/or dialplan reload from asterisk terminal, it sometimes breaks the ...
1
vote
1answer
1k views

Asterisk: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)

Strange issue started with our Asterisk install yesterday. When dialling out via ISDN BRI the call fails and the following error is logged: Unable to create channel of type 'DAHDI' (cause 34 - ...
1
vote
2answers
2k views

Asterisk IVR setup: disallow direct dial for some extensions?

We've got PBX to configure. It's based on Elastix 2.4.0, freePBX 2.8.1 and Asterisk 1.8.20.0. Currently we have a setup for inbound calls like that: Inbound call > Announcement (30 sec) > IVR ...
1
vote
1answer
932 views

Asterisk AGI randomly returning 4 and failing to execute PHP AGI

I've got a PHP script that I execute 2-3 times throughout a single calls life time, if it is inbound it will execute once for the queue, once for start of call and a last time for end of call. For ...
0
votes
1answer
2k views

Unable to connect to Asterisk via Telnet

I'm trying to connect to asterisk via telnet. In order for PHPAGI to use certain commands, it has to be able to do the same. So I'm cutting out the middle man and testing it manually. I've ...
0
votes
1answer
158 views

secAst lib prerequisites too new for Debian/Utuntu 12 LTS?

as requested in FAQ I wrote here the question (there is no question for this product yet on this site?) This Asterisk securing tool looks very nice so I tried to test it out: ...
0
votes
0answers
23 views

Asterisk SMS to Email (The best way to do this)

I have a Goip voip gateway connected to an Asterisk box. What I would like to do is email all incoming SMS-es to a single defined email address. The problem is that this gw only functions the way ...
0
votes
1answer
930 views

Asterisk Real time does not perform register with SIP TRUNK provider

I am using astersik real time (dynamic). I have entered my SIP trunk details into the sippeers tables. However, the sip trunk does not perform a register with the SIP TRUNK providers servers as it ...
0
votes
0answers
41 views

Running Asterisk and it's mysql database in different docker containers

If I have correctly understood the use and purpose of docker, every process should be inside it's own container, thus not interfering with other running processes. So based on that, I would like to ...
1
vote
2answers
1k views

FreePBX How to play an announcement for misdialled calls

Our Asterisk-based PBX (FreePBX "Tango" distro) does not require any prefix for outgoing calls. The system is able to recognise external numbers and route them appropriately. Some of our users who ...
1
vote
2answers
152 views

Fail2ban critical exception - does not block ips

I'm trying to get fail2ban running on CentOS7 (no SELinux) and it uses firewalld. My goal is to set it to ban Asterisk password fails. Setup was default yum install fail2ban Config-wise I ONLY added ...
1
vote
1answer
1k views

Accept calls on external cell phones - FreePBX Distro

We installed FreePBX distro last week and configured it so that when someone calls in, it goes to all the phones so someone here can answer the call. After trying all the internal extensions, it ...
0
votes
0answers
22 views

Any solution for ODBC disconnections in Asterisk?

I have configured my Asterisk real time using ODBC. I am using MySQL as data base. I am getting these below messages on Asterisk CLI frequently and immediately my server console is disconnecting: ...
1
vote
2answers
966 views

elastix cdr stop working

CDR was working before 19 march. Unfortunately i dont remember what kind of changes i made to configuration, but this exactly not changes to CDR config. elastix 2.4.0 asterisk 11.7.0 mysql 5.0.95 ...
1
vote
0answers
16 views

Issue with Asterisk on Google compute engine (GCE)

I installed and configured Asterisk in Google compute engine (GCE). I am facing the below issues: 1) Unable to login to Asterisk CLI by using asterisk -rvvvvv command (But, I am able to login using ...
3
votes
1answer
220 views

Asterisk - very high Load Average with no reason

There is a problem with Asterisk server showing high Load Average I can not explain. Ny setup is: Asterisk 13.1.0 Linux 3.13.0-24 (Ubuntu Server) Dual socket (Xeon E5-2620) server, HT enabled - 24 ...
1
vote
1answer
6k views

Asterisk and SIP behind NAT

I am trying to Setup an Asterisk-Server to accept calls from a client in an other Network. The Server and the client are behind an NAT. I have already activated STUN on the client, but I am still ...
1
vote
0answers
57 views

Asterisk dialog destruction on attended transfer timeout

Steps to replicate: Alice receives incoming call from Eve (either from external line or another extension, doesn't matter). Alice makes attended transfer to Bob and hangs up before Bob answers. Bob ...
1
vote
1answer
77 views

Asterisk (Trixbox CE) sound to low in message2email

Hy in Asterisk (Trixbox CE) latest version, we receive message to our email in WAV. But the sound it's too low. Where can I fix that?
2
votes
1answer
425 views

Sending faxes from Asterisk (email to fax) — is any feedback possible?

I am about to make some email to fax gateway --- some python program will make Asterisk call files and put them into some queue (files or db based). Then another program should take "call tasks" from ...
0
votes
1answer
65 views

Asterisk 13 “ __set_address_from_contact: Invalid contact uri” error

I'm installing Asterisk 13 on our production Ubuntu 14.0.4 box and the process seemed to go well. I previously installed it on my personal server as well. It works perfectly on my personal server, ...
0
votes
0answers
58 views

Asterisk : SIP/2.0 401 Unauthorized : same phone , different results

First of all I have already taken a look at similar questions such as : http://serverfault.com/questions/392979/asterisk-sip-2-0-401-unauthorized or Asterisk 401 Unauthorized when trying to register ...
1
vote
1answer
91 views

Using Asterisk for IVR calls without internet connectivity

I am thinking about using Asterisk as an IVR for a project in Burundi, in a place where we often lose internet connection. I'd like the Asterisk server to deliver IVR calls through, say, an Android ...
0
votes
0answers
41 views

Asterisk Cancel Transfer (atxfer)

I'm using the Asterisk 13 AMI to start a atxfer. It works so far. But how can I cancel the transfer action? Example: Bob calls Alice. Then after some time talking, Alice starts an automated transfer ...
0
votes
1answer
103 views

Make Asterisk to serve another subnet

I have server with Linux Ubuntu 12.04. It has two subnets - 192.168.0.1(eth0) and 192.168.1.1 (eth1). There is an Asterisk server (IP PBX) connected to first subnet, lets say it has IP address ...
1
vote
0answers
174 views

Connect Cisco 7975 VOIP phone to two separate Asterisk PBX's

I have a Cisco 7975 registered on an Asterisk SIP server, and I want to register a second line on a second (different IP) Asterisk SIP server. I tried to do this with firmware version 8.5.3 but it ...
0
votes
1answer
59 views

How to have dynamic extensions in Asterisk

I have recently swapped VoIP providers. So far so good, but I have ran into one little snag (and I'm honestly not really sure how to ask / Google this). With my old provider I could have inside my ...
1
vote
1answer
1k views

How can I limit Asterisk's Chanspy feature to certain channels?

I'm using a standard config of Asterisk 1.4 with FreePBX using the chanspy feature code. I want to restrict what channels it is possible to spy on, ideally doing this in a .conf file. How would I do ...
1
vote
1answer
97 views

How to match numbers based on end of number?

I am setting up an Asterisk VoIP server (using FreePBX) and I need to identify all numbers that end with a particular pattern. This is required for routing purposes, that is, to find out whether they ...
1
vote
0answers
50 views

How to know what number was dialled on incoming call

The scenario In the UK. I have one (BT openreach) phone line coming into a Cisco SPA232D. That phone line is ringable on a number, let's say 01235AAAAAA. I have a virtual number, 01235BBBBBB, which ...
-1
votes
1answer
41 views

Dynamic Extension creation in Asterisk

I am looking for a way to configure asterisk to allow for dynamic creation of extensions whenever a register command is received. Put security aside for the moment as this is for a development ...
0
votes
1answer
210 views

Linux based asterisk server, SIP softphone able to hear audio but not send audio to others

Running Ubuntu 14.04 LTS and Asterisk 11.7.0. The server is set up for SIP phones to use our SIP trunk via voip.ms/didlogic (two different services because we like international rates on didlogic, but ...
0
votes
1answer
36 views

Asterisk test ISDN card

I have an AVM ISDN controller C4 plugged into an asterisk machine. It shows up in the PCI device list as: Digital Equipment Corporation StrongARM DC21285 (rev 04) How can I test this card to see ...
2
votes
2answers
10k views

Asterisk SIP digest authentication username mismatch

I have an asterisk system that I'm attempting to get to work as a backup for our 3com system. We already use it for a conference bridge. Our phones are the 3com 3C10402B, so I don't have the issue ...
0
votes
1answer
27 views

Make an authenticated SIP call via URI

I'm trying to redirect a phone number to a SIP address that's only accessible when authenticated. Given the following, how would the SIP URI look like (if possible) ? SIP Server: sip.example.com Auth ...
0
votes
2answers
113 views

Asterisk call should be with peer, but gets trapped and stays local

I'm working with Asterisk and Vicidial, trying to place outbound calls through a SIP "trunking" provider. The calls never connect, instead I hear either demo-instruct.gsm or invalid.gsm playing from ...
0
votes
1answer
34 views

how do I route Asterisk dials from serverA to serverB?

I'm trying to make an Asterisk server connect to a SIP provider (which offers PSTN origination and termination). I've been reading the great Definitive Guide, but am having a conceptual problem with ...
0
votes
3answers
101 views

The benefits of a proxy server before Asterisk

We are busy to develop an app to let users call eachother using webRTC. On this moment we have audio working, but video not. Now I hear that a proxy server can be the solution for this problem. But it ...
0
votes
0answers
54 views

Asterisk Auto dial out issues

I'm trying to make auto dial out in asterisk. I have created call file in /tmp directory and moved the file to var/spool/asterisk/outgoing/. It's not working. Please help me to resolve this issue. ...
1
vote
0answers
40 views

Asterisk one way audio detection

I have some calls have one way audio. I tried to write ${CHANNEL(rtpqos,audio,all) to CDR and think what if themssrc=0 than no audio, but it's not true. Is any way to detect one way audio? ...
1
vote
1answer
147 views

OpenLDAP & Asterisk - no global superior knowledge

I'm struggling to setup OpenLDAP to allow Asterisk to store information about users. I've tried to follow several howto's, but unfortunately I'm not able to set it up correctly. It seems like most ...
1
vote
1answer
85 views

Asterisk logging to Graylog2

Does anyone have any experience with logging Asterisk servers to Graylog2? I'd like to be able to send certain verbosity levels to Graylog2, but I don't have a clue how to go about it. The goal is ...
0
votes
2answers
102 views

Asterisk WaitForSilence NEVER detects silence

I am trying to use my dialplan to play recordings with WaitForSilence to make sure it wait until the person is done speaking or the message is left on voicemail. However, it doesn't seem to wait for 5 ...
2
votes
1answer
1k views

Limit simultaneous call per user in Asterisk

I want to limit simultaneous calls per extensions in Asterisk for security reasons. For example when a user is on the call no body else would be able to make a call by that extension. How can I ...
0
votes
2answers
101 views

Asterisk new PJSIP driver security option

I have a working asterisk environment, but I get a lot of unwanted traffic, like sip scanners of people who even try to call as a guest. I'm using res_pjsip, the configuration is stored in ...
0
votes
1answer
81 views

Asterisk realtime include dialplans

I noticed that when creating a dialplan in asterisk on realtime, I cannot inlcude contexts. So to be clear, I want to do the following: [context1] switch => Realtime [context2] include => ...
0
votes
1answer
40 views

Asterisk Dialplan Siptrunk dial user input

I have an SIP Trunk on my Asterisk box. So my Asterisk box has one public number and 100 internal numbers. external number: 0030XXXXXXXX internal numbers: 2000, 2001, 2002, 2003 ... and so on I ...
0
votes
1answer
16 views

Attaching Asterisk console to process

I want to open control console on currently running Asterisk instance. When am I supposed to use option -r and when -c in order to connect to Asterisk process? What is a main difference?
2
votes
1answer
213 views

Asterisk 911 dialing rule

Our company is looking to replace our outdated PBX with VoIP. One function we really like about our current PBX is that it alerts the secretary when a line dials 911 and it shows the extension where ...