Fax on Asterisk 1.6.2.15

We have asterisk server running with asterisk 1.6.2.15 and a2billing. We install Fax for asterisk but still we cannot send and receive fax.

FAX Statistics:

Current Sessions : 0
Transmit Attempts : 0
Receive Attempts : 0
Completed FAXes : 0
Failed FAXes : 0

Digium G.711
Licensed Channels : 2
Max Concurrent : 0
Success : 0
Switched to T.38 : 0
Canceled : 0
No FAX : 0
Partial : 0
Negotiation Failed : 0
Train Failure : 0
Protocol Error : 0
IO Partial : 0
IO Fail : 0

Digium T.38
Licensed Channels : 2
Max Concurrent : 0
Success : 0
Canceled : 0
No FAX : 0
Partial : 0
Negotiation Failed : 0
Train Failure : 0
Protocol Error : 0
IO Partial : 0
IO Fail : 0

FAX For Asterisk Settings:
ECM: Enabled
Status Events: Off
Minimum Bit Rate: 2400
Maximum Bit Rate: 14400
Modem Modulations Allowed: V17,V27,V29

FAX Technology Modules:

DIGIUM (Digium FAX Driver) Settings:
Maximum T.38 Packet Delay: 800
T.38 Session Packet Capture: On
G.711 Session Audio Capture: Off

Current FAX Sessions:

Channel Tech FAXID Type Operation State File(s)

0 FAX sessions

Appreciate your response…

As you have two channels licensed, I presume you purchased licences. In that case, you should be able to get support from Digium. This board does not provide official support from Digium.

I would note, though, that Asterisk 1.6 hasn’t been supported for some time now.

(If you had the 1 channel, free, licence, there is is a specific forum on this board, but that is not officially answered by Digium.)

You will probably need to provide detailed logs.

Thanks for you prompt response david55

Some logs on our cli

== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
– Called trade/0000018888777165
– SIP/trade-00000491 is making progress passing it to SIP/5672481992-00000490
– SIP/trade-00000491 answered SIP/5672481992-00000490
a2billing.php: file:Class.RateEngine.php - line:1265 - uniqueid:1384281088.1168 - DIAL SIP/trade/0000018888777165,60,HRrL(5400000:61000:30000)
a2billing.php: file:Class.RateEngine.php - line:1151 - uniqueid:1384281088.1168 - [TRUNK STATUS UPDATE : UPDATE cc_trunk SET inuse=inuse-1 WHERE id_trunk=‘2’]
a2billing.php: file:Class.RateEngine.php - line:1413 - uniqueid:1384281088.1168 - -> dialstatus : ANSWER, answered time is 12
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:1417 - uniqueid:1384281088.1168 - [USEDRATECARD=0]
a2billing.php: file:Class.RateEngine.php - line:953 - uniqueid:1384281088.1168 - :[sessiontime:12 - id_cc_package_offer:-1 - package2apply:]
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php:
a2billing.php: file:Class.RateEngine.php - line:730 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_CALCULCOST: K=0 - CALLDURATION:12 - freetimetocall_used=0]
a2billing.php: file:Class.RateEngine.php - line:808 - uniqueid:1384281088.1168 - [TEMP - CC_RATE_ENGINE_CALCULCOST: 1. COST: 0]:[ (60/60) * 0 ]
a2billing.php: file:Class.RateEngine.php - line:893 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_CALCULCOST: K=0 - BUYCOST:0 - SELLING COST:0]
a2billing.php: file:Class.RateEngine.php - line:1036 - uniqueid:1384281088.1168 - [CC_RATE_ENGINE_UPDATESYSTEM: usedratecard K=0 - (sessiontime=12 :: dialstatus=ANSWER :: buycost=0 :: cost=0 : signe_cc_call=-: signe=+)]
a2billing.php: file:Class.RateEngine.php - line:1101 - uniqueid:1384281088.1168 - [CC_asterisk_stop : SQL: DONE : result=1]
a2billing.php: file:Class.RateEngine.php - line:1102 - uniqueid:1384281088.1168 - [CC_asterisk_stop : SQL: INSERT INTO cc_call (uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation, terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buycost, id_card_package_offer, dnid, destination) VALUES (‘1384281088.1168’, ‘SIP/5672481992-00000490’, ‘72’, ‘’, SUBDATE(CURRENT_TIMESTAMP, INTERVAL 12 SECOND) , ‘12’, ‘12’, ‘18888777165’, 1, now() , ‘-0’, ‘1’, ‘1’, ‘5273’, ‘2’, ‘15672481992’, ‘0’, ‘0’, NULL, ‘18888777165’, ‘1888’)]
a2billing.php: file:Class.RateEngine.php - line:1126 - uniqueid:1384281088.1168 - [CC_asterisk_stop 1.2: SQL: UPDATE cc_card SET credit= credit+0 , lastuse=now(), nbused=nbused+1 WHERE username=‘18522’]
a2billing.php: file:Class.RateEngine.php - line:1131 - uniqueid:1384281088.1168 - UPDATE cc_trunk SET secondusedreal = secondusedreal + 12 WHERE id_trunk=‘2’
a2billing.php: file:Class.RateEngine.php - line:1135 - uniqueid:1384281088.1168 - UPDATE cc_tariffplan SET secondusedreal = secondusedreal + 12 WHERE id=‘1’
a2billing.php: file:a2billing.php - line:588 - uniqueid:1384281088.1168 - [a2billing account stop]
a2billing.php: file:a2billing.php - line:193 - uniqueid:1384281088.1168 - [CHANNEL STATUS : 6 = Line is up]
a2billing.php: [CREDIT : 5.38718][CREDIT MIN_CREDIT_2CALL : 0]
a2billing.php: file:a2billing.php - line:396 - uniqueid:2384281088.1168 - TARIFF ID -> 1
a2billing.php: file:Class.A2Billing.php - line:805 - uniqueid:2384281088.1168 - use_dnid:0 && (!in_array:) && len_dnid:(11 || len_exten:11 ) && (try_num:1)
– <SIP/5672481992-00000490> Playing ‘prepaid-enter-dest.gsm’ (language ‘en’)
a2billing.php: file:Class.A2Billing.php - line:822 - uniqueid:2384281088.1168 - RES DTMF :
a2billing.php: file:Class.A2Billing.php - line:878 - uniqueid:2384281088.1168 - [CALL 2 DID]
a2billing.php: file:Class.A2Billing.php - line:887 - uniqueid:2384281088.1168 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did=’’ AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = ‘0000-00-00 00:00:00’)
a2billing.php: file:Class.A2Billing.php - line:893 - uniqueid:2384281088.1168 - DESTINATION ::>
a2billing.php: file:Class.A2Billing.php - line:900 - uniqueid:2384281088.1168 - RULES APPLY ON DESTINATION ::>
a2billing.php: file:a2billing.php - line:572 - uniqueid:2384281088.1168 - ANSWER fct callingcard_ivr authorize:> -1
a2billing.php: file:a2billing.php - line:193 - uniqueid:2384281088.1168 - [CHANNEL STATUS : 6 = Line is up]

What kind of logs you need maybe i can provide you

You need to get initial support from the a2billing people. There is no evidence of any attempt to use fax in that trace, and all the logic is hidden in their AGI application.