Re: [Asterisk-java-users] originateCall in AsteriskManager
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-06-09 11:17:37
|
Tony Mowers wrote: > 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 th= en I > get an "onFailure" callback. I'd expect an "onBusy".=20 I have to check this with a softphone, and probably with a sip client that is not registered at all. It seems like this is treated the same way as a failure to a completely invalid channel. Hopefully we can see a difference for the two cases. > An "onFailure" makes > me think there is something wrong with the phone number, the trunk, or = some > such thing. Yes the only reason for onFailure i am aware of is an invalid channel. > I'd also kind of expect the onFailure to have a cause if > possible. Yes, I added a cause parameter (up to now this is always a NoSuchChannelException). > The property change listener also works for me. It seemed a little stra= nge > 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 obse= rved > I understood the reason for your choosing the property change listener.= I > think most other people will understand too. ok. plus its always the same for observing channels, meetme users and so on. will need a good example ;) =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... |