Re: [Asterisk-java-users] Problem with UniqueId and originate command
Brought to you by:
srt
From: Ben H. <bra...@gm...> - 2005-05-17 22:46:27
|
On 5/17/05, Stefan Reuter <sr...@re...> wrote: >=20 > I hope those events include the ActionId sent with your OriginateAction. > Several Actions don't send their result as a Response but use > ManagerEvents instead. Another famous examples for this is the > StatusAction. Leaving all these details up to the user of Asterisk-Java > seems not to be the best solution. Yes, they do. The events only get posted if the Originate is Async though. >=20 > So if you would like to contribute feel free to change the originateCall > method in the DefaultAsteriskManager and submit your patches. Sure, I would be happy to contribute. Would it make sense to create a psudo ManagerResponse called OriginateResponse that has all of the info? ie proposed new method: public OriginateResponse originateCall(OriginateAction originateAction, long timeout) throws TimeoutException, IOException The originate would also have to set the action's Async setting. Let me know what you think and I'll get to work :-) - Ben |