TIPS IncrediblePBX 13 & HylaFax & AvantFax

Discussion in 'PBX in a Flash 5' started by SyrGeek315, Dec 29, 2018.

  1. SyrGeek315

    SyrGeek315 New Member

    Joined:
    Dec 29, 2018
    Messages:
    5
    Likes Received:
    0
    I couldn't find anywhere else to ask these, I saw somewhere else to just ask them here. So if they are in fact in the wrong place, please feel free to move it there. If I am wrong at any point in this post, please forgive me, I am new to Fax over VoIP.

    I have a fresh install of IncrediblePBX 13, using a CentOS 6 Minimal Installation. Everything works great out of the box, but I'm trying to take the 4 default HylaFax modems and dedicate each one to a specific DID. Everytime I've tried to route a DID to only one of the modems, Asterisk just gives me a busy signal, even though I've hard coded the dial plan in the configuration.

    For example, I am trying to set up a custom destination, in this case 3291 (FAX1) to route to ttyIAX0, 3292 (FAX2) to route to ttyIAX1, and so on, so that I could route the inbound routes for these dedicated faxes.

    Is there a documented way to dedicate each ttyIAX modem to only one DID, or are all 4 of the defaults available to all groups/categories. If they're available to everyone, is there an easy way to create a new one and specify the answering DID?

    If I need to spell it out further (just in case), this is what I'm trying to do:

    Incoming DID: 8005551212
    Receiving Modem: ttyIAX0
    Email Group: [email protected]
    Internal Extension: 3291

    Incoming DID: 8005551213
    Receiving Modem: ttyIAX1
    Email Group: [email protected]
    Internal Extension: 3292

    Incoming DID: 8005551214
    Receiving Modem: ttyIAX2
    Email Group: [email protected]
    Internal Extension: 3293

    Incoming DID: 8005551215
    Receiving Modem: ttyIAX3
    Email Group: [email protected]
    Internal Extension: 3294

    I've been working on this for weeks with absolutely no joy. Any help you can provide would be greatly appreciated.
     
  2. SyrGeek315

    SyrGeek315 New Member

    Joined:
    Dec 29, 2018
    Messages:
    5
    Likes Received:
    0
  3. kdthomas

    kdthomas Member

    Joined:
    May 13, 2016
    Messages:
    53
    Likes Received:
    10
    What is the purpose of routing it to a specific modem? Why not just use them in a pool.
     
  4. SyrGeek315

    SyrGeek315 New Member

    Joined:
    Dec 29, 2018
    Messages:
    5
    Likes Received:
    0
    Routing is to prevent any one group from seeing another's faxes. In AvantFax, you can specify the modems available to a specific group or user. It's more of an organizational thing than a privacy thing, but I'm looking to make it so that if a user from Group 1 logs in, they're only seeing faxes that were received by ttyIAX0 for Group 1, instead of seeing all of the faxes sent to the 3 other modems. Each modem needs to have specific things sent to it. The PBX will have 4 dedicated fax lines, each serving a different group of people for different purposes.
     
  5. AndyInNYC

    AndyInNYC Active Member

    Joined:
    May 23, 2013
    Messages:
    487
    Likes Received:
    65
    SyrGreek,

    I'm on an earlier version of PIAF, but examining the same problem. I'm assuming you have AvantFax installed on the machine. In Avantfax, you are supposed to be able to route by DID, and there is a how-to on this site (see:https://pbxinaflash.com/community/threads/avantfax-did-routing.23279/).

    This appears to only work with 3.3.5 - I'm running 3.3.3 and the directions don't work. If you have 3.3.5, please try these directions and see if they work for you. The process allows all 'modems' to receive faxes and ships the email based on the DID dialed (the recipient # at your location).

    Let me know how it works out.
     
  6. SyrGeek315

    SyrGeek315 New Member

    Joined:
    Dec 29, 2018
    Messages:
    5
    Likes Received:
    0
    Andy,

    Thanks for your post, and my apologies for the delay. For some reason I never got a notification of your reply. I will give this a look and report back with either success or failure.
     
  7. AndyInNYC

    AndyInNYC Active Member

    Joined:
    May 23, 2013
    Messages:
    487
    Likes Received:
    65
    I can't get it to work in 3.3.5 either. When I set it up, it won't send an email to anyone (even though emails were working prior to DID-specific routing).
     
  8. SyrGeek315

    SyrGeek315 New Member

    Joined:
    Dec 29, 2018
    Messages:
    5
    Likes Received:
    0
    My apologies for the extreme delay in my reply. I was trying to figure out another way to get this done which ultimately ended in failure. The only other alternative would be to assign SIP extensions to physical fax machines around the building using ATA adapters, but I really do not want to do that as using this setup would provide so much for of a benefit as a copy would be automatically emailed to each group upon receipt. It's a shame no one else is trying to get this working. I think this would be something a lot of folks would want. Especially given the possibilities that it can open up.
     
  9. AndyInNYC

    AndyInNYC Active Member

    Joined:
    May 23, 2013
    Messages:
    487
    Likes Received:
    65
    Greek,

    I couldn't get AvantFax to work with routing. What I did instead was create an inbound route for each DID.
    In the Inbound route I set fax detect to yes; Sip detection method, Detect time to 10 and Destination to 'Fax Recipient'. with an extension created just for faxes (no email, no phone, etc.)
    In the extension, I have faxes ticked; pdf selected and the email address for that DID.

    Remember to use 'Fax Recipient', no 'Extension' in the Trunk.

    Seems to be working perfectly.

    Additionally, you can set up an entry in the aliases file (google it) and have the fax get sent to multiple people in the group (or the whole group).

    Andrew
     
    wardmundy likes this.
  10. krzykat

    krzykat Guru

    Joined:
    Aug 2, 2008
    Messages:
    1,368
    Likes Received:
    327
    Andrew, If you have a dedicated DID to the fax, then you don't need SIP Detection - you know it is going to the fax. So instead, just send it directly to "Fax Recipient". If you want it to go to multiple folks, in the email address, just use a comma between addresses.

    Fax Email: [email protected],[email protected],[email protected]

    Easy Peasy
     
  11. AndyInNYC

    AndyInNYC Active Member

    Joined:
    May 23, 2013
    Messages:
    487
    Likes Received:
    65
    Krzykat,

    I have a DID I'm using as a dedicated fax #. There is no physical fax machine. The PBX still 'eats' the fax and sends out a .pdf file.
    I've been using Avantfax as the destination, but I've now added a second 'incoming fax #' to the system to support a friend. Avantfax *should* allow me to route each fax based on incoming DID, but I can't make it work.
    By sending the second DID to a fax destination, he gets his and I get mine.

    Andrew
     
    wardmundy likes this.