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
1,060 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
1k views

sipjs and asterisk voice call no audio issue

I am using sipjs 0.7.5 version and asterisk 13.12.1 to established call between 2 sipjs call through webRTC. Both sipjs client and asterisk server are in local network. I am giving asterisk log of ...
tanim's user avatar
  • 69
5 votes
1 answer
2k views

Asterisk ARI conference call app: authorize / ask for pin number

I'm using a C#/.NET library to implement the Asterisk RESTful Interface (ARI) to create conference call app. So far the app works like this: User calls the number App answers App starts voice ...
alex's user avatar
  • 1,340
4 votes
3 answers
2k views

Asterisk ARI Bridge Record to Separate Files/Channels

I'm wondering if anyone has any experience recording an ARI bridge to separate files, unmixed (or at least to separate L and R channels of a stereo file). It seems this can be achieved by recording ...
Chris's user avatar
  • 51
4 votes
1 answer
4k views

Asterisk Run Script When Call Is Answered

I need to have a perl or php script run every time a call is answered (by a person using a sip phone). I am using FreePBX, and that system will be used to manage extensions, so whatever I do I need ...
Developer Gee's user avatar
3 votes
1 answer
3k views

Set callerID using Asterisk CLI channel originate command

I am trying to automate calls in Asterisk. For its first step, i am trying to make a call via Asterisk CLI. Then I will automate via bash script. I want to set callerID and make a call via SIP Trunk. ...
Ahmed Khan's user avatar
3 votes
0 answers
6k views

No audio /// WebRTC + Asterisk + jsSIP in Local Network

I'd appreciate a lot your help with this issue. I'm running a very basic script of JS with a jsSIP User Agent that uses a local Asterisk server for making voice calls. Everything is on a private ...
power.ponch's user avatar
3 votes
1 answer
73 views

Asterisk: How to stop conference1 to hear from conference2 when a user is connected to both

Our requirements are: User sends audio only to conference1, ie does not send audio to conference2. User receives audio only from conference2, ie does not receive audio from conference1. Conference1 ...
jeff musk's user avatar
  • 1,042
3 votes
2 answers
5k views

Asterisk 11 Sipml5

When I try to register my extension using sipml5 I get the following in my CLI. Please note that my asterisk and sipml5 are on the same server. [Jan 3 16:48:43] ERROR[10158]: netsock2.c:269 ...
user3158047's user avatar
3 votes
1 answer
3k views

Audio calling from asterisk to google hangouts

I can make inbound and outbound calls from asterisk to old gtalk. But I don't know how to make it possible through google hangout. Is there anybody know how to do this. In reference to this link. ...
Vikas's user avatar
  • 43
3 votes
1 answer
880 views

Asterisk as WebRTC MCU and External Authentication

I have a website with an integrated and customizable chat system ( based on XMPP ). I have tried many WebRTC framework like licode, muaz-khan's, jinja's plugin, OpenTok for WebRTC and other, but ...
M4rk's user avatar
  • 2,192
3 votes
1 answer
2k views

Streaming a bridged call from Asterisk To ShoutCast

I'd like to broadcast an Asterisk agent's conversation to a ShoutCast server. As each queued caller gets through in turn to the agent, his current conversation with his current caller needs to be sent ...
David Wylie's user avatar
3 votes
1 answer
3k views

Send Android h264 capture over a rtp stream

I'm writing a rtp video streamer for android that reads h264 coded data from an Android local socket and packetize it. The thing is that I did it but I keep getting black frames in the client side (...
FlaPer87's user avatar
  • 1,254
3 votes
1 answer
916 views

Asterisk: callfiles and Realtime

Since I'm using Realtime it seems that callfiles don't work properly. As a callfile is executed the phone rings as expected. But asterisk (v 1.6) hang up immediately as the call is answered. My ...
SIPly's user avatar
  • 31
2 votes
1 answer
3k views

How to channel originate SIP in Asterisk ARI?

I try to make call via Asterisk REST API, I want to make a call like this (CLI command example): channel originate SIP/4444@sipprovider application playback tt-monkeys I try to use curl for that: ...
Darkwind's user avatar
  • 345
2 votes
1 answer
530 views

Asterisk Event Device Registration

I am trying to retrieve an event when a device registers an application using ARI. This can be assumed by changing the endpoint state from offline to online. The implementation that I have done in ...
Devkil39's user avatar
2 votes
0 answers
2k views

How to make a H.323 trunk in Asterisk 15

I'm trying to make a H.323 trunk in asterisk 15 (in a remote server with Ubuntu server 16 installed) with ooh323 addon, to test if works I've the softphone ekiga on my local machine. But when I call ...
lilwey's user avatar
  • 29
2 votes
2 answers
655 views

Retrunning data from VXML to Asterisk dialplan

How to return the DTMF input during voice file playback. I am executing AGI from Asterisk dial plan and from the vxml file I want to return the collected DTMF. Here is my vxml <?xml ...
Ajith de Silva's user avatar
2 votes
1 answer
2k views

