DA pra fazer esse mesmo esqueam usando o NVFaxDetect que ja tem instalado no asterisk?<br>Configurar um ramal que sempre atenda como fax?<br><br><br><br><div class="gmail_quote">On Mon, Mar 17, 2008 at 11:40 AM,  &lt;<a href="mailto:alcaponefelippe@bol.com.br">alcaponefelippe@bol.com.br</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Salve lista!<br>
<br>
 &nbsp;Estou com um problema qnto ao hylafax, enfim ele rodava perfeito no asterisk 1.6-beta2 mas tive que retornar ao 1.4.18 e formatei a maquina. Apos tudo refeito, somente o hylafax não consigo rodar.<br>
Enfim, parece que o iaxmodem funfa normal, pois fiz um ramal para o fax (900) e qndo ligo neste chama-se durante os segundos setados no extensions.conf e depois da sinal de ocupado.<br>
Enfim não consigo ter o sinal do fax. Acho que estou com erro somente no hylafax, inicialização deste, ou algo parecido.<br>
Seguem todos arquivos abaixo para averiguar e quem puder me ajudar.<br>
<br>
Agradeço antecipadamente por ajudas.<br>
<br>
Felippe.<br>
<br>
;Peer criado no IAX e conectados via iaxmodem.. Dou o iax2 show peers e estão conectados..<br>
;/etc/asterisk/iax.conf<br>
[iaxfax1]<br>
username=iaxfax1<br>
type=friend<br>
secret=123456<br>
qualify=no<br>
notransfer=yes<br>
host=dynamic<br>
context=default<br>
callerid=&quot;Fax&quot; &lt;0000&gt;<br>
allow=all<br>
<br>
<br>
;/etc/iaxmodem/ttyIAX<br>
device /dev/ttyIAX0<br>
owner uucp:uucp<br>
mode 660<br>
port 4570<br>
refresh 300<br>
server <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
peername iaxfax1<br>
secret 123456<br>
codec ulaw<br>
<br>
<br>
/etc/iaxmodem/config.ttyIAX<br>
os arquivos no hylafax estão assim:<br>
CountryCode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;55<br>
AreaCode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 48<br>
FAXNumber: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;+55.48.12345644<br>
LongDistancePrefix: &nbsp; &nbsp; 1<br>
InternationalPrefix: &nbsp; &nbsp;011<br>
DialStringRules: &nbsp; &nbsp; &nbsp; &nbsp;etc/dialrules<br>
ServerTracing: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0xFFF<br>
SessionTracing: &nbsp; &nbsp; &nbsp; &nbsp; 0xFFF<br>
RecvFileMode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0600<br>
LogFileMode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0600<br>
DeviceMode: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0600<br>
RingsBeforeAnswer: &nbsp; &nbsp; &nbsp;1<br>
SpeakerVolume: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on<br>
GettyArgs: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;-h %l dx_%s&quot;<br>
LocalIdentifier: &nbsp; &nbsp; &nbsp; &nbsp;&quot;IAXmodem&quot;<br>
TagLineFont: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;etc/lutRS18.pcf<br>
TagLineFormat: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;From %%l|%c|Page %%P of %%T&quot;<br>
MaxRecvPages: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200<br>
ModemType: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Class1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# use this to supply a hint<br>
Class1AdaptRecvCmd: &nbsp; &nbsp; AT+FAR=1<br>
Class1TMConnectDelay: &nbsp; 400 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # counteract quick CONNECT response<br>
ModemResetCmds: &nbsp; &nbsp; &nbsp; &nbsp; AT+VCID=1 &nbsp; &nbsp; &nbsp; # enables CallID display<br>
PagerTTYParity: &nbsp; &nbsp; &nbsp; &nbsp; none<br>
CallIDPattern: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;NMBR=&quot;<br>
CallIDPattern: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;NAME=&quot;<br>
CallIDPattern: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;ANID=&quot;<br>
CallIDPattern: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;NDID=&quot;<br>
<br>
<br>
<br>
;/etc/inittab<br>
fax:23:respawn:/usr/bin/faxgetty ttyIAX<br>
IA00:23:respawn:/usr/bin/iaxmodem ttyIAX0<br>
<br>
<br>
; CLI<br>
; Ramal do fax 900, erro hangup<br>
 &nbsp; &nbsp;-- Executing [900@default:1] Goto(&quot;SIP/20-081da0c0&quot;, &quot;from-pstn-fax|s|1&quot;) in new stack<br>
 &nbsp; &nbsp;-- Goto (from-pstn-fax,s,1)<br>
 &nbsp; &nbsp;-- Executing [s@from-pstn-fax:1] Dial(&quot;SIP/20-081da0c0&quot;, &quot;IAX2/iaxfax1|1&quot;) in new stack<br>
 &nbsp; &nbsp;-- Called iaxfax1<br>
 &nbsp; &nbsp;-- Call accepted by <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> (format ulaw)<br>
 &nbsp; &nbsp;-- Format for call is ulaw<br>
 &nbsp; &nbsp;-- IAX2/iaxfax1-1 is ringing<br>
 &nbsp; &nbsp;-- Nobody picked up in 1000 ms<br>
 &nbsp; &nbsp;-- Hungup &#39;IAX2/iaxfax1-1&#39;<br>
 &nbsp;== Auto fallthrough, channel &#39;SIP/20-081da0c0&#39; status is &#39;NOANSWER&#39;<br>
<br>
<br>
_______________________________________________<br>
Compre uma camiseta da AsteriskBrasil.org!<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;== <a href="http://VoIPMania.com.br" target="_blank">VoIPMania.com.br</a> ==<br>
<br>
_______________________________________________<br>
LIsta de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
</blockquote></div><br>