TIPS FAX

tritron

Member
Joined
May 26, 2013
Messages
76
Reaction score
5
I had installed fax using script and I am stuck on getting asterisk to answer the fax call. I have incoming call being routed to custom-fax-iaxmodem
According to extensions_custom.conf it should answer it. But the phone rings and is not being answered.

Code:
[custom-fax-iaxmodem]
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,SendDTMF(1)
exten => s,n,Dial(IAX2/iax-fax0/${EXTEN})
exten => s,n,Dial(IAX2/iax-fax1/${EXTEN})
exten => s,n,Dial(IAX2/iax-fax2/${EXTEN})
exten => s,n,Dial(IAX2/iax-fax3/${EXTEN})
exten => s,n,Busy
exten => s,n,Hangup
[\code]
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Your inbound route for the Fax DID should look something like this.
C:\Temp\Fax001.jpg
Fax002.jpg
 

tritron

Member
Joined
May 26, 2013
Messages
76
Reaction score
5
Cool I am redirecting my fax line to Custom Destinations Fax Hylafax. I am not using fax detection. I am running asterisk 13.2 IAX2 show peers list
Code:
Name/Username    Host                                          Mask                                      Port          Status      Description               
iax-fax0        127.0.0.1                                (S)  255.255.255.255                          4570          OK (3 ms)                             
iax-fax1        127.0.0.1                                (S)  255.255.255.255                          4571          OK (3 ms)                             
iax-fax2        127.0.0.1                                (S)  255.255.255.255                          4572          OK (3 ms)                             
iax-fax3        127.0.0.1                                (S)  255.255.255.255                          4573          OK (3 ms)
I had changed from s to 999 and it would give me an error message and phone would state busy,
 

tritron

Member
Joined
May 26, 2013
Messages
76
Reaction score
5
So i added please wait when we connect you. It seems my issue is when it tries to dial my modem it just rings it. I see in /var/log/iaxmodem
[2015-04-03 16:56:25] Registration failed.
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,785
Reaction score
2,199
Did you reboot after installing the Fax package? I found when I spun up a new system with FreePBX 12 and Asterisk 13.2.0, I needed to reboot after the fax install.
 

tritron

Member
Joined
May 26, 2013
Messages
76
Reaction score
5
I did the arch linux package for iaxmodem had configuration file for the first modem I deleted that and it fine. Now I used freefax to send fax to myself it stated that the fax was send ok. I see jitter but no fax email was send to me. I recive voicemail faxes fine. How I can debug this.
Code:
[2015-04-04 16:24:16] IAX2 jitter - last_ts: 46127, ts: 46167
[2015-04-04 16:24:20] IAX2 jitter - last_ts: 50167, ts: 50207
[2015-04-04 16:24:21] IAX2 jitter - last_ts: 51107, ts: 51147
[2015-04-04 16:24:36] IAX2 jitter - last_ts: 65947, ts: 65987
[2015-04-04 16:25:02] IAX2 jitter - last_ts: 92387, ts: 92427
[2015-04-04 16:25:16] IAX2 jitter - last_ts: 106167, ts: 106207
[2015-04-04 16:25:28] IAX2 jitter - last_ts: 118007, ts: 118047
[2015-04-04 16:25:29] IAX2 jitter - last_ts: 119087, ts: 119387
[2015-04-04 16:25:34] IAX2 jitter - last_ts: 123667, ts: 123707
 

Members online

No members online now.

Forum statistics

Threads
25,819
Messages
167,800
Members
19,247
Latest member
abuhyder
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top