asterisk-java-users Mailing List for Asterisk-Java Library (Page 14)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(8) |
Mar
(33) |
Apr
(36) |
May
(19) |
Jun
(21) |
Jul
(53) |
Aug
(30) |
Sep
(36) |
Oct
(34) |
Nov
(43) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(123) |
Feb
(75) |
Mar
(86) |
Apr
(46) |
May
(41) |
Jun
(29) |
Jul
(76) |
Aug
(38) |
Sep
(39) |
Oct
(68) |
Nov
(16) |
Dec
(17) |
2007 |
Jan
(34) |
Feb
(18) |
Mar
(39) |
Apr
(30) |
May
(20) |
Jun
(10) |
Jul
(59) |
Aug
(54) |
Sep
(60) |
Oct
(22) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(34) |
Feb
(67) |
Mar
(65) |
Apr
(67) |
May
(60) |
Jun
(51) |
Jul
(88) |
Aug
(75) |
Sep
(47) |
Oct
(143) |
Nov
(54) |
Dec
(42) |
2009 |
Jan
(46) |
Feb
(80) |
Mar
(162) |
Apr
(159) |
May
(200) |
Jun
(34) |
Jul
(46) |
Aug
(59) |
Sep
(5) |
Oct
(35) |
Nov
(73) |
Dec
(30) |
2010 |
Jan
(23) |
Feb
(50) |
Mar
(8) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(56) |
Aug
(35) |
Sep
(26) |
Oct
(79) |
Nov
(39) |
Dec
(34) |
2011 |
Jan
(27) |
Feb
(22) |
Mar
(28) |
Apr
(12) |
May
(16) |
Jun
(19) |
Jul
(1) |
Aug
(64) |
Sep
(19) |
Oct
(11) |
Nov
(17) |
Dec
(12) |
2012 |
Jan
(6) |
Feb
(8) |
Mar
(15) |
Apr
(43) |
May
(41) |
Jun
(14) |
Jul
(32) |
Aug
(3) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(35) |
Feb
(11) |
Mar
(23) |
Apr
(25) |
May
(37) |
Jun
(47) |
Jul
(25) |
Aug
(21) |
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2014 |
Jan
(26) |
Feb
(2) |
Mar
(18) |
Apr
(41) |
May
(7) |
Jun
(7) |
Jul
(24) |
Aug
(5) |
Sep
(6) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
2015 |
Jan
(7) |
Feb
(15) |
Mar
(8) |
Apr
(12) |
May
(7) |
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(30) |
Dec
(3) |
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: matthieu h. <mat...@gm...> - 2013-07-12 09:05:34
|
I am sorry for last mail. I would like to know hawo config a channel to autorize AsyncAgi actions which are sent by AMI? Tkanks in advance, Matthieu 2013/7/12 matthieu hiel <mat...@gm...> > > |
From: matthieu h. <mat...@gm...> - 2013-07-12 09:02:47
|
From: matthieu h. <mat...@gm...> - 2013-07-05 14:01:11
|
Hi all, I am using asterisk 11.2.1 and asterisk java 1.0.0. I would like to use AtxferAction. I can write and send it to Asterisk server. Then I have a successfully response but nothing is done. I have these information : action: org.asteriskjava.manager.action.AtxferAction[action='Atxfer',actionid='null',priority='1',context='CompletTransfert',exten='1003',channel='SIP/10.140.6.214-0000005f',systemHashcode=9449509] response: org.asteriskjava.manager.response.ManagerResponse: actionId='null'; message='Atxfer successfully queued'; response='Success'; uniqueId='null'; systemHashcode=11349040 Do yo know how to configure this action? I can read that this action is bugged here: https://issues.asterisk.org/jira/browse/ASTERISK-11588. Is still true? Thanks in advance, Matthieu |
From: Greg H. <gre...@gm...> - 2013-07-03 12:46:55
|
Hi Yves, I saw this type of explanation in other threads too. In my case, for my testing I have been accessing the same Asterisk 1.8 server for months. Something changed in my own build that uses A-J in the last week that started this. I did add more jar files to my class path and it may be because of that. Thanks, Greg On Wed, Jul 3, 2013 at 12:50 AM, yves030 <yv...@gm...> wrote: > Hi, > I think this is not a cause of the OS, but a cause > of the asterisk version you are using. .. > meanwhile events and therefor their properties > have changed a lot and aj is not aware of them. > Its quite old and did not get serious updates in > the recent past... it is stuck with asterisk 1.6 or 1.8. > It identifies newer versions of asterisk as a1.6 > which in turn may also cause such warnings. > You can implement the missing methods yourself > or ignore the warnings, if you dont need the values. > > Yves > > -- > Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail > gesendet. > > > > |
From: Rounak S. <rou...@gm...> - 2013-07-03 06:06:52
|
Hii, I tried your suggestion but it not working JAVA CODE: originateAction = new OriginateAction(); originateAction.setChannel("dahdi/g0/01234567"); originateAction.setContext("medicine"); originateAction.setExten("s"); originateAction.setPriority(1); originateAction.setTimeout(30000l); originateAction.setAsync(true); originateAction.setVariable("var1", *value*); Extensions.conf [medicine] exten => s,1,Answer() exten => s,n,AGI(agi://127.0.0.1/hello.agi) exten => s,n,Hangup() and Extensions.conf [medicine] exten => s,1,Answer() exten => s,n,AGI(agi://127.0.0.1/hello.agi/?var1=${var1}) exten => s,n,Hangup() AGI public void service(AgiRequest request, AgiChannel channel) throws AgiException { System.out.println(request.getParameter("var1")); System.out.println(channel.getData("var1")); System.out.println(channel.getFullVariable("var1")); System.out.println(channel.getVariable("var1")); } I tried all possible combination but none of the are working.I think I have to somewhere declare var1 in asterisk.I declared it in medicine context but again its not working. And out of four which one were you pointing to to gat the variable.I guess channel.getVariable - request.getParameter - channel.getData("var1") - channel.getFullVariable("var1") - channel.getVariable("var1") On Wed, Jul 3, 2013 at 12:53 AM, Mordechay Kaganer <mka...@gm...>wrote: > B.H. > > > On Mon, Jul 1, 2013 at 11:09 AM, Rounak Saha <rou...@gm...>wrote: > >> Can you provide me the function to pass channel variables?Is it >> setVariables(Map<String,String>)<http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/action/OriginateAction.html#setVariables(java.util.Map)> >> ? >> >> This is what I am doing.My doubts are in red.Sorry for making it so >> colourful. :-) >> >> JAVA CODE: >> originateAction = new OriginateAction(); >> originateAction.setChannel("dahdi/g0/01234567"); >> originateAction.setContext("medicine"); >> originateAction.setExten("s"); >> originateAction.setPriority(1); >> originateAction.setTimeout(30000l); >> originateAction.setAsync(true); >> // Here I want to send some values maybe 3 or 4. >> > > originateAction.setVariable("var1", *value*); > > >> >> Extensions.conf >> [medicine] >> exten => s,1,Answer() >> exten => s,n,AGI(agi://127.0.0.1/hello.agi) //How will I send the >> values to my AGI? >> exten => s,n,Hangup() >> >> AGI >> public void service(AgiRequest request, AgiChannel channel) >> throws AgiException >> { >> // How to obtain the value??channel.getVariable will work?? >> } >> >> > The variables you send using OriginateAction are normal channel variables. > They are accessible from the dialplan or from AGI just like any other > channel variable. > > >> On Mon, Jul 1, 2013 at 3:24 AM, Mordechay Kaganer <mka...@gm...>wrote: >> >>> B.H. >>> >>> On Sat, Jun 29, 2013 at 11:02 AM, Rounak Saha <rou...@gm...>wrote: >>> >>>> To make a outbound call I have to use Manager AMI ri8?I cant use AGi? >>>> >>>> I am making a dynamic IVR . This(below) is what I am doing. >>>> >>>> I search my database,get a "phone number and filelocation of a song ". >>>> Now I want to call that phone number and play the song; >>>> >>>> How to pass infromation (phonenumber and address where the song is) to >>>> asterisk dynamically. >>>> >>>> >>>> >>> You can pass channel variables through OriginateAction - this way you >>> can pass data from your java app to asterisk's dialplan. >>> >>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Windows: >>>> >>>> Build for Windows Store. >>>> >>>> http://p.sf.net/sfu/windows-dev2dev >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>>> >>>> >>> >>> >>> -- >>> משיח NOW! >>> Moshiach is coming very soon, prepare yourself! >>> יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > -- > משיח NOW! > Moshiach is coming very soon, prepare yourself! > יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: yves030 <yv...@gm...> - 2013-07-03 04:50:20
|
<html> <head> </head> <body>Hi,<br> I think this is not a cause of the OS, but a cause<br> of the asterisk version you are using. ..<br> meanwhile events and therefor their properties<br> have changed a lot and aj is not aware of them.<br> Its quite old and did not get serious updates in<br> the recent past... it is stuck with asterisk 1.6 or 1.8.<br> It identifies newer versions of asterisk as a1.6<br> which in turn may also cause such warnings.<br> You can implement the missing methods yourself<br> or ignore the warnings, if you dont need the values.<br> <br> Yves<br> <br> -- <br> Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.<br><br><div class="gmail_quote"><br> <br> Greg Horton <gre...@gm...> schrieb:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div> I have an A-J server app that I am getting these errors on a CentOS 6.4 system: <div> <br/> </div> <div> <span style="font-family: arial , sans-serif;font-size: 13.0px;"><br/> </span> </div> <div> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">internal.Slf4JLogger warn</span><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000006' to 'parkedcalltransfers=caller' on org.asteriskjava.manager.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">response.GetConfigResponse: no setter. Please report at </span><a href="http://jira.reucon.org/browse/AJ" style="font-family: arial , sans-serif;font-size: 13.0px;" target="_blank">http://jira.reucon.org/browse/AJ</a><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">internal.Slf4JLogger warn</span><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|WARNING: Unable to set property 'category-000000' to 'general' on org.asteriskjava.manager.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">response.GetConfigResponse: no setter. Please report at</span><a href="http://jira.reucon.org/browse/AJ" style="font-family: arial , sans-serif;font-size: 13.0px;" target="_blank">http://jira.reucon.org/browse/AJ</a><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">internal.Slf4JLogger warn</span><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000007' to 'parkedcallrepark=caller' on org.asteriskjava.manager.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">response.GetConfigResponse: no setter. Please report at </span><a href="http://jira.reucon.org/browse/AJ" style="font-family: arial , sans-serif;font-size: 13.0px;" target="_blank">http://jira.reucon.org/browse/AJ</a><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">internal.Slf4JLogger warn</span><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000004' to 'comebacktoorigin=no' on org.asteriskjava.manager.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">response.GetConfigResponse: no setter. Please report at </span><a href="http://jira.reucon.org/browse/AJ" style="font-family: arial , sans-serif;font-size: 13.0px;" target="_blank">http://jira.reucon.org/browse/AJ</a><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">internal.Slf4JLogger warn</span><br style="font-family: arial , sans-serif;font-size: 13.0px;"/> <span style="font-family: arial , sans-serif;font-size: 13.0px;">13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000005' to 'parkedplay=both' on org.asteriskjava.manager.</span><span style="font-family: arial , sans-serif;font-size: 13.0px;">response.GetConfigResponse: no setter. Please report at </span><a href="http://jira.reucon.org/browse/AJ" style="font-family: arial , sans-serif;font-size: 13.0px;" target="_blank">http://jira.reucon.org/browse/AJ</a><br/> </div> <div> <br/> </div> <div> <br/> </div> <div style=""> I have seen older threads with this type of problem but it seemed like it was fixed. Any idea why I would dee this? I do not see it on Ubuntu or Windows systems. I was running OpenJDK on CentOS but removed it and also saw these issues with Oracle JRE 1.7 and JDK 1.7. </div> <div style=""> <br/> </div> <div style=""> Thanks, </div> <div style=""> <br/> </div> <div style=""> Greg </div> </div> </blockquote></div></body> </html> |
From: Greg H. <gre...@gm...> - 2013-07-03 01:25:33
|
I have an A-J server app that I am getting these errors on a CentOS 6.4 system: 13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.internal.Slf4JLogger warn 13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000006' to 'parkedcalltransfers=caller' on org.asteriskjava.manager.response.GetConfigResponse: no setter. Please report at http://jira.reucon.org/browse/AJ 13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.internal.Slf4JLogger warn 13-07-02 21:15:55|WARNING: Unable to set property 'category-000000' to 'general' on org.asteriskjava.manager.response.GetConfigResponse: no setter. Please report athttp://jira.reucon.org/browse/AJ 13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.internal.Slf4JLogger warn 13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000007' to 'parkedcallrepark=caller' on org.asteriskjava.manager.response.GetConfigResponse: no setter. Please report at http://jira.reucon.org/browse/AJ 13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.internal.Slf4JLogger warn 13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000004' to 'comebacktoorigin=no' on org.asteriskjava.manager.response.GetConfigResponse: no setter. Please report at http://jira.reucon.org/browse/AJ 13-07-02 21:15:55|Jul 02, 2013 9:15:55 PM org.asteriskjava.util.internal.Slf4JLogger warn 13-07-02 21:15:55|WARNING: Unable to set property 'line-000000-000005' to 'parkedplay=both' on org.asteriskjava.manager.response.GetConfigResponse: no setter. Please report at http://jira.reucon.org/browse/AJ I have seen older threads with this type of problem but it seemed like it was fixed. Any idea why I would dee this? I do not see it on Ubuntu or Windows systems. I was running OpenJDK on CentOS but removed it and also saw these issues with Oracle JRE 1.7 and JDK 1.7. Thanks, Greg |
From: Mordechay K. <mka...@gm...> - 2013-07-02 19:23:57
|
B.H. On Mon, Jul 1, 2013 at 11:09 AM, Rounak Saha <rou...@gm...> wrote: > Can you provide me the function to pass channel variables?Is it > setVariables(Map<String,String>)<http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/action/OriginateAction.html#setVariables(java.util.Map)> > ? > > This is what I am doing.My doubts are in red.Sorry for making it so > colourful. :-) > > JAVA CODE: > originateAction = new OriginateAction(); > originateAction.setChannel("dahdi/g0/01234567"); > originateAction.setContext("medicine"); > originateAction.setExten("s"); > originateAction.setPriority(1); > originateAction.setTimeout(30000l); > originateAction.setAsync(true); > // Here I want to send some values maybe 3 or 4. > originateAction.setVariable("var1", *value*); > > Extensions.conf > [medicine] > exten => s,1,Answer() > exten => s,n,AGI(agi://127.0.0.1/hello.agi) //How will I send the > values to my AGI? > exten => s,n,Hangup() > > AGI > public void service(AgiRequest request, AgiChannel channel) > throws AgiException > { > // How to obtain the value??channel.getVariable will work?? > } > > The variables you send using OriginateAction are normal channel variables. They are accessible from the dialplan or from AGI just like any other channel variable. > On Mon, Jul 1, 2013 at 3:24 AM, Mordechay Kaganer <mka...@gm...>wrote: > >> B.H. >> >> On Sat, Jun 29, 2013 at 11:02 AM, Rounak Saha <rou...@gm...>wrote: >> >>> To make a outbound call I have to use Manager AMI ri8?I cant use AGi? >>> >>> I am making a dynamic IVR . This(below) is what I am doing. >>> >>> I search my database,get a "phone number and filelocation of a song ". >>> Now I want to call that phone number and play the song; >>> >>> How to pass infromation (phonenumber and address where the song is) to >>> asterisk dynamically. >>> >>> >>> >> You can pass channel variables through OriginateAction - this way you can >> pass data from your java app to asterisk's dialplan. >> >> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> >> -- >> משיח NOW! >> Moshiach is coming very soon, prepare yourself! >> יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -- משיח NOW! Moshiach is coming very soon, prepare yourself! יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! |
From: Mohammad D. <mo...@gm...> - 2013-07-02 08:35:43
|
I think the answer to your first question is: originateAction.setVariable("variableName", value); On Mon, Jul 1, 2013 at 12:39 PM, Rounak Saha <rou...@gm...> wrote: > Can you provide me the function to pass channel variables?Is it > setVariables(Map<String,String>)<http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/action/OriginateAction.html#setVariables(java.util.Map)> > ? > > This is what I am doing.My doubts are in red.Sorry for making it so > colourful. :-) > > JAVA CODE: > originateAction = new OriginateAction(); > originateAction.setChannel("dahdi/g0/01234567"); > originateAction.setContext("medicine"); > originateAction.setExten("s"); > originateAction.setPriority(1); > originateAction.setTimeout(30000l); > originateAction.setAsync(true); > // Here I want to send some values maybe 3 or 4. > > Extensions.conf > [medicine] > exten => s,1,Answer() > exten => s,n,AGI(agi://127.0.0.1/hello.agi) //How will I send the > values to my AGI? > exten => s,n,Hangup() > > > AGI > public void service(AgiRequest request, AgiChannel channel) > throws AgiException > { > // How to obtain the value??channel.getVariable will work?? > } > > > > > > > > On Mon, Jul 1, 2013 at 3:24 AM, Mordechay Kaganer <mka...@gm...>wrote: > >> B.H. >> >> On Sat, Jun 29, 2013 at 11:02 AM, Rounak Saha <rou...@gm...>wrote: >> >>> To make a outbound call I have to use Manager AMI ri8?I cant use AGi? >>> >>> I am making a dynamic IVR . This(below) is what I am doing. >>> >>> I search my database,get a "phone number and filelocation of a song ". >>> Now I want to call that phone number and play the song; >>> >>> How to pass infromation (phonenumber and address where the song is) to >>> asterisk dynamically. >>> >>> >>> >> You can pass channel variables through OriginateAction - this way you can >> pass data from your java app to asterisk's dialplan. >> >> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Windows: >>> >>> Build for Windows Store. >>> >>> http://p.sf.net/sfu/windows-dev2dev >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> >> -- >> משיח NOW! >> Moshiach is coming very soon, prepare yourself! >> יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: matthieu h. <mat...@gm...> - 2013-07-02 07:38:02
|
Hi all, I am working with an Asterisk 11.2 and Asterisk-java1.0.0.0. When I send an AgiAction to the channel SIP/1002-xxxxxxxx.. to answer I have this WARNING. [Jul 2 00:21:23] WARNING[6570]: res_agi.c:1038 add_agi_cmd: Channel SIP/1002-00000045 is not setup for Async AGI. I config my manager to read and write agi. SIP/1002 is in sip.conf: [1002] type=friend username=1002 secret=1002 callerid="avrel" host=dynamic registertrying=yes canreinvite=no directrtpsetup=yes directmedia=yes How setup a channel to receive AgiAction? Thanks for you response, Matthieu |
From: Rounak S. <rou...@gm...> - 2013-07-01 08:09:40
|
Can you provide me the function to pass channel variables?Is it setVariables(Map<String,String>)<http://www.asterisk-java.org/development/apidocs/org/asteriskjava/manager/action/OriginateAction.html#setVariables(java.util.Map)> ? This is what I am doing.My doubts are in red.Sorry for making it so colourful. :-) JAVA CODE: originateAction = new OriginateAction(); originateAction.setChannel("dahdi/g0/01234567"); originateAction.setContext("medicine"); originateAction.setExten("s"); originateAction.setPriority(1); originateAction.setTimeout(30000l); originateAction.setAsync(true); // Here I want to send some values maybe 3 or 4. Extensions.conf [medicine] exten => s,1,Answer() exten => s,n,AGI(agi://127.0.0.1/hello.agi) //How will I send the values to my AGI? exten => s,n,Hangup() AGI public void service(AgiRequest request, AgiChannel channel) throws AgiException { // How to obtain the value??channel.getVariable will work?? } On Mon, Jul 1, 2013 at 3:24 AM, Mordechay Kaganer <mka...@gm...>wrote: > B.H. > > On Sat, Jun 29, 2013 at 11:02 AM, Rounak Saha <rou...@gm...>wrote: > >> To make a outbound call I have to use Manager AMI ri8?I cant use AGi? >> >> I am making a dynamic IVR . This(below) is what I am doing. >> >> I search my database,get a "phone number and filelocation of a song ". >> Now I want to call that phone number and play the song; >> >> How to pass infromation (phonenumber and address where the song is) to >> asterisk dynamically. >> >> >> > You can pass channel variables through OriginateAction - this way you can > pass data from your java app to asterisk's dialplan. > > >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Windows: >> >> Build for Windows Store. >> >> http://p.sf.net/sfu/windows-dev2dev >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > > -- > משיח NOW! > Moshiach is coming very soon, prepare yourself! > יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Mordechay K. <mka...@gm...> - 2013-06-30 21:54:37
|
B.H. On Sat, Jun 29, 2013 at 11:02 AM, Rounak Saha <rou...@gm...>wrote: > To make a outbound call I have to use Manager AMI ri8?I cant use AGi? > > I am making a dynamic IVR . This(below) is what I am doing. > > I search my database,get a "phone number and filelocation of a song ". > Now I want to call that phone number and play the song; > > How to pass infromation (phonenumber and address where the song is) to > asterisk dynamically. > > > You can pass channel variables through OriginateAction - this way you can pass data from your java app to asterisk's dialplan. > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -- משיח NOW! Moshiach is coming very soon, prepare yourself! יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד! |
From: Rounak S. <rou...@gm...> - 2013-06-29 08:03:07
|
To make a outbound call I have to use Manager AMI ri8?I cant use AGi? I am making a dynamic IVR . This(below) is what I am doing. I search my database,get a "phone number and filelocation of a song ". Now I want to call that phone number and play the song; How to pass infromation (phonenumber and address where the song is) to asterisk dynamically. |
From: Mumuney A. <abd...@go...> - 2013-06-28 09:45:16
|
Hi all, I am on a project and we are leveraging the vert.x http://vertx.io/ project for easy scallabilty. However we need to use asterisk-java. My concern is asterisk-java already is a server that you run. I will like to use vert.x for this part because their approach to scallabilitiy and clustering is easy and understandable. My question is, Is it easy to use asterisk java in this way, that is allowing vert.x to handle the socket connections. What packages do I need to strip out. Or what considerations am I to make. Regards. |
From: Chris M. <ch...@mr...> - 2013-06-25 12:15:19
|
Usually sip clients are set to accept auto answer in their config, then u can do a SIPAddHeader in the dialplan with relevant auto answer stuff. Check VoIP info website for examples, might be a limitation of x-lite On Jun 25, 2013 8:48 PM, "bahitta" <k.b...@gm...> wrote: > > Hello, > > I'm using xLite, I know I can turn on the auto answer by [AA] button on the > phone skin > > Does anybody know if I can force xlite turn on auto answer by sending some > type of sip header from Server. > > I will be appreciated for any kind of help > > Thank you > -- > View this message in context: > http://old.nabble.com/force-X-lite-to-auto-answer-tp35663544p35663544.html > Sent from the Asterisk-Java Users mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: bahitta <k.b...@gm...> - 2013-06-25 10:44:52
|
Hello, I'm using xLite, I know I can turn on the auto answer by [AA] button on the phone skin Does anybody know if I can force xlite turn on auto answer by sending some type of sip header from Server. I will be appreciated for any kind of help Thank you -- View this message in context: http://old.nabble.com/force-X-lite-to-auto-answer-tp35663544p35663544.html Sent from the Asterisk-Java Users mailing list archive at Nabble.com. |
From: matthieu h. <mat...@gm...> - 2013-06-21 15:18:46
|
Hi all, I am using asterisk-java 1.0.0. with asterisk11.2.1. I want to hook of a channel wit a manager Action. I try to use AgiAction( channel, answer) but when I send this action to asterisk I have this error. [Jun 21 08:17:04] WARNING[18742]: res_agi.c:1038 add_agi_cmd: Channel SIP/1002-00000006 is not setup for Async AGI. -- Stopped music on hold on SIP/1001-00000005 == Spawn extension (default, support, 2) exited non-zero on 'SIP/1001-00000005 How to do to setup the channem for Async AGI?? Thanks for your help, Regards, Matthieu |
From: Daniele R. <dan...@gm...> - 2013-06-18 13:46:48
|
Hi, I'm doing a particular thing with Asterisk-Java. I'm do an automatic call as this: if (asteriskServer.getManagerConnection().getState() == ManagerConnectionState.CONNECTED) { OriginateAction action = createAction(telefonata); action.setActionId("" + telefonata.getId()); try { telefonata.onCreate(); asteriskServer.originateAsync(action, new MyOriginateCallback(telefonata)); } catch (ManagerCommunicationException e) { log.error(telefonata.getId() + " ha generato un errore", e); telefonata.onFailure(); } } I've a my originatecallback that update the status of the call: channel.addPropertyChangeListener(new PropertyChangeListener() { @Override public void propertyChange(PropertyChangeEvent evt) { if (evt.getSource() instanceof AsteriskChannel) { if (channel.getState() == ChannelState.HUNGUP) { .. .. when the calls is originated it go to this dialplan: [test] exten => s,1,Set(dir=test) exten => s,n,Answer() exten => s,n(inizio),Background(custom/${dir}/intro) exten => s,n,WaitExten(10) exten => 3,1,Playback(custom//trasferimento) exten => 3,n,Goto(3902123456,1) exten => 3,n,Hangup() exten =>_X.,1,Dial(SIP/provider/3902123456) exten =>_X.,n(hangup),Hangup() So the call go to the user, the user respond and then when he press the key 3 the call should be transfer. All works fine but unfortunally the original call don't receive the HANGUP event. So in my app the call remains in the DIALING state. Instead if the user don't press the key the HANGUP event arrives correctly. I'm doing something wrong? Thanks -- Daniele Renda |
From: matthieu h. <mat...@gm...> - 2013-06-17 13:10:54
|
Hi all, I am using asterisk 11.2.1 and asterisk-java1.0.0. I am trying to picking up a phone with a manager action. I have tried to do this using a bridge Action but it does not work. When I dial a number, the second phone ring but when I send the bridge action I have this error: == Spawn extension (default, 154415789, 3) exited non-zero on 'Bridge/SIP/1001-00000022<ZOMBIE>' [Jun 17 05:17:37] WARNING[3732]: channel.c:6222 __ast_channel_masquerade: Can't setup masquerade. One or both channels is dead. (Bridge/SIP/1002-00000023 <-- SIP/1002-00000023) SIP/1001 is the caller Channel and SIP/1002-00000023 is the agent Channel. Is bridge action should not be used? What is the good action to picking up a phone(a channel) with a manager connection? Thank you for your help Kind Regards, Matthieu |
From: Mohammad D. <mo...@gm...> - 2013-06-16 20:24:52
|
Hi Is there a command for barging a channel in asterisk-java? I looked up asterisk-java help and could not find any command for barge or ChanSpy |
From: Rounak S. <rou...@gm...> - 2013-06-13 10:03:40
|
Hii, yes I want to call the party and play a sound but the sound varies for different party. -If you want to make all fully automagic system... you have to create some kind of dialer, use TTS and some other enhanced techniques. Not to hard to do, but maybe to difficult for a novice... yes I am aware that I will have to use TTS and other enhanced technique.I could not get that "you have to create a dialer"? In my system patient can call system and get redirected to java program using agi , get information about health,bills etc (this will be conveyed using tts). Moreover I am creating another program using java manager AMI(my mentor suggested me to use this) where hospital can call every patient from database and play voice file which is different for different patients. originateAction = new OriginateAction(); originateAction.setChannel("dahdi/g0/01234567"); As I have to dial 01234567 I doubt if setting channel to dahdi/go/01234567 will call 01234567.Will it? originateAction.setContext("medicine"); originateAction.setExten("s"); originateAction.setPriority(1); originateAction.setTimeout(30000l); originateAction.setAsync(true); and have the following context in your asterisk: [medicine] exten => s,1,Answer() exten => s,n,*Playback(your voicefile goes here)* exten => s,n,Hangup() How will I change the filename under Playback?.Therefore I need some variable that can be used through manager AMI. As I want to call many patients at a time I also cant replace the file to other each time but under same name. This idea come to my mind.Is it good?Is there any better way? [medicine] exten=>_XX,1,Answer() same=>n,Playback(${EXTEN}) same=>n,Hangup(); And I will store file name in that format from java accordingly. Please let me know if there is any better way. Moreover how many call can I make together in asterisk? Thanks fro helping me. On Thu, Jun 13, 2013 at 2:43 PM, Yves A. <yv...@gm...> wrote: > > > pls. see inline. > > regards, > yves > > Am 13.06.2013 10:44, schrieb Rounak Saha: > > Hii yves, > Sorry am new to Asterisk and Asterisk-java. > > > dont worry, we all have been beginners someday.. > > > > just after posting I realised that I havenot set the channel correct and > have not send it through manager connection. > I guessed it should be setChannel("incoming-call").But now it seems its > incorrect. > > > unfortunately not... "incoming-call" is one of your contexts. > > > > Actually I am working under a software for Hospital where I have to call > patients(as max as possible at a time) and remind them to take > medicine.Numbers and medicine to take will be extracted from hospital > Database > If you can suggest a good way to do it,then it will be great > > > this is too little info to make a qualified suggestion... If you want to > make all fully automagic system... you have to create some kind of dialer, > use TTS and some other enhanced techniques. > Not to hard to do, but maybe to difficult for a novice... > > > What I though of doing was: > > [incoming-call] > exten,300,1,Answer() > same=>n,Dial(DAHDI/GO/${number}) where number will be set using AMI > under a for loop,each time changing the number value. > > > > Now I am just testing the various commands in Asterisk-Java. > > This works fine in asterisk though. > > *[incoming-call]* > exten=>300,1,Answer() > same=>n,Set(number="incoming-call,301,1") > same=>n,Goto(${number}) > > exten=>301,1,Playback(b) > > So is there not a way to set variable in context? > I tried originateAction.setvariable("number",""value") but it didnot work > also.Whats the use of originateAction.setVariable command then? > > > A call usually has two channels involved... with setVariable you set the > variable on the first (initiating) channel. If you need to access these > variables > on the second channel, you must go another way. But again... you´re trying > the wrong approach. This way you would connect the extension 300 with > the dialled party, but as far as I understood, you want to call the party > and play a soundfile...? > Lets say you want to call 01-234567 and play the voicefile after pickup... > try this: > > originateAction = new OriginateAction(); > originateAction.setChannel("dahdi/g0/01234567"); > originateAction.setContext("medicine"); > originateAction.setExten("s"); > originateAction.setPriority(1); > originateAction.setTimeout(30000l); > originateAction.setAsync(true); > > and have the following context in your asterisk: > > [medicine] > exten => s,1,Answer() > exten => s,n,Playback(your voicefile goes here) > exten => s,n,Hangup() > > > > > - for these kind of experiments I´d recommend using an AGI... > As directed from my mentor(am doing GSOC http://www.google-melange.com/) > I can use AMI only. > > Please help. > > >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > http://p.sf.net/sfu/windows-dev2dev > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Yves A. <yv...@gm...> - 2013-06-13 09:14:32
|
pls. see inline. regards, yves Am 13.06.2013 10:44, schrieb Rounak Saha: > Hii yves, > Sorry am new to Asterisk and Asterisk-java. dont worry, we all have been beginners someday.. > > just after posting I realised that I havenot set the channel correct > and have not send it through manager connection. > I guessed it should be setChannel("incoming-call").But now it seems > its incorrect. unfortunately not... "incoming-call" is one of your contexts. > > Actually I am working under a software for Hospital where I have to > call patients(as max as possible at a time) and remind them to take > medicine.Numbers and medicine to take will be extracted from hospital > Database > If you can suggest a good way to do it,then it will be great this is too little info to make a qualified suggestion... If you want to make all fully automagic system... you have to create some kind of dialer, use TTS and some other enhanced techniques. Not to hard to do, but maybe to difficult for a novice... > > What I though of doing was: > > [incoming-call] > exten,300,1,Answer() > same=>n,Dial(DAHDI/GO/${number}) where number will be set using AMI > under a for loop,each time changing the number value. > > Now I am just testing the various commands in Asterisk-Java. > > This works fine in asterisk though. > > *[incoming-call]* > exten=>300,1,Answer() > same=>n,Set(number="incoming-call,301,1") > same=>n,Goto(${number}) > exten=>301,1,Playback(b) > > So is there not a way to set variable in context? > I tried originateAction.setvariable("number",""value") but it didnot > work also.Whats the use of originateAction.setVariable command then? A call usually has two channels involved... with setVariable you set the variable on the first (initiating) channel. If you need to access these variables on the second channel, you must go another way. But again... you´re trying the wrong approach. This way you would connect the extension 300 with the dialled party, but as far as I understood, you want to call the party and play a soundfile...? Lets say you want to call 01-234567 and play the voicefile after pickup... try this: originateAction = new OriginateAction(); originateAction.setChannel("dahdi/g0/01234567"); originateAction.setContext("medicine"); originateAction.setExten("s"); originateAction.setPriority(1); originateAction.setTimeout(30000l); originateAction.setAsync(true); and have the following context in your asterisk: [medicine] exten => s,1,Answer() exten => s,n,Playback(your voicefile goes here) exten => s,n,Hangup() > > - for these kind of experiments I´d recommend using an AGI... > As directed from my mentor(am doing GSOC > http://www.google-melange.com/) I can use AMI only. > > Please help. > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Rounak S. <rou...@gm...> - 2013-06-13 08:44:10
|
Hii yves, Sorry am new to Asterisk and Asterisk-java. just after posting I realised that I havenot set the channel correct and have not send it through manager connection. I guessed it should be setChannel("incoming-call").But now it seems its incorrect. Actually I am working under a software for Hospital where I have to call patients(as max as possible at a time) and remind them to take medicine.Numbers and medicine to take will be extracted from hospital Database If you can suggest a good way to do it,then it will be great What I though of doing was: [incoming-call] exten,300,1,Answer() same=>n,Dial(DAHDI/GO/${number}) where number will be set using AMI under a for loop,each time changing the number value. Now I am just testing the various commands in Asterisk-Java. This works fine in asterisk though. *[incoming-call]* exten=>300,1,Answer() same=>n,Set(number="incoming-call,301,1") same=>n,Goto(${number}) exten=>301,1,Playback(b) So is there not a way to set variable in context? I tried originateAction.setvariable("number",""value") but it didnot work also.Whats the use of originateAction.setVariable command then? - for these kind of experiments I´d recommend using an AGI... As directed from my mentor(am doing GSOC http://www.google-melange.com/) I can use AMI only. Please help. > |
From: Yves A. <yv...@gm...> - 2013-06-13 07:01:03
|
Hi, it seems, you are at the very beginning of your AJ-experiments have some misunderstandings concerning asterisk and asterisk-java. Jumping in in the dialplan just cannot be done this way... instantiating a SetVarAction Object only does not help at all... the action has to be "fired" anyhow... but even if you would have done, it would not have the desired result. - If you want your call to move from ext. 300 to ext. 301 you have to make a transfer. - The "Channel" asterisk uses during a call is not equal to the name of the registered SIP device... if may be a part of it though... so addressing the channel "1000abc" makes no sense, because this channel will never exist... - instead using "Long.valueOf(30000)" you can optimize your code and just write "30000l" (a small letter L after the numbers) - for these kind of experiments I´d recommend using an AGI... yves Am 13.06.2013 08:30, schrieb Rounak Saha: > Hi, > I am using setVarAction command in my Hello manager(given in tutorial) > class to set variable in a context(incoming-call) > variable="context,extension,priority" > i.e number="incoming-call,301,1" > * > * > *Extensions.conf* > [incoming-call] > exten=>300,1,Answer() > same=>n,Goto(${number}) > > exten=>301,1,Playback(/home/atul/Desktop/b) > same=>n,Hangup() > > *Sip.conf* > [1000abc] > type=peer > nat=yes > qualify=no > allow=all > udpbindaddr=0.0.0.0 > bindaddr=0.0.0.0 > secret=mysecret > host=dynamic > context=incoming-call > > *Java Program* > { > OriginateAction originateAction; > SetVarAction setVarAction=new SetVarAction(); > ManagerResponse originateResponse; > managerConnection.login(); > String sip="SIP/1000abc";String context="incoming-call"; > s*etVarAction.setChannel("SIP/1000abc");* > * setVarAction.setVariable("number");* > *setVarAction.setValue("incoming-call,301,1");* > ** > originateAction = new OriginateAction(); > originateAction.setChannel(sip); > originateAction.setContext(context); > originateAction.setExten("300"); > originateAction.setPriority(new Integer(1)); > originateAction.setTimeout(Long.valueOf(30000)); > originateAction.setAsync(true); > originateResponse = > managerConnection.sendAction(originateAction,10000); > managerConnection.logoff(); > } > Error:WARNING[5345]: pbx.c:10560 pbx_parseable_goto: Goto requires an > argument ([[context,]extension,]priority) > == Spawn extension (incoming-call, 300, 2) exited non-zero on > 'SIP/1000abc-00000000' > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Rounak S. <rou...@gm...> - 2013-06-13 06:30:38
|
Hi, I am using setVarAction command in my Hello manager(given in tutorial) class to set variable in a context(incoming-call) variable="context,extension,priority" i.e number="incoming-call,301,1" * * *Extensions.conf* [incoming-call] exten=>300,1,Answer() same=>n,Goto(${number}) exten=>301,1,Playback(/home/atul/Desktop/b) same=>n,Hangup() *Sip.conf* [1000abc] type=peer nat=yes qualify=no allow=all udpbindaddr=0.0.0.0 bindaddr=0.0.0.0 secret=mysecret host=dynamic context=incoming-call *Java Program* { OriginateAction originateAction; SetVarAction setVarAction=new SetVarAction(); ManagerResponse originateResponse; managerConnection.login(); String sip="SIP/1000abc";String context="incoming-call"; s*etVarAction.setChannel("SIP/1000abc");* * setVarAction.setVariable("number");* * setVarAction.setValue("incoming-call,301,1");* * * originateAction = new OriginateAction(); originateAction.setChannel(sip); originateAction.setContext(context); originateAction.setExten("300"); originateAction.setPriority(new Integer(1)); originateAction.setTimeout(Long.valueOf(30000)); originateAction.setAsync(true); originateResponse = managerConnection.sendAction(originateAction,10000); managerConnection.logoff(); } Error:WARNING[5345]: pbx.c:10560 pbx_parseable_goto: Goto requires an argument ([[context,]extension,]priority) == Spawn extension (incoming-call, 300, 2) exited non-zero on 'SIP/1000abc-00000000' |