<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    If the 'fax show version' command doesn't work on your system it
    will also indicate you don't have the 'res_fax' module installed,
    thus you won't be able to take advantage of the T.38 gateway
    functionality, did you try the command?<br>
    <br>
    You're indicating you are having problems with IAX registrations. It
    would seem that setting up at least 2 iaxmodem's should be done so
    you can test connectivity between them before attempting connections
    externally.<br>
    <br>
    I'll assume you are only using iaxmodem on the IAX channels here is
    my 'iax.conf' configuration with minor alterations:<br>
    <blockquote>[general]<br>
      iaxcompat=yes<br>
      delayreject=yes<br>
      language=en_AU<br>
      disallow=all<br>
      allow=alaw,ulaw<br>
      jitterbuffer=yes<br>
      forcejitterbuffer=yes<br>
      ;maxjitterbuffer=1000<br>
      maxjitterinterps=10<br>
      autokill=yes<br>
      shrinkcallerid=no<br>
      <br>
      [iaxmodem0]<br>
      type=friend<br>
      host=dynamic<br>
      auth=md5<br>
      secret=<use a secure password><br>
      disallow=slin,slin16<br>
      context=FAX-T30<br>
      callerid="MODEM-1" <5001><br>
      tos=ef<br>
      sendani=yes<br>
      sendrpid=yes<br>
      jitterbuffer=no<br>
      requirecalltoken=no<br>
      qualify=no<br>
      qualifysmoothing=yes<br>
      qualifyfreqok=60000<br>
      qualifyfreqnotok=10000<br>
      trunk=no<br>
      deny=0.0.0.0/0.0.0.0<br>
      permit=127.0.0.1/255.255.255.255<br>
      <br>
      [iaxmodem1]<br>
      type=friend<br>
      host=dynamic<br>
      auth=md5<br>
      secret=<use a secure password><br>
      disallow=slin,slin16<br>
      context=FAX-T30<br>
      callerid="MODEM-2" <5002><br>
      tos=ef<br>
      sendani=yes<br>
      sendrpid=yes<br>
      jitterbuffer=no<br>
      requirecalltoken=no<br>
      qualify=no<br>
      qualifysmoothing=yes<br>
      qualifyfreqok=60000<br>
      qualifyfreqnotok=10000<br>
      trunk=no<br>
      deny=0.0.0.0/0.0.0.0<br>
      permit=127.0.0.1/255.255.255.255<br>
    </blockquote>
    I'll include the ttyIAX configuration files in /etc/iaxmodem too,
    please note your 'owner' information may be different than what my
    system require.:<br>
    <br>
    /etc/iaxmodem/ttyIAX0:<br>
    <blockquote>device          /dev/ttyIAX0<br>
      owner           uucp:dialer<br>
      mode            660<br>
      port            4570<br>
      ;iax2debug<br>
      refresh         60<br>
      server          127.0.0.1<br>
      peername        iaxmodem0<br>
      secret          <use a secure password><br>
      nojitterbuffer<br>
      ;nodaemon<br>
      codec           alaw,ulaw<br>
      ;codec          slin,alaw,ulaw,g726aal2,gsm<br>
      <br>
    </blockquote>
    /etc/iaxmodem/ttyIAX1:<br>
    <blockquote>device          /dev/ttyIAX1<br>
      owner           uucp:dialer<br>
      mode            660<br>
      port            4571<br>
      ;iax2debug<br>
      refresh         60<br>
      server          127.0.0.1<br>
      peername        iaxmodem1<br>
      secret          <use a secure password><br>
      nojitterbuffer<br>
      ;nodaemon<br>
      codec           alaw,ulaw<br>
      ;codec          slin,alaw,ulaw,g726aal2,gsm<br>
    </blockquote>
    If you launch iaxmodem without specifying any configuration files it
    will run each one listed in /etc/iaxmodem or whatever the compiled
    location is.<br>
    <br>
    You've not indicated what is utilising your IAX modems, if it is
    HylaFAX you will need to ensure the modem is configured
    appropriately and something is monitoring the device to accept a
    call.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 16/11/2016 5:26 PM, john wrote:<br>
    </div>
    <blockquote cite="mid:2794bbf2-4671-47ff-c24d-1318d56afdc5@null.net"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p>Hi. the fax show version does not work since i am not using the
        digium modem.</p>
      <p>the iax2 show peers is the command for me and the output is:</p>
      <p>PBX*CLI> iax2 show peers<br>
        Name/Username    Host                 Mask            
        Port          Status      Description<br>
        iaxmodem/iaxmod  127.0.0.1       (S)  255.255.255.255 
        4570          OK (1 ms)<br>
        1 iax2 peers [1 online, 0 offline, 0 unmonitored]<br>
        PBX*CLI><br>
      </p>
      <p><br>
      </p>
      <p>the problem is that in logs i am getting errors and i do not
        know how to fix it.</p>
      <p>root@PBX: /var/log/iaxmodem $ more ttyIAX0<br>
        [2016-11-16 09:08:12.483144] Registration failed.<br>
        [2016-11-16 09:13:05.118692] Terminating on signal 15...<br>
        [2016-11-16 09:21:49.181872] Registration failed.<br>
        [2016-11-16 09:22:30.731893] Terminating on signal 15...<br>
        [2016-11-16 09:22:30.759221] Registration failed.<br>
        [2016-11-16 09:25:11.014642] Registration failed.<br>
        root@PBX: /var/log/iaxmodem $<br>
      </p>
      <p><br>
      </p>
      <p><br>
      </p>
      <p>Any ideas?</p>
      <p><br>
      </p>
      <br>
    </blockquote>
    <br>
  </body>
</html>