search for: originateresponse

Displaying 20 results from an estimated 34 matches for "originateresponse".

2009 Oct 05
3
OriginateResponse Event
Hi people, I'm executing some parallel Originate async, is there a way to know the result of each originate?... I was looking at the OriginateResponse event, but I don't know how to get it from my web service. Also, if I have 3 originate in parallel, how can I identify the OriginateResponse of each one? Thanks in advance... Anahi Ludue?a _________________________________________________________________ Nuevo Windows Live,...
2006 Feb 27
1
Problems dialing to another Asterisk server
...l/16007@mariaSIP/n"); originateAction.setCallerId("asterisk"); originateAction.setCallingPres(new Boolean(true)); originateAction.setContext("mariaSIP"); originateAction.setExten("222"); originateAction.setPriority(nPriority); originateAction.setTimeout(nTimeout); originateResponse = managerConnection.sendAction(originateAction, 30000); if(originateResponse.getResponse().equals("Success")) { setVarAction.setVariable("STRING3"); setVarAction.setValue("SIP/6020"); originateResponse = managerConnection.sendAction(setVarAction, 30000); if...
2013 Aug 22
2
How to get the original SIP result code
B.H. Hello, i'm using AMI Originate action (with async=true) to send outgoing calls to a SIP trunk (using asterisk-java library to connect to AMI). The problem is that in case of failed originate, OriginateResponse event is returning only the reason code which is sometimes not sufficient to determine the real cause of failure. Also, there's no way to link between the channel that was trying to dial and failed and the original Originate request, because OriginateResponse is issued only after the failed cha...
2010 Dec 01
1
Reasons of OriginateResponse
Good morning everyone. I wonder where I can find a list of the reasons the event OriginateResponse. I found this list [1]. But in my Asterisk has other reasons too. [1] 0 = no such extension or number 1 = no answer 4 = answered 8 = congested or not available Thanks in advanced, -- Rodrigo Lang Opening your mind - Just another Open Source site<http://openingyourmind.wordpress.com/> --...
2007 Apr 25
0
OriginateResponse 'reason' property.
Hi all. I'm trying to determine the reason for call failure (busy, no answer, no such number, etc...). Calls are made via the Manager API using the Originate manager command. Originally I thought that the 'reason' property within the OriginateResponse could be used for this purpose, but with Asterisk 1.2.* versions the reason always returned a '1' for all types of failures (busy, no answer, no such number, etc...) and a '4' in the event of success/call was answered. I have asked around on this mailing list about this issue be...
2009 Jul 29
1
Matching Originate action with its NewChannel event
An application commanding asterisk with AMI is going to launch lots of concurrent calls in very few seconds using the Originate AMI command but it's also going to need to be able to cancel very quickly any call of them even before each OriginateResponse event comes in. All the calls will be done by the same trunk (a trunking enabled channel). But there's a problem for canceling any call: there's no way to know what channel to hangup to because all channel prefixes in the NewChannel event are the same (the trunking channel one) and although...
2015 Aug 06
4
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > Tested with X-Lite and it worked fiine. Is there some way to replace > "Anonymous" with a config parameter? > > Thanks for your kind help > > ---------------------------------------- > > From: murthy64 at hotmail.com > > To: asterisk-users at lists.digium.com >
2007 Aug 13
0
Originate and tracking
I am originating calls through the Manager Originate API command. I can track failures (through the OriginateResponse event) I can track answered calls through the OriginateResponse event) There may be occasions where I need to cancel some outbound calls whilst they are ringing. Here's my problem: How do I know what the channels are in order to cancel them ? I can get a "successfully queued" wit...
2007 Sep 26
1
Manager Originate Action and Cancel
I'm using the Originate Action on the Asterisk Manager to place calls between two extensions in async mode. Is there any way to cancel the Originate Action before I get the OriginateResponse action? I'm unable to perform a Hangup because I can't know the channel name before I get the response... thanks in advance! -- santiago aguiar *netlabs* / Palmar 2548 Montevideo, Uruguay Tel. +(598 2) 707 7687 Fax. +(598 2) 709 4866 / http://www.netlabs.com.uy -------------- next part...
2010 Nov 24
0
Originate Response.
Hi to all. I am conducting several tests with the Asterisk manager and I noticed something that I believe to be a problem. When I generate a call with the Action Originate with the Async option true, the event OriginateResponse returns normally. But when I generate a call in the same way, without the Async option, the event OriginateResponse does not come. Is this a bug? It was fixed in some version? I use Asterisk version 1.6.0.28 Thanks in advance. -- Rodrigo Lang Opening your mind - Just another Open Source site&l...
2010 Oct 21
1
How to kill AMI ORIGINATE on-the-fly
...E. Of course, I could let the call ring and hangup after the customer pick-up. But this is not the case, I do have to kill the corresponding ORIGINATE. I could execute a soft hangup, but I am not aware the channel that ORIGINATE is using until customer either pick-up or not answer - generating a OriginateResponse event. I have tried to send a STATUS command on the ActionId, but the answer is assync and I can't trust on it. I would appreciate any help. Thanks, Valter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attach...
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
...new Integer(30000)); > > // connect to Asterisk and log in > managerConnection.login(); > > // send the originate action and wait for a maximum of 30 > seconds for Asterisk > // to send a reply > originateResponse = > managerConnection.sendAction(originateAction, 30000); > > I get error with this. > > > Here is from-pstn context in extensions.ael > > context from-pstn { > 1619xxxxxxx => { > This looks like a dialplan pattern match exten but you do not have a leading...
2011 Jan 10
3
How to check a number online or offline
Hi all, Now i want to check a number (channel) online, offline or unreachable on asterisk but i don`t know to do. Can anyone help me to solve this issue. Thanks and best regard! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110109/c193b48d/attachment.html>
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...); > > originateAction.setTimeout(new Integer(30000)); > > > > // connect to Asterisk and log in > > managerConnection.login(); > > > > // send the originate action and wait for a maximum of > > 30 seconds for Asterisk > > // to send a reply > > originateResponse = > > managerConnection.sendAction(originateAction, 30000); > > > > I get error with this. > > > > > > Here is from-pstn context in extensions.ael > > > > context from-pstn { > > 1619xxxxxxx => { > > > > This looks like a dialplan...
2016 Mar 29
3
Asterisk 11.22.0 Now Available
...DD_VENDOR_CODE (Reported by Aaron An) * ASTERISK-25614 - DTLS negotiation delays (Reported by Dade Brandon) * ASTERISK-25442 - using realtime (mysql) queue members are never updated in wait_our_turn function (app_queue.c) (Reported by Carlos Oliva) * ASTERISK-25624 - AMI Event OriginateResponse bug (Reported by sungtae kim) Improvements made in this release: ----------------------------------- * ASTERISK-24813 - asterisk.c: #if statement in listener() confuses code folding editors (Reported by Corey Farrell) * ASTERISK-25767 - [patch] Add check to configure for sanitizes...
2015 Mar 02
0
Events
...ager - i've noticed it doesnt seem to be emitting events to my connected client. Is there something that I need to do to receive events? Also output from 'manager show events' voip*CLI> manager show events Events: -------------------- -------------------- -------------------- OriginateResponse ParkedCallGiveUp ParkedCallTimeOut Looking at other posts around should there be move events shown here? This message may be private and confidential. If you have received this message in error, please notify us and remove it from your system. Gyron may monitor email traffic data and t...
2009 May 12
2
Asterisk Manager API Action Originate
Has anyone else had issues with Originate returning the wrong error code? According to the docs, the following errors are supposed to be returned: 0 = no such extension or number 1 = no answer 4 = answered 8 = congested or not available Now in Asterisk 1.4.23 I get some error code 5's but since they're so few I tend not to worry. But what is concerning is the number of Error 0's I
2009 Jul 06
1
Get channel string
Hello, When I attempt to make a call using AMI interface with originate action I successfully specify all of the needed parameters but when I try to control the flow of the call I am unable to identify each call because asterisk uses some kind of unique identification appended to the channel string. E.g. channel: SIP/1000 results in SIP/1000-*0845ea38*. I also found an auto-generated unique
2019 Mar 12
4
AMI mulitple calls quickly
Lets say I have to make 40 phone calls quickly. If I use the AMI interface to originate a call, close the connection, open another connection etc... This works. but is slow... If I open the AMI interface and originate a call - DONT close the interface , get the response, originate another call, some of the calls are missed. even though I get OK response. (All calls are Async mode). If I open
2010 Oct 01
2
AMI Originate
When calling Originate Action, it rings my phone. If I do not answer, I receive a Channel Event: Hangup, followed by receiving an OriginateResponse event with a Failure Response, Reason 3. My phone continues to ring. If I answer the phone at this point, it attempts to answer, but does not succeed. Looking at the asterisk debug, it appears to destroy the SIP dialog for the call. It also destroys the RTP instance. When I answer, I...