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/UsernameHost 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?
On 15/11/2016 5:40 μμ, Larry Moore wrote:
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.
Once the communications between the two IAX modems was working I
progressed with testing sending and receiving faxes using G711A
through my VoIP service and a modem attached to a PSTN service,
suffice to say T.38 functionality was the key to getting reliable
faxes working through VoIP at least when traversing the Internet,
fortunately my VoIP provider facilitates T.38.
Using an SPA8800 on my network I tested sending and receiving faxes
with a modem attached to the SPA8800, it worked in G711A and T.38.
I progressed to Asterisk 11 where the T.38 gateway functionality is
better along with other improvements.
What is the output on your system for:
fax show version
Cheers,
Larry.
On 15/11/2016 8:09 PM, tux john wrote:
Hi. Since I am messing a lot with it without seeing the end of, may I
ask if there is any solid guide for that please?
On 13/11/2016, 07:42 Larry Moore wrote:
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=fax'.
I've included the console output when an incoming fax is received:
== Using SIP RTP TOS bits 184
-- Executing [fax@from-itsp:1] NoOp("SIP/itsp-0044",
"Fax Detected 2016-11-13 12:33:40 +0800") in new stack
-- Executing [fax@from-itsp:2]
GotoIf("SIP/itsp-0044", "0?3:8") in new stack
-- Goto (from-itsp,fax,8)
-- Executing [fax@from-itsp:8] NoOp("SIP/itsp-0044",
"Finish if_from-itsp_237") in new stack
-- Executing [fax@from-itsp:9]
GotoIf("SIP/itsp-0044", "0?10:13") in new stack
-- Goto (from-itsp,fax,13)
-- Executing [fax@from-itsp:13] NoOp("SIP/itsp-0044",
"Finish if_from-itsp_238") in new stack
-- Executing [fax@from-itsp:14] Set("SIP/itsp-0044",
"FAXOPT(gateway)=yes") in new stack
-- Executing [fax@from-itsp:15]
Queue("SIP/itsp-0044", "hylafax-iax,dRt,,,15") in new stack
-- Started music on hold, class 'silence', on
SIP/itsp-0044
-- Call accepted by 127.0.0.1 (format alaw)
-- Format for call is (alaw)
-- IAX2/iaxmodem2-3086 is ringing
-- Stopped music on hold on SIP/itsp-0044
-- IAX2/iaxmodem2-3086 answered SIP/itsp-0044
> 0x89bac000 -- Probation passed - setting RTP source
address to