Find Jobs
Hire Freelancers

Asterisk configuration help

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
I need some help configuring Asterisk and Hylafax. The system is a PIAF (PBX in a Flash) setup that is fully operational with the exception of one nagging problem related to incoming faxes. Currently I have three DID's delivered over SIP trunks that are supposed to be routed to specific mailboxes. When the incoming call arrives and is routed to Hylafax the call is transferred lacking the DID. I have been working with FreePBX and Hylafax using their paid support however while it appears to be an Asterisk problem I am getting no where fast. The latest round of emails from Hylafax should provide some clues as to the problem. Also my google research seems to indicate that the [login to view URL] or something along those lines need to be edited manually. I am tossing this out there on the chance that someone on here has seen this problem or knows enough about Asterisk to provide a solution. Below is my latest details. Should I award the project I will provide more documentation on the configuration. As I understand it the "s" in the NDID is the default extension and should be a configuration change but no where in the web configuration have I been able to find this. Lots of references to editing actual config files just not sure the exact needed syntax. ----- when a call comes in, the following information is passed from iaxmodem: Sep 20 10:06:27 pbx FaxGetty[21639]: --> [9:DATE=0920] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [9:TIME=1006] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [20:NAME=EDITED FOR PRIVACY] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [15:NMBR=360XXXXXXX] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [11:ANID=] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [11:USER=] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [11:PASS=] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [11:CDID=] Sep 20 10:06:27 pbx FaxGetty[21639]: --> [6:NDID=s] The NDID information is what should contain the DID that was dialed. The asterisk logs do show that asterisk is getting the DID but passing 's' instead to iaxmodem: [2013-09-20 10:06:26] VERBOSE[29074] pbx.c: -- Executing [360YYYYYYY@from-trunk:8] Set("SIP/RIO-00000049", "FAX_DEST=custom-fax-iaxmodem^s^1") in new stack [2013-09-20 10:06:26] VERBOSE[29074] pbx.c: -- Executing [360YYYYYYY@from-trunk:9] Answer("SIP/RIO-00000049", "") in new stack [2013-09-20 10:06:26] VERBOSE[29074] pbx.c: -- Executing [360YYYYYYY@from-trunk:10] Wait("SIP/RIO-00000049", "5") in new stack [2013-09-20 10:06:27] VERBOSE[29074] chan_sip.c: == Redirecting 'SIP/RIO-00000049' to fax extension due to CNG detection [2013-09-20 10:06:27] VERBOSE[29074] pbx.c: == Spawn extension (from-trunk, fax, 1) exited non-zero on 'SIP/RIO-00000049' [2013-09-20 10:06:27] VERBOSE[29074] pbx.c: -- Executing [fax@from-trunk:1] Goto("SIP/RIO-00000049", "custom-fax-iaxmodem,s,1") in new stack [2013-09-20 10:06:27] VERBOSE[29074] pbx.c: -- Goto (custom-fax-iaxmodem,s,1) [2013-09-20 10:06:27] VERBOSE[29074] pbx.c: -- Executing [s@custom-fax-iaxmodem:1] Dial("SIP/RIO-00000049", "IAX2/iax-fax0/s") in new stack The [360YYYYYYY@from-trunk] part proves that Asterisk did have the DID available when it entered the from-trunk context. The "IAX2/iax-fax0/s" is showing exactly what is being sent to the HylaFAX iax channel (the part after the last '/'). As long as that is correct, HylaFAX should get the right info and be able to route your faxes correctly. The FAX_DEST setting shows the 's' destination here. It's probably where the problem start, but it's possible 's' is hardcoded elsewhere in the asterisk configuration. You should make sure FreePBX creates a configuration where it will pass the DID over to the fax iax channel. Please note I have edited the Caller ID name of the incoming caller as well as the incoming number. You will see "EDITED FOR PRIVACY" - This was the correct calling number owner "360XXXXXXX" - This was the correct calling number "360YYYYYYY" - This was the correct called number
Project ID: 4951475

About the project

2 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I've done many Asterisk+HylaFAX+iaxmodem setups and confident that this can be quickly done. Do I understand right that you also need FreePBX to be fixed in order to add correct dialplan entries in the future?
$200 USD in 3 days
0.0 (0 reviews)
0.0
0.0
2 freelancers are bidding on average $225 USD for this job
User Avatar
Experienced with asterisk and avantfax setups. I have worked with asterisk/freepbx config customisations. Lets discuss.
$250 USD in 1 day
4.9 (8 reviews)
4.2
4.2

About the client

Flag of UNITED STATES
Vancouver, United States
5.0
73
Payment method verified
Member since Nov 11, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.