Line 5
Link Here
|
5 |
# version : $Revision: 1.9 $ |
5 |
# version : $Revision: 1.9.2.1 $ |
6 |
-- |
|
|
Line 76
Link Here
|
76 |
faxIncoming(call,call_from,call_to,curr_user,config) |
76 |
faxIncoming(call,call_from,call_to,curr_user,config,0) |
77 |
-- |
|
|
Line 88
Link Here
|
88 |
def faxIncoming(call,call_from,call_to,curr_user,config): |
88 |
# @param already_connected 1 if we're already connected (that means we must switch to fax mode) |
89 |
-- |
89 |
def faxIncoming(call,call_from,call_to,curr_user,config,already_connected): |
Line 116
Link Here
|
116 |
faxInfo=capisuite.connect_faxG3(call,stationID,headline,0) |
117 |
if (already_connected): |
117 |
-- |
118 |
faxInfo=capisuite.switch_to_faxG3(call,stationID,headline) |
|
|
119 |
else: |
120 |
faxInfo=capisuite.connect_faxG3(call,stationID,headline,0) |
Lines 206-212
Link Here
|
206 |
stationID=cs_helpers.getOption(config,curr_user,"fax_stationID") |
210 |
faxIncoming(call,call_from,call_to,curr_user,config,1) |
207 |
if (stationID==None): |
|
|
208 |
capisuite.error("Warning: fax_stationID not found for user "+curr_user+" -> using empty string") |
209 |
stationID="" |
210 |
headline=cs_helpers.getOption(config,curr_user,"fax_headline","") # empty string is no problem here |
211 |
capisuite.switch_to_faxG3(call,stationID,headline) |
212 |
faxIncoming(call,call_from,call_to,curr_user,config) |
213 |
-- |
Line 410
Link Here
|
|
|
408 |
# Revision 1.9.2.1 2003/08/24 12:47:19 gernot |
409 |
# - faxIncoming tried to reconnect when it was called after a switch from |
410 |
# voice to fax mode, which lead to a call abort. Thx to Harald Jansen & |
411 |
# Andreas Scholz for reporting! |
412 |
# |