Re: [asterisk-users] Fax for Asterisk, capable of receiving from website but not from fax machine !!

2010-07-13 Thread khalid touati
so nobody seems to like dealing with fax!!

2010/7/12 khalid touati khalidtou...@gmail.com

 Hi Guys,
 i am using the latest version of asterisk 1.4 (1.4.33.1), dahdi (2.3.0.1)
 and FFA (Applications: 1.4_1.2.0, Digium FAX Driver: 1.4_1.2.0). the issue
 i'm having is that i'm able to receive faxes from a website (that offer this
 service) but not able to receive from a regular fax machine (that is working
 perfect).

 [fax-rx]

 exten = receive,1,NoOp( FAX RECEIVE ) exten =
 receive,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ]) exten =
 receive,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})

 exten =
 receive,n,Set(FAXFILE=${STRFTIME(${EPOCH},GMT-5,%F_%T_${CALLERIDNUM})}.tif)

 exten =
 receive,n,Set(FAXFILENOEXT=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},GMT-5,%F_%T_${CALLERIDNUM})})

 exten = receive,n,Set(GLOBAL(LASTFAXCALLERNUM)=${CALLERID(num)})

 exten = receive,n,Set(GLOBAL(LASTFAXCALLERNAME)=${CALLERID(name)})

 exten = receive,n,NoOp( SETTING FAXOPT ) exten =
 receive,n,Set(FAXOPT(ecm)=yes) exten = receive,n,Set(FAXOPT(headerinfo)=MY
 FAXBACK RX) exten = receive,n,Set(FAXOPT(localstationid)=15184893772)

 exten = receive,n,Set(FAXOPT(maxrate)=14400)

 exten = receive,n,Set(FAXOPT(minrate)=2400)

 exten = receive,n,NoOp(FAXOPT(ecm) : ${FAXOPT(ecm)}) exten =
 receive,n,NoOp(FAXOPT(headerinfo) : ${FAXOPT(headerinfo)}) exten =
 receive,n,NoOp(FAXOPT(localstationid) : ${FAXOPT(localstationid)}) exten =
 receive,n,NoOp(FAXOPT(maxrate) : ${FAXOPT(maxrate)}) exten =
 receive,n,NoOp(FAXOPT(minrate) : ${FAXOPT(minrate)}) exten =
 receive,n,NoOp( RECEIVING FAX : ${FAXFILE} ) exten =
 receive,n,ReceiveFAX(/var/spool/asterisk/fax/${FAXFILE})

 exten = receive,n,System('/usr/local/bin/fax2mail -p -f ${FAXFILENOEXT}
 --cid-number ${CALLERID(num)} --cid-name ${CALLERID(name)} --dest-name
 Sir/Madam')



 a previous debugging showed:


 *- for a fax from myfax.com that was received successfully:*

 pbx1*CLI

 Channel 'DAHDI/1-1' fax session '53', [ 034.021683 ], channel
 sent 59 frames (1180 ms) of energy.

 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '53', [ 040.489601 ],
 STAT_EVT_HW_CLOSE  st: WT_HW_CLSrt: WCLSNCLS

 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '53', [ 040.489798 ],
 STAT_SES_COMPLETE

 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '53' is complete, result: 'SUCCESS'
 (FAX_SUCCESS), error: 'NO_ERROR', pages: 2, resolution: '204x196', transfer
 rate: '14400', remoteSID: 'FAX'

 pbx1*CLI

 -- Executing [rece...@fax-rx:21] System(DAHDI/1-1,
 /usr/local/bin/fax2mail -p -f
 /var/spool/asterisk/fax/2010-05-18_03:59:42_ --cid-number  --cid-name 
 --dest-name Sir/Madam) in new stack



 pbx1*CLI

   == Auto fallthrough, channel 'DAHDI/1-1' status is 'UNKNOWN'



 pbx1*CLI

 -- Hungup 'DAHDI/1-1'



 -* for a fax from regular machine that failed:*

 *
 *

 pbx1*CLI

 Channel 'DAHDI/1-1' fax session '54', [ 032.782251 ], channel
 sent 3 frames (60 ms) of energy.



 pbx1*CLI

 -- Channel 0/1, span 1 got hangup request, cause 16



 pbx1*CLI

 [May 17 19:02:41] NOTICE[1316]: res_fax.c:993 generic_fax_exec: Channel
 'DAHDI/1-1' did not return a frame; probably hung up.



 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '54', [ 038.131701 ],
 STAT_EVT_HW_CLOSE  st: WT_HW_CLSrt: WCLSNCLS

 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '54', [ 038.131879 ],
 STAT_SES_COMPLETE

 pbx1*CLI

 -- Channel 'DAHDI/1-1' fax session '54' is complete, result: 'SUCCESS'
 (FAX_SUCCESS), error: 'NO_ERROR', pages: 1, resolution: '204x196', transfer
 rate: '14400', remoteSID: '518 489 3772'



 pbx1*CLI

   == Spawn extension (fax-rx, receive, 20) exited non-zero on 'DAHDI/1-1'



 pbx1*CLI

 -- Hungup 'DAHDI/1-1'


 I would really appreciate any help! thanks!

 --
 Abdullah




-- 
Abdullah
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Fax for Asterisk, capable of receiving from website but not from fax machine !!

2010-07-13 Thread Tim Nelson

- khalid touati khalidtou...@gmail.com wrote: 
 so nobody seems to like dealing with fax!! 
 
 


'Fax for Asterisk' is a commercial application sold by Digium. This is not 
their official support channel. Since you paid for the product, why not contact 
them directly about your problem? 


And yes, to answer your question, not many people like dealing with fax. Some 
of us however are so lucky that we get to deal with fax every day. :-) 

