Correção!!!<br><br>...<br>[globals]<br>TRONCOVOIP = SIP/TRONCO<br>TRONCOPSTN = ZAP/g1 ;(se for digum e dgv para digivoice e assim por diante)<br><br>[from_pstn_voip]<br>
;;PSTN OU VOIP<br>exten => _0xxxxxxxxxxxx,1,NoOp(Callerid Out -> ${CALLERID(num)})<br>exten => _0xxxxxxxxxxxx,n,Dial(${TRONCOPSTN}/${EXTEN},,tTr)<br><div id=":42" class="ArwC7c ckChnd"><span style="color: rgb(255, 0, 0);">exten => _0xxxxxxxxxxxx,n,GotoIf($["${DIALSTATUS}" = "CONGESTION"]?congestion:unavail)</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">exten => _0xxxxxxxxxxxx,n(unavail),Dial(${TRONCOVOIP}/0${EXTEN:3},,tTr)</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">exten => _0xxxxxxxxxxxx,n,Hangup()</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">exten => _0xxxxxxxxxxxx,n(congestion),Dial(${TRONCOVOIP}/0${EXTEN:0},,tTr)</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">exten => _0xxxxxxxxxxxx,n,Hangup()<br>
</span></div><br>