Connecting to GMail
From Yate Documentation
(Difference between revisions)
Line 21: | Line 21: | ||
[default] | [default] | ||
− | |||
; Route calls to contacts in MyGMailAccount roster | ; Route calls to contacts in MyGMailAccount roster | ||
^123$=jingle/mycontact@domain;line=MyGMailAccount | ^123$=jingle/mycontact@domain;line=MyGMailAccount | ||
− | + | ||
− | ; Route calls received on MyGMailAccount line | + | ; Route calls received on MyGMailAccount line |
− | ${in_line}MyGMailAccount=sip/sip:SIP_number@a.b.c.d | + | ${in_line}MyGMailAccount=sip/sip:SIP_number@a.b.c.d |
Revision as of 13:31, 15 October 2012
In this example:
GMail_username - your GMail username.
GMail_password - your GMail account password.
Note: The options=allowplainauth parameter is required, otherwise login will fail.
See Using jabber client in server mode and Jingle channel for more routing and setup details.
In accfile.conf :
[MyGMailAccount] enabled=yes protocol=jabber username=GMail_username password=GMail_password domain=gmail.com options=allowplainauth
In regexroute.conf :
[default] ; Route calls to contacts in MyGMailAccount roster ^123$=jingle/mycontact@domain;line=MyGMailAccount ; Route calls received on MyGMailAccount line ${in_line}MyGMailAccount=sip/sip:SIP_number@a.b.c.d