forked from gonicus/gofaxip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gofax.conf
83 lines (60 loc) · 2.53 KB
/
gofax.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[freeswitch]
socket = 127.0.0.1:8021
password = ClueCon
; Default SIP gateway (as configured in FreeSWITCH) used for originated calls.
; Can be overridden by setting 'Gateway=' in DynamicConfigOutgoing
gateway = default
; Multiple gateways can be defined and will be tried in order until the call succeeds.
;gateway = backup-gw
ident = +1 337
header = "GONICUS LABS"
; Enable to get excessive SpanDSP debug messages in FreeSWITCH
verbose = false
; Enable fallback to softmodem for the next call of
; a caller (identified by caller id) if negotiation using T.38 fails
; Persistent fallback data is saved in FreeSWITCH's mod_db
softmodemfallback = true
[hylafax]
spooldir = /var/spool/hylafax
; Limit number of outbound channels
modems = 5
; Enable to make GOfax.IP write xferfaxlog
xferfaxlog = log/xferfaxlog
[gofaxd]
socket = 127.0.0.1:8022
; Enable T.38 support for receiving (FreeSWITCH: fax_enable_t38)
enablet38 = true
; Send a T.38-ReINVITE when a fax was detected by tone detection while receiving (FreeSWITCH: fax_enable_t38_request)
requestt38 = true
; Wait before answering a incoming call (ms)
answerafter = 2000
; Wait after answering before starting fax negotiation
waittime = 1000
; Support for rejecting calls and setting CSI for incoming faxes
;dynamicconfig = etc/DynamicConfig
[gofaxsend]
; Enable T.38 support for receiving (FreeSWITCH: fax_enable_t38)
enablet38 = true
; Send a T.38-ReINVITE when a fax was detected by tone detection while sending (FreeSWITCH: fax_enable_t38_request)
requestt38 = true
; Default outgoing caller id number
faxnumber = 4711
; Uncomment to prefix the destination number in every outgoing call when dialing
; callprefix = 0
; Support for settings TSI/Header and Callerid for outgoing faxes
;dynamicconfig = etc/DynamicConfigOutgoing
; Fallback to lower baudrate after x fax retries. Set number of retries. 0 = automatic fallback disabled
disablev17afterretry = 0
; Switch off ECM after x fax retries. Set number of retries. 0 = automatic switch disabled
disableECMafterretry = 0
; Set the Displayname to sender, cidnum or any static string you like
; sender - use sender from the qfile
; number - use number from the qfile
; cidnum - use callerid number as displayname
; example: my great faxserver - use "my great faxserver" as displayname for every outbound fax
cidname = sender
; Instruct HylaFAX to not retry the transmission
; useful for final failure responses like UNALLOCATED_NUMBER to prevent unnecessary retries
; can be set multiple times
failedresponse = UNALLOCATED_NUMBER
failedresponse = CALL_REJECTED