Thread: [Asterisk-java-users] Volume adjustments...
Brought to you by:
srt
From: Jan G. du T. <s22...@tu...> - 2006-06-06 08:05:31
|
Hi. I know that asterisk has this functionality (when you are in a meetme room) to press the * key then it brings up an IVR application from where you can adjust your speaking and hearing volume. This is fine when the user wants to adjust his hearing volume, because he himself percieves that his hearing volume is too high/low. But he doesn't necessarily know that his speaking volume needs adjustment - the other people in the conference will perceive this. I have a conference-control application. I would like to give him ( the guy in charge of the conference and user of the application) the ability to change the speaking volume of each individual participant as needed on their behalf - without informing them that they must up/down their speaking volume themselves. Can this be done by Asterisk? Maybe this is more a Asterisk question itself. Sorry for this. But if Asterisk can do this then I would like to know how to achieve this in asterisk-java. Thank you. Regards. This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar. |
From: Stefan R. <sr...@re...> - 2006-06-06 17:22:47
Attachments:
signature.asc
|
Jan Gerryt du Toit wrote: > Can this be done by Asterisk? > Maybe this is more a Asterisk question itself. Sorry for this. > But if Asterisk can do this then I would like to know how to achieve th= is in > asterisk-java. Afaik not out of the box and not through the Manager API, though it should not be too hard to add it if you know some C and some Asterisk internals. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Tony M. <to...@am...> - 2006-06-06 17:38:37
|
Stefan, I noticed the addition of the ManagerCommunicationException to the originate operations on AsteriskServer. I am guessing that in theory it would now be possible for you to throw an Exception with the origination failure cause contained in the exception. In that case you'd never have to return AsteriskChannel = null. Is that the plan? Tony |
From: Stefan R. <sr...@re...> - 2006-06-06 17:58:32
Attachments:
signature.asc
|
Tony Mowers wrote: > I am guessing that in theory it would now be possible for you to throw = an > Exception with the origination failure cause contained in the exception= =2E In > that case you'd never have to return AsteriskChannel =3D null. >=20 > Is that the plan? Yes that might be done. - Probably a good idea! The other idea that gives you even more control is to use the async originate methods, they give you better feedback by calling one of onSuccess(channel) onNoAnswer(channel) onBusy(channel) onFailure() on your callback. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Tony M. <to...@am...> - 2006-06-06 18:17:30
|
For some reason I'd missed that you'd added those methods :-) I will probably use the async methods. Just for the record ... your work is very much appreciated and I think the APIs and the overall code is of a very high quality. -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Tuesday, June 06, 2006 7:58 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Asterisk Live Tony Mowers wrote: > I am guessing that in theory it would now be possible for you to throw an > Exception with the origination failure cause contained in the exception. In > that case you'd never have to return AsteriskChannel = null. > > Is that the plan? Yes that might be done. - Probably a good idea! The other idea that gives you even more control is to use the async originate methods, they give you better feedback by calling one of onSuccess(channel) onNoAnswer(channel) onBusy(channel) onFailure() on your callback. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Stefan R. <sr...@re...> - 2006-06-09 02:11:53
Attachments:
signature.asc
|
Stefan Reuter wrote: > Tony Mowers wrote: >> I am guessing that in theory it would now be possible for you to throw= an >> Exception with the origination failure cause contained in the exceptio= n. In >> that case you'd never have to return AsteriskChannel =3D null. >> >> Is that the plan? >=20 > Yes that might be done. - Probably a good idea! I changed it to throw a NoSuchChannelException instead of returning null. A ManagerCommunictionException indicates a lower level problem, i.e. something is wrong with the connection to the Manager API like not being connected. =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |
From: Tony M. <to...@am...> - 2006-06-09 11:01:30
|
This change makes sense to me. -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Friday, June 09, 2006 4:12 AM To: ast...@li... Subject: Re: [Asterisk-java-users] Asterisk Live Stefan Reuter wrote: > Tony Mowers wrote: >> I am guessing that in theory it would now be possible for you to throw an >> Exception with the origination failure cause contained in the exception. In >> that case you'd never have to return AsteriskChannel = null. >> >> Is that the plan? > > Yes that might be done. - Probably a good idea! I changed it to throw a NoSuchChannelException instead of returning null. A ManagerCommunictionException indicates a lower level problem, i.e. something is wrong with the connection to the Manager API like not being connected. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |