<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hans,<br>
    <br>
    I did not try 10 or 11 as I run 1.8.15.  Following are the related
    conf files.<br>
    <br>
    <b>gtalk.conf</b><br>
    <br>
    [General]<br>
    context = default<br>
    allowguest = yes             ; Required if you want to accept calls
    from people Not on your contact list.<br>
    bindaddr=<private IP>   ;; These two settings are very
    critical for getting<br>
    externip=<public IP>      ;; gtalk audio with Asterisk server
    behind NAT<br>
    disallow=all<br>
    allow=ulaw<br>
    <br>
    [guest]                               ;;special account for options
    on guest account<br>
    disallow=all<br>
    allow=ulaw<br>
    context=from-trunk<br>
    connection=<Jab01><br>
    <br>
    <b>jabber.conf</b><br>
    <br>
    [general]<br>
    debug=no                         ;;Turn on debugging by default.<br>
    autoprune=no                   ;;Auto remove users from buddy list.<br>
    autoregister=yes              ;;Auto register users from buddy list.<br>
    <br>
    [Jab01]                              ;; Label<br>
    type = client                       ;; Client or Component
    connection<br>
    serverhost = talk.google.com                                        
              ;; Route to server<br>
    username = <a class="moz-txt-link-abbreviated" href="mailto:Google-user-name-1@gmail.com">Google-user-name-1@gmail.com</a>>/asterisk    ;; Username
    with optional resource.<br>
    secret = <Google password>                                    
                 ;; Password<br>
    priority = 1                       ;; Resource priority<br>
    port = 5222                     ;; Port to use, defaults to 5222<br>
    usetls = yes                    ;; TLS is required by
    talk.google.com, you'll get a 'socket read error' without<br>
    usesasl = yes                   ;; Use sasl or not<br>
    timeout=100                     ;; Timeout on the message stack<br>
    status=available                ;; One of: chat, available, away,
    xaway, or dnd<br>
    statusmessage = "Connected via Asterisk" ;; Custom status message<br>
    <br>
    [Jab02]<br>
    type = client<br>
    serverhost = talk.google.com<br>
    username = <a class="moz-txt-link-abbreviated" href="mailto:Google-user-name-2@gmail.com/asterisk">Google-user-name-2@gmail.com/asterisk</a><br>
    secret = <Google password 2><br>
    priority = 1                       ;; Resource priority<br>
    port = 5222                     ;;Port to use, defaults to 5222<br>
    usetls = yes                     ;;TLS is required by
    talk.google.com, you'll get a 'socket read error' without<br>
    usesasl = yes                  ;;Use sasl or not<br>
    buddy=<Buddy1>@gmail.com  ;;Manual addition of buddy to list.<br>
    buddy=<Buddy2>@gmail.com  ;;Manual addition of buddy to list.<br>
    timeout=100<br>
    status=available<br>
    statusmessage = "Connected via Asterisk"<br>
    <br>
    [Jab03]<br>
    <br>
    [Jab04]<br>
    <br>
    and so on.<br>
    <br>
    Reagrds,<br>
    Vladimir<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/11/2012 4:53 PM, Hans Witvliet
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1347400439.10755.27.camel@t43.lan0.a-domani.nl"
      type="cite">
      <pre wrap="">Hi all,
Been reading about chan_motif / chan_xmpp in the wiki's for 1.8, 10 and
11 version of asterisk.
In each example i got the impression that the asterisk server is
registering on a XMPP server as a single user with the credentials as
specified in jabber.conf.
Instead of a single xmpp-user, could that also be multiple users?
For instance, for each sip-user an xmpp-user?
When i skim through most of the examples, the asteriskbox is used for
making an outbound call with the jingle protocol.
But how about incoming calls?
I presume you need multiple xmpp-accounts, in order to differentiate
multiple destinations. Not?
Or to describe it in an other way: If you just do a single
xmpp-registration, how can you become a destination for different
end-users? how about multiple presence-states?
[utterly confused] Hans
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>