Iaxmodem Errors.
Hi John!
I’m not sure why are you using iaxmodem… I use it a few years ago with Asterisk 1.4
In Asterisk v11 fax is managed using res_fax. Please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_ReceiveFAX_res_fax
You only need download, compile and install the spandsp lib for your distro
(fax depend on it) and then recompile Asterisk (if you don’t have this resource module already).
We currently receive fax via g.711 ir SIP (via T.38), convert it into PDF
and send via email. All with Asterisk v11 and OpenSource software. I can send you our scripts if you want.
Cheers
6 thoughts on - Iaxmodem Errors.
Thanks for the reply. i am looking for a guide to help me setup from scratch this. the OS is raspbian (debian in raspberry). any ideas?
Is your network/firewall configuration permitting the ports for UDPTL, runn the command: udptl show config
UDPTL Global options
——————
Some additional information which may help you with your installation.
I have 4 IAX Modems named iaxmodem0 – iaxmodem3. I use iaxmodem3 for outbound fax transmissions.
I created a queue for the other 3 modems, here is my entry in queues.conf:
[hylafax-iax]
strategy=linear
ringinuse=yes
autopause=no
retry=4
timeout=5
timeoutpriority=conf
reportholdtime=no
joinempty=strict
leavewhenempty=strict
musicclass=silence
member => IAX2/iaxmodem2
member => IAX2/iaxmodem1
member => IAX2/iaxmodem0
In case you are wondering about the ‘musicclass’ I have used, here is the section from musiconhold.conf, the actual location of the files may be elsewhere on your system:
[silence]
mode=files
directory=/usr/local/share/asterisk/silence
; ls /usr/local/share/asterisk/silence
; 10.gsm
;
; The file 10.gsm came from /usr/local/share/asterisk/sounds/en/silence
I changed ‘callbackextension’ in my sip.conf for the trunk so that it would go directly to the ‘fax’ extension in the dialplan i.e.
‘callbackextension
I suspect I followed a guide much like the one you have used including information found on voip-info – sorry, I can’t seem to find any bookmarks of relevant information.
I spent an enormous amount of time getting it working and working very well, the real issue was getting T.38 working – I applied a patch to Asterisk version 1.8 to get the T.38 gateway functionality.
I would have started off my testing by confirming communications between two IAX modems, I presume you are using HylaFAX too.
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?
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
;maxjitterbuffer00
maxjitterinterps
autokill=yes
shrinkcallerid=no
[iaxmodem0]
type=friend
host=dynamic
auth=md5
secret=