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
0
votes
2 answers

Asterisk, DID incoming call trouble

We are working with Asterisk and we have some problems to receive call using DID numbers. When we are calling the did number Asterisk do not see the incoming calls. Nothing happens. We have checked on the voip server and we get the calls but…
Shimon
  • 21
  • 1
  • 3
0
votes
2 answers

Asterisk does not detect inband DTMF tones

Asterisk 14 (from Packages @ tucny.com) Connected to Twilio SIP trunk Asterisk does not detect inband DTMF tones. Other ways(INFO, rfc2833) to send DTMF works correctly. I've played with tone duration and volume without success. In DTMF debug I can…
laz
  • 1
  • 3
0
votes
1 answer

my asterisk send bye for incoming call. sip debug info attached

After the provider was changed cisco model, the asterisk dont carry their incomming calls. My asterisk ("my_ip") answered BYE for their incoming. can someone aske me why? (atached data) <--- SIP read from UDP:<>:5060 ---> INVITE…
0
votes
1 answer

How to play asterisk's recorded calls from a php application?

I have an Issable (Asterisk based VoIP solution) in my company. I am developing an application in PHP which part of it I need to play the recorded calls. the application is located in a separate server from the Issabel. I already have access to the…
0
votes
1 answer

Asterisk Func_odbc select multiple values and fetch it in extensions.conf

I am using func_odbc to manipulate dialplan in `extensions.conf I have 1 select [TEST] dsn=MSSQL readsql=select rout,server from Dial_Plan where @bnumb = '${SQL_ESC(${ARG1})}' and I want to fetch it in extensions.conf dialplan like this exten =>…
Wuhu
  • 171
  • 1
  • 1
  • 8
0
votes
1 answer

How to get actual number of channel in asterisk 13?

In asterisk 1.4 number of channel was specified in chan->name. e.g. number 62: asterisk 1.4 ZAPTEL: Zap/62-1 How to get actual number of channel in asterisk 13 in c-language? e.g. in chan->name this number of span only. asterisk 13 DAHDI:…
stacker
  • 59
  • 8
0
votes
1 answer

Can not Connected to Asterisk AMI from Laravel Controller

I have code like this $asm = new AGI_AsteriskManager; if(!($asm->connect('192.168.1.14','admin','123'))){ echo "can not connect to AMI"; exit; }else { echo 'AMI connected'; } When I use this code on native PHP, It's show me AMI…
paranoid
  • 5,453
  • 14
  • 38
  • 70
0
votes
1 answer

Problem running asterisk command through ssh

i need execute remotly an asterisk command via SSH and get the output. The command to execute is this: asterisk -rx "core show channels" and i run remotely this: sshpass -p PASSWORD ssh HOST asterisk -rx 'core show channels' but i get No such…
0
votes
2 answers

On Asterisk PBX get sip header for outgoing calls

This is how my dialplan (/etc/asterisk/extensions.conf) looks like: [default] exten => _X.,1,NoOp(New call from ${EXTEN} ! ) same => n,NoOp( The header X-Twilio-CallSid = ${SIP_HEADER(X-Twilio-CallSid)}) same => Dial(SIP/SomePeer) ...…
Tono Nam
  • 29,637
  • 73
  • 252
  • 421
0
votes
1 answer

How to get list of ongoing calls in Asterisk Java?

I was wondering, how can one get the list of ongoing calls in Asterisk when using Asterisk-Java? It is needed when e.g. restarting ManagerAPI and I would like to display all the calls, which are currently running on Asterisk. Previously it was done…
gurbi
  • 163
  • 2
  • 13
0
votes
1 answer

Asterisk-java. Queues action

Help me please with the question: I need to get information about the queue (the best option would be for a particular queue and all queues). I use the asterisk-Java 2.0.3 library. For information about a particular queue, I can send the action -…
titaniche
  • 137
  • 1
  • 10
0
votes
1 answer

Get Asterisk HangupCauseCode using linphone?

I am working with linphone call feature using Asterisk server. I have set call limit to one(1) in asterisk server for every sip users. So it will permit only 1 outgoing call and 1 incoming call at a time. Now I want to know if other user calls to…
Nik
  • 1,647
  • 10
  • 26
0
votes
2 answers

Placing logfiles in multiple directories Asterisk

I have a quick question. We want to put the asterisk logs in multiple directories. Is this possible with an asterisk server? We were thinking about something like this. (our example) astlogdir => /var/log/asterisk, /var/log/remote-asterisk right…
0
votes
1 answer

Asterisk (raspbx): py script - open asterisk CLI and fire command

I'm trying to send SMS from a python script over asterisk to my Smarphone. I've installed RasPBX on a Raspberry 3 with chan_dongle. Manually it works fine: asterisk -vvvr and then dongle sms dongle0 +4178xxxxxxx Hello, nice weather today My idea…
niju
  • 5
  • 1
0
votes
1 answer

Asterisk records empty files

I developed an IVR which should call a number and recording until silence(2sec) and continue my code. I'm using python to send AGI command (based on this doc https://wiki.asterisk.org/wiki/display/AST/AGICommand_record+file) : RECORD FILE…
Konstantin
  • 71
  • 1
  • 6
1 2 3
99
100