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.

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to