[asterisk-users] ReceiveFax() fails over Dial()

Dominique Haeber dominique.haeber at xig.ch
Wed Apr 1 04:33:08 CDT 2015


Hi all,

since asterisk 11 (1.6 was okay) failed the ReceiveFax-Application
when it called about "Dial" and a Local-Channel.

Directly from external to FaxReceive is no problem.

Cut from cli:

[...]
[Apr  1 11:12:31]     -- Executing [s at macro-redirection:85] Dial("SIP/access-trunk-00000001", "Local/0XXXXXXX40 at x-xxx-companyXXXXX/n") in new stack
[...]
[Apr  1 11:12:31]     -- Executing [s at macro-faxproceed:10] Set("Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2", "FAXOPT(gateway)=no") in new stack
[Apr  1 11:12:31]     -- Executing [s at macro-faxproceed:11] Answer("Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2", "") in new stack
[Apr  1 11:12:31]     -- Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;1 answered SIP/access-trunk-00000001
[Apr  1 11:12:31]        > 0x7f0b100568f0 -- Probation passed - setting RTP source address to XXX.XXX.XXX.XXX:14052
[Apr  1 11:12:31]     -- Executing [s at macro-faxproceed:12] Wait("Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2", "6") in new stack
[Apr  1 11:12:37]     -- Executing [s at macro-faxproceed:13] ReceiveFAX("Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2", "/var/spool/asterisk/fax/0XXXXXX40/1427879551.5.tif,Fd") in new stack
[Apr  1 11:12:37]     -- Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' receiving FAX '/var/spool/asterisk/fax/0XXXXXX40/1427879551.5.tif'
[Apr  1 11:12:37]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.225458 ], stack sent 10 frames (200 ms) of silence.
[Apr  1 11:12:37]   == Using UDPTL TOS bits 184
[Apr  1 11:12:37]   == Using UDPTL CoS mark 5
[Apr  1 11:12:37]        > 0x7f0b100568f0 -- Probation passed - setting RTP source address to XXX.XXX.XXX.XXX:14052
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.448203 ], channel sent 23 frames (460 ms) of silence.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.508594 ], channel sent 3 frames (60 ms) of energy.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.528360 ], channel sent 1 frames (20 ms) of silence.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.548998 ], channel sent 1 frames (20 ms) of energy.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.588275 ], channel sent 2 frames (40 ms) of silence.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.748959 ], channel sent 8 frames (160 ms) of energy.
[Apr  1 11:12:38]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 000.749224 ], channel sent 1 frames (20 ms) of silence.
[Apr  1 11:12:40]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 002.820373 ], stack sent 130 frames (2600 ms) of energy.
[Apr  1 11:12:40]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 002.880379 ], stack sent 3 frames (60 ms) of silence.
[Apr  1 11:12:40]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 003.068482 ], channel sent 116 frames (2320 ms) of energy.
[Apr  1 11:12:40]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 003.148325 ], channel sent 4 frames (80 ms) of silence.
[Apr  1 11:12:42]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 005.227866 ], channel sent 104 frames (2080 ms) of energy.
[Apr  1 11:12:42]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 005.248242 ], channel sent 1 frames (20 ms) of silence.
[Apr  1 11:13:16]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 038.908270 ], channel sent 1683 frames (33660 ms) of energy.
[Apr  1 11:13:16]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 038.928126 ], channel sent 1 frames (20 ms) of silence.
[Apr  1 11:13:16]        > Channel 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' fax session '1', [ 038.968168 ], channel sent 2 frames (40 ms) of energy.
[Apr  1 11:13:16]     -- Executing [h at macro-redirection:1] Set("SIP/access-trunk-00000001", "CDR(userfield)= Hangup=16 RTCP=ssrc=1981386606;themssrc=2116388711;lp=0;rxjitter=0.000000;rxcount=2254;txjitter=0.000314;txcount=1949;rlp=0;rtt=0.000000") in new stack
[Apr  1 11:13:16]     -- Executing [h at macro-redirection:2] Hangup("SIP/access-trunk-00000001", "") in new stack
[Apr  1 11:13:16]   == Spawn extension (macro-redirection, h, 2) exited non-zero on 'SIP/access-trunk-00000001'
[Apr  1 11:13:16]   == Spawn extension (macro-redirection, s, 85) exited non-zero on 'SIP/access-trunk-00000001' in macro 'redirection'
[Apr  1 11:13:16]   == Spawn extension (x-xxx-subscribers, 0XXXXXX44, 1) exited non-zero on 'SIP/access-trunk-00000001'
[Apr  1 11:13:16]   == Spawn extension (macro-faxproceed, s, 13) exited non-zero on 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2' in macro 'faxproceed'
[Apr  1 11:13:16]   == Spawn extension (fax, 0XXXXXX40, 11) exited non-zero on 'Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2'
[Apr  1 11:13:16]     -- Executing [h at fax:1] NoOp("Local/0XXXXXX40 at x-xxx-companyXXXXX-00000001;2", "FAXSTATUS: FAILED, FAXERROR: Timed out waiting for the first message,FAXMODE: , REMOTESTATIONID: , FAXPAGES:0, FAXBITRATE: 14400, FAXRESOLUTION:0x0") in new stack
[...]

Thank you for your hints!


Greetings 
Dominique



More information about the asterisk-users mailing list