| 1 |
[general] |
| 2 |
;debug=yes ; Enable debugging (disabled by default). |
| 3 |
;autoprune=yes ; Auto remove users from buddy list. Depending on your |
| 4 |
; setup (ie, using your personal Gtalk account for a test) |
| 5 |
; you might lose your contacts list. Default is 'no'. |
| 6 |
;autoregister=yes ; Auto register users from buddy list. |
| 7 |
;collection_nodes=yes ; Enable support for XEP-0248 for use with |
| 8 |
; distributed device state. Default is 'no'. |
| 9 |
;pubsub_autocreate=yes ; Whether or not the PubSub server supports/is using |
| 10 |
; auto-create for nodes. If it is, we have to |
| 11 |
; explicitly pre-create nodes before publishing them. |
| 12 |
; Default is 'no'. |
| 13 |
;auth_policy=accept ; Auto accept users' subscription requests (default). |
| 14 |
; Set to deny for auto denial. |
| 15 |
;[asterisk] |
| 16 |
;type=client ; Client or Component connection |
| 17 |
;serverhost=astjab.org ; Route to server for example, talk.google.com |
| 18 |
;pubsub_node=pubsub.astjab.org ; Node to use for publishing events via PubSub |
| 19 |
;[email protected]/asterisk ; Username with optional resource. |
| 20 |
;secret=blah ; Password |
| 21 |
;refresh_token=TOKEN_VALUE ; Refresh token issued by Google OAuth 2.0 protocol. |
| 22 |
; `secret` must NOT be set if you use OAuth. |
| 23 |
; See https://developers.google.com/identity/protocols/OAuth2WebServer |
| 24 |
; for more details. |
| 25 |
; For test reasons you can obtain one on the page |
| 26 |
; https://developers.google.com/oauthplayground/ |
| 27 |
; 1. Click on Settings icon, check "Use your own OAuth credentials" |
| 28 |
; and enter your Client ID and Client Secret (see below). |
| 29 |
; 2. Input the scope https://www.googleapis.com/auth/googletalk |
| 30 |
; and push "Authorize APIs" button. |
| 31 |
; 3. Approve permissions. |
| 32 |
; 4. On section "Step 2" push "Exchange authorization code for tokens" |
| 33 |
; and get your Refresh token. |
| 34 |
;oauth_clientid=OAUTH_CLIENT_ID_VALUE ; The application's client id to authorize using Google OAuth 2.0 protocol. |
| 35 |
;oauth_secret=OAUTH_SECRET_VALUE ; The application's client secret to authorize using Google OAuth 2.0 protocol. |
| 36 |
; 1. Create new Project on the page: |
| 37 |
; https://console.cloud.google.com/apis/credentials/oauthclient |
| 38 |
; 2. Create new Application ID on the same page with type Web-application. |
| 39 |
; In section "Allowed URI redirections" put the path to the corresponding |
| 40 |
; script on your site or https://developers.google.com/oauthplayground |
| 41 |
; if you would like to obtain refresh_token from users by hand |
| 42 |
; (for example, for test reasons). |
| 43 |
; 3. Client ID and Client Secret will be shown and available on the same page. |
| 44 |
;priority=1 ; Resource priority |
| 45 |
;port=5222 ; Port to use defaults to 5222 |
| 46 |
;usetls=yes ; Use tls or not |
| 47 |
;usesasl=yes ; Use sasl or not |
| 48 |
;[email protected] ; Manual addition of buddy to list. |
| 49 |
; For distributed events, these buddies are |
| 50 |
; automatically added in the whitelist as |
| 51 |
; 'owners' of the node(s). |
| 52 |
;distribute_events=yes ; Whether or not to distribute events using |
| 53 |
; this connection. Default is 'no'. |
| 54 |
;status=available ; One of: chat, available, away, xaway, or dnd |
| 55 |
;statusmessage="I am available" ; Have custom status message for Asterisk |
| 56 |
;timeout=5 ; Timeout (in seconds) on the message stack, defaults to 5. |
| 57 |
; Messages stored longer than this value will be deleted by Asterisk. |
| 58 |
; This option applies to incoming messages only, which are intended to |
| 59 |
; be processed by the JABBER_RECEIVE dialplan function. |
| 60 |
;sendtodialplan=yes ; Send incoming messages into the dialplan. Off by default. |
| 61 |
;context=messages ; Dialplan context to send incoming messages to. If not set, |
| 62 |
; "default" will be used. |
| 63 |
;forceoldssl=no ; Force the use of old-style SSL. |
| 64 |
;keepalive= |