Re: [Asterisk-java-users] originateCall in AsteriskManager
Brought to you by:
srt
From: Tony M. <to...@am...> - 2006-06-09 11:00:59
|
The new async OriginateCallback method will work for me. I'm not sure if it is working as it should yet. If I call someone, who is using a SJPhone for example, and they hit their "ignore call" button then I get an "onFailure" callback. I'd expect an "onBusy". An "onFailure" makes me think there is something wrong with the phone number, the trunk, or some such thing. I'd also kind of expect the onFailure to have a cause if possible. The property change listener also works for me. It seemed a little strange at first because I was expecting the natural listener with an onHangup and such. After I saw that there were several properties that could be observed I understood the reason for your choosing the property change listener. I think most other people will understand too. -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Friday, June 09, 2006 4:28 AM To: ast...@li... Subject: Re: [Asterisk-java-users] originateCall in AsteriskManager > The types of things I'd like to watch for are: > - Originating channel was created (I didn't screw up with channel data) > - Origination information was incorrect and call ended > - Originating channel was congested and so call aborted > - Alerting is happening on originating channel > - Origination alerting timed out > - Originator has answered > - Another channel has been linked to call > - A channel in the call is being alerted > - A channel in the call has answered > - One of the channels has hung-up or failed > - Call has ended With the new async originate methods, do you think things are better now? Do you like the OriginateCallback and the PropertyChangeListener or does it feel strange to register a PropertyChangeListener and you would expect to have a more "natural" listener for channel changes with methods like onNewState or even onHangup and so on? =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... |