[asterisk-dev] Fax t38 capability

Khaled W. Chehab Kchehab at Xplorium.com
Fri May 15 04:06:18 CDT 2009


Dears I installed digium fax and followed the instruction at
http://downloads.digium.com/pub/telephony/fax/README,And as  you can  see
above that t38 is loaded 

I am using a call file to  send fax1.tif file as fax to the gateway named
add 

The problem that Addpac send always  Receive 488 Not acceptable here,and
lkindly find my debug attached 

Please advice.

Thanks I Advance

 

shark*CLI> fax show capabilities 

shark*CLI> 

 

Registered Fax Technology Modules:

 

Type            : T.38

Description     : Digium Fax T.38 Driver

Capabilities    : SEND, RECEIVE, UDP

 

Type            : G.711

Description     : Digium Fax G.711 Driver

Capabilities    : SEND, RECEIVE

 

2 registered modules

************My Call File***************

Channel: SIP/6789 at add

MaxRetries: 2

WaitTime: 20

Extension: s

Priority: 1

Context: fax-tx

*************My sipconf**************************

Cisco Gateway

[add]

host=212.56.151.216

username=***userid***

secret=***password***

type=peer

t38pt_udptl = yes

*************My extension.conf**************************

 

[fax-tx]

exten => s,1,NoOp(**** SENDING FAX ****)

exten => s,n,Wait(6)

exten => s,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])

exten => s,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})

exten => s,n,Set(FAXFILE=fax1.tif)

; Set FAXOPTs

exten => s,n,NoOp(**** SETTING FAXOPT ****)

exten => s,n,Set(FAXOPT(filename)=${FAXFILE})

exten => s,n,Set(FAXOPT(ecm)=yes)

exten => s,n,Set(FAXOPT(headerinfo)=Fax from ${GLOBAL(LASTFAXCALLERNAME)} at
${GLOBAL(LASTFAXCALLERNUM)} was received.)

exten => s,n,Set(FAXOPT(localstationid)=1234567890)

exten => s,n,Set(FAXOPT(maxrate)=14400)

exten => s,n,Set(FAXOPT(minrate)=2400)

; Send the fax

exten => s,n,NoOp(**** SENDING FAX : ${FAXFILE} ****)

exten => s,n,SendFAX(/tmp/${FAXFILE},d)

; Hangup! Print FAXOPTs

exten => h,1,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)})

exten => h,n,NoOp(FAXOPT(filename) : ${FAXOPT(filename)})

exten => h,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)})

exten => h,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)})

exten => h,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)})

exten => h,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)})

exten => h,n,NoOp(FAXOPT(pages) : ${FAXOPT(pages)})

exten => h,n,NoOp(FAXOPT(rate) : ${FAXOPT(rate)})

exten => h,n,NoOp(FAXOPT(remotestationid) : ${FAXOPT(remotestationid)})

exten => h,n,NoOp(FAXOPT(resolution) : ${FAXOPT(resolution)})

exten => h,n,NoOp(FAXOPT(status) : ${FAXOPT(status)})

exten => h,n,NoOp(FAXOPT(statusstr) : ${FAXOPT(statusstr)})

exten => h,n,NoOp(FAXOPT(error) : ${FAXOPT(error)})

 

 

 



*********************************************
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090515/e4b77ce1/attachment-0001.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug.txt
Url: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090515/e4b77ce1/attachment-0001.txt 


More information about the asterisk-dev mailing list