Re: [Asterisk-java-users] ManagerResponse#getUniqueId() returns null after sending OrginateAction
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-06-22 19:34:27
|
Hi Andrew, the official Asterisk release does not include the uniqueid in the respons to the OriginateAction. Asterisk servers patched with "bristuff" from junghanns.net however do. (That's where the stuff in DefaultAsteriskManager that you noticed resulted from) So as long as you run a vanilla Asterisk you have to listen for the corresponding OriginateSuccessEvent. There was a discussion about this some weeks ago on the list (you will find it in the archives). That discussion resulted in Ben Hencke to send a patch for the DefaultAsteriskManager that does exactly this. I just finished including that patch into CVS so you will get it in the latest snapshot from http://maven.reucon.com/maven/asterisk-java/distributions/ Please note however that this is not well tested and must be regarded experimental at best. =3DStefan |