Google Voice (Motif) - Wierd problem

I have installed freepbx from this link.
http://wiki.freepbx.org/display/HTGS/Installing+FreePBX+on+Debian+Wheezy
Thank you.
Everything works but this small issue exist.
Fresh reboot system - Google voice does not work. I have to connect to server and type amportal restart. That’s when google voice starts working. Any suggestions ?

Fixed it by adding a line to rc.local
/usr/local/sbin/amportal restart

Checked the logs and I see there is this error.

[2013-11-26 12:52:53] WARNING[3149] res_xmpp.c: JABBER: socket read error
[2013-11-26 12:52:54] WARNING[3149] res_xmpp.c: Parsing failure: Hook returned an error.
[2013-11-26 12:52:54] WARNING[3149] res_xmpp.c: Parsing failure: Invalid XML.
[2013-11-26 12:52:54] WARNING[3149] res_xmpp.c: JABBER: socket read error
[2013-11-26 12:52:55] WARNING[3149] res_xmpp.c: Parsing failure: Hook returned an error.
[2013-11-26 12:52:55] WARNING[3149] res_xmpp.c: Parsing failure: Invalid XML.
[2013-11-26 12:52:55] WARNING[3149] res_xmpp.c: JABBER: socket read error