selfhosted:

openSIPS

SIP proxy/server for voice, video, IM, presence and any other SIP extensions. (Source Code).

Live Preview
openSIPS