TUTORIAL HylaFAX / AvantFax for PIAF! - Parts 1-4

Maqattack,
Great job in simplifying and organizing DID set up spreadhseet.
tshif,
Thanks for starting this project. This is probably one of the most popular threads. Great job. Keep up the good work.
 
I have my cover page all setup. For anyone using the one off Megaupload, the "Fax:" field should be "XXXX-to-fax-number" and NOT "XXXX-to fax-number".

My question now is how do I suppress fields in the Sendfax dialog page? I don't want the To Location field in there.
 
/var/www/html/avantfax/includes/templates/main_theme/templates/sendfax.tpl
remove line 85

you might also have to remove "the file" from the template_c directory before you'll see it disappear
 
hylafax 6

Hi All,

Just wondering if anyone has had much success with hylafax 6. Looks like a couple of good new features and I wanted to see the success rate before I go and install. Also, there seems to be a fork hylafax+ has a version 5.

Second question. Anyone seeing fax receive or transmit rates higher than 14.4?

Third Question: I wanted to see if it is possible to have an internal physical fax machine hooked to an FXS port, send a fax to the hylafax system that spooled it to send it on. So fax>hylafax -relay- hylafax>fax.

Thanks
 
/var/www/html/avantfax/includes/templates/main_theme/templates/sendfax.tpl
remove line 85

you might also have to remove "the file" from the template_c directory before you'll see it disappear

Worked perfect. Thank you!
 
May i know which version of PIAF this scripts i can run it on? Currently running an Asterisk 1.6.
 
extension

Hey,

Quick question.... If I had a fax machine connected to and fxs port on this box, and i create and extension for the fax machine. would I be able to fax to the iaxmodem?

if so, what do i need to do to make the iaxmodem be seen as an extension on the system?

So, the idea is, walk up to my fax machine and press a 3 digit internal extension number and it would capture the fax.

Thanks
 
Hi

In Tony's instructions earlier in this thread are some settings to make an IAX modem an extension.

Joe
 
There is a mail to fax gateway in the installation - there are a couple of scripts to facilitate same. We have used it under test, and it does work. So far, we havn't published any info about it here for a couple of reasons.

There are potential security concerns with the way it works - there doesn't seem to be any easy way to restrict who the valid senders are.

There don't seem to be provisions to use the body of the email for the cover letter - as you described - which would be important to lots of folks.

It seems to only support pdf attachments.

That being said - if there is enough interest we may look into it again.

On the other hand - if anyone reading this has pursued the mail-to-fax function, and has any tips - PLEASE chime in with your experiences. We'd love to have a safe flexible way to get this done.


I would love it. I am always getting stuff ont he road that needs to get faxed to the customers site once i get there.
 
:iagree: We only need to change the
[from-fax]
exten => _x.,1,Dial(my_trunk/${EXTEN})
exten => _x.,n,Hangup()

If we want control over which trunk is used. As Joe says, otherwise the normal outbound trunk logic is used.

It seems that you may have a syntax error:
exten => _x.,1,Dial(my_trunk/${EXTEN})

Should be:
exten => _x.,1,Dial(trunk technology/my_trunk_name/${EXTEN})

You can select any trunk in this way.

Tony


I tried this but it is still using the outbound routes instead. is there something else that I am supposed to have entered?
 
I seem to be having the same problem as the post http://pbxinaflash.com/forum/showpost.php?p=21885&postcount=12

I keep seeing the registration failed errors and although when I call in I can hear the fax tones, incoming faxes are not working at all. I tried the fix suggested on post #36 but it is not working.

iaxmodem-cfg.ttyIAX0

Code:
[2009-09-11 14:16:04] Terminating on signal 15...
[2009-09-11 14:26:02] Registration failed.
[2009-09-11 14:27:34] IAX2 jitter - last_ts: 5320, ts: 5360
[2009-09-11 14:27:39] Don't know what to do with IAX event 1001.
[2009-09-11 14:27:45] Terminating on signal 15...
[2009-09-11 14:29:55] Registration failed.
[2009-09-11 14:32:49] Terminating on signal 15...
[2009-09-11 14:32:49] Registration failed.
[2009-09-11 14:37:44] Registration failed.
By the way I just ran the install script today so I am assuming it is the latest one.

Code:
root@asterisk:~ $ service iaxmodem stop
Stopping IAXmodem:                                         [  OK  ]
root@asterisk:~ $ iaxmodem iaxmodem-cfg.ttyIAX0
[2009-09-11 14:40:10] Modem started
[2009-09-11 14:40:10] Setting device = '/dev/ttyIAX0'
[2009-09-11 14:40:10] Setting owner = 'uucp:uucp'
[2009-09-11 14:40:10] Setting mode = '660'
[2009-09-11 14:40:10] Setting port = 4570
[2009-09-11 14:40:10] Setting refresh = 300
[2009-09-11 14:40:10] Setting server = '127.0.0.1'
[2009-09-11 14:40:10] Setting peername = 'iax-fax0'
[2009-09-11 14:40:10] Setting cidname = 'Fonica PABX'
[2009-09-11 14:40:10] Setting cidnumber = '+00000000000'
[2009-09-11 14:40:10] Setting codec = ulaw
[2009-09-11 14:40:10] Opened pty, slave device: /dev/pts/0
[2009-09-11 14:40:10] Created /dev/ttyIAX0 symbolic link
[2009-09-11 14:40:10] Registration failed.
Additonal CLI info:
Code:
-- Goto (custom-fax-iaxmodem,s,1)
    -- Executing [s@custom-fax-iaxmodem:1] Dial("IAX2/teliax-15153", "IAX2/iax-fax0/s") in new stack
    -- Called iax-fax0/s
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/iax-fax0-3291 is ringing
    -- IAX2/iax-fax0-3291 answered IAX2/teliax-15153
    -- Channel 'IAX2/teliax-15153' unable to transfer
    -- Channel 'IAX2/teliax-15153' unable to transfer
    -- Hungup 'IAX2/iax-fax0-3291'/teliax-15153'
  == Spawn extension (custom-fax-iaxmodem, s, 1) exited non-zero on 'IAX2/teliax-15153'
    -- Hungup 'IAX2/teliax-15153'
 
ok, I had this working before. but reinstalled on a new system. I can get hylafax working when it is on a dedicated line, but when I have it go thru an extension, it never picks up. I've checked all the config and extension files at least 5 times now, and still dont see what could be going wrong.

Help...
 
I am now wondering why on a new system, that Hylafax works most of the time why the IAX modems show a status in AvantFAX of "please Wait" :confused5:
 
I just downloaded the script and ran it. There appears to be an issue with the wget statement to get iaxmodem-1.1.1...

It appears the link is no longer valid.

I made some adjustments to the script to get it to work and sent the changes to jroper for his review and posting once he feels it is correct. I am just a beginner with this stuff and don't want to post something like this in case it is wrong....
 
Are the IAXModems installed and registered to Asterisk?

Joe
 

Members online

Forum statistics

Threads
26,696
Messages
174,453
Members
20,266
Latest member
ro-fi
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.
Back
Top