Create, redirect... calls using AsterNET.ARI

I have installed AsteriskNOW distribution with freePBX. I'm trying to implement autodialer to our existing software. I am monitoring calls wihtout any problems. Only thing that works is to hang up ...
palkhin's user avatar
  • 23
2 votes
1 answer
874 views

Asterisk cannot run agi script with python

I created python script to run some task. When I excute this script by python compile, it work like a charm. python test.py But when I call test.py from Asterisk agi, I cannot get timestamp. exten =...
nguoitotkhomaisao's user avatar
2 votes
0 answers
1k views

pjsip connect to asterisk trouble

I have added pjsip lib through cocoapods from here https://github.com/chebur/pjsip. No I'm trying to connect to sip server using this pjsip example. Here is my code: func startPjsip() { var status:...
mkz's user avatar
  • 2,302
2 votes
2 answers
3k views

How to set AGI variable in Python?

I have next agi script test_agi.py: This script make checking is called number is Really number or not using HLR request (API) import urllib.request import json from pyagi.pyagi import AGI agi = AGI()...
SergeyMoroz's user avatar
2 votes
1 answer
2k views

Channel not in Stasis application in asterisk ARI

I am working with asterisk ARI.My asterisk version is 12.5.0.I have created channels via asterisk ARI.But when i am trying to call it is not display in GUI.I am using zoiper softphone.It showing like ...
Ruchi Patel's user avatar
2 votes
0 answers
488 views

Asterisk PHPAGI Issue

I'm using PHPAGI which I've used countless times before. However, it doesnt appear to be behaving on my new test server. When I try wait_for_digit, it immediately returns and the Asterisk CLI shows ...
Dan_J's user avatar
  • 155
2 votes
1 answer
1k views

Unable to set callerID using ARI

I have a java stasis application on Asterisk 14 using ari4java. It mostly works great. I am now trying to receive an external call and relay it back out. I do following Incoming call enters Stasis ...
SEvensen's user avatar
2 votes
3 answers
3k views

Queue command in Asterisk 13 with gosub argument?

I believe in Asterisk 13 Queue command can specify gosub so it will gosub on the called party's channel (the queue member) once the parties are connected. But how to pass the args to gosub? I tried: ...
duccom's user avatar
  • 134
2 votes
1 answer
202 views

The transmission interval for packets sent to Asterisk with SILK codec is increasing

I'm using a SILK codec with Asterisk. (Asterisk is on Version 11.19) The SILK codec seems to be working correctly, but as time progresses the interval between packet transmissions increases. Because ...
kA tA's user avatar
  • 21
2 votes
0 answers
2k views

Asterisk: SIP Transfer (Refer) - Changing Headers / Caller ID of Original Caller

Basically I have been implementing a standard TRANSFER via PHP AGI (PAGI) to one of our internal PBX systems from Asterisks. The caller calls into our Asterisk application, we then do some searching ...
Warren Doyle's user avatar
2 votes
1 answer
196 views

Clear fopensock stream buffer/history in PHP for Asterisk

I am connecting to Asterisk via PHP using fopensock() and then read and write to the/from the CLI using fputs() and fget(), e.g: $socket = fopensock('127.0.0.1',port, $errno, $errstr, 1); //connect ...
user969622's user avatar
2 votes
0 answers
652 views

WebRTC vs Asterisk 12 (With secure sockets) : No Audio

I am creating a project based on WebRTC and Asterisk. I'm forced tu use HTTPS, WSS, SRTP & DTLS, because new browser don't support non-secure connections ... etc Asterisk 12.8.2 SipJS 0.7.3 ...
louk's user avatar
  • 97
2 votes
1 answer
750 views

Error From res_odbc

I have connected my odbc to MSSQL server and I'm getting sip accounts and dialplan from that and I also can call between two peers but asterisk gets error : '[Jan 26 16:43:16] WARNING[32715]: ...
Nika Kiskeidze's user avatar
2 votes
1 answer
2k views

Receive Talk Detect events From Receiving channels in asterisk?

Let me explain my scenario first, what i am trying is to detect channel talking and silence events during call, and perform some task on event detection, i have successfully detect 'talk_detect' ...
Ribelyn Punk's user avatar
2 votes
1 answer
1k views

Asterisk queue: going to failover destination after 3 retries?

I am working on Asterisk 12.8.0. I want to know if it's possible to configure a queue in order if a caller has called 3 times 3 differents agents and these didn't answer him, the caller is going to ...
Pedro's user avatar
  • 23
2 votes
1 answer
2k views

Asterisk ConfBridge sharing Channel Variables in dialplan

Am trying to create an inbound calling application where in a caller calls Asterisk , the caller channel identifies an extension to dial from an DB , then Asterisk originates a call to that extension ...
Vineeth's user avatar
  • 41
2 votes
0 answers
348 views

asterisk Set custom field with channel function

