Questions tagged [asterisk]

a software based private branch exchange (PBX)

0
votes
1answer
1k views

Debian increase ulimit for Asterisk

I've been facing an issue with Asterisk 13.11.2 on Debian 8 where it's crashing after reaching the limit of open files bridge_channel.c: Can't create pipe! Try increasing max file descriptors with ...
0
votes
1answer
1k views

Asterisk v13 on Kali Linux: No RTP engine was found. Do you have one loaded?

I installed Asterisk and tried to make a call with zoiper but I get an error [call failure 401 forbidden] and Asterisk return this message : Connected to Asterisk UNKNOWN__and_probably_unsupported ...
0
votes
1answer
31 views

Dual Network Gateway on CentOS 6.7

I have dual NIC machine running CentOS 6.7 and asterisk. First NIC is for LAN & Internet connectivity and second is for trunk provider's connectivity. Both of these have gateways configured. I don'...
1
vote
1answer
24 views

Ring Group - How to make Asterisk just to save the last attempt

I created a ring group on freepbx, for the option no answer I set the destination to this ring group that I created, just to be like a loop 'til someone hangup. The problem... When someone calls to ...
2
votes
1answer
15k views

useradd on CentOS with home directory and sudo privileges

There are so many variants to adduser or useradd -- which is correct? On CentOS release 5.11 (Final) I'm using adduser --create-home baz but somewhat prefer the way Ubuntu asks extraneous questions ...
0
votes
1answer
927 views

asterisk dial hangup direction - Is there a variable I can use to record the direction of hangup?

Is there a variable I can use to record the direction of hangup? Example: Calling ----> Called. Called party hangs up. Info I want --> Release from Called party Example 2: Calling ----> Called. ...
0
votes
1answer
346 views

Use KVM to run Asterisk on AWS?

How up to date and useful is AsteriskNOW? I ask because I'm having challenges installing Asterisk on Ubuntu with apt. On my local system I'm installing AsteriskNOW through KVM but am considering ...
0
votes
1answer
109 views

Asterisks locks ALSA device if chan_alsa is loaded

I am implementing an extension 900 which routes the audio to ALSA device.  I am also using mpd, which plays music through ALSA. Asterisk 15, OpenWrt 18.06 mpd.conf: log_file "syslog" ...
1
vote
2answers
62 views

Why does Asterisk open a second media port +1 above the other?

When placing a call through an Asterisk SIP server, the server will open 2 ports for every media channel: 2 ports for call leg 1 video 2 ports for call leg 2 video 2 ports for call leg 1 audio 2 ...
3
votes
3answers
683 views

Bash script to know when my phone extensions are unreachable?

Is there anyway to write a bash that can notify me via email when my phone extensions are unreachable? Output from /var/log/asterisk/full [Nov 15 13:25:16] NOTICE[7884] chan_sip.c: Peer '7778' is ...
0
votes
3answers
187 views

How to add subject line in Sendmail

I get an email when I receive SMS in chan dongle. I want to add subject that email. I use PBX in Flash, Asterisk version 13.22. Number 1 - I get email. Number 2 - I don't get any mail. (1) exten =...
5
votes
2answers
5k views

Creating softlinks to header files that are not in the expected directory

3.12.6-300.fc20.x86_64 #1 SMP Mon Dec 23 16:44:31 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Fedora 20 I am trying to install asterisks from source and when I run the ./configure script I get the ...
0
votes
1answer
261 views

Unable to make calls with asterisk and google voice

I am unable to make or receive calls with asterisk and google voice. I recall having used this setup years ago, so I expect it should work, but just need an ever so subtle tweak. I can see that I am ...
0
votes
1answer
313 views

Asterisk Playback cannot find video file

I want to play a video file (h264) with Asterisk version 14.7.6. It is running on a Raspberry Pi. I'm assuming that the Playback application is my best choice for this. But when Asterisk tries to ...
1
vote
0answers
14 views

Change asterisk voicemail settings based on a schedule?

I need to set up an asterisk voicemail inbox that: Works normally during business hours. After business hours, calls to this line go straight to voicemail after a special "we're not in right now" ...
2
votes
1answer
319 views

ekiga as an asterisk client

is this the typical Asterisk topology? On my home system, I have the Asterisk server, tleilax, and the client, doge, connecting into my router -- so that they're both on the same network. The IP ...
0
votes
3answers
43 views

Putting the same data from a variable on its own line?

