<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Boa tarde,<br>
<br>
Faz tempo que perguntei sobre este assunto, mas agora estou
compartilhando a solução encontrada.<br>
<br>
Meu problema era causado pelo parâmetro "<b>r</b>" na função do
Dial.<br>
<br>
A descrição do parâmetro está logo abaixo:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<strong style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); ">r</strong><span
style="color: rgb(0, 0, 0); font-family: Verdana, Geneva, Arial,
Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; ">: Generate a
ringing tone for the calling party, passing no audio from the
called channel(s) until one answers. Without this option, Asterisk
will generate ring tones automatically where it is appropriate to
do so; however, "r" will force Asterisk to generate ring tones,
even if it is not appropriate. For example, if you used this
option to force ringing but the line was busy the user would hear
"RING RIBEEP BEEP BEEP" (thank you tzanger), which is potentially
confusing and/or unprofessional. However, the option is necessary
in a couple of places. For example, when you're dialing multiple
channels, call progress information is not consistantly passed
back. Look at<span class="Apple-converted-space"> </span></span><a
title="Asterisk cmd Progress"
href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Progress"
style="color: rgb(67, 105, 118); font-family: Verdana, Geneva,
Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); ">Progress</a><span style="color: rgb(0, 0, 0); font-family:
Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline !important;
float: none; ">(), the<span class="Apple-converted-space"> </span></span><em
style="color: rgb(0, 0, 0); font-family: Verdana, Geneva, Arial,
Helvetica, sans-serif; font-size: 12px; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: left; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); ">progressinband</em><span
style="color: rgb(0, 0, 0); font-family: Verdana, Geneva, Arial,
Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none; "><span
class="Apple-converted-space"> </span>setting in sip.conf or<span
class="Apple-converted-space"> </span></span><a title="Asterisk
cmd Ringing"
href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Ringing"
style="color: rgb(67, 105, 118); font-family: Verdana, Geneva,
Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align: left; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); ">Ringing</a><span style="color: rgb(0, 0, 0); font-family:
Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline !important;
float: none; ">() if you would like to avoid the use of 'r' but
have issues with the ringback behaviour of Dial().</span><br>
<br>
Fonte:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial">http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial</a><br>
<br>
Abraço<br>
<br>
<div class="moz-cite-prefix">Em 29-02-2012 09:49, Tiago Farias
escreveu:<br>
</div>
<blockquote cite="mid:4F4E1EC8.2070702@abix.com.br" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Bom dia a todos,<br>
<br>
Tenho a seguinte situação aqui na empresa:<br>
<br>
Ligo para o telefone da minha casa do meu celular, se ele estiver
ocupado, na hora recebo o TOM de ocupado.<br>
<br>
Quando ligo do meu ramal aqui na empresa para o mesmo número(minha
casa), mesmo se ele estiver ocupado fico recebendo o tom da
chamada.<br>
<br>
Isso é um problema pois as vezes perdemos um tempão na linha
esperando alguém atender, mas na verdade o número chamado está
ocupado.<br>
<br>
Segue o meu extensions.conf<br>
<br>
;numeros fixos locais<br>
exten=>_0[2-6]xxxxxxx,1,NoOp(SRC=${CALLERID(num)})<br>
exten=>_0[2-6]xxxxxxx,n,MixMonitor(saida_gvt_e1_${CALLERID(num)}_${EXTEN}_${EPOCH}.wav)<br>
exten=>_0[2-6]xxxxxxx,n,Set(CALLERID(number)="XXXXXXXX")<br>
exten=>_0[2-6]xxxxxxx,n,Dial(DAHDI/g0/${EXTEN:1},90,rtTg) <br>
exten=>_0[2-6]xxxxxxx,n,PlayTones(busy)<br>
exten=>_0[2-6]xxxxxxx,n,Wait(5)<br>
exten=>_0[2-6]xxxxxxx,n,Hangup(16)<br>
<br>
<br>
Obrigado.<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font color="#000099" face="Utopia" size="1"> <font
style="font-weight: normal;" size="2">Tiago Farias<br>
</font> </font> <big> <big> <big> <font color="#000099">
<b> <span style="font-size: 10.5pt;
font-family:"Cambria","serif";
color: rgb(148, 138, 84);"> <big><font
color="#333399">Ab<font color="#ff0000">i</font>x
Tecnologia Ltda</font></big> </span> </b> </font>
</big> </big> </big><br>
<font color="#000099" face="Utopia"><small><small><br>
Fone: (41) 3017-0652 <br>
PABX: (41) 3022-0500<br>
Fax: (41) 3022-0501 </small></small> </font><br>
<small> <font color="#006600"> <small><tt><font
color="#000099"> </font></tt>Antes de imprimir pense
em seu compromisso com o meio ambiente.</small></font> <font><font><font>
<font color="#000033" face="Verdana, Arial, Helvetica,
sans-serif" size="1"><small> <font
style="font-weight: normal;" color="#333333"
face="Verdana, Arial, Helvetica, sans-serif"
size="1"><small><small> <font color="#000033"
face="Verdana, Arial, Helvetica, sans-serif"
size="1"><small><small><small><small> <br>
</small></small></small></small></font></small></small></font></small></font></font></font>
</font> </small><br>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font color="#000099" face="Utopia" size="1"> <font
style="font-weight: normal;" size="2">Tiago Farias<br>
</font> </font> <big> <big> <big> <font color="#000099"> <b>
<span style="font-size: 10.5pt;
font-family:"Cambria","serif";
color: rgb(148, 138, 84);"> <big><font
color="#333399">Ab<font color="#ff0000">i</font>x
Tecnologia Ltda</font></big> </span> </b> </font>
</big> </big> </big><br>
<font color="#000099" face="Utopia"><small><small><br>
Fone: (41) 3017-0652 <br>
PABX: (41) 3022-0500<br>
Fax: (41) 3022-0501 </small></small> </font><br>
<small> <font color="#006600"> <small><tt><font color="#000099">
</font></tt>Antes de imprimir pense em seu compromisso com
o meio ambiente.</small></font> <font><font><font> <font
color="#000033" face="Verdana, Arial, Helvetica,
sans-serif" size="1"><small> <font style="font-weight:
normal;" color="#333333" face="Verdana, Arial,
Helvetica, sans-serif" size="1"><small><small> <font
color="#000033" face="Verdana, Arial,
Helvetica, sans-serif" size="1"><small><small><small><small>
<br>
</small></small></small></small></font></small></small></font></small></font></font></font>
</font> </small><br>
</div>
</body>
</html>