[Asterisk-java-users] ActionID
Brought to you by:
srt
From: Pablo I. <pmi...@ya...> - 2005-10-06 12:54:31
|
Hi, guys. I'm currently using java-asteriks, version 0.1. I'm experiencing a strane behaviour on action IDs. The thing is that when I send a message to the server, I expect that the response has the same action ID, but it has null instead. I debuged a simple test sending a ping, and the response has on it's attributes the actionID. I followed the trace to this point: if (actionId != null) { internalActionId = Util.getInternalActionId(actionId); response.setActionId(Util.stripInternalActionId(actionId)); } , on DefaultManagerConnection. The problem is that the first call to Util.getInternalActionId(actionId) erases the final # from the actionID, so the second call doesn't recognize the format, and returns null. Is this a bug, or the actionID is supposed to be null for a response? Regards, Pablo. ___________________________________________________________ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar |