[Asterisk-Users] spandsp / txfax exit codes / logging?
Doug Lytle
support at drdos.info
Thu Oct 27 15:12:13 MST 2005
Bohuslav Coufal wrote:
>I'm looking for that one too. I had not been succesfull up to now.
>
>Bob.
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tomasz
>Chmielewski
>Sent: Thursday, October 27, 2005 1:58 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: [Asterisk-Users] spandsp / txfax exit codes / logging?
>
>Is it possible to somehow read spandsp / txfax exit codes?
>
>
>
Run Asterisk in debug mode [asterisk -d] and use the -debug option on
the spandsp command line. Mine is as follows:
exten => s,3,rxfax(${FAXFILE}.tif,DEBUG)
After I get the debug output, I use cat and grep to break out the
app_rxfax.c to a fax log:
[root at asterisk asterisk]# cat full|grep -i app_rxfax.c >faxlog
With the output below:
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c:
==============================================================================
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Fax successfully received.
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Remote station id: 269xxxxxxx
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Local station id:
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Pages transferred: 5
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Image resolution: 7700 x 7700
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c: Transfer Rate: 9600
Oct 27 15:36:10 DEBUG[21623] app_rxfax.c:
==============================================================================
Doug
More information about the asterisk-users
mailing list