--Tim -- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Fax for Asterisk, capable of receiving from website but not from fax machine !!

2010-07-13 Thread Philipp von Klitzing
Hi!

 'Fax for Asterisk' is a commercial application sold by Digium. This is
 not their official support channel. Since you paid for the product, why
 not contact them directly about your problem? 

Maybe because having to deal with Digium support is an ... uncomfortable 
experience that I've made twice. It really feels like a support 
avoidance system, and you are an unwelcome guest that should please 
leave as soon as possible.

I really hope that Digium takes steps to a) make their behaviour less 
bureaucratic when establishing a support call (try to do that on behalf 
of a clue-less customer of yours and you know what I mean). Also my 
feeling is that b) the level of competence (or familiarity with the 
product in question when it comes to software prodcuts) could use some 
improvement.

If you take a look at the Digium web forum for Skype for Asterisk, for 
example, you will see that any kind of half-official answer or helpful 
reaction from Digium's side is by now non-existent - most probably due to 
internal policies. This just doesn't feel right, and many other companies 
haven proven that I can be done differently.

Philipp


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Fax for Asterisk, capable of receiving from website but not from fax machine !!

2010-07-13 Thread Steve Totaro
On Tue, Jul 13, 2010 at 4:43 PM, Philipp von Klitzing 
klitz...@pool.informatik.rwth-aachen.de wrote:

 Hi!

  'Fax for Asterisk' is a commercial application sold by Digium. This is
  not their official support channel. Since you paid for the product, why
  not contact them directly about your problem?

 Maybe because having to deal with Digium support is an ... uncomfortable
 experience that I've made twice. It really feels like a support
 avoidance system, and you are an unwelcome guest that should please
 leave as soon as possible.

 I really hope that Digium takes steps to a) make their behaviour less
 bureaucratic when establishing a support call (try to do that on behalf
 of a clue-less customer of yours and you know what I mean). Also my
 feeling is that b) the level of competence (or familiarity with the
 product in question when it comes to software prodcuts) could use some
 improvement.

 If you take a look at the Digium web forum for Skype for Asterisk, for
 example, you will see that any kind of half-official answer or helpful
 reaction from Digium's side is by now non-existent - most probably due to
 internal policies. This just doesn't feel right, and many other companies
 haven proven that I can be done differently.

 Philipp


I couldn't have said it better myself.   http://tinyurl.com/3x4yt9k
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Fax for Asterisk, capable of receiving from website but not from fax machine !!

2010-07-13 Thread khalid touati
'Fax for Asterisk' is a commercial application sold by Digium. This is not
their official support channel. Since you paid for the product, why not
contact them directly about your problem?

i did get this version for free after buying a (actually several) digium
telephony card, but i realized that they're not supporting the free version
after talking and emailing them, actually i was calling Digium support for
all the past year and i can say that (for me) it was good:4/5 satisfaction,
but this time with fax, i didn't get much help, i was redirected to the
community and that why i posted. by the way is there a reliable alternative?
is for 1.6 rfax is doing good (if anyone worked with it)?
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users