asterisk-java-devel Mailing List for Asterisk-Java Library (Page 17)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(8) |
Jul
(3) |
Aug
(6) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(8) |
Feb
(6) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(17) |
Aug
(21) |
Sep
(2) |
Oct
(7) |
Nov
(8) |
Dec
(12) |
2007 |
Jan
(10) |
Feb
(19) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(6) |
Nov
(1) |
Dec
(5) |
2008 |
Jan
(12) |
Feb
(15) |
Mar
(18) |
Apr
(34) |
May
(3) |
Jun
(34) |
Jul
(5) |
Aug
(1) |
Sep
(8) |
Oct
|
Nov
(2) |
Dec
(2) |
2009 |
Jan
(8) |
Feb
(2) |
Mar
(35) |
Apr
(16) |
May
(11) |
Jun
(2) |
Jul
(6) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(4) |
Dec
|
2010 |
Jan
(43) |
Feb
(15) |
Mar
(1) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(2) |
Mar
(9) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2012 |
Jan
(9) |
Feb
(2) |
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(10) |
Nov
(10) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
|
2014 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(11) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
(7) |
Apr
(39) |
May
(18) |
Jun
(6) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(9) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pau T. C. <pta...@ru...> - 2008-06-03 11:19:34
|
El Tuesday 03 June 2008 12:24:59 Pau Tallada Crespí va escriure: > Hi! > > I've implemented QueueMemberAdded and QueueMemberRemoved events as > AsteriskQueueListener events. This is required for live API in order to > catch dynamically added/removed members. > > Attached is the tiny diff with the changes. > Don't hesitate to ask me any questions. > > Please, feel free to merge with upstream if you find it useful. > > Thanks! Sorry, I attached an invalid diff file. Attached is the correct one. Thanks! -- Pau Tallada Crespí RunSolutions Open Source IT Consulting |
From: Pau T. C. <pta...@ru...> - 2008-06-03 10:33:18
|
Hi! I've implemented QueueMemberAdded and QueueMemberRemoved events as AsteriskQueueListener events. This is required for live API in order to catch dynamically added/removed members. Attached is the tiny diff with the changes. Don't hesitate to ask me any questions. Please, feel free to merge with upstream if you find it useful. Thanks! -- Pau Tallada Crespí RunSolutions Open Source IT Consulting |
From: Sourabh R. J. <sou...@im...> - 2008-06-03 06:48:32
|
Hi, Can someone help me in finding the solution of the below problem? I am referring asterisk-java-1.0 API and asterisk-1.6 version. Problem statement My Java application (using manager connection of asterisk-java) is trying to make a outbound call to an agent say 'x'. Now when 'x' picked the call application received the "NewChannelEvent", but, there is no way application can identify for whom this event belongs (caller-id is blocked or not set) Work around on some possible solution 1. On reading the asterisk-java API docs, it suggests that unique-id is return for OriginateAction response. I tried to connect to an extension using the synchronous OriginateAction call. But, in response for the above action, the getUniqueId<http://asterisk-java.org/development/apidocs/org/asteriskjava/manager/response/ManagerResponse.html#getUniqueId()>()is returning null. * Is this the flaw with the asterisk server or the library is not able to receive the unique-id -? * Does it work with the older version of asterisk and asterisk-java library-? 2. Alternatively, I can think of setting some variables while originating the action. * But, asterisk-java-1.0 library doesn’t support the VarSet event sent by asterisk server. * Is there any plan to change/upgrade the library for the same? I appreciate, if anyone can suggest some way around to crack the problem. Thanks & Regards, Sourabh Jain | Senior Software Engineer | Impetus InfoTech ( India) Pvt. Ltd. (M) +919926083810 (O) +917314269259 |
From: Charles V C. <cha...@gm...> - 2008-05-30 11:28:25
|
<http://www.batchmates.com/images07/bmlogo_125.gif> _____ Hey Buddy, Have you discovered the whole new world of fun @ Batchmates.com? Well, I have, and its quite an experience. Getting in touch with my old pals, creating my own gang of friends, sharing pics with my pals, sending cool ecards, joining the latest gossip at Batchmates Blog... there's a whole lot to enjoy and experience at Batchmates.com! What's more, you can win fabulous prizes like iPod Nano and trendy mobile phones just by inviting your friends. Networking was never more fun without Batchmates.com! Click on the link below to join Batchmates.com and be a part of the fun ride. http://www.batchmates.com/MGMhome.asp?RefCode=1992594&email=asterisk-jav a-...@li...&fname=ast...@li...urceforg e.net So what are you waiting for... come and join me in the fun... let's have a blast together!!! See you there soon! Charles Prefer not to receive invitations from Batchmates members? Block future invitations <http://www.batchmates.com/invitationsubs.asp?email=he...@hh...> <http://www.batchmates.com/or.asp?m_id=64&m_no=20080530&memcode=1992594> |
From: charles c. <ch...@se...> - 2008-05-29 07:04:48
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <table align="center" width="530" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="10" height="10" bgcolor="#D1ECFF"><img src="http://www.buddytv.com/images/cornersLightBlueL.gif" width="10" height="10" /></td> <td width="510" bgcolor="#D1ECFF"></td> <td width="10" bgcolor="#D1ECFF"><img src="http://www.buddytv.com/images/cornersLightBlueR.gif" width="10" height="10" /></td> </tr> <tr> <td height="355" bgcolor="#D1ECFF"></td> <td valign="top" bgcolor="#D1ECFF" style="padding:20px"> <table height="355" width="100%"> <tr> <td> <font face="Arial, Helvetica, sans-serif" size="2"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"> <a href="http://www.buddytv.com/register.aspx?cf=1048585&referer=2311592&name=Aparna&email=ast...@li...&correlator=2010928208"><img src="http://www.buddytv.com/images/email_btvlogosm.jpg" alt="BuddyTV" width="78" height="50" align="absmiddle" border="0" /></a> <strong><font size="5" face="arial,helvetica,sans-serif"> You got a gift from charles chandran </font></strong> </td> </tr> <tr> <td colspan="2" height="1" bgcolor="#fab025"></td> </tr> <tr> <td height="150"> <center> <img src="http://www.buddytv.com/images/email_bluegift.jpg" width="103" height="103" /> </center> </td> <td> <center> <a href="http://www.buddytv.com/register.aspx?cf=1048585&referer=2311592&name=Aparna&email=ast...@li...&correlator=2010928208"><img src="http://www.buddytv.com/images/email_btn_getyourgift.jpg" alt="Get Your Gift" width="189" height="55" border="0" /></a> <br /> <font size="2" face="arial,helvetica,sans-serif"> <a href="http://www.buddytv.com/register.aspx?cf=1048585&referer=2311592&name=Aparna&email=ast...@li...&correlator=2010928208">Find out what you got by clicking the button.</a> </font> </center> </td> </tr> <tr> <td colspan="2">Come check out the shows I love and see if we have any in common. Or just get the latest inside scoop on your own favorite shows.</td> </tr> <tr> <td nowrap colspan="2"> <br /><br /> <font face="Arial, Helvetica, sans-serif" size="-2" color="gray"> This email was sent to ast...@li... at the request of charles chandran. <br /> If you would rather not receive emails from us, please <a href="http://www.buddytv.com/unsubscribe.aspx?cf=1048585&c=y9dVNFOt%2flDQpnzKBnhxUfCz4Cxk99pKT4S39a4eU7GeLYjheGHlKGlpq0b3mcleqS1ni2OsKbaTUaX6yc56XYySGrISnhzu">cick here.</a> <br /><br /> Ac 2008 BuddyTV.com, inc.<br /> BuddyTV, 190 Queen Anne Avenue, Suite 280, Seattle, WA 98119. Tel. 206.859.4180 </font> </td> </tr> </table> </body> </html> </font> <td> </tr> <tr valign="bottom"> <td> <font face="Arial, Helvetica, sans-serif" size="2"> <a href="http://www.buddytv.com"><img src="http://www.buddytv.com/articles/buddytv_logoblue.jpg" alt="BuddyTV" width="115" height="87" border="0" align="right" /></a>See you soon at BuddyTV!<br /> <br /> <br /> -The BuddyTV Team <br /> <br /> </font> </td> </tr> </table> </td> <td bgcolor="#D1ECFF"></td> </tr> <tr> <td height="10" bgcolor="#D1ECFF"><img src="http://www.buddytv.com/images/cornersLightBlueBL.gif" width="10" height="10" /></td> <td bgcolor="#D1ECFF"></td> <td bgcolor="#D1ECFF"><img src="http://www.buddytv.com/images/cornersLightBlueBR.gif" width="10" height="10" /></td> </tr> </table><img width=1 height=1 src="http://www.buddytv.com/images/email/6c6f73444732667363502b45714866634745484e72413d3d.aspx"> |
From: Martin B. S. <ma...@mb...> - 2008-05-14 01:37:22
|
Hello all, I've posted a new blog entry at Asterisk-Java.org titled, "Visualizing your dialplan with a graph." It has some examples of using the dialplan.* classes I've added on top of Stefan's config.* classes. It also has a Java web start demo if you have your extensions.conf file handy. I'd love to see what sorts of structures people have, if anyone would be willing to post an image to the list, and I'm also interested in any bugs you might find. Eventually, I could see a visualization application that could be pointed at a live Asterisk 1.4+ server, and use the GetConfig action, along with Manager events, to show the dialplan and then animate it as events go through the dialplan (NewExten, etc). Curious for your feedback (and to see what your dialplan network graphs look like), Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 |
From: Sourabh R. J. <sou...@im...> - 2008-04-24 09:26:05
|
Hi Stefan, Below mail is related with the timeout when using Meetme feature of asterisk1.6. There is one parameters “schedule” in the meetme.conf is set to yes, the application by default sets up conferences for only 60 seconds even its hold true for the dynamic conference. So, setting it "schedule=no" in meetme.conf file help us to get rid from the issue. Sharing it, so that others can get benefit of it. ________________________________________ From: ast...@li... [ast...@li...] On Behalf Of Stefan Reuter [ste...@re...] Sent: Wednesday, April 23, 2008 5:03 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility Sourabh R. Jain wrote: > o > We are getting TimeoutException on asterisk-java, when we > send some actions from our asterisk-java program. though the > actions are executed successfully on asterisk. (e.g SetVar() > action) Does that happen with all actions or only with a few? Does it also happen when you run your Asterisk-Java app and Asterisk on the same server? > o > We are not getting the Hold/UnHold events on the > asterisk-Java when a phone call goes on Hold/UnHold Make sure the section of your user in manager.conf contains read=all write=all Example: [general] enabled = yes port = 5038 [manager] secret=pa55w0rd read=all write=all > * > Is there any compatibility issues with the asterisk-java 1.0 with > Asterisk 1.6 > o > as both are in beta releases, so can any one do let us know > when these will be available with their final releases I can only speak for Asterisk-Java. It's 1.0.0 release will be available after Asterisk 1.6 has been released. > We use MeetMe feature to create the conference of users > o > We were able to create the conference between the users, but > when users joins the conference, after some time > asterisk automatically hang-up all the connected users. This seems to be more of an Asterisk issue than an Asterisk-Java one. I have not yet tested MeetMe in 1.6 extensivly. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Sourabh R. J. <sou...@im...> - 2008-04-24 09:20:21
|
Hi Stefan, We also try to put hold/unhold using X-lite. But, even we were unable to capture the events. ________________________________________ From: ast...@li... [ast...@li...] On Behalf Of Stefan Reuter [ste...@re...] Sent: Wednesday, April 23, 2008 3:23 PM To: ast...@li... Subject: Re: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility Sourabh R. Jain wrote: > exten => 2003,n,MusicOnHold(default) The Hold event is to detect native on hold status, i.e. when you press the hold button on your sip phone, not for the MusicOnHold application which just plays some music to the users. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Stefan R. <ste...@re...> - 2008-04-23 09:53:56
|
Sourabh R. Jain wrote: > exten => 2003,n,MusicOnHold(default) The Hold event is to detect native on hold status, i.e. when you press the hold button on your sip phone, not for the MusicOnHold application which just plays some music to the users. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Sourabh R. J. <sou...@im...> - 2008-04-23 08:24:11
|
oops!! missed to attached the Java file. ________________________________________ From: Sourabh R. Jain Sent: Wednesday, April 23, 2008 1:52 PM To: ast...@li... Cc: Sourabh R. Jain Subject: RE: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility Hi Stefan, Thanks for the prompt reply. Regarding, not getting the hold/un-hold event, we have already given all the rights to manager user (read/write) in the manager.conf file. Below is the excerpt from the manager.conf file that we are using currently Manager.conf =================================== [manager] secret = qwe permit=0.0.0.0/0.0.0.0 read=system,call,log,verbose,command,agent,user,config,originate,all write=system,call,log,verbose,command,agent,user,config,originate,all =================================== For your reference, the code snippet is like Java Code Snippet ================ ManagerConnectionFactory factory = new ManagerConnectionFactory("ape11", 5038, "manager", "qwe") this.managerConnection = factory.createManagerConnection(); managerConnection.addEventListener(this); managerConnection.login(); ================ Also, attached the Java program with this mail - To go through how we put a custmer on hold/un-hold Following is the few lines from dial-plan, written in extension.conf file to place a user on hold. To unhold we swicth the user to some other context Extension.conf ============================ exten => 2003,1,Answer() exten => 2003,n,Wait(2) exten => 2003,n,MusicOnHold(default) =========================== It will be great help if we can hear something from you on the above issue. Also, your suggestion to correct/improve the above scenario is welcome. Regards, Sourabh Jain Senior Software Engineer | Impetus infotech pvt. ltd. ________________________________________ From: ast...@li... [ast...@li...] On Behalf Of Stefan Reuter [ste...@re...] Sent: Wednesday, April 23, 2008 5:03 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility Sourabh R. Jain wrote: > o > We are getting TimeoutException on asterisk-java, when we > send some actions from our asterisk-java program. though the > actions are executed successfully on asterisk. (e.g SetVar() > action) Does that happen with all actions or only with a few? Does it also happen when you run your Asterisk-Java app and Asterisk on the same server? > o > We are not getting the Hold/UnHold events on the > asterisk-Java when a phone call goes on Hold/UnHold Make sure the section of your user in manager.conf contains read=all write=all Example: [general] enabled = yes port = 5038 [manager] secret=pa55w0rd read=all write=all > * > Is there any compatibility issues with the asterisk-java 1.0 with > Asterisk 1.6 > o > as both are in beta releases, so can any one do let us know > when these will be available with their final releases I can only speak for Asterisk-Java. It's 1.0.0 release will be available after Asterisk 1.6 has been released. > We use MeetMe feature to create the conference of users > o > We were able to create the conference between the users, but > when users joins the conference, after some time > asterisk automatically hang-up all the connected users. This seems to be more of an Asterisk issue than an Asterisk-Java one. I have not yet tested MeetMe in 1.6 extensivly. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Sourabh R. J. <sou...@im...> - 2008-04-23 08:23:03
|
Hi Stefan, Thanks for the prompt reply. Regarding, not getting the hold/un-hold event, we have already given all the rights to manager user (read/write) in the manager.conf file. Below is the excerpt from the manager.conf file that we are using currently Manager.conf =================================== [manager] secret = qwe permit=0.0.0.0/0.0.0.0 read=system,call,log,verbose,command,agent,user,config,originate,all write=system,call,log,verbose,command,agent,user,config,originate,all =================================== For your reference, the code snippet is like Java Code Snippet ================ ManagerConnectionFactory factory = new ManagerConnectionFactory("ape11", 5038, "manager", "qwe") this.managerConnection = factory.createManagerConnection(); managerConnection.addEventListener(this); managerConnection.login(); ================ Also, attached the Java program with this mail - To go through how we put a custmer on hold/un-hold Following is the few lines from dial-plan, written in extension.conf file to place a user on hold. To unhold we swicth the user to some other context Extension.conf ============================ exten => 2003,1,Answer() exten => 2003,n,Wait(2) exten => 2003,n,MusicOnHold(default) =========================== It will be great help if we can hear something from you on the above issue. Also, your suggestion to correct/improve the above scenario is welcome. Regards, Sourabh Jain Senior Software Engineer | Impetus infotech pvt. ltd. ________________________________________ From: ast...@li... [ast...@li...] On Behalf Of Stefan Reuter [ste...@re...] Sent: Wednesday, April 23, 2008 5:03 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility Sourabh R. Jain wrote: > o > We are getting TimeoutException on asterisk-java, when we > send some actions from our asterisk-java program. though the > actions are executed successfully on asterisk. (e.g SetVar() > action) Does that happen with all actions or only with a few? Does it also happen when you run your Asterisk-Java app and Asterisk on the same server? > o > We are not getting the Hold/UnHold events on the > asterisk-Java when a phone call goes on Hold/UnHold Make sure the section of your user in manager.conf contains read=all write=all Example: [general] enabled = yes port = 5038 [manager] secret=pa55w0rd read=all write=all > * > Is there any compatibility issues with the asterisk-java 1.0 with > Asterisk 1.6 > o > as both are in beta releases, so can any one do let us know > when these will be available with their final releases I can only speak for Asterisk-Java. It's 1.0.0 release will be available after Asterisk 1.6 has been released. > We use MeetMe feature to create the conference of users > o > We were able to create the conference between the users, but > when users joins the conference, after some time > asterisk automatically hang-up all the connected users. This seems to be more of an Asterisk issue than an Asterisk-Java one. I have not yet tested MeetMe in 1.6 extensivly. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Stefan R. <ste...@re...> - 2008-04-22 23:33:57
|
Sourabh R. Jain wrote: > o > We are getting TimeoutException on asterisk-java, when we > send some actions from our asterisk-java program. though the > actions are executed successfully on asterisk. (e.g SetVar() > action) Does that happen with all actions or only with a few? Does it also happen when you run your Asterisk-Java app and Asterisk on the same server? > o > We are not getting the Hold/UnHold events on the > asterisk-Java when a phone call goes on Hold/UnHold Make sure the section of your user in manager.conf contains read=all write=all Example: [general] enabled = yes port = 5038 [manager] secret=pa55w0rd read=all write=all > * > Is there any compatibility issues with the asterisk-java 1.0 with > Asterisk 1.6 > o > as both are in beta releases, so can any one do let us know > when these will be available with their final releases I can only speak for Asterisk-Java. It's 1.0.0 release will be available after Asterisk 1.6 has been released. > We use MeetMe feature to create the conference of users > o > We were able to create the conference between the users, but > when users joins the conference, after some time > asterisk automatically hang-up all the connected users. This seems to be more of an Asterisk issue than an Asterisk-Java one. I have not yet tested MeetMe in 1.6 extensivly. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Stefan R. <ste...@re...> - 2008-04-22 23:27:36
|
Martin B. Smith wrote: > I've been interested in the discussion @ the asterisk-user list about > dialplan visualization tools; this is an area that I've also been interested > in (as if I didn't have enough to do). But I've taken part of my weekend to > toy with Stefan's additions for parsing configuration files, and I've built > upon it. I've written some classes that parse (albeit terribly) the > extensions.conf specifics (via some guidance from pbx_config.c). One thing I > *do* use at work is JUNG (Java Universal Network/Graph Library). So I've > attempted to use that to get some nice visualization. What about a visual dialplan editor as an Eclipse plugin based on GMF (http://www.eclipse.org/modeling/gmf/) or similar? :-) > Unfortunately, I'm a little green (i.e. a novice) at designing good "usable" > APIs that Asterisk-Java users might be interested in using, so for now, I've > kept my code out of there. I've attached an example of the output run > against the sample config that comes with Asterisk 1.4.19. I hope > attachments work here! Yep the attachment works. Looks nice. What kind of an API do you think of? For the dialplan I could think of a few classes like Dialplan, DialplanContext and Extension - maybe we can even come up with a more general domain model of Asterisk concepts as we already have similar classes in the live API (at least for Extension). > Does this interest folks? Is it a direction that the Asterisk-Java project > should explore? Sure. I think this has a lot potential. Think of readin/changing the config on the fly through the Manager API, parsing local files and writing back changes or using the Asterisk Realtime Archtiecture (storing config in the database). The domain model that is used there is always the same. > Is it bad design to ignore AEL and use handcrafted code for > old-style "manual" parsing like Asterisk itself does? No, i think using the underlying config format is the right choice. It's the native format that Asterisk uses and AEL is just a preprocessor that finally generates the config. If it is important to someone to use AEL later on an AEL parser/transformer can certainly be written in Java, too. > Heck, should we use > JNI and use Asterisk's code directly for this (it's a maintainance > nightmare, I would bet!)? Oh no JNI! I've just finished integrating a speech recognition engine that only provides a C interface through JNI the week before and I can't tell you how glad I was when it was done and I could leave C-land again and return to plain Java :-) This would also limit the platforms you could use for deployment as you would always need a matching Asterisk library (and I am not even sure that it's easy to separate the config handling parts from the other Asterisk stuff). So what are the next steps? =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Martin S. <ma...@be...> - 2008-04-22 16:15:36
|
Hello Sourabh, I don't run A-J against Asterisk 1.6, so I can't speak to that, but that timeout is often a result of an identier being changed on the Asterisk revision. As long as it reverts to 1.4 behvavior, it might be okay -- but keep us posted! And Re: the conference thing, it sounds like a bug. Hanging up on connected users is probably not the intention 8) Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Sourabh R. Jain Sent: Tuesday, April 22, 2008 10:34 AM To: ast...@li... Subject: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-javacompatibility Hi, We are exploring asterisk 1.6beta and asterisk-java 1.0. We do have following queries regarding the same * As we are using asterisk 1.6beta with asterisk-java 1.0 we found some peculiar behavior * We are getting TimeoutException on asterisk-java, when we send some actions from our asterisk-java program. though the actions are executed successfully on asterisk. (e.g SetVar() action) * We are not getting the Hold/UnHold events on the asterisk-Java when a phone call goes on Hold/UnHold * Is there any compatibility issues with the asterisk-java 1.0 with Asterisk 1.6 * as both are in beta releases, so can any one do let us know when these will be available with their final releases * We use MeetMe feature to create the conference of users * We were able to create the conference between the users, but when users joins the conference, after some time asterisk automatically hang-up all the connected users. * Please let us know if it requires any sort of settings in any configuration file. Thanks in Advance Sourabh |
From: Sourabh R. J. <sou...@im...> - 2008-04-22 14:34:41
|
Hi, We are exploring asterisk 1.6beta and asterisk-java 1.0. We do have following queries regarding the same * As we are using asterisk 1.6beta with asterisk-java 1.0 we found some peculiar behavior * We are getting TimeoutException on asterisk-java, when we send some actions from our asterisk-java program. though the actions are executed successfully on asterisk. (e.g SetVar() action) * We are not getting the Hold/UnHold events on the asterisk-Java when a phone call goes on Hold/UnHold * Is there any compatibility issues with the asterisk-java 1.0 with Asterisk 1.6 * as both are in beta releases, so can any one do let us know when these will be available with their final releases * We use MeetMe feature to create the conference of users * We were able to create the conference between the users, but when users joins the conference, after some time asterisk automatically hang-up all the connected users. * Please let us know if it requires any sort of settings in any configuration file. Thanks in Advance Sourabh |
From: Sourabh R. J. <sou...@im...> - 2008-04-22 14:20:39
|
Hi, We are exploring asterisk 1.6beta and asterisk-java 1.0. We do have following queries regarding the same * As we are using asterisk 1.6beta with asterisk-java 1.0 we found some peculiar behavior * We are getting TimeoutException on asterisk-java, when we send some actions from our asterisk-java program. though the actions are executed successfully on asterisk. (e.g SetVar() action) * We are not getting the Hold/UnHold events on the asterisk-Java when a phone call goes on Hold/UnHold * Is there any compatibility issues with the asterisk-java 1.0 with Asterisk 1.6 * as both are in beta releases, so can any one do let us know when these will be available with their final releases * We use MeetMe feature to create the conference of users * We were able to create the conference between the users, but when users joins the conference, after some time asterisk automatically hang-up all the connected users. * Please let us know if it requires any sort of settings in any configuration file. Thanks in Advance Sourabh |
From: Martin B. S. <ma...@mb...> - 2008-04-21 03:02:42
|
Hey Stefan & all, I've been interested in the discussion @ the asterisk-user list about dialplan visualization tools; this is an area that I've also been interested in (as if I didn't have enough to do). But I've taken part of my weekend to toy with Stefan's additions for parsing configuration files, and I've built upon it. I've written some classes that parse (albeit terribly) the extensions.conf specifics (via some guidance from pbx_config.c). One thing I *do* use at work is JUNG (Java Universal Network/Graph Library). So I've attempted to use that to get some nice visualization. Unfortunately, I'm a little green (i.e. a novice) at designing good "usable" APIs that Asterisk-Java users might be interested in using, so for now, I've kept my code out of there. I've attached an example of the output run against the sample config that comes with Asterisk 1.4.19. I hope attachments work here! Does this interest folks? Is it a direction that the Asterisk-Java project should explore? Is it bad design to ignore AEL and use handcrafted code for old-style "manual" parsing like Asterisk itself does? Heck, should we use JNI and use Asterisk's code directly for this (it's a maintainance nightmare, I would bet!)? Anyway, thanks for taking a look :) Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 Martin |
From: JR W. <jr....@pr...> - 2008-04-08 23:01:27
|
Yes. It works fine. Thanks -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Tuesday, April 08, 2008 6:54 PM To: ast...@li... Subject: Re: [Asterisk-java-devel] asterisk-java 0.3.1 notreading fastagi.properties JR Wilbert wrote: > When I use a fastagi.properties with 0.3.1 it fails to read but ifasterisk-java-1.0.0-20080408.214547-122.jar > I swap switch my classpath to use asterisk-java.0.3 every thing > loads fine. Can you try the lastest 1.0.0-SNAPSHOT release and check if it works there? =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.9/1365 - Release Date: 4/8/2008 7:30 AM No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.9/1365 - Release Date: 4/8/2008 7:30 AM |
From: Stefan R. <ste...@re...> - 2008-04-08 22:54:43
|
JR Wilbert wrote: > When I use a fastagi.properties with 0.3.1 it fails to read but if > I swap switch my classpath to use asterisk-java.0.3 every thing > loads fine. Can you try the lastest 1.0.0-SNAPSHOT release and check if it works there? =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: JR W. <jr....@pr...> - 2008-04-08 21:01:13
|
When I use a fastagi.properties with 0.3.1 it fails to read but if I swap switch my classpath to use asterisk-java.0.3 every thing loads fine. No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.9/1365 - Release Date: 4/8/2008 7:30 AM |
From: T. L. P. T. <tom...@gm...> - 2008-04-05 18:53:01
|
Stefan: Thank you for your answers and the useful advices. Best regards, Tomás. On 4/5/08, Stefan Reuter <ste...@re...> wrote: > > Hi Thomas, > > > I have reported this issue in JIRA and uploaded a patch. The URL is: > > http://jira.reucon.com/browse/AJ-1 > > Thanks for you patch, I've applied it to svn and resolved AJ-130 for > 1.0.0. > > > * Is correct to define a new private static final String > > SHOW_VERSION_1_6_COMMAND? > > Yep that's fine. > > > * The added private field Asterisk coreVersion, should be named this way > > or maybe something like branchReleaseVersion? > > I don't think we need it at all since we can just get it from > eventConnection.getVersion() and don't have to store it twice. For now > I've removed it. > > > * In the documentation of the new method getVersion of the Manager > > component, the 'since' field should be 1.0? > > In the future we will always use three digit version numbers so the > version that will contain your fix is 1.0.0, hence @since 1.0.0. > > When referencing a static field/constant you should just use > Class.FIELD, e.g. AsteriskVersion.ASTERISK_1_6 instead of > someInstance.FIELD. > > =Stefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: ste...@re... > Jabber: ste...@re... > WWW: http://www.reucon.com > > Steuernummern 215/5140/1791 USt-IdNr. DE220701760 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > |
From: Stefan R. <ste...@re...> - 2008-04-05 06:38:28
|
Hi Thomas, > I have reported this issue in JIRA and uploaded a patch. The URL is: > http://jira.reucon.com/browse/AJ-1 Thanks for you patch, I've applied it to svn and resolved AJ-130 for 1.0.0. > * Is correct to define a new private static final String > SHOW_VERSION_1_6_COMMAND? Yep that's fine. > * The added private field Asterisk coreVersion, should be named this way > or maybe something like branchReleaseVersion? I don't think we need it at all since we can just get it from eventConnection.getVersion() and don't have to store it twice. For now I've removed it. > * In the documentation of the new method getVersion of the Manager > component, the 'since' field should be 1.0? In the future we will always use three digit version numbers so the version that will contain your fix is 1.0.0, hence @since 1.0.0. When referencing a static field/constant you should just use Class.FIELD, e.g. AsteriskVersion.ASTERISK_1_6 instead of someInstance.FIELD. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: T. L. P. T. <tom...@gm...> - 2008-04-02 19:15:57
|
Developers: I have reported this issue in JIRA and uploaded a patch. The URL is: http://jira.reucon.com/browse/AJ-130 I have some doubts with my patch: * Is correct to define a new private static final String SHOW_VERSION_1_6_COMMAND? * The added private field Asterisk coreVersion, should be named this way or maybe something like branchReleaseVersion? * In the documentation of the new method getVersion of the Manager component, the 'since' field should be 1.0? Thanks in advance. Best regards, Tomás. On Mon, Mar 31, 2008 at 10:39 AM, Tomás Laureano Peralta Tormey < tom...@gm...> wrote: > Stefan: > I was busy the last days, but I made some tests with this patch on my > lab environment. I think that I will have a patch ready in the next > days. > Thanks for your interest. > > Best regards, Tomás. > > On Mon, Mar 31, 2008 at 12:30 AM, Stefan Reuter > <ste...@re...> wrote: > > Tomás, > > > > did it work? Any help required? > > > > =Stefan > > > > > > > > Tomás Laureano Peralta Tormey wrote: > > > Stefan: > > > Thank you for your quick and productive answer. I'm starting with > > > Java and I have the feeling that modifying the interface to add a new > > > method wasn't a good practice. > > > I will provide the patch as soon as I can get it tested. > > > > > > Thank you again. > > > > > > Best regards, Tomás. > > > > > > On 3/26/08, Stefan Reuter <ste...@re...> wrote: > > >> Hi Thomas, > > >> > > >> We could add a getVersion() method to ManagerConnection that is > public > > >> and returns an AsteriskVersion object. > > >> Feel free to provide a patch for that and update the implementation > of > > >> AsteriskServer to work properly with 1.6. Open an issue in Jira and > > >> attach the patch and I'll integrate it. > > >> > > >> Thanks for your support, > > >> > > >> Stefan > > >> > > >> Tomás Laureano Peralta Tormey wrote: > > >>> Hello: > > >>> I'm developing some simple applications using Asterisk-Java and I > > >>> came across with an issue while using the Live API. > > >>> One of the methods of the AsteriskServer interface is > getVersion(). > > >>> This method has two signatures and if it's called without > arguments, > > >>> the method should return a String object with the version informed > by > > >>> Asterisk when a "show version" command is executed through a > > >>> CommandAction. The string that's used along with the CommandAction > > >>> object as a parameter of the constructor is "show version". This > > >>> String is defined as a constant (private static final) at > > >>> org.asteriskjava.live.internal.AsteriskServerImpl. > > >>> This CLI command is valid for versions of Asterisk older than 1.6, > > >>> but the next release of Asterisk will have the definition of this > > >>> command deprecated; being necessary to use "core show version" > > >>> instead. > > >>> > > >>> I tried to make a patch to solve this issue. My first approach was > to > > >>> determine the Asterisk version using the AsteriskVersion object > > >>> defined at any ManagerConnection object, to execute the method > > >>> isAtLeast(); and then use the correct show version command. But > this > > >>> field is protected and I can't access it from the AsteriskServer > > >>> object. > > >>> > > >>> Should I fill a report in the JIRA bug tracker? Is there any way > to > > >>> access this object (AsteriskVersion) without modifying the > interface > > >>> of the ManagerConnection object? I still want to provide a patch > :-) > > >>> > > >>> Thanks in advance. > > >>> > > >>> Best regards, Tomás. > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Asterisk-java-devel mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel > > > > > |
From: Stefan R. <ste...@re...> - 2008-04-02 17:07:29
|
Hi Jeff, Thanks for sharing your thoughts with us. I think having support for Trixbox Pro would be a plus for Asterisk-Java. I understand that they use a slightly different wire format, that's propably what your changes to the ManagerReaderImpl.java are good for. Are there other differences like additional or changed properties in events and actions or new ones? From a design perspective we should - make sure A-J works seamlessly with Asterisk and other supported system - keep the changes can be encapsulated, maybe in a subclass of ManagerReaderImpl From an organisational perspective we need an idea on how to continue maintaince in the future given most of us don't have access to Trixbox Pro for testing. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Chris H. <ch...@as...> - 2008-04-02 13:11:37
|
Martin Smith wrote: > Hi Jeff, > > >From their yum source RPM repository > (http://yum.trixbox.org/centos/5/SRPMS/repodata/repoview/asterisk-0-1.4. > 18-3.html), it looks like they just drop in the latest asterisk every so > often (I'm guessing from the commit logs). I tried to download the SRPM > and look to see how heavily it was modified, but the download was at 30% > after 10 minutes. We have reports (http://jira.reucon.org/browse/AJ-120) > of Asterisk-Java working fine with Trixbox as well. > > Are you sure you aren't dealing with AJAM > (http://www.voip-info.org/wiki/view/Aynchronous+Javascript+Asterisk+Mana > ger+(AJAM)) or AstMan Proxy? > > Can you show us a code sample or the output from ngrep of a session? > > Not trying to discount you here, but I want to make sure we're all clear > on how heavily modified the AMI in Trixbox might be, so we can, if > necessary, integrate changes to make it work with A-J. > > I believe that Jeff is talking about the Pro and Call Center editions of TrixBox. From what I understand, these re very different than the Opensource version. Chris |