<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2166/10/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?focusedCommentId=18415668#comment-18415668">Calling using Google</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>Try:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>
[local]
exten =&gt; s,1,Answer()
exten =&gt; s,n,Wait(8)
exten =&gt; s,n,SendDTMF(1)
exten =&gt; s,n,Set(name=${CALLERID(name)})
exten =&gt; s,n,Set(num=${CUT(name,@,1)})
exten =&gt; s,n,Set(CALLERID(all)=${num})
exten =&gt; s,n,Dial(SIP/1000,20)

exten =&gt; 100,1,Dial(gtalk/asterisk/myfriends@gmail.com)
exten =&gt; _1XXXXXXXXXX,1,Dial(gtalk/asterisk/+${EXTEN}@voice.google.com)
</pre>
</div></div>

    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~brucelampson@gmail.com"
                          class="url fn confluence-userlink" data-username="brucelampson@gmail.com"
                   >Bruce Lampson</a>:</strong><br/>
        <p>Hi Malcolm, thank you very much for replying, unfortunately this is not working for me. When i get an inbound call it displays that crazy Google id.</p>

<p>Here is copy of the configuration of my extensions.conf file </p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>[local]
exten =&gt; s,1,Answer()
exten =&gt; s,n,Wait(8)
exten =&gt; s,n,SendDTMF(1)
exten =&gt; s,n,Dial(SIP/1000,20)

exten =&gt; s,1,Set(name=${CALLERID(name)})
exten =&gt; s,n,Set(name=${CALLERID(name)})
exten =&gt; s,n,Set(num=${CUT(name,@,1)})
exten =&gt; s,n,Set(CALLERID(all)=${num})
exten =&gt; s,n,Dial(SIP/1000,20,D(:1))

exten =&gt; 100,1,Dial(gtalk/asterisk/myfriends@gmail.com)
exten =&gt; _1XXXXXXXXXX,1,Dial(gtalk/asterisk/+${EXTEN}@voice.google.com)
</pre>
</div></div>

<p>it is strange because everything else works fine<br/>
Any clue of what can possibly be?</p>

<p><img class="emoticon" src="/wiki/images/icons/emoticons/sad.gif" height="20" width="20" align="absmiddle" alt="" border="0"/></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>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?focusedCommentId=18415668#comment-18415668">View Online</a>
              |
       <a id="reply-18415668" href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?replyToComment=18415668#comment-18415668">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>