Sorry for the delay, I was in the vacation
It's an easy way to debug. When "# /usr/pluto/bin/MessageSend dcerouter 0 40 1 317" is executed, you should see in /var/log/pluto/DCERouter.log a line of log like this: Received from 0 to 40 message type 1 id 317 with parameters: ...
You can use putty for example and in linux console type:
tail -f /var/log/pluto/DCERouter.log, then fire the event and check the log.
You can also can run that messagesend manually to confirm it's ok.