<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/en/2171/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?focusedCommentId=19005505#comment-19005505">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 (2)</h4>
                                
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Malcolm,</span> <span class="diff-added-words"style="background-color: #dfd;">edited...</span> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">I can report to you, i was successfully get SIP calling via Google voice to work. <br> <br>I read somewhere that you can use Google Voice with Fax For Asterisk (FFA) to make fax via SIP. Can you show how to do that via a sample dialplan? <br> <br>Can you show using above jabber.conf configuration and gtalk.conf Channel Driver? <br> <br>Here is sample code i am trying to use in extension.conf: <br> <br>[fax-tx] <br>exten =&gt; send,1,NoOp(**** SENDING FAX ****) <br>exten =&gt; send,n,Wait(6) <br>exten =&gt; send,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) <br>exten =&gt; send,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)}) <br>exten =&gt; send,n,Set(FAXFILE=dw-faxout.tif) ; &lt;&lt;&lt; FAX FILE <br>; Set FAXOPTs <br>exten =&gt; send,n,NoOp(**** SETTING FAXOPT ****) <br>exten =&gt; send,n,Set(FAXOPT(ecm)=yes) <br>exten =&gt; send,n,Set(FAXOPT(headerinfo)=Fax from $ <br>{GLOBAL(LASTFAXCALLERNAME)} at ${GLOBAL(LASTFAXCALLERNUM)} was received.) <br>exten =&gt; send,n,Set(FAXOPT(localstationid)=1234567890) <br>exten =&gt; send,n,Set(FAXOPT(maxrate)=14400) <br>exten =&gt; send,n,Set(FAXOPT(minrate)=2400) <br>; Send the fax <br>exten =&gt; send,n,NoOp(**** SENDING FAX : ${FAXFILE} ****) <br>exten =&gt; send,n,SendFAX(/home/dwayne/faxout/${FAXFILE},d) ; FAX FILE LOCATION and FILE <br>; Hangup! Print FAXOPTs <br>exten =&gt; h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) <br>exten =&gt; h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)}) <br>exten =&gt; h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) <br>exten =&gt; h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) <br>exten =&gt; h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) <br>exten =&gt; h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) <br>exten =&gt; h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)}) <br>exten =&gt; h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)}) <br>exten =&gt; h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)}) <br>exten =&gt; h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)}) <br>exten =&gt; h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)}) <br>exten =&gt; h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)}) <br>exten =&gt; h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)}) <br> <br>[default] <br>exten =&gt; fax,1,NoOp(**** FAX DETECTED ****) <br>exten =&gt; fax,n,Goto(fax-rx,receive,1) <br> <br>What i am not clear is where do i place the SIP dialing in extension.conf? <br> <br>[local] <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,Set(name=${CALLERID(name)}) <br>exten =&gt; s,n,Set(num=${CUT(name,@,1)}) <br>exten =&gt; s,n,Set(CALLERID(all)=${num}) <br>exten =&gt; s,n,Dial(SIP/1000,20) <br> <br>exten =&gt; 100,1,Dial(gtalk/asterisk/myfriends@gmail.com) <br>exten =&gt; _1XXXXXXXXXX,1,Dial(gtalk/asterisk/+${EXTEN}@voice.google.com) <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                          <div class="notificationGreySide">
            <p>edited...</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=19005505#comment-19005505">View Online</a>
              |
       <a id="reply-19005505" href="https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google?replyToComment=19005505#comment-19005505">Reply To This</a>
           </div>

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