[Asterisk-java-devel] UpdateConfig
Brought to you by:
srt
From: Jesus M. <jmo...@gm...> - 2008-01-19 03:26:01
|
Greetings all Has anybody tested UpdateConfigAction? I'm in the middle of a project and, when I tried to use it, it didn't work. I found a couple of problems: 1) The numbers following Action-XXXXXX, Cat-XXXXX and so on are not zero-padded in addCommand. 2) When the map created in addCommand is processed by ActionBuilderImpl, it creates the lines with "action: Cat-000000=<STRING>" when the value should be "Cat-000000: <STRING>". Note the space after the ":". It would not work without it. I think I fixed most of the problems already by zero-padding the number before append it to the command string and by checking if the action is an instance of UpdateConfig in ActionBuilderImpl.java in order to properly create the string. How could I send it over for review? Jesus Mogollon |