How to use XMPP as a signalling server for WEBRTC calls

Hi,

We are currently developing a XMPP based mobile app for our company and have used icelink for making the webrtc calls.

We have our own websync and TURN servers. Thing are working now but there is delay when connecting between the two mobile devices because the signalling is done through websync server and then the signalling details are sent between the two mobile devices through XMPP. Now we want to change the existing signalling from websync to xmpp, so that the xmpp server can be used as a signalling thus minimising servers for the webrtc calls.

Now how do we use xmpp for signalling using the icelink code? Which once achieved how do i send the details to the TURN server?

Thanks & Regards,

Prasanna