search for: setexten

Displaying 7 results from an estimated 7 matches for "setexten".

2006 Feb 27
1
Problems dialing to another Asterisk server
...istening 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); originateAction.setTimeout(nTimeout); originateResponse = managerConnection.sendAction(originateAction, 30000); if(originateResponse.getResponse().equals("Success")) { setVarAction.setVariable("STRING3"); setVarActi...
2010 Jul 17
1
AGI execution after Dial
...extension and then to 1. Is it possible to use the CONSOLE (somehow like console dial number) channel to originate calls? This might be a solution. action.setChannel("SIP/99051000XXXXXX"); action.setCallerId("99051000XXXXXX"); action.setContext("autodialer"); action.setExten("1"); action.setPriority(new Integer(1)); action.setVariable("numero", "5555555"); Then, I figured I could place the calls from within an AGI script. Obviously, I got stuck again. Now, when I execute the application Dial, the script pauses until the called party hangs...
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
...ode: > > managerConnection.addEventListener(this); > originateAction = new OriginateAction(); > originateAction.setChannel("SIP/"+ani); > originateAction.setContext("from-pstn"); > originateAction.setExten(????); > originateAction.setPriority(new Integer(1)); > originateAction.setCallerId("murthy"); > originateAction.setTimeout(new Integer(30000)); > > // connect to Asterisk and log in > manage...
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 >
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...gt; > 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"); > > originateAction.setTimeout(new Integer(30000)); > > > > // connect to Asterisk and log in > > managerConnection.login(); > > > > // send t...
2008 Feb 14
1
Error checking asterisk method - suggestions?
...y !! 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 phonecompany PBX originateAction.setPriority(new Integer(1)); originateAction.setTimeout(new Long(15*1000)); // xml-milliseconds originateAction.setAsync...
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>