Re: [Asterisk-java-devel] Queries regarding Asterisk & Asterisk-java compatibility
Brought to you by:
srt
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 |