xmpp middleware layer for  3rd party call control and support for different telephony systems