<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2172/18/9/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google">Calling using Google</a></h2>
    <h4>Comment <b>removed</b> by              <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
        <p>Hi, I'm looking for a more complete explanation of what you can do with gtalk.conf. I'm trying to setup multiple gtalk 'trunks' and it's not clear to me what the best way to do this is.</p>

<p>Most of my config is working. I have 2 accounts connected with jabber.conf and "jabber show connections" indicates both connected. After noticing a warning message in the CLI about where the incoming gtalk call was dropping into the dialplan, I figured out the better way to handle incoming connections starting with 'exten =&gt; XXXX@gmail.com,1,Answer()' instead of a lot of tutorials that have 'exten =&gt; s,1,Answer()' but in gtalk.conf for the header line "<a href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=guest" class="createlink">guest</a>" and "connection=XXX" its not clear how to do multiple accounts.</p>

<p>Outbound calling works fine- I dial a prefix to specify which account/trunk to go out on and everything works fine. But inbound doesn't seem to work for both accounts and it seems like it has something to do with "connection=XXXX" and the "<a href="/wiki/pages/createpage.action?spaceKey=AST&amp;title=guest" class="createlink">guest</a>" header. I've searched code.google.com, asterisk.org, wiki.asterisk.org, digium.com, etc but there doesn't seem to be a definitive explanation for how all these labels/headers/links are inter-connected. Any help? Thanks!</p>
    </div>

    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
    </div>
</div>
</div>
</div>
</div>
</body>
</html>