Questions tagged [asterisk]
a software based private branch exchange (PBX)
70
questions
0
votes
1
answer
54
views
Asterisk pbx agi php script with imagick imaging on the fly not working
Problem description:
Generate an image with an ASTERISK AGI PHP script that is displayed on a phone (Yealnk) using imagick.
installed:php-imagick/oldstable,now 3.4.4+php8.0+3.4.
The AGI PHP script ...
0
votes
2
answers
3k
views
Spam Messages cb crond[1288]: No configuration file found at /root/.esmtprc or /etc/esmtprc
Centos 8, fresh install
with asterisk on it
all log drains by one message 20-100 per sec
cb crond[1288]: No configuration file found at /root/.esmtprc or /etc/esmtprc
0
votes
1
answer
391
views
asterisk debug extension bad quality audio - rtp out of sequence
FreePBX 16.0.10.34, or direct Asterisk 11/16/18.6.0 is the same, all of those with some SIP phones got weird audio issues, i.e. voice volume constantly change in one way, metallic voice in the other ...
0
votes
1
answer
517
views
reloading asterisk cronjob
I'm trying to create a crontab job that reloads the asterisk config (sip.conf). Running the command manually, works: /usr/sbin/asterisk -rx "reload"
manually running the script with ...
-1
votes
1
answer
233
views
How to run a PowerShell file during boot as root on Asterisk?
On Asterisk boot/reboot I want a PowerShell file to be executed.
I have created a .ps1 file on /var/spool/ which is supposed to copy new files from an asterisk directory and transfer them to an Azure ...
3
votes
1
answer
1k
views
Routing between two networks that have duplicate IP addresses
On a linux box we have three network interfaces, they look like below
| CentOS 6 Server
| ---------> eth0 (DHCP (192.168.1.x) Default Gateway, connects to a wired internet,
|----------> eth1 (...
0
votes
1
answer
134
views
Asterisk: a little confused about the "parameters" of extensions
Reading on this wiki i see this extension
exten => 6001,1,Dial(PJSIP/demo-alice,20)
As I understand
exten is the extension
6001 the number to call
1 is the priority
Dial the application to ...
0
votes
1
answer
327
views
How to delete a speed dial in Asterisk/FreePBX [closed]
Using FreePBX 15. This is a test system for evaluating the possible use of
FreePBX in our university environment.
From a phone, I used the Asterisk star code *75 to enter a speed dial.
Now I want to ...
1
vote
1
answer
1k
views
FreePBX No connection to Asterisk
I am new to asterisk and freePBX. I set up a server years ago but it was very basic and used for less than a month. I’m now launching a new company and found myself in need of a VOIP system so I’m ...
2
votes
2
answers
1k
views
Asterisk: how to change the CLI color prompt?
The Asterisk wiki says that the color of the CLI prompt can be changed with %Cn[;n]. ie:
export ASTERISK_PROMPT="%C31[%H]: "
but when I use the export above, I get broken prompt [1;31m[voip]...
0
votes
0
answers
81
views
Trying to build a RPM for dahdi lead to boot fail on the destination machine
I am trying to build a rpm for Centos 7 to be able to install dahdi without the need of build tools on the destination machine.
For that, I tried to create this specs file :
Name: dahdi-...
3
votes
2
answers
176
views
Impact of missing real-time clock on linux services (esp. asterisk)
We're currently working on a new server, for an avionics system.
This server normally uses Debian Stretch. But the hardware we use has no battery to save the clock. After reboot, the factory date/...
0
votes
1
answer
603
views
Raspberry PI only using 4 GB of 32 GB SD card
I'm currently using a Raspberry PI 4 to run FreePBX. I'm using raspbx to run it. So far everything was going good for a few days. Today I started getting a lot of problems receiving calls. I logged ...
3
votes
1
answer
617
views
editrc: changing keybindings in /etc/editrc
Asterisk uses the editline library, and the keybindings can be configured in /etc/editrc.
I have defined some of my own keybindins, some other are left to default values.
How can I print the current ...
1
vote
1
answer
198
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 ...
0
votes
1
answer
685
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
2
answers
463
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 ...
0
votes
1
answer
346
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'...
0
votes
3
answers
1k
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 =...
0
votes
1
answer
610
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
1
answer
2k
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
0
answers
41
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" ...
3
votes
3
answers
2k
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
1
answer
595
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
3
answers
57
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
1
answer
340
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
1
answer
289
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
0
answers
1k
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
0
answers
317
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
1
answer
825
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
1
answer
2k
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
...
2
votes
1
answer
30k
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 ...
2
votes
3
answers
4k
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
1
answer
211
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
1
answer
465
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
1
answer
700
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 ...
3
votes
0
answers
956
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@...
1
vote
0
answers
2k
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....
0
votes
1
answer
266
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
1
answer
3k
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 ...
1
vote
0
answers
855
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'...
2
votes
2
answers
11k
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]# ...
1
vote
1
answer
1k
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:...
1
vote
0
answers
9k
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
1
answer
4k
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 '[email protected]' timed out, ...
0
votes
1
answer
2k
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 /...
0
votes
2
answers
1k
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 ...
0
votes
1
answer
1k
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. ...
4
votes
2
answers
2k
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
2
answers
794
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 ...