Since CDR function is deprecated in Asterisk 13. How to set a custom variable in realtime Database using CHANNEL(Mycustomfield) I keep getting "func_channel_write_real: Unknown or unavailable item ...
Eddy_FL's user avatar
  • 54
2 votes
1 answer
1k views

play a dynamic sound file in asterisk musiconhold

I have used asterisk MusicOnHold with that I have to point a particlar folder in musiconhold.conf and during the execution all the tone inside that folder are played for all the users. But now I have ...
codegasmer's user avatar
  • 1,462
2 votes
1 answer
384 views

Bridging 2 calls in asterisk using asterisk v0.3.1 java library

Here is how the AGI goes: Call from AParty lands on the AGI, say firstAGI.agi AGI prompts user for input On pressing 1 I need to put this call on hold and dial the BParty using call (callfile) which ...
viki's user avatar
  • 125
2 votes
1 answer
919 views

CDR report does not show destination number (adhearsion - asterisk)

I have been using asterisk to connect to adhearsion for my system. System originate call to a sip number by using follow script. Adhearsion::OutboundCall.originate number, from: ...
achyutdev's user avatar
  • 185
2 votes
3 answers
344 views

Trying to separate 2 items in a column for listview wpf

I am quite a newbie with wpf...any help will be appreciated. I started a small project with a listview that displays content from MySQL. So far I had no problems except a column that has 2 items in it....
Alex's user avatar
  • 21
2 votes
0 answers
939 views

Jain sip registration successful but the client is unreachable in asterisk

I have an issue related to jain sip and asterisk. I am using jain sip for registration to asterisk and I can receive a valid response (200 OK) from asterisk when the REGISTER request is sent out. The ...
skywalker's user avatar
  • 716
2 votes
1 answer
4k views

Asterisk Call Recordings to MySQL Database

I am a novice in Asterisk and i want to record my calls to MYSQL database. My Astersik is running on Ubuntu. I am successfully recording the calls but I want the recorded files to be stored in MYSQL ...
Jack Smart's user avatar
2 votes
1 answer
862 views

Asterisk Realtime pattern matching

I'm using the realtime db lookup feature to generate my extensions.conf This works fine if I specify a complete number in the exten field, however if I try and use a pattern _0. for example it doesn'...
Ben Durkin's user avatar
2 votes
1 answer
2k views

Asterisk call transfer on DAHDI channells

All channels on Asterisk configured as DAHDI channels.After customer make payment I want to transfer the customer to the representative who interact customer before. I try to make it by Dial() ...
mcs111's user avatar
  • 111
2 votes
1 answer
1k views

How to Asterisk dial an extension on the same channel?(without bridging)

I am using a 8-port Asterisk card. I have a PBX. I want to call extension "222" from 1 channel(DAHDI/1-1) , i can do it using exten =>s,1,Dial(DAHDI/3-1/222) it use channel 3 as a bridge. ...
user3108474's user avatar
2 votes
1 answer
305 views

Asterisk - Pre-emption calls

I would like to have pre-emption calls in Asterisk. With this I mean that if user A has priority/access-level 1 and wants to talk to user B, how could it preempt the call that user B is already having ...
user1089964's user avatar
2 votes
1 answer
204 views

Multiple DTMFs defined to leave_conference

I need to be able to define multiple DTMF digits to exit a CONFBRIDGE conference. Once out of the conference, I need to know what DTMF digit was pressed. I want to implement the following: Press 4 ...
Rick Lawthers's user avatar
2 votes
1 answer
694 views

Leading zero for outbound asterisk call

Hy all, I am a newbie in asterisk so don't know much about it. I am currently tangled in an application which makes an outbound call. Previously it wasn't working due to some provisioning issues and ...
IConfused's user avatar
  • 724
2 votes
0 answers
1k views

Android built-in SIP library doesn't end a call correctly?

I used the Android built-in sip library to write an app that makes calls via my own Asterisk server. The calls are being made correctly, but most of the time, the calls aren't ended correctly. This ...
Rob van Bobbert's user avatar
2 votes
2 answers
2k views

Remotely login to Linux System with java and run "grep"

I have a linux server running an asterisk, and I want to know it is restarted or what's happening in the server so i wrote a java app to read console. Like here (http://www.coderanch.com/t/556707/java/...
Yasin Caner's user avatar
2 votes
2 answers
671 views

how can i connect my mobile set with my asterisk ivr system

i am trying to connect my mobile set(nokia N95) to my asterisk(ivr) system but each time i do sip configuration on my mobile set registration failed comes on my mobile set screen and some times it ...
shehzy's user avatar
  • 2,225
2 votes
1 answer
2k views

how to configure gtalk and jabber in asterisk

I set all configuration in asterisk and working fine all but when i load module jabber then getting error like: [Nov 14 17:21:38] ERROR[2991]: res_jabber.c:1694 aji_act_hook: JABBER: encryption ...
Bhavik Patel's user avatar

1
2 3 4 5
22