<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Arial" size="3" style="font-size:12pt;">&nbsp; &nbsp;Olá pessoal.</font><div><font face="Arial" size="3" style="font-size:12pt;">&nbsp; &nbsp;Alguém sabe como inserir dois contextos diferentes no outgoing do asterisk ?</font></div><div><font face="Arial" size="3" style="font-size:12pt;"><br></font></div><div><font face="Arial" size="3" style="font-size:12pt;">exemplo :</font></div><div><font face="Arial" size="3" style="font-size:12pt;">&nbsp; origem = goto celular,04884137000,1</font></div><div><font face="Arial" size="3" style="font-size:12pt;">&nbsp; destino = goto ura,s,1&nbsp;</font></div><div><font face="Arial" size="3" style="font-size:12pt;">ou algo parecido</font></div><div><font face="Arial" size="3" style="font-size:12pt;"><br></font></div><div><font face="Arial" size="3" style="font-size:12pt;"><div>&nbsp;<span style="font-size: 12pt;">Set(FILE(/etc/asterisk/chamada.call)=channel:sip/goip/3${destino:1}${enter});</span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=codecs:g729${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=Callerid:4884137000${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=MaxRetries:3${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=Retrytime:30${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=context:ura${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=extension:${origem}${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set(FILE(/etc/asterisk/chamada.call,,,ad)=Alwaysdelete:yes${enter});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; system(cp /etc/asterisk/chamada.call /var/spool/asterisk/outgoing/chama_${origem}.call);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HangUp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;</div><div>}</div></font></div><div><font face="Arial" size="3" style="font-size:12pt;"><br></font></div><div><br><br><pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255);">Hudson&nbsp;<br>(048) 8413-7000<br>Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre></div>                                               </div></body>
</html>