I just updated ser from cvs and encounter the problem that ser will no longer start.
I have my own module and a function (exec_pol) in that is started from ser.cfg in the route block.
This used to work fine, but since the latest update from ser, ser just terminates saying "Parse Error: Command cannot be used in the block".
I got this message after make all, make install and trying to start ser. I then realised that my module was not compiled anew because the find_export function now has more arguments (the NO_SCRIPT on, which it didn't need before). Having fixed this, things compile fine, but the error persists and I cannot start ser.
Have I overseen an important change??
thanks, Stephan
-- Dr Stephan Reiff-Marganiec Research Fellow Department of Computing Science; University of Stirling email: srm@cs.stir.ac.uk tel: 01786 46 7448
I have found it .... the export structure has been expanded: one now must specify which blocks a function can be used in. the new serdev/modules.sgml tells the whole story ...
Stephan
Stephan Reiff-Marganiec Research Fellow Department of Computing Science; University of Stirling email: srm@cs.stir.ac.uk tel: 01786 46 7448
On Wed, 26 Mar 2003, Stephan Reiff-Marganiec wrote:
I just updated ser from cvs and encounter the problem that ser will no longer start.
I have my own module and a function (exec_pol) in that is started from ser.cfg in the route block.
This used to work fine, but since the latest update from ser, ser just terminates saying "Parse Error: Command cannot be used in the block".
I got this message after make all, make install and trying to start ser. I then realised that my module was not compiled anew because the find_export function now has more arguments (the NO_SCRIPT on, which it didn't need before). Having fixed this, things compile fine, but the error persists and I cannot start ser.
Have I overseen an important change??
thanks, Stephan
-- Dr Stephan Reiff-Marganiec Research Fellow Department of Computing Science; University of Stirling email: srm@cs.stir.ac.uk tel: 01786 46 7448
-- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of the University of Stirling shall be understood as neither given nor endorsed by it.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello,
Module interface has changed. There is now new flags field (the last field in cmd_export_t structure) that specifies in which block your function can be used.
This flag must be set to REQUEST_ROUTE if you want to use your function in the main route block of your ser.cfg
I attached description of the new interface in plain-text, the original can be found in sip_router/doc/sedev/modiface.sgml in docbook format.
Jan.
On 26-03 13:44, Stephan Reiff-Marganiec wrote:
I just updated ser from cvs and encounter the problem that ser will no longer start.
I have my own module and a function (exec_pol) in that is started from ser.cfg in the route block.
This used to work fine, but since the latest update from ser, ser just terminates saying "Parse Error: Command cannot be used in the block".
I got this message after make all, make install and trying to start ser. I then realised that my module was not compiled anew because the find_export function now has more arguments (the NO_SCRIPT on, which it didn't need before). Having fixed this, things compile fine, but the error persists and I cannot start ser.
Have I overseen an important change??
thanks, Stephan
-- Dr Stephan Reiff-Marganiec Research Fellow Department of Computing Science; University of Stirling email: srm@cs.stir.ac.uk tel: 01786 46 7448
-- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of the University of Stirling shall be understood as neither given nor endorsed by it.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers