Hi there,
I am running asterisk 11.16.0 on Ubuntu vps, with FreePBX 2.11.0.43, I have compiled chan_motif but it is always disconnected, please help.
I have tried the following:
- No special characters in the password field.
- Google voice number is valid and active.
- Allow insecure apps is on in Google account settings.
- When I put module load chan_motif.so in asterisk cli I get the following:
[2015-05-17 00:12:56] ERROR[28052]: chan_motif.c:2499 custom_connection_handler: Connection ‘g#EMAIL#gmailcom’ configured on endpoint ‘g#EMAIL#gmailcom’ could not be found
[2015-05-17 00:12:56] ERROR[28052]: config_options.c:599 aco_process_var: Error parsing connection=g#EMAIL#gmailcom at line 12 of
[2015-05-17 00:12:56] ERROR[28052]: config_options.c:402 process_category: In motif.conf: Processing options for g#EMAIL#gmailcom failed
[2015-05-17 00:12:56] ERROR[28052]: chan_motif.c:2565 load_module: Unable to read config file motif.conf. Not loading module.
motif.conf
[g#EMAIL#gmailcom]
context=im-#EMAIL#gmailcom
disallow=all
allow=ulaw
connection=g#EMAIL#gmailcom
xmpp.conf
[general]
#include xmpp_general_custom.conf
[g#EMAIL#gmailcom]
type=client
serverhost=talk.google.com
username=#EMAIL#@gmail.com
secret=#VALIDPASS#
port=5222
usetls=yes
usesasl=yes
status=available
statusmessage="I am Available"
timeout=5
priority=127
#include xmpp_custom.conf
Thanks in advance for helping me out.
Max