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
0
votes
1 answer

How to route incoming call to queue of agents though AGI C Program in Asterisk

I am using AGI in C Language for a basic Call Centre Setup in Asterisk [PUNDIT] exten =>92186,1,agi(Pundit/PunditBin) exten=>92186,2,Hangup PunditBin is a C application. On receiving the call the app dail Agent SIP URI directly and it works (Agent…
0
votes
1 answer

Meteor cannot start when using Meteorhacks:npm, nami package; cannot access localhost:3000

I am using npm nami package inside Meteor app to listen to events from an Asterisk server. In server side, I have this code: namiLib = Meteor.npmRequire "nami" namiConfig = "host": "..." "port": 5038 "username": "..." "secret":…
Strong Bear
  • 411
  • 4
  • 7
0
votes
1 answer

Asterisk AMI originate call

I have configured the analog local phone with cisco adapter, so I can make any outbound call from SIP phone. But I can't achieve this by AMI which calls to outbound channel through trunk then plays prompt. manager.conf: [asteriskjava] secret =…
LeXuS
  • 19
  • 2
  • 8
0
votes
1 answer

Asterisk REST ARI snoop (cURL)

I try to: curl -v -u j123:j321 -X POST "http://localhost:8088/ari/channels/1421226074.4874/snoop?spy=SIP/695" In response to receiving: "message": "Invalid direction specified for spy" I try to: SIP/695; SIP:695, SIP@695, localhost@695, channel,…
0
votes
1 answer

Detect event when the user picks up phone without dialing

I am currently linking asterisk to a web application, I am able, via AMI telnet connection, to detect when the line is ringing, when the user is dialing, when he hangs up. I really would like to know when he picks up the phone but do not…
Mykeul
  • 473
  • 1
  • 5
  • 10
0
votes
1 answer

calls are made but no voice transferred to either sip client using asterisk and csipsimple

I am using csipsimple as sip client and asterisk server to set up call. Calls are made between 2 sip clients but voice is not getting transferred. Calls are made between 2 sip clients using AMI. I can give my asterisk cli log. Can anybody please…
Hitendra
  • 3,218
  • 7
  • 45
  • 74
0
votes
1 answer

FreePBX: Record automatic originated calls

We have a bunch of analog telephones and a few softphones and IP-phones in our office. Analog telephones run by a telephone exchange Samsung OfficeServ 7200 connected to a FreePBX. FreePBX has extensions for each analog telephone for call recording.…
Seorl
  • 1
  • 1
0
votes
2 answers

AMI Command to check which DID was called (Asterisk)

Need help, please assist me! I need a command that would let us know which DID is the incoming call landed on, eventually we would then pass this collected info to phpagi and AMI. I was looking at manager show command status Was looking at…
Jeet
  • 123
  • 2
  • 14
0
votes
2 answers

How to Unpark a Call

I want to hold/unhold my calls using Asterisk AMI. I have used Park AMI Action. Then, My phone disconnects, and Senders phone plays a music. How to Unpark this Call ? Can anybody help me Please ? UnParkAction upac = new UnParkAction(channel,…
Yesudass Moses
  • 1,841
  • 3
  • 27
  • 63
0
votes
1 answer

Asterisk: How can I filter the Dial event only to my extension

I am making a Asterisk Client in C# WinForms using Asterisk.NET. My client is listening to one extension only.We can view the calls, reject or transfer etc to the calls coming to my extensions. I need source channel to transfer the call, and source…
Yesudass Moses
  • 1,841
  • 3
  • 27
  • 63
0
votes
1 answer

get information about a user in asterisk

I am trying to get user information from a given extension using the Asterisk API commands. something like: getUserInfo('4000'); response could be: name: Bob Smith email: bob@smith.com ... ... etc.... I have tried the action: ExtensionState …
bart2puck
  • 2,432
  • 3
  • 27
  • 53
0
votes
1 answer

how calling a person vi asterisk-java

I created in manager.conf a user manager named : mark , in "sip.conf" user named "utilisateur" i want to call user : "utilisateur" via Asterisk-java , i tried this code : import java.io.IOException; import…
user3518668
  • 359
  • 1
  • 4
  • 14
0
votes
4 answers

Asterisk Softphone

I would like to create softphone similar to XLite, which is so much good to interact with asterisk. I have gone through the tutorial about asterisk java, briefing about AMI and Fast AGI scripts.But it didn't workout as per my expectation.My first…
SULFIKAR A N
  • 436
  • 4
  • 13
0
votes
1 answer

CORS Support in Asterisk PBX Web Server

Aterisk PBX has a built-in web server, I am trying to login to My Asterisk PBX through AMI over HTTP from my Local Computer. My problem is that when I call the Login Action over HTTP the Manager is connected but response's MIME type is "text/plain",…
Pooya Yazdani
  • 1,141
  • 3
  • 15
  • 25
0
votes
1 answer

Writing java code for retrieving sip users list

I want to retrieve the SIP users list from Asterisk server onto the SIP client. Asterisk-java API can be used for this purpose but I am not clear on how should I do that? I need to send Action "SIPpeers" to Asterisk AMI which in turn would return…
Pankaj
  • 41
  • 2
  • 7