Displaying 12 results from an estimated 12 matches for "originateact".
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
...d
> What should I use for extension? Since I am not bridging an extension with
> outbound, but making an outbound call and playing a sound file, what would
> be the extension?
>
> Here is my Asterisk-Java code:
>
> managerConnection.addEventListener(this);
> originateAction = new OriginateAction();
> originateAction.setChannel("SIP/"+ani);
> originateAction.setContext("from-pstn");
> originateAction.setExten(????);
> originateAction.setPriority(new Integer(1));
>...
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
>
2006 Feb 27
1
Problems dialing to another Asterisk server
....51:5038,20)
exten => _1.,3,HangUp()
exten => 222,1,MusicOnHold()
exten => 444,1,Dial(${STRING3})
exten => 444,2,Ringing
SIP/6021 is the telephone logged in the another machine, which is
192.168.0.51 and asterisk is listening in 192.168.0.51, port 5038
And my Manager-java code is :
originateAction.setChannel("Local/16007@mariaSIP/n");
originateAction.setCallerId("asterisk");
originateAction.setCallingPres(new Boolean(true));
originateAction.setContext("mariaSIP");
originateAction.setExten("222");
originateAction.setPriority(nPriority);
originateActi...
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...I use for extension? Since I am not bridging an extension
> > with outbound, but making an outbound call and playing a sound file,
> > what would be the extension?
> >
> > Here is my Asterisk-Java code:
> >
> > managerConnection.addEventListener(this);
> > originateAction = new OriginateAction();
> > originateAction.setChannel("SIP/"+ani);
> > originateAction.setContext("from-pstn");
> > originateAction.setExten(????);
> > originateAction.setPriority(new Integer(1));
> > originateAction.setCallerId("murthy&qu...
2008 Feb 14
1
Error checking asterisk method - suggestions?
...e incoming call? Something must be very wrong J
Please educate me, dear experts.
Input?
Sincerely,
Johan Sandgren
www.svep.se<http://www.svep.se>, jsa at svep.se
Frosty Sweden but with some sunshine today !! J
My code and settings below, for information.
=============JAVA CODE (extract)
OriginateAction originateAction = new OriginateAction();
ManagerResponse originateResponse = null;
originateAction.setChannel("ZAP/1");
originateAction.setContext("Outgoing");
originateAction.setExten("201"); // maps to ZAP/7 through external phoneco...
2011 Oct 07
2
Add SIP diversion header in originate from AMI?
...hrough the manager interface and now want to add a
SIP-Diversion header that changes the CallerID of a number that is not
available on the trunk, the CallerID to be visible externally is connected
to an external customer service hired by another company.
My question:
How can I add this header in a originateaction call via AMI?
Does the originated calls go through any context where I can add this header
with dialplan functions like "AddSipHeader()" or is it possible to do this
directly in the OriginateAction through AMI?
Example from voip-info:
[macro-diversion-header]
exten =>...
2023 Apr 10
1
Setting PJSIP header from AMI
Hello,
We are moving from an older asterisk/SIP to a newer (18+) asterisk/PJSIP and trying to figure out how to add [identity] header when originating a call from AMI/PAMI.
In the older version we would just set a variable like this:
$action = new OriginateAction("SIP/....");
$action->setVariable('__SIPADDHEADER51',"Identity: $identity"); // $identity contains generated by 3rd party header
Is there anything similar for
$action = new OriginateAction("PJSIP/....");
???
that would work for PJSIP?
Any...
2005 Sep 15
0
AW: ***SPAM*** actionID on manager events
hi,
afaik, the action-id provided with the OriginateAction should only show up in the OriginateSuccess or OriginateFailure event. Intermediate events that are generated when the channels are create will NOT carry the action-id of the originate.
The async flag tells asterisk to process originates in parallel, i.e. if you have two users originating calls...
2006 Oct 13
3
OriginateEvent reason codes.
Hi.
I'm making calls via the Manager OriginateAction. My action is set to be
async and therefore I receive originiate events. Within the originate
event that I receive there is a reason code. In the event of failure I
need to dermine why the call failed (no pickup, rejected, no such
number, circuit busy, ect) and inform the user with a meaning...
2006 Mar 27
0
Timeout waiting for response to Originate
Hello,
I am using Asterisk-java, the Manager. And I have a problem I don't know how
to sort it out!:
Sometimes, when I send an OriginateAction my code receives an exception with
this message:
"Timeout waiting for response to Originate"
I don't know what it means as Asterisk receives the action and then dials to
the telephone, might anybody show me what is the problem???
Thanks in advance,
--
Mar?a
-------------- nex...
2010 Sep 08
0
How to Set Callerid Of Originate a call?
...ention 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 OriginateAction.
my dialplan is :
[test]
exten => 123,1,NoCDR()
exten => 123,n(me),MeetMe(123,AMX,123)
exten => 0,1,Read(DEST,dial,,i)
exten => 0,n,ResetCDR()
exten => 0,n,Originate(SIP/${DEST},exten,test,s,1)
exten => 0,n,Goto(123,me)
exten => s,1,MeetMe(123,M,123)
--
Thanks & Reg...
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>