Displaying 20 results from an estimated 180 matches similar to: "Manager API - Originate Call - Need Help"
2009 Feb 13
2
Fwd: Manager Interface Originate (ASYNC) - How to get the Originate Status
Dear All,
I am originating the call directly to the SIP Provider using the maganger
interface + originate (ASYNC) command. Here is the PHP-AGI Script.
$call = $asm->send_request('Originate',
array('Channel'=>"SIP/416XXXXXXX at ABC/n",
'Context'=>'ORIG',
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
2008 Nov 29
0
received wrong state events for originate command
Hey all,
Something is wrong when i use originate command to call my phone
(Asterisk1.4.22 + xp100 card).
Actually, i have two problems.
The first one: If i fire a outgoing call using originate command directly,
after my pc startup, i will receive below error message:
[Nov 26 07:58:53] NOTICE[6559]: channel.c:2898 __ast_request_and_dial:
Unable to request channel Zap/1/13xxxxxxxxx
but i can
2011 Mar 28
0
Channel status with AMI originate calls
Hi,
is there a way to know if originate call channel ended the call *before*
connecting to context/extension/priority?
DIALSTATUS is empty, HANGUPCAUSE is always 16, nothing in SIP Headers
nor in AST_CONTROL_FRAME_[HANGUP|ANSWER]
Asterisk is 1.6.2.16
Thanks for any hint
--
Daniel
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
2010 Aug 11
0
No CDR with originate from manager and then an redirect to a dial from manager
Hi,
The ami manager call out with an originate through dadhi to a local number (A).
If this call is answered, then the ami manager redirect this call to a dial command.
This dial command calls through dadhi to another local number (B).
Number B answers this call and number A en B are connected.
If number B and number A hangs up, there is will be no CDR be written
If the dial command is commented
2009 Aug 25
0
Stop Originate
Hello.
Is there a way to stop AGI Originate Action once it has started?
I'm trying to bridge incoming call to an extension, and if incoming call
hangs up
the phone on the extension keeps ringing until timeout. I've tried googling,
and
checking mailing list archive, but with no success.
I'm using asteriskNOW 1.5.0 with asterisk 1.6.0.10.
Thanks.
-------------- next part
2010 Sep 08
0
How to Set Callerid Of Originate a call?
Dear all,
as you know, we can use Originate Command to auto-dial a out-bound
call to a extention or app since 1.6.2.
but when i Originate a call, and hangup. the cdr of this call has no
CDR(clid) and CDR(src).
Could you tell me how to set the Callerid to cdr from an Originate
call? I use Originate directly in the dialplan
not AMI, so i can't set the callerid property like AMI use
2008 Sep 04
0
MixMonitor + Originate
Hi everyone,
I'm trying to get calls to record with the following setup:
Using phpagi originate is called from a web application:
$asm->originate("Local/" . $row['extension'] . "@sip-standard",
$row['phone_number'], "sip-standard", "1", "", "", "7000");
The agent being called is extension Local/101 at
2013 Mar 25
1
Asterisk 11, hangup-handlers, Local channels and channel originate
Hello,
I'm giving hangup-handlers a try on a new Asterisk 11.2.1 setup.
My plan is to use this handler to update my CDRs with values such as
Asterish and Tech cause (see function HANGUP_CAUSE).
I want to have my custom hangup-handler be run only once and when "the
second channel" hangs up.
At the moment, I'm issuing a couple of "channel originate
Local/1 at mycontext1
2010 Oct 11
1
About Action Originate
I use the action Originate?i want the called first ringing?the called
answer,callee ringing.it can achieve?
Best regards,
justhinker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101011/27846a78/attachment.htm
2008 Feb 14
1
Variable setting in AMI Originate
Working with asterisk 1.4; using the AMI Originate command, it is possible to
do something like:
Variable: CDR(accountcode)123456
Or must the variable names be "var[n]" where n is a number?
I'd like to set the accountcode for a Local channel that originates a call.
Thanks. -A
--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE
2008 Jul 26
0
Using manager originate and Dial() once inside dialplan
Hi List,
We are trying to make a click 2 call button, we have a PHP script that
passes the 1st phone number of the 1st leg to a manager script, that then
dials the 1st call, then the 2nd call gets placed inside of Asterisk using a
normal dial command. Problem is, we get no status codes, we cannot see if
their was a hangup, a answer anything, and also once the callers hangs up,
it's killed and
2009 Feb 09
0
Problem with AMI originate
It looks like a problem that I thought had once been fixed is broken again.
In manager.c line 2166 of both versions 1.6.0.3 and 1.6.0.5
if (!ast_strlen_zero(name)) {
The ! Should not be there.
I am not sure if there are other places there is a like problem but removing
the ! for sure fixes at least one problem.
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
2004 Mar 30
1
Manager Interface "Action: Originate" changed
I have recently noticed that the "Action: Originate" options in asterisk
1.0 CVS has changed sometime between 2/23 and 3/18.
I have a 2/23/04 CVS installation (cvs checkout -r v1-0_stable asterisk
) that allows me to make calls like this using the Manager Interface on
port 5038.
action: login
login: admin
secret: mypass
action: originate
exten: 200
2004 Mar 31
0
Manager Interface "Action: Originate" change d
Try Capitalizing Your Actions And The Parameters For Them:
Action: Login
Login: admin
Secret: mypass
Action: Originate
Exten: 200
Context: stations
Channel: SIP/agent07
Priority: 1
Callerid: James Bond Calling
That should work. We use manager actions extensively in our applications and
the managerAPI is sometimes finicky for capitalisation. and a capitalised
first letter of the action and
2004 Apr 04
2
Problem with Manager Originate
Hi
I am trying Manager interface for originate a call. This is what I get
---------------
Action: Originate
Exten: 555
CallerID: test <6656>
Context: local
Timeout: 600
Channel: SIP/8782
Priority: 1
Response: Error
Message: Originate failed
----------------
What do I do wrong?
Thank you
Serge
_________________________________________________________________
MSN Premium with Virus Guard
2004 Jun 01
0
Variable: in Originate via Manager API
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Can someone please show me what the proper syntax is for Variable: in an
Originate. Basically, I'm looking to pass a string into my dialplan as
${MYSTRING} so it's available from whatever Exten => I originate to.
Thanks
- -jwb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
2004 Jul 14
0
Originate to IAXComm problem once again
I am sending this again since I haven't get it back for twelve hours:
When I originate call to IAXComm, more or less one of tree calls fails
for no aparent reason. Originating calls to SIP clients works as
expected. Anybody has similar problems? Is it asterisk or client problem?
Asterisk log:
Jul 15 00:00:04 DEBUG[1179663]: manager.c:1018 process_message: Manager
received command
2005 Feb 28
1
Manager "Message: Originate failed" beinggenerated when callee does not pick up
<<I am getting "Message: Originate failed" even the phone is ringing on the other end of the line.>>
Originate will ring your own extension first and when you pick up, call the other number. If you don't pick up your extension, you will receive the message you see.
Bill Seddon
________________________________
From: asterisk-users-bounces@lists.digium.com on behalf