Knowledgebase

 
 
Knowledgebase Article
Knowledgebase > Unified Communications > SmartNode > SmartWare


SmartNode and Hylafax/Asterisk Fax handling
Article Id #: 289

This article contains a SmartNode voip profile configuration example to be used together with a Hylafax software based on Asterisk. As well a Hylafax /Asterisk configuration recommendation is included. Both the SmartNode and Hylafax settings were successfully tested in a customer setup and provide a reliable fax transmission.

1°) Patton SmartNode VoIP Profile to use :

profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
ced net-side-detection
fax transmission 1 bypass g711alaw64k
fax transmission 2 relay t38-udp
fax redundancy low-speed 2 high-speed 1
fax bypass-method v150-vbd
modem transmission 1 bypass g711alaw64k
modem bypass-method v150-vbd

 

Below you will find what concerns the Asterisk Server. As Patton will not support this specific part, please refer to the various tutorials and explanantion you can find on the Asterisk Community websites (such as voipinfo.org or so) around this topic.

2°) IAXmodem configuration

/etc/iaxmodem/ttyIAX1 :


device /dev/ttyIAX1
owner uucp:uucp
mode 660
port 4570
server 127.0.0.1
peername iaxmodem1
codec slinear

3°) IAX.conf configuration

/etc/asterisk/iax.conf

[iaxmodem1]
type=friend
host=127.0.0.1
port=4570
context=faxmodems1
requirecalltoken=no
jitterbuffer=no
qualify=yes
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
disallow=all
allow=slin

4°) Hylafax configuration

/etc/hylafax/hfaxd.conf :

LogFacility: daemon
ServerTracing: 0x001
JobProtection: 0600
PublicJobQ: false
PublicRecvQ: false

4°) How Hylafax and ttyIAX1 are connected : 

/etc/hylafax/config.ttyIAX1 :

CountryCode: 41        <-- Exemple for switzerland
AreaCode: 1
FAXNumber: 0319852526       <-- FAX calling party number
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules.europe
ServerTracing: 1
SessionTracing: 11
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Patton-Inalp"       <-Calling party Name or Company name
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P sur %%T"
MaxRecvPages: 25
ModemType: Class1
Class1Cmd: AT+FCLASS=1.0
Class1PPMWaitCmd: AT+FTS=7
Class1TCFWaitCmd: AT+FTS=7
Class1EOPWaitCmd: AT+FTS=9
Class1SwitchingCmd: AT+FRS=7
Class1RecvAbortOK: 200
Class1FrameOverhead: 4
Class1RecvIdentTimer: 40000
Class1TCFMaxNonZero: 10
Class1TCFMinRun: 1000
ModemResetCmds: AT+VCID=1
PagerTTYParity: none
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
CallIDPattern: "NDID="
PublicSendQ: false
JobProtection: 600
PublicRecvQ: false
RecvFileMode: 600

 

And, last but not least, here is an asterisk DialPlan example for a fax call :


[faxmodems1-in]
exten => s,1,Dial(IAX2/iaxmodem1/${EXTEN})

 

 

 

User Rating
This answer was helpful This answer was not helpful (8781 vote(s)) 
User Comments  Add a Comment )

 
 
Products
Unified Communications
> VoIP Adapters
> Fax Adapters
> VoIP Gateways
> VoIP Routers
> VoIP IADs - Integrated Access Devices
> Enterprise Session Border Controllers
> Media Gateways
> SS7 Gateways
> Secure End Points (SIP Phones)
> VoIP Public Address & Mass Notification
Software and Cloud
> Virtual SBC | Virtualized SBC
> Virtual Access Router
> VPN Server
> IPv6 IPv4 Converter
> Intelligent Edge Orchestration
> NFV & SDN
Networking & Access
> Ethernet Extenders
> Industrial Switches
> Industrial Ethernet
> Unmanaged Industrial Ethernet Switches
> Managed Industrial Ethernet Switches
> Industrial PoE Switches
> PoE Extenders
> Industrial Network Solutions
> xDSL Products | DSL Modems, DSL VoIP, DSL Router Modems
> Routers
> Dial-Up Access

Sunset Products
 
Datacom Industrial Connectivity
> Industrial PoE Products
> Ethernet Over Fiber
> Line Drivers / Short Range Modems
> Wireline Analog Modems
> Pro AV Live & Media Broadcast Systems
> Fiber Serial DataCom (RS-232/422/530/188C)
> Fiber Telecom (T1/E1/PRI, Analog & ISDN)
> Multiplexers & Sharing Devices
> SFP (Small Form Pluggable) Modules and Kits
> Fiber Alarming, Notification, Relay & Control
> Other Network Extenders
> Defense/Security Fiber Communications
> Baluns
> Surge Protectors & Opto-Isolators
> DataTaps, Testers, Adapters, Rack Kits
> Interface Converters
> Fiber Rack & Enclosure Systems
> Fiber Repeaters & Wavelength Division Multiplexers (WDM)
> Waveguide RF Filters
Media Transport
> Artel Racks & Chassis Infrastructure
> Video Over IP Transport
> Video Over Fiber Transport
> Video, Audio & Data Over Fiber Transport
> Video & Audio Over Fiber Transport
> Ethernet Over Fiber Transport
> Serial DataComm Over Fiber Transport
> Video, Fiber Testers & Splitters
> Wave Division Multiplexers
> Ethernet Switches
> SFP Modules and Kits
 
Sales: [email protected] / +1 301 975 1000
Support: [email protected] / +1 301 975 1007
Join Our Email List
Have Us Contact You
or
Login Connect With Us
X Linkedin Facebook Youtube
 
     Patton LLC Copyright © 2022 All Rights Reserved.

|  Sitemap  |   Legal  |   Privacy Policy  |   Disclaimer  |    X  Facebook  YouTube  LinkedIn  RSS