Thank you Stefan, I will use String.split() at the moment,
I want to try your patch, but I can't because I'm working with the Bussines=
=20
Edition in a production machine :(
But when I have time, I want to build another machine for testing purposes.
I'm developing a little app to use the asterisk as a switch and I will to m=
ake=20
the code public soon, when I finish it.
El Domingo, 15 de Enero de 2006 03:17, Stefan Reuter escribi=F3:
> 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
|