[OpenSIPS-Devel] Is it possible to return 0 from an exported function?
Peter Lemenkov
lemenkov at gmail.com
Fri Jan 11 08:25:41 CET 2013
Hello.
I'm writing a function (extending sipmsgops actually) which returns
Payload ID. Obviously it should return 0 in case of PCMU/8000/1 which
seems to be impossible.
As a temporary solution I'm thinking of returing PayloadID+1 but this
looks really strange. Maybe there are some other ways to return actual
0 from a module's exported function?
--
With best regards, Peter Lemenkov.
More information about the Devel
mailing list