Pessoal, boa tarde.<br><br>Eu tenho um asterisk registrado em um Digitro através de um tronco SIP (está atrás do digitro). Origino e recebo chamados entre o Asterisk x Digitro normalmente. <br>Há a possibilidade de utilizar uma extensão do digitro para gerar chamadas externas através do asterisk utilizando o tronco SIP?<br>
<br>Eu criei uma rota de saida utilizando o tronco SIP, e segue log:<br><br>  == Using SIP RTP TOS bits 184<br>  == Using SIP RTP CoS mark 5<br>    -- Executing [032271003@from-internal:1] Macro(&quot;SIP/6001-00000011&quot;, &quot;user-callerid,SKIPTTL,&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:1] Set(&quot;SIP/6001-00000011&quot;, &quot;AMPUSER=6001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:2] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?report&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:3] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;1?Set(REALCALLERIDNUM=6001)&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:4] Set(&quot;SIP/6001-00000011&quot;, &quot;AMPUSER=6001&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:5] Set(&quot;SIP/6001-00000011&quot;, &quot;AMPUSERCIDNAME=6001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:6] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?report&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:7] Set(&quot;SIP/6001-00000011&quot;, &quot;AMPUSERCID=6001&quot;) in new stack<br>    -- Executing [s@macro-user-callerid:8] Set(&quot;SIP/6001-00000011&quot;, &quot;CALLERID(all)=&quot;6001&quot; &lt;6001&gt;&quot;) in new stack<br>
    -- Executing [s@macro-user-callerid:9] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?continue&quot;) in new stack<br>    -- Goto (macro-user-callerid,s,18)<br>    -- Executing [s@macro-user-callerid:18] NoOp(&quot;SIP/6001-00000011&quot;, &quot;Using CallerID &quot;6001&quot; &lt;6001&gt;&quot;) in new stack<br>
    -- Executing [032271003@from-internal:2] Set(&quot;SIP/6001-00000011&quot;, &quot;_NODEST=&quot;) in new stack<br>    -- Executing [032271003@from-internal:3] Macro(&quot;SIP/6001-00000011&quot;, &quot;record-enable,6001,OUT,&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:1] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?check&quot;) in new stack<br>    -- Goto (macro-record-enable,s,4)<br>    -- Executing [s@macro-record-enable:4] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?MacroExit()&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:5] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?Group:OUT&quot;) in new stack<br>    -- Goto (macro-record-enable,s,16)<br>    -- Executing [s@macro-record-enable:16] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?IN&quot;) in new stack<br>
    -- Executing [s@macro-record-enable:17] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;1?MacroExit()&quot;) in new stack<br>    -- Executing [032271003@from-internal:4] Macro(&quot;SIP/6001-00000011&quot;, &quot;dialout-trunk,2,32271003,,&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:1] Set(&quot;SIP/6001-00000011&quot;, &quot;DIAL_TRUNK=2&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:2] GosubIf(&quot;SIP/6001-00000011&quot;, &quot;0?sub-pincheck,s,1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:3] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?disabletrunk,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:4] Set(&quot;SIP/6001-00000011&quot;, &quot;DIAL_NUMBER=32271003&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:5] Set(&quot;SIP/6001-00000011&quot;, &quot;DIAL_TRUNK_OPTIONS=tr&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:6] Set(&quot;SIP/6001-00000011&quot;, &quot;OUTBOUND_GROUP=OUT_2&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:7] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?nomax&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:8] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?chanfull&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:9] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?skipoutcid&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:10] Set(&quot;SIP/6001-00000011&quot;, &quot;DIAL_TRUNK_OPTIONS=&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:11] Macro(&quot;SIP/6001-00000011&quot;, &quot;outbound-callerid,2&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:1] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(CALLERPRES()=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:2] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(REALCALLERIDNUM=6001)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:3] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?normcid&quot;) in new stack<br>
    -- Goto (macro-outbound-callerid,s,6)<br>    -- Executing [s@macro-outbound-callerid:6] Set(&quot;SIP/6001-00000011&quot;, &quot;USEROUTCID=&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:7] Set(&quot;SIP/6001-00000011&quot;, &quot;EMERGENCYCID=&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:8] Set(&quot;SIP/6001-00000011&quot;, &quot;TRUNKOUTCID=&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:9] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?trunkcid&quot;) in new stack<br>
    -- Goto (macro-outbound-callerid,s,12)<br>    -- Executing [s@macro-outbound-callerid:12] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:13] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>
    -- Executing [s@macro-outbound-callerid:14] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>    -- Executing [s@macro-outbound-callerid:15] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(CALLERPRES()=prohib_passed_screen)&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:12] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?AGI(fixlocalprefix)&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:13] Set(&quot;SIP/6001-00000011&quot;, &quot;OUTNUM=32271003&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:14] Set(&quot;SIP/6001-00000011&quot;, &quot;custom=SIP/integra_digitro&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:15] ExecIf(&quot;SIP/6001-00000011&quot;, &quot;0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:16] Macro(&quot;SIP/6001-00000011&quot;, &quot;dialout-trunk-predial-hook,&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(&quot;SIP/6001-00000011&quot;, &quot;&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:17] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?bypass,1&quot;) in new stack<br>    -- Executing [s@macro-dialout-trunk:18] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;0?customtrunk&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:19] Dial(&quot;SIP/6001-00000011&quot;, &quot;SIP/integra_digitro/32271003,300,&quot;) in new stack<br>  == Using SIP RTP TOS bits 184<br>  == Using SIP RTP CoS mark 5<br>    -- Called integra_digitro/32271003<br>
    -- SIP/integra_digitro-00000012 is circuit-busy<br>  == Everyone is busy/congested at this time (1:0/1/0)<br>    -- Executing [s@macro-dialout-trunk:20] NoOp(&quot;SIP/6001-00000011&quot;, &quot;Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 1&quot;) in new stack<br>
    -- Executing [s@macro-dialout-trunk:21] Goto(&quot;SIP/6001-00000011&quot;, &quot;s-CONGESTION,1&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,s-CONGESTION,1)<br>    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set(&quot;SIP/6001-00000011&quot;, &quot;RC=1&quot;) in new stack<br>
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(&quot;SIP/6001-00000011&quot;, &quot;1,1&quot;) in new stack<br>    -- Goto (macro-dialout-trunk,1,1)<br>    -- Executing [032271003@from-internal:5] Macro(&quot;SIP/6001-00000011&quot;, &quot;outisbusy,&quot;) in new stack<br>
    -- Executing [s@macro-outisbusy:1] Progress(&quot;SIP/6001-00000011&quot;, &quot;&quot;) in new stack<br>    -- Executing [s@macro-outisbusy:2] Playback(&quot;SIP/6001-00000011&quot;, &quot;all-circuits-busy-now,noanswer&quot;) in new stack<br>
    -- &lt;SIP/6001-00000011&gt; Playing &#39;all-circuits-busy-now.gsm&#39; (language &#39;en&#39;)<br>    -- Executing [s@macro-outisbusy:3] Playback(&quot;SIP/6001-00000011&quot;, &quot;pls-try-call-later,noanswer&quot;) in new stack<br>
    -- &lt;SIP/6001-00000011&gt; Playing &#39;pls-try-call-later.gsm&#39; (language &#39;en&#39;)<br>    -- Executing [s@macro-outisbusy:4] Macro(&quot;SIP/6001-00000011&quot;, &quot;hangupcall&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?skiprg&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,4)<br>    -- Executing [s@macro-hangupcall:4] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?skipblkvm&quot;) in new stack<br>    -- Goto (macro-hangupcall,s,7)<br>    -- Executing [s@macro-hangupcall:7] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?theend&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,9)<br>    -- Executing [s@macro-hangupcall:9] Hangup(&quot;SIP/6001-00000011&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on &#39;SIP/6001-00000011&#39; in macro &#39;hangupcall&#39;<br>
  == Spawn extension (macro-outisbusy, s, 4) exited non-zero on &#39;SIP/6001-00000011&#39; in macro &#39;outisbusy&#39;<br>  == Spawn extension (from-internal, 032271003, 5) exited non-zero on &#39;SIP/6001-00000011&#39;<br>
    -- Executing [h@from-internal:1] Macro(&quot;SIP/6001-00000011&quot;, &quot;hangupcall&quot;) in new stack<br>    -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?skiprg&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,4)<br>    -- Executing [s@macro-hangupcall:4] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?skipblkvm&quot;) in new stack<br>    -- Goto (macro-hangupcall,s,7)<br>    -- Executing [s@macro-hangupcall:7] GotoIf(&quot;SIP/6001-00000011&quot;, &quot;1?theend&quot;) in new stack<br>
    -- Goto (macro-hangupcall,s,9)<br>    -- Executing [s@macro-hangupcall:9] Hangup(&quot;SIP/6001-00000011&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on &#39;SIP/6001-00000011&#39; in macro &#39;hangupcall&#39;<br>
  == Spawn extension (from-internal, h, 1) exited non-zero on &#39;SIP/6001-00000011&#39;<br><br>Obrigado,<br><br>Tiago Nascimento.<br>