Hi,

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?

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.

I'll assume you are only using iaxmodem on the IAX channels here is my 'iax.conf' configuration with minor alterations:

   [general]
   iaxcompat=yes
   delayreject=yes
   language=en_AU
   disallow=all
   allow=alaw,ulaw
   jitterbuffer=yes
   forcejitterbuffer=yes
   ;maxjitterbuffer=1000
   maxjitterinterps=10
   autokill=yes
   shrinkcallerid=no

   [iaxmodem0]
   type=friend
   host=dynamic
   auth=md5
   secret=<use a secure password>
   disallow=slin,slin16
   context=FAX-T30
   callerid="MODEM-1" <5001>
   tos=ef
   sendani=yes
   sendrpid=yes
   jitterbuffer=no
   requirecalltoken=no
   qualify=no
   qualifysmoothing=yes
   qualifyfreqok=60000
   qualifyfreqnotok=10000
   trunk=no
   deny=0.0.0.0/0.0.0.0
   permit=127.0.0.1/255.255.255.255

   [iaxmodem1]
   type=friend
   host=dynamic
   auth=md5
   secret=<use a secure password>
   disallow=slin,slin16
   context=FAX-T30
   callerid="MODEM-2" <5002>
   tos=ef
   sendani=yes
   sendrpid=yes
   jitterbuffer=no
   requirecalltoken=no
   qualify=no
   qualifysmoothing=yes
   qualifyfreqok=60000
   qualifyfreqnotok=10000
   trunk=no
   deny=0.0.0.0/0.0.0.0
   permit=127.0.0.1/255.255.255.255

I'll include the ttyIAX configuration files in /etc/iaxmodem too, please note your 'owner' information may be different than what my system require.:

/etc/iaxmodem/ttyIAX0:

   device          /dev/ttyIAX0
   owner           uucp:dialer
   mode            660
   port            4570
   ;iax2debug
   refresh         60
   server          127.0.0.1
   peername        iaxmodem0
   secret          <use a secure password>
   nojitterbuffer
   ;nodaemon
   codec           alaw,ulaw
   ;codec          slin,alaw,ulaw,g726aal2,gsm

/etc/iaxmodem/ttyIAX1:

   device          /dev/ttyIAX1
   owner           uucp:dialer
   mode            660
   port            4571
   ;iax2debug
   refresh         60
   server          127.0.0.1
   peername        iaxmodem1
   secret          <use a secure password>
   nojitterbuffer
   ;nodaemon
   codec           alaw,ulaw
   ;codec          slin,alaw,ulaw,g726aal2,gsm

If you launch iaxmodem without specifying any configuration files it will run each one listed in /etc/iaxmodem or whatever the compiled location is.

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.



On 16/11/2016 5:26 PM, john wrote:

Hi. the fax show version does not work since i am not using the digium modem.

the iax2 show peers is the command for me and the output is:

PBX*CLI> iax2 show peers
Name/Username Host Mask Port Status Description iaxmodem/iaxmod 127.0.0.1 (S) 255.255.255.255 4570 OK (1 ms)
1 iax2 peers [1 online, 0 offline, 0 unmonitored]
PBX*CLI>


the problem is that in logs i am getting errors and i do not know how to fix it.

root@PBX: /var/log/iaxmodem $ more ttyIAX0
[2016-11-16 09:08:12.483144] Registration failed.
[2016-11-16 09:13:05.118692] Terminating on signal 15...
[2016-11-16 09:21:49.181872] Registration failed.
[2016-11-16 09:22:30.731893] Terminating on signal 15...
[2016-11-16 09:22:30.759221] Registration failed.
[2016-11-16 09:25:11.014642] Registration failed.
root@PBX: /var/log/iaxmodem $



Any ideas?




-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to