<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2041/1/7/_/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=12288004#comment-12288004">Calling using Google</a></h2>
    <h4>Comment edited by             <a href="https://wiki.asterisk.org/wiki/display/~mdavenport">Malcolm Davenport</a>
     :</h4>
    <br/>
                        <h4>Changes (1)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-unchanged" >It&#39;s probably not a bad idea to make that the default suggestion in the content here, no? <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>I&#39;d make the inbound section look something like: <br> <br>{noformat} <br>exten =&gt; s,1,Set(crazygooglecid=${CALLERID(name)}) <br>exten =&gt; s,n,Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)}) <br>exten =&gt; s,n,Set(stripleadingplus=${CUT(stripcrazysuffix,+,2)}) <br>exten =&gt; s,n,Set(CALLERID(all)=${stripleadingplus}) <br>exten =&gt; s,n,Dial(SIP/malcolm,20,D(:1)) <br>{noformat} <br> <br>yes? <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <p>It's probably not a bad idea to make that the default suggestion in the content here, no?</p>

<p>I'd make the inbound section look something like:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>exten =&gt; s,1,Set(crazygooglecid=${CALLERID(name)})
exten =&gt; s,n,Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)})
exten =&gt; s,n,Set(stripleadingplus=${CUT(stripcrazysuffix,+,2)})
exten =&gt; s,n,Set(CALLERID(all)=${stripleadingplus})
exten =&gt; s,n,Dial(SIP/malcolm,20,D(:1))
</pre>
</div></div>

<p>yes?</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?focusedCommentId=12288004#comment-12288004">View Online</a>
              |
       <a id="reply-12288004" href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?replyToComment=12288004#comment-12288004">Reply To This</a>
           </div>

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