Connecting to GMail

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Created page with "In this example: GMail_username - your GMail username. GMail_password - your GMail account password. '''Note:''' The options=allowplainauth parameter is required, otherwise ...")
 
Line 1: Line 1:
 
In this example:
 
In this example:
  
GMail_username - your GMail username.
+
GMail_username - your GMail username.<br>
GMail_password - your GMail account password.
+
GMail_password - your GMail account password.<br>
  
'''Note:''' The options=allowplainauth parameter is required, otherwise login will fail.
+
'''Note:''' The options=allowplainauth parameter is required, otherwise login will fail.<br>
 
See [[Using jabber client in server mode]] and [[Jingle channel]] for more routing and setup details.
 
See [[Using jabber client in server mode]] and [[Jingle channel]] for more routing and setup details.
  
Line 10: Line 10:
 
In accfile.conf :  
 
In accfile.conf :  
  
[MyGMailAccount]
+
[MyGMailAccount]
enabled=yes
+
enabled=yes
protocol=jabber
+
protocol=jabber
username=GMail_username
+
username=GMail_username
password=GMail_password
+
password=GMail_password
domain=gmail.com
+
domain=gmail.com
options=allowplainauth
+
options=allowplainauth
  
 
In regexroute.conf :
 
In regexroute.conf :
  
[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:28, 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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers