Re: [Asterisk-java-users] UserEvents and attributes
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-01-15 02:17:15
|
Edu, it seems that Asterisk doesnt support multiple properties for the userevent. A workaround would be to somehow pass \r\n to app_userevent as delimiter - but I don't know of any way to do this from the dialplan. I prepared a patch for Asterisk that fixes that behavior so that your code would work as expected. Please have a look at http://bugs.digium.com/view.php?id=3D6241 and try the patch. Report your (hopefully positive) test results back to the Asterisk bug tracker as that helps to get the patch accepted. In the meantime you should use only a single property with the user event and parse it in your java app. example: exten =3D> s,1,UserEvent(NewCall|callData: ${DNID},${CALLERID}) thats ugly but it works. Be sure not to use | as delimiter as that breaks as soon as the patch is accepted. =3DStefan |