[AsteriskBrasil] Asterisk 1.4.17 + IAXModem + Hylafax

Felipe R. Pasa feliperp3 em gmail.com
Quinta Fevereiro 28 16:17:40 BRT 2008


o ip do servidor no arquivo /etc/iaxmodem/ttyIAX0

 esta com 127.0.0.1

por acaso o seu parametreo bindaddr do arquivo iax.conf esta com o
valor 0.0.0.0?

iax.conf
---------------

[general]

bindport=4569
bindaddr=0.0.0.0


2008/2/28, Eduardo Assis - Pro Redes <eassis em linuxmail.org>:
> Fazendo o que vc falou:
>
>  root em asterisk:/etc/iaxmodem# /usr/sbin/iaxmodem ttyIAX0
>  [2008-02-28 10:52:40] Modem started
>  [2008-02-28 10:52:40] Setting device = '/dev/ttyIAX'
>  [2008-02-28 10:52:40] Setting owner = 'uucp:uucp'
>  [2008-02-28 10:52:40] Setting mode = '660'
>  [2008-02-28 10:52:40] Setting port = 4569
>  [2008-02-28 10:52:40] Setting refresh = 300
>  [2008-02-28 10:52:40] Setting server = '127.0.0.1'
>  [2008-02-28 10:52:40] Setting peername = '6565'
>  [2008-02-28 10:52:40] Setting secret = '6565'
>  [2008-02-28 10:52:40] Setting cidname = 'IAX Modem 1'
>  [2008-02-28 10:52:40] Setting cidnumber = '6565'
>  [2008-02-28 10:52:40] Setting codec = ulaw
>  [2008-02-28 10:52:40] Opened pty, slave device: /dev/pts/5
>  [2008-02-28 10:52:40] Removed old /dev/ttyIAX
>  [2008-02-28 10:52:40] Created /dev/ttyIAX symbolic link
>  [2008-02-28 10:53:17] Registration timed out.
>
>  Outra sugestão ?
>
>
>  asterisk*CLI> iax2 show peers
>  Name/Username    Host                 Mask             Port          Status
>
> 6565/6565        (Unspecified)   (D)  255.255.255.255  0             Unmonitored
>  18/18            (Unspecified)   (D)  255.255.255.255  0             UNKNOWN
>  2 iax2 peers [0 online, 1 offline, 1 unmonitored]
>
>  Logs do CLI> Asterisk
>
>     -- Executing [6565 em proredes:1] Dial("SIP/10-08227240", "IAX2/ttyIAX0/6565") in new stack
>  [Feb 28 10:55:32] WARNING[5330]: chan_iax2.c:2862 create_addr: No such host: ttyIAX0
>  [Feb 28 10:55:32] WARNING[5330]: app_dial.c:1111 dial_exec_full: Unable to create channel of type 'IAX2' (cause 3 - No route to destination)
>
>   == Everyone is busy/congested at this time (1:0/0/1)
>
>     -- Executing [6565 em proredes:2] SIPAddHeader("SIP/10-08227240", "Alert-Info: Bellcore-r2") in new stack
>     -- Executing [6565 em proredes:3] Monitor("SIP/10-08227240", "wav|/var/www/htdocs/monitorout/monitor-28022008105532|m") in new stack
>     -- Executing [6565 em proredes:4] Dial("SIP/10-08227240", "SIP/6565|120|Tt") in new stack
>  [Feb 28 10:55:33] WARNING[5330]: chan_sip.c:2867 create_addr: No such host: 6565
>  [Feb 28 10:55:33] WARNING[5330]: app_dial.c:1111 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
>
>   == Everyone is busy/congested at this time (1:0/0/1)
>
>     -- Executing [6565 em proredes:5] Hangup("SIP/10-08227240", "") in new stack
>   == Spawn extension (proredes, 6565, 5) exited non-zero on 'SIP/10-08227240'
>  [Feb 28 10:55:33] NOTICE[5330]: cdr.c:434 ast_cdr_free: CDR on channel 'SIP/10-08227240' not posted
>  a
>
>
>  No meu iax.conf está:
>
>
>  [6565]
>  username=6565
>  type=friend
>
> secret=6565
>  qualify=no
>  notransfer=yes
>  host=dynamic
>  context=proredes
>  callerid="Fax" <6565>
>  allow=all
>
>
>  No extensions.conf está assim:
>
>  exten => _6565,1,Dial(IAX2/ttyIAX0/6565)
>  exten => _6565,2,Hangup()
>
>  Estou digitando em um telefone para 6565 e ver se dá o sinal de fax.
>
>
>  Abraços.
>
>  =
>  Search for products and services at:
>  http://search.mail.com
>
>  --
>  Powered by Outblaze
>  _______________________________________________
>  Compre uma camiseta da AsteriskBrasil.org!
>             http://www.voipmania.com.br
>                 == VoIPMania.com.br ==
>
>  _______________________________________________
>  LIsta de discussões AsteriskBrasil.org
>  AsteriskBrasil em listas.asteriskbrasil.org
>  http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>


More information about the AsteriskBrasil mailing list