[Serusers] ser.cfg's interpretation of return codes from modules

Ramin Nikaeen rnikaeen at goldline.net
Thu Nov 17 00:38:55 CET 2005


 

Valued Colleagues,

 

Can someone tell me how ser.cfg interprets the integer code returned by

module functions?

 

I want to be able to distinguish, in ser.cfg, between success and
failure 

of a module function's execution when invoked from ser.cfg.

 

As long as I return "1" from the module function to signalize success,

things work fine but when I try returning "0" or "-1" to indicate
failure

of the function, ser can not complete the call and in a way appears

to stop processing. My UA continuously retransmits INVITES to SER

but nothing happens.

 

 

I would appreciate your help

 

ramin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051116/f9a951b6/attachment.htm>


More information about the sr-users mailing list