I have a script that I'm going to use for our FreePBX with Asterisk phone system. I would like to know if any of our extensions/endpoints are offline/unavailable, I would like to be sent that info in ...
1
vote
1answer
109 views

Extend processing of pipelines chain (… Asterisk -> grep -> ping)

I want to use one of the values from a command and use it in a different command Example Command is as follows cat /var/log/asterisk/full | grep "UNREACHABLE" | awk '{print $7;}'| sort | ...
1
vote
1answer
84 views

Changing asterisk call-in directory recording?

I'm not sure what to call this, so I cannot Google it. When you call your Asterisk line and go to the directory, it asks you to enter the first three letters of your party's last name. When you do so, ...
2
votes
0answers
607 views

Asterisk and NAT: SIP and IAX registration failed on remote connection behind NAT

I set up two asterisk servers (on Fedora) in different networks. My goal is to make a call from softphone (on windows lite with ip: 192.168.20.3) to the asterisk server 2 which is in the other network ...
1
vote
0answers
208 views

Asterisk: SIP and IAX registration failed on remote connection [duplicate]

I set up two asterisk servers (on Fedora) in different networks. My goal is to make a call from softphone (on windows lite with ip: 192.168.20.3) to the asterisk server 2 which is in the other network ...
0
votes
1answer
487 views

Asterisk: Can call but can't hear voice

I set up a simple asterisk server on Fedora. My goal is to make two android phones call each other. Actually they are connected via wifi, and I use Zoiper and Jitsi softphone. Fedora is on a ...
1
vote
1answer
770 views

NAT configuration for EIP (Elastic IP) in Asterisk

When running Asterisk on Amazon EC2 with an EIP, what are the NAT configurations for Asterisk? [general] nat=yes externip=xxx.yyy.zzz.vvv localnet=192.168.0.0/255.255.0.0 ; RFC 1918 addresses ...
0
votes
2answers
580 views

Asterisk astdb File increases size!

I am using asterisk 1.2.37 with FreePBX 2.6.0 and i am having an issue that I am not quit understanding. The Asterisk database file /var/lib/asterisk/astdb increases his size exponentially at least 1M ...
1
vote
4answers
3k views

Compiling Asterisk on Debian: Cannot Find `ptlib-config`

My Asterisk ./configure is returning: checking /root/pwlib/include/ptlib.h usability... no checking /root/pwlib/include/ptlib.h presence... no checking for /root/pwlib/include/ptlib.h... no checking /...
3
votes
0answers
250 views

VoIP dialer for SIP

I have some Java, so am biased in that direction, but not overly so. None of the Java suggestions: https://stackoverflow.com/questions/16471795/sip-client-for-java https://stackoverflow.com/...
1
vote
0answers
760 views

How can sipsak simulate a call with usrloc?

Building on a stackoverflow question, how can I actually get the device to ring? thufir@mordor:~$ sudo sipsak -vv -s sip:6003@localhost No SRV record: _sip._tcp.localhost No SRV record: _sip._udp....
2
votes
2answers
8k views

Unable to install dahdi - /usr/bin/install: cannot stat ‘’: No such file or directory

I am trying to install dahdi in my centos 7 system using this link but having some errors [root@localhost ~]# cd /usr/src/dahdi-linux-complete* [root@localhost dahdi-linux-complete-2.11.0+2.11.0]# ...
0
votes
1answer
153 views

asterisk Google contacts

I am looking for a way to sync my contacts with asterisk's database. At the movement I am using it manually with database put cid command. The system runs asterisk 11 and it without GUI. That job will ...
2
votes
1answer
302 views

Asterisk: Make IVR to say numbers during user typing

I want my IVR to say numbers during the Read command. This means, that I don't want to say the numbers after the user type, but during the user type. For example, enter your user code: 124567# ...
0
votes
1answer
425 views

Asterisk IVR call to external IVR in other Asterisk machine via IP

It is possible to write a IVR script to call another IVR in other network by ip? What command should i use? I am trying this: Goto(from-internal-custom,1235,1@other_asterisk_ip) It is not ...
2
votes
0answers
500 views

how do I make a SIP phone ring with sipsak?

How can I use sipsak to simulate a call so that there's an actual ring, or possibly even a sound is played? thufir@mordor:~$ thufir@mordor:~$ sudo sipsak -v --usrloc-mode --from sip:demo_alice@...
0
votes
1answer
164 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super Micro ...
0
votes
1answer
613 views

Bad SIP URI in To header field

We are creating Asterisk<->Lync trunk. The Asterisk is under providers control. I am in charge of Lync. I'm slightly familiar with Asterisk. We created a trunk. Everything was fine until provider ...
1
vote
2answers
167 views

iptables for Asterisk

I am running Asterisk with FreePBX. I would like to log all failed attempts and after a while ban them. Ideally after 3 failed attempts in 1 minute, ban for 1 hour. Is it possible to see if this ...
2
votes
2answers
138 views

Configure PBX to forward calls to my phone only when home

I want to configure a PBX (Yate or Asterisk or SIP Witch) so that when I'm away, it takes the call and tells the caller I'm not home, but when I'm home it forwards the call to my phone, which I ...
3
votes
1answer
298 views

Asterisk, GSM-FXO gateway example of usage

Can anyone explain where to use GSM-FXO gateway. I understand where to use GSM-FXS - for example to connect analogue telephone to gsm gateway. But do we use GSM-FXO to connect to two telephone ...
1
vote
0answers
572 views

Another problem installing Asterisk on kali linux

I am trying to install Asterisk [version 13] on Kali linux. I first install DAHDI, but I won't install libPRI. So when I install asterisk, I use: ./configure and make menuselect Till now it'...
0
votes
1answer
2k views

Asterisk:Registration is UNREACHABLE VOIP chan_sip.c:15171 sip_reg_timeout

I'm trying to register my VOIP but I can't and appear this massege [Jul 24 12:45:58] NOTICE[24430]: chan_sip.c:15171 sip_reg_timeout: -- Registration for 'XXXXX@sip2.tellfree.net' timed out, ...
1
vote
1answer
679 views

Asterisk: Using extension patterns with call files

I'm trying to make a script that makes call files for Asterisk to execute, however I want the extensions within the call files to match my extensions's patterns. Call file: Channel: trunk/10 Context:...
0
votes
1answer
1k views

How to install Wildcard TDM410P to my Debian?

I want to install a WCTDM/0 "Wildcard TDM410P in my Debian 7 for I use in my Asterisk, but I can't it. And it appear DAHDI_SPANCONFIG failed on span 1: Invalid argument (22). I have to configure my /...
1
vote
0answers
5k views

lpc_ich: Resource conflict(s) found affecting gpio_ich

I use Asterisk 11 in my Ubuntu Server 14.04, but I Have some problems with my Dahdi Driver, with conflits Please see the dmesg (null) [ 11.804460] Adding 2052092k swap on /dev/mapper/...
0
votes
3answers
16k views

Why can I not install ncurses development package?

I am trying to configure Asterisk 12.3.2 on Debian 6.0.9 but I am getting an error: "configure: error: *** termcap support no found (on modern systems, this typically means the ncurses development ...
4
votes
2answers
1k views

Script to hang up Asterisk channels

I am trying to create a script for Asterisk. We use a lot of channspy. Sometimes the channspy stays opened and didn't hangup even if the softphone is hangup (I don't understand why). So I thought of ...
0
votes
1answer
644 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
1
vote
1answer
670 views

SIPp “hello world” message to Asterisk

How do I run diagnostics against Asterisk? Asterisk is running on tleilax; and doge is on the same network (My network topology isn't optimal). Specifically, I want to do something like: sipp 345@...
0
votes
1answer
918 views

how to connect a softphone to asterisk

To give context, here's my network: On the tleilax server, there's clearly a result from sipsak on doge: tleilax*CLI> tleilax*CLI> core show version Asterisk 1.8.29.0-vici built by abuild @ ...
0
votes
1answer
402 views

Unable to find an option to install CentOS 6.4 (64bit) in command line (linux text) for Asterisk

I am trying to learn Asterisk, so I downloaded the latest CentOS 6.4 (64bit) to install on VMWare Workstation 9. When I started the installation it is not giving any screen to start the installation ...
1
vote
2answers
1k views

Issue in Asterisk Performance

I am running FreePBX on DigitalOcean VM. I am facing some call dropping issue in Asterisk. When looking at "htop", "top" and FreePBX GUI, I see different results of CPU utilization and can't ...
2
votes
0answers
48 views

Top show high CPU on process but idle on load average [duplicate]

I am running FreePBX on DigitalOcean VM. I am facing some call dropping issue in Asterisk. When looking at "htop", "top" and FreePBX GUI, I see different results of CPU utilization and can't ...