<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=18415665#comment-18415665">Calling using Google</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://wiki.asterisk.org/wiki/display/~brucelampson@gmail.com">Bruce Lampson</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <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>


<p><span class="error">&#91;local&#93;</span><br/>
exten =&gt; s,1,Answer()<br/>
exten =&gt; s,n,Wait(8)<br/>
exten =&gt; s,n,SendDTMF(1)<br/>
exten =&gt; s,n,Dial(SIP/1000,20)</p>

<p>exten =&gt; s,1,Set(name=$</p>
<div class="error"><span class="error">Unknown macro: {CALLERID(name)}</span> <p>)<br/>
exten =&gt; s,n,Set(name=$</p></div>
<p>)<br/>
exten =&gt; s,n,Set(num=$</p>
<div class="error"><span class="error">Unknown macro: {CUT(name,@,1)}</span> </div>
<p>)<br/>
exten =&gt; s,n,Set(CALLERID(all)=$</p>
<div class="error"><span class="error">Unknown macro: {num}</span> </div>
<p>)<br/>
exten =&gt; s,n,Dial(SIP/1000,20,D(:1))</p>

<p>exten =&gt; 100,1,Dial(gtalk/asterisk/myfriends@gmail.com)<br/>
exten =&gt; _1XXXXXXXXXX,1,Dial(gtalk/asterisk/+$</p>
<div class="error"><span class="error">Unknown macro: {EXTEN}</span> </div>
<p>@voice.google.com)</p>

<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 style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/wiki/display/~mdavenport"
                          class="url fn confluence-userlink" data-username="mdavenport"
                   >Malcolm Davenport</a>:</strong><br/>
        <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>Set(name=${CALLERID(name)})
Set(num=${CUT(name,@,1)})
Set(CALLERID(all)=${num})
</pre>
</div></div>

<p>Didn't work for you?</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=18415665#comment-18415665">View Online</a>
              |
       <a id="reply-18415665" href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?replyToComment=18415665#comment-18415665">Reply To This</a>
           </div>

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