# Fax on Asterisk 1.6.2.15

**URL:** <https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437>\
**Category:** Asterisk General\
**Created:** [November 12, 2013, 5:59pm UTC](https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437 "2013-11-12T17:59:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markmarvinq](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@markmarvinq](https://community.asterisk.org/u/markmarvinq)\
**Post date:** [November 12, 2013, 5:59pm UTC](https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437/1 "2013-11-12T17:59:35Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 12, 2013, 6:55pm UTC](https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437/2 "2013-11-12T18:55:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![markmarvinq](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@markmarvinq](https://community.asterisk.org/u/markmarvinq)\
**Post date:** [November 12, 2013, 7:02pm UTC](https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437/3 "2013-11-12T19:02:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 12, 2013, 7:13pm UTC](https://community.asterisk.org/t/fax-on-asterisk-1-6-2-15/44437/4 "2013-11-12T19:13:42Z")

</div>

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.
