Hi,
I have developed same solution for another client on Freeswitch server with JsSIP.
I can gave a demo of that if you are interested in Freeswitch as that is already build.
If you want the same on asterisk i can configure that for you, its quite similar, you need to gave me a VPS, i will configure that in one day.
Looking forward.
Regards
Abbasi