I'm trying to get hylafax working, but I am stumped with getting the
modem going first.


/etc/iaxmodem/ttyIAX0:

device          /dev/ttyIAX
owner           uucp:uucp
mode            660
port            4570
refresh         60
server          127.0.0.1
peername        2000
secret          asterisk
cidname         Selintra
cidnumber       01924489620
codec           slinear


/etc/asterisk/iax.conf

[21]
deny=0.0.0.0/0.0.0.0
type=friend
setvar=REALCALLERIDNUM=21
secret=password
qualify=yes
port=4569
permit=0.0.0.0/0.0.0.0
transfer=no
mailbox...@device
host=dynamic
dial=IAX2/21
context=from-internal
callerid=device <21>
accountcode=


When I run iaxmodem ttyIAX0 I get the following:
r...@macaw:/var/spool/hylafax/etc# iaxmodem ttyIAX0
[2009-11-27 15:43:05] Modem started
[2009-11-27 15:43:05] Setting device = '/dev/ttyIAX'
[2009-11-27 15:43:05] Setting owner = 'uucp:uucp'
[2009-11-27 15:43:05] Setting mode = '660'
[2009-11-27 15:43:05] Setting port = 4570
[2009-11-27 15:43:05] Setting refresh = 60
[2009-11-27 15:43:05] Setting server = '127.0.0.1'
[2009-11-27 15:43:05] Setting peername = '2000'
[2009-11-27 15:43:05] Setting secret = 'asterisk'
[2009-11-27 15:43:05] Setting cidname = 'Selintra'
[2009-11-27 15:43:05] Setting cidnumber = '01924489620'
[2009-11-27 15:43:05] Setting codec = slinear
[2009-11-27 15:43:05] Opened pty, slave device: /dev/pts/6
[2009-11-27 15:43:05] Created /dev/ttyIAX symbolic link
[2009-11-27 15:43:05] Registration failed.

At the same time the Asterisk CLI with debugging enabled yields:
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
REGREQ
   Timestamp: 00003ms  SCall: 13806  DCall: 00000 [127.0.0.1:47441]
   USERNAME        : 21
   REFRESH         : 60

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass:
ACK
   Timestamp: 00003ms  SCall: 13806  DCall: 00001 [127.0.0.1:47441]

Is there enough info here far anybody to be able to give me a clue as to
why it is not registering?

Please help.
Thanks
Darryl Moore

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to