Hi,
I have asterisk 1.6 on Centos 5.5 with hylafax 6.0.4 and iaxmodem.
The problem is that I can send fax but not receive. Then I think that is a problem of faxgetty.
This is the log of asterisk cli when I think to send fax myself.
-- Accepting AUTHENTICATED call from 127.0.0.1:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
-- Executing [<my_number>@fax:1] Dial("IAX2/iaxmodem-701", "SIP/smsdiscount/<my_number>") in new stack
== Using SIP RTP CoS mark 5
-- Called smsdiscount/<my_number>
-- SIP/smsdiscount-0000004c is making progress passing it to IAX2/iaxmodem-701
== Using SIP RTP CoS mark 5
-- Executing [<my_number>@incoming:1] NoOp("SIP/eutelia_fisso-0000004d", "estensione: <my_number>") in new stack
-- Executing [<my_number>@incoming:2] Dial("SIP/eutelia_fisso-0000004d", "IAX2/iaxmodem/<my_number>") in new stack
-- Called iaxmodem/<my_number>
-- Call accepted by 127.0.0.1 (format ulaw)
-- Format for call is ulaw
-- IAX2/iaxmodem-3656 is ringing
> doing dnsmgr_lookup for 'voip.eutelia.it'
> doing dnsmgr_lookup for 'voip.eutelia.it'
[Jun 29 00:53:33] WARNING[3344]: chan_iax2.c:3329 __attempt_transmit: Max retries exceeded to host 127.0.0.1 on IAX2/iaxmodem-701 (type = 6, subclass = 11, ts=50009, seqno=14)
== Spawn extension (fax, <my_number>, 1) exited non-zero on 'IAX2/iaxmodem-701'
-- Hungup 'IAX2/iaxmodem-701'
-- Hungup 'IAX2/iaxmodem-3656'
== Spawn extension (incoming, <my_number>, 2) exited non-zero on 'SIP/eutelia_fisso-0000004d'
/var/log/messages:
Jun 29 00:52:05 <host> FaxGetty[4255]: LOCKWAIT
Jun 29 00:52:22 <host> FaxSend[4580]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Jun 29 00:52:22 <host> FaxSend[4580]: SEND FAX: JOB 29 DEST <my_number> COMMID 000000121 DEVICE '/dev/ttyIAX' FROM '<my_email>' USER admin
Jun 29 00:53:07 <host> FaxSend[4580]: SEND FAILED: JOB 29 DEST <my_number> ERR [3] No answer from remote
Jun 29 00:53:08 <host> FaxQueuer[4245]: NOTIFY: bin/notify.php "sendq/q29" "requeued" "" "00:58"
Jun 29 00:53:08 <host> FaxQueuer[4245]: NOTIFY exit status: 0 (4590)
/etc/inittab
[code]# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
iax:2345:respawn:/usr/local/sbin/iaxmodem ttyIAX
mo:2345:respawn:/usr/sbin/faxgetty ttyIAX
[/code]
/etc/asterisk/iax.conf
[code][general]
disallow=all
allow=ulaw
allow=alaw
bindport=4569
bindaddr=0.0.0.0
language=es
srvlookup=yes
minregexpire = 60
maxregexpire = 300
[iaxmodem]
type=friend
context=fax
disallow=all
allow=ulaw
username=iaxmodem
secret=<my_password>
qualify=yes
notransfer=yes
host=dynamic
callerid=“Fax” <<my_number>>
requirecalltoken=no[/code]
/etc/iaxmodem/ttyIAX
device /dev/ttyIAX
owner uucp:uucp
mode 660
port 4570
refresh 300
server 127.0.0.1
peername iaxmodem
secret <my_password>
cidname <my_society>
cidnumber +39<my_number>
codec ulaw
Thank you.