Questions tagged [asteriskami]

The Asterisk Manager Interface (AMI) is a socket-based protocol for controlling the Asterisk telephony engine.

The Asterisk Manager Interface (AMI) is a socket-based protocol for controlling the Asterisk telephony engine.

218 questions
1
vote
1 answer

Asterisk testsuite: phone not ringing

I have extensions.conf as: [users] exten=>111,1,Dial(SIP/demo-alice,5) exten=>111,n,UserEvent(TestResult,result:pass) exten=>222,1,Dial(SIP/demo-bob,5) It works, phones can dial each other. In python test: df = ami.originate( channel =…
Ilya Khaustov
  • 328
  • 1
  • 6
  • 21
1
vote
1 answer

Call duration during the call via AMI

How can I get call duration during the call via AMI? something like Status() or CoreShowChannels() but seconds needs to be after Answering call
user840250
  • 727
  • 1
  • 8
  • 20
1
vote
1 answer

Asterisk 11 active calls event over AMI

Data I would like to have: Num From , Num To , Duration, Codec, Context, Hold status ofc in realtime update I using node.js + nami what the best way to get this information? tried use an action Status(), but this gives me not full information about…
user840250
  • 727
  • 1
  • 8
  • 20
1
vote
1 answer

Asterisk AMI - UpdateConfig not working

We are using Asterisk (8.1.11)/FreePBX (2.10.1.9). I am trying to modify voicemail.conf using AMI. The line in voicemail.conf I'm trying to modify looks like: 2999 => 1234,Hotline,,someemail@company.com,attach=no|saycid=yes|envelope=yes|delete=no…
Michael
  • 11
  • 4
1
vote
1 answer

How to use Cookies in HttpURLConnection for ANDROID?

I am trying to create an Application for Asterisk Interface, the configuration setup has been done properly as I have double checked it. It seems the reason why I can't access Config files from Asterisk server has to do with the connection. I need…
1
vote
2 answers

Asterisk AMI: determining if a channel held

I'm trying to figure out a way to reliably detect if a channel is held via AMI. I have two issues: On Asterisk 1.8 I get the MusicOnHold event when a channel is held. Is this a reliable event? Can Asterisk be configured in a way that this event…
1
vote
1 answer

Jump call from one dahdi channel to other

Hi I will describe as best I can. I am using Asterisk 1.4 with DAHDI 2.4. We have merged two PRI lines i.e now we have 60 lines on one span. I want to jump call from one channel to other, i.e. I call is received on channel no. 3 of dahdi then I…
Code Breaker
  • 499
  • 1
  • 4
  • 19
1
vote
1 answer

Asterisk AMI. What event fires when call begins?

I think that in my configuration does not fire this event. What event must be fired when operator answers on call?
Ildar
  • 798
  • 2
  • 14
  • 35
1
vote
1 answer

I cant get events from Asterisk Manager Interface

This my code to connect to Asterisk Manager Interface: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text.RegularExpressions; using…
Karadous
  • 1,555
  • 3
  • 26
  • 37
1
vote
1 answer

Recieve real-time Asterisk AMI events on rails app Outside of Adhearsion

I have a rails application that i'am trying to get real time events from the my asterisk through AMI. I successfully created a script to originate calls from the adhearsion source code without creating a new adhearsion project. I created a class…
1
vote
1 answer

Where can I see executed "Originate" command from Asterisk AMI

I'm adjusting simple application that among other things should be able to call another party using Asterisk AMI Originate command. I'm stuck and I believe that my originate command is wrong. Where/how can I see log of Originate commands that…
Milan
  • 969
  • 2
  • 16
  • 34
1
vote
1 answer

Need to interact with foreign IVR

I need to interact with a foreign IVR programmatically. The problem that I'm running into is that once into the foreign IVR, I will occasionally receive a busy signal for a particular feature if the foreign IVR's back-end is tied up. To my…
gnxtech3
  • 782
  • 3
  • 7
0
votes
1 answer

Asterisk Hold event via IAX2 and SIP

I have two phones one using IAX2 second SIP. When I press Hold button on IAX2 phone I get Asterisk event "Hold", When I press Hold button on SIP Phone I get Unlink then Bridge event. Can I change this behavior for SIP phone to get "Hold" event from…
Sergii
  • 749
  • 3
  • 15
  • 36
0
votes
2 answers

Asterisk PRI Dialer Issue

I am an experienced PHP Programmer but newbie with Asterisk. I have completed my business application which creates a list of numbers which are to be called. The system to call on SoftPhone is working perfect, but since I do not have any exposure to…
Nitin Srivastava
  • 480
  • 1
  • 7
  • 19
0
votes
2 answers

Detecting when Asterisk rejects an incoming call via AMI

We have a number of Asterisk servers; occasionally, human error means someone messes up the dialplan and incoming calls are rejected: NOTICE[27927][C-00000188]: chan_sip.c:26826 handle_request_invite: Call from 'upstream-peer' (192.168.1.1:5060) to…
KenD
  • 5,280
  • 7
  • 48
  • 85