Sending XMPP message to self crashes UCP daemon

If I send an XMPP message to my own extention it crashes the UCP daemon.

Obviously this wouldn’t be a normal practice but typos happen!!

http://issues.freepbx.org

http://issues.freepbx.org/browse/FREEPBX-12517