creio q seja necessario coloar o contexto default<br><br><div class="gmail_quote">2008/11/10 Flávio Bittencourt <span dir="ltr"><<a href="mailto:flaviobittencourt@uol.com.br">flaviobittencourt@uol.com.br</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2" face="Arial">Olá novamente colegas!!!</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Muito obrigado pelas dicas e pelas colaborações
e </font><font size="2" face="Arial"> respondendo a pergunta do
Matheus:</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">* * Eu uso o Trixbox <a href="http://2.6.0.0" target="_blank">2.6.0.0</a></font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Segue o dialplan em extensions.conf</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"><b>[macro-dial]<br>exten =>
s,1,GotoIf($["${MOHCLASS}" = ""]?dial)<br>exten =>
s,n,SetMusicOnHold(${MOHCLASS})<br>exten =>
s,n(dial),AGI(dialparties.agi)<br>exten => s,n,NoOp(Returned from dialparties
with no extensions to call and DIALSTATUS: ${DIALSTATUS})</b></font></div>
<div><font size="2" face="Arial"><b></b></font> </div>
<div><font size="2" face="Arial"><b>exten =>
s,n+2(normdial),Dial(${ds})
; dialparties will set the priority to 10 if $ds is not null<br>exten =>
s,n,Set(DIALSTATUS=${IF($["${DIALSTATUS_CW}"!=""
]?${DIALSTATUS_CW}:${DIALSTATUS})})<br>exten => s,n,GosubIf($["${SCREEN}" !=
""]?${DIALSTATUS},1)</b></font></div>
<div><font size="2" face="Arial"><b></b></font> </div></div></blockquote></div>........<br clear="all"><br>-- <br>Asterisk user number: 1099<br>Linux user: #443184<br><a href="http://shazaum.googlepages.com">shazaum.googlepages.com</a><br>