walterkt - 2019-02-14

Hi Everyone, Hylafax installed with iaxmodem on my Raspberry Pi B+ that running Asterisk 13.24.1, installation follows this (http://www.raspberry-asterisk.org/documentation/#fax), from Asterisk log I can see the incoming fax call is accepted by iaxmodem but it just keeps ringing and no answer.

Is there any way I can confirm my settings are all correct?

Thanks.

 == Spawn extension (, 1000, 1) exited non-zero on 'IAX2/1000-2830'
    -- IAX2/1000-2830 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Call accepted by 127.0.0.1:4570 (format ulaw)
    -- Format for call is (ulaw)
    -- Called IAX2/1000
    -- IAX2/1000-2830 is ringing
    -- Hungup 'IAX2/1000-2830'
raspbx*CLI> iax2 show peers
Name/Username    Host                                           Mask                                      Port           Status      Description
1000             127.0.0.1                                (S)  255.255.255.255                           4570           OK (2 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
root@raspbx:~# systemctl status hylafax.service
 hylafax.service - LSB: Start and stop the hylafax server
   Loaded: loaded (/etc/init.d/hylafax)
   Active: active (running) since Thu 2019-02-14 16:11:56 HKT; 19min ago
  Process: 15317 ExecStop=/etc/init.d/hylafax stop (code=exited, status=0/SUCCESS)
  Process: 15348 ExecStart=/etc/init.d/hylafax start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/hylafax.service
           ├─15372 /usr/sbin/faxq
           └─15375 /usr/sbin/hfaxd -d -i 4559

Feb 14 16:12:02 raspbx HylaFAX[15397]: `-> Got a: 127.0.0.1[13]
Feb 14 16:12:02 raspbx HylaFAX[15397]: `-> Got a: 50403[19]
Feb 14 16:15:40 raspbx HylaFAX[15471]: `-> Got a: 127.0.0.1[13]
Feb 14 16:15:40 raspbx HylaFAX[15471]: `-> Got a: 59431[19]
Feb 14 16:15:40 raspbx HylaFAX[15471]: `-> Got a: 127.0.0.1[13]
Feb 14 16:15:40 raspbx HylaFAX[15471]: `-> Got a: 41131[19]
Feb 14 16:15:41 raspbx HylaFAX[15473]: `-> Got a: 127.0.0.1[13]
Feb 14 16:15:41 raspbx HylaFAX[15473]: `-> Got a: 35487[19]
Feb 14 16:15:41 raspbx HylaFAX[15473]: `-> Got a: 127.0.0.1[13]
Feb 14 16:15:41 raspbx HylaFAX[15473]: `-> Got a: 49949[19]
root@raspbx:~# systemctl status faxgetty1000.service
 faxgetty1000.service - FaxGetty Start Modem ttyI1000
   Loaded: loaded (/etc/systemd/system/faxgetty1000.service; enabled)
   Active: active (running) since Thu 2019-02-14 16:05:14 HKT; 26min ago
 Main PID: 14915 (faxgetty)
   CGroup: /system.slice/faxgetty1000.service
           └─14915 /usr/sbin/faxgetty /dev/ttyI1000

Feb 14 16:05:14 raspbx systemd[1]: Started FaxGetty Start Modem ttyI1000.
Feb 14 16:05:14 raspbx FaxGetty[14915]: OPEN /dev/ttyI1000  HylaFAX (tm) Version 6.0.6
Feb 14 16:05:23 raspbx FaxGetty[14915]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 14 16:11:56 raspbx FaxGetty[14915]: HELLO
root@raspbx:~# systemctl status iaxmodem.service
 iaxmodem.service - LSB: Software modem with IAX2 connectivity
   Loaded: loaded (/etc/init.d/iaxmodem)
   Active: active (running) since Thu 2019-02-14 15:19:17 HKT; 1h 13min ago
  Process: 12975 ExecStop=/etc/init.d/iaxmodem stop (code=exited, status=0/SUCCESS)
  Process: 13351 ExecStart=/etc/init.d/iaxmodem start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/iaxmodem.service
           ├─13353 /usr/bin/iaxmodem
           └─13354 /usr/bin/iaxmodem

Feb 14 15:19:17 raspbx iaxmodem[13351]: Starting iaxmodem: iaxmodem.
Feb 14 15:19:17 raspbx systemd[1]: Started LSB: Software modem with IAX2 connectivity.
 

Last edit: walterkt 2019-02-14