Because when I use the JID without the port it throws and exception, but with a port it throws nothing.
Anyway, I searched about the error (401) and I found it is related to (To and From) JID. But if fabed@ipaddress.com is a correct JID which I use it in the To Field and the From JID is getting it from the connecting, then where is the problem.
I followed what “wrcgator” write but there is solution.
When you dial by JID the JID your are trying to dial must be on the same server as you and must be registered with asterisk-im, is this user register with asterisk-im?
I face the same problem when i use JID or extension,
error code 400.
Do you have any more information at all in the log files?? This isn’'t enough to debug with since, it works fine for other people. Also there will be a beta 3 release very soon (probably friday).
This error probably occurred because the asterisk timed out with the phone action, usually it has dialed anyway it just didn’‘t respond quickly enough. This error won’'t appear in beta 3.