sipmsg: remove internal functions from API