[asterisk-users] Error in ReceiveFax with T.38 -- Asterisk 1.6.0.7-rc2
Santiago Gimeno
santiago.gimeno at gmail.com
Tue Mar 24 12:57:35 CDT 2009
Hello,
The NoOp output was not displayed at all. I'm assuming because of the
failure in the ReceiveFax application. In fact, the verbose output
was:
== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
-- Executing [99999 at demo:1] Set("SIP/192.168.0.253-b7a96b70",
"INCOMING_FAXFILE=/root/santi/fax/incoming.tif") in new stack
-- Executing [99999 at demo:2] Answer("SIP/192.168.0.253-b7a96b70",
"") in new stack
-- Executing [99999 at demo:3] Wait("SIP/192.168.0.253-b7a96b70",
"3") in new stack
-- Executing [99999 at demo:4]
ReceiveFAX("SIP/192.168.0.253-b7a96b70",
"/root/santi/fax/incoming.tif") in new stack
[Mar 24 18:47:09] WARNING[15248]: app_fax.c:650 transmit: Transmission error
== Spawn extension (demo, 99999, 4) exited non-zero on
'SIP/192.168.0.253-b7a96b70'
And no, the file /root/santi/fax/incoming.tif was not empty. It
contained the "correct" received fax.
Oh, I forgot to add I'm using spandsp-0.0.6pre7.
I copy here some more lines of the debug info that maybe can help to
understand what's going on:
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Send complete in phase T30_PHASE_D_TX, state 14
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Send complete in phase T30_PHASE_D_TX, state 14
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Changing from phase T30_PHASE_D_TX to T30_PHASE_D_RX
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set rx type 4
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set tx type 0
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW T.30 Start T4
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 HDLC signal status is Carrier up (-2) in state 14
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 HDLC signal status is Framing OK (-6) in state 14
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Start T4A
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Rx: DCN with final frame tag
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Rx: ff 13 fb
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 In state 14
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Disconnecting
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Changing from phase T30_PHASE_D_RX to T30_PHASE_E
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set rx type 0
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set tx type 1
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Changing from state 14 to 2
asterisk[12127]: DEBUG[12163]: chan_sip.c:18613 in handle_incoming:
**** Received BYE (8) - Command in SIP BYE
asterisk[12127]: DEBUG[12163]: chan_sip.c:2373 in sip_alreadygone:
Setting SIP_ALREADYGONE on dialog
77C43B95-17D211DE-8D93AB80-F420CA09 at 192.168.0.253
asterisk[12127]: DEBUG[12163]: chan_sip.c:18135 in handle_request_bye:
Received bye, issuing owner hangup
asterisk[12127]: DEBUG[12163]: chan_sip.c:2598 in __sip_xmit: Trying
to put 'SIP/2.0 20' onto UDP socket destined for 192.168.0.253:5060
asterisk[12127]: DEBUG[15248]: channel.c:2310 in ast_settimeout:
Scheduling timer at 0 sample intervals
asterisk[12127]: DEBUG[15248]: app_fax.c:399 in transmit_audio: Channel hangup
asterisk[12127]: DEBUG[15248]: app_fax.c:464 in transmit_audio: Loop
finished, res=-1
asterisk[12127]: DEBUG[15248]: app_fax.c:166 in phase_e_handler: Fax
phase E handler. result=0
asterisk[12127]: DEBUG[15248]: app_fax.c:202 in phase_e_handler: Fax
transmitted successfully.
asterisk[12127]: DEBUG[15248]: app_fax.c:203 in phase_e_handler:
Remote station ID: 0034913121867
asterisk[12127]: DEBUG[15248]: app_fax.c:204 in phase_e_handler:
Pages transferred: 1
asterisk[12127]: DEBUG[15248]: app_fax.c:205 in phase_e_handler:
Image resolution: 8031 x 3850
asterisk[12127]: DEBUG[15248]: app_fax.c:206 in phase_e_handler:
Transfer Rate: 9600
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Changing from state 2 to 32
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW
T.30 Changing from phase T30_PHASE_E to T30_PHASE_CALL_FINISHED
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set rx type 8
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
FAX exchange complete
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
Set tx type 8
asterisk[12127]: DEBUG[15248]: app_fax.c:130 in span_message: FLOW FAX
FAX exchange complete
asterisk[12127]: DEBUG[15248]: channel.c:3470 in set_format: Set
channel SIP/192.168.0.253-b7a96b70 to write format alaw
asterisk[12127]: DEBUG[15248]: channel.c:3470 in set_format: Set
channel SIP/192.168.0.253-b7a96b70 to read format alaw
asterisk[12127]: WARNING[15248]: app_fax.c:650 in transmit: Transmission error
asterisk[12127]: DEBUG[15248]: pbx.c:3731 in __ast_pbx_run: Spawn
extension (demo,99999,4) exited non-zero on
'SIP/192.168.0.253-b7a96b70'
asterisk[12127]: VERBOSE[15248]: == Spawn extension (demo, 99999, 4)
exited non-zero on 'SIP/192.168.0.253-b7a96b70'
asterisk[12127]: DEBUG[15248]: channel.c:1560 in
ast_softhangup_nolock: Soft-Hanging up channel
'SIP/192.168.0.253-b7a96b70'
asterisk[12127]: DEBUG[15248]: channel.c:1653 in ast_hangup: Hanging
up channel 'SIP/192.168.0.253-b7a96b70'
asterisk[12127]: DEBUG[15248]: chan_sip.c:4914 in sip_hangup: Hangup
call SIP/192.168.0.253-b7a96b70, SIP callid
77C43B95-17D211DE-8D93AB80-F420CA09 at 192.168.0.253
asterisk[12127]: DEBUG[15248]: devicestate.c:450 in
ast_devstate_changed_literal: Notification of state change to be
queued on device/channel SIP/192.168.0.253
Thanks. Best regards,
Santi
On Tue, Mar 24, 2009 at 6:25 PM, David Backeberg <dbackeberg at gmail.com> wrote:
> On Tue, Mar 24, 2009 at 11:33 AM, Santiago Gimeno
> <santiago.gimeno at gmail.com> wrote:
>> Sorry about that, I forgot to post them:
>
> That all looks pretty good.
> So in your original post, you clipped it off before you got all the
> useful no-op output at the end.
>
> I'm also assuming your file was empty?
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list