[asterisk-bugs] [JIRA] (ASTERISK-25795) Inbound fax is not working for L3 numbers when sent through Ring central account

Ravi Kumar (JIRA) noreply at issues.asterisk.org
Mon Feb 15 09:10:33 CST 2016


Ravi Kumar created ASTERISK-25795:
-------------------------------------

             Summary: Inbound fax is not working for L3 numbers when sent through Ring central account
                 Key: ASTERISK-25795
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25795
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
    Affects Versions: 1.8.14.1
            Reporter: Ravi Kumar


I am getting following fax  protocol errors when sent through Ring central account.  through g711 faxing.

-- Channel 'SIP/Icp-T38-00000002' FAX session '2' is complete, result: 'FAILED' (FAX_FAILURE_PROTOCOL_ERROR), error: 'REMOTE_DISCONNECT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''


The following are the more details

FAX For Asterisk Settings:
        ECM: Disabled
        Status Events: On
        Minimum Bit Rate: 2400
        Maximum Bit Rate: 7200
        Modem Modulations Allowed: V17,V27,V29


FAX Technology Modules:

DIGIUM (Digium FAX Driver) Settings:
        Maximum T.38 Packet Delay: 800
        T.38 Session Packet Capture: Off
        G.711 Session Audio Capture: On
beta-116*CLI> fax show version
FAX For Asterisk Components:
        Applications: 1.8.14.1
        Digium FAX Driver: 1.8.4_1.3.1 (optimized for barcelona_64)


NVITE sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072 SIP/2.0
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0225e80b;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Via: SIP/2.0/UDP 10.30.48.117:6050;branch=z9hG4bKed88.2a422af3.0
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bKed88.351babf1.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bKed88.c0fd4d9.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK02B23f573ba9157aa97
From: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848 at 208.77.4.87:5060>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 22232 INVITE
Max-Forwards: 14
Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Contact: <sip:+13232754557 at 4.55.21.99:5060>
Remote-Party-ID: <sip:+13232754557 at 4.55.21.99:5060>;privacy=off
Supported: 100rel
Content-Length: 303
Content-Disposition: session; handling=required
Content-Type: application/sdp
Remote-Party-ID: <sip:13232754557 at 10.30.48.116:5072>

v=0
o=Sonus_UAC 25660 26774 IN IP4 4.55.21.99
s=SIP Media Capabilities
c=IN IP4 4.55.21.66
t=0 0
m=audio 24010 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=maxptime:20
<------------->
--- (23 headers 14 lines) ---
Sending to 10.30.48.117:6050 (NAT)
Using INVITE request as basis request - 553806813_9997051 at 4.55.21.99
Found peer 'Icp-T38' for '+13232754557' from 10.30.48.117:6050
  == Using SIP RTP CoS mark 5
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 18
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - 0x4 (ulaw), peer - audio=0x10c (ulaw|alaw|g729)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 4.55.21.66:24010
Looking for fax-0-16502424848-youngteam-qa-wspib3941665901 in incoming-fax-t38 (domain 10.30.48.116)
list_route: hop: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>
list_route: hop: <sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>
list_route: hop: <sip:208.77.7.28;ftag=gK0225e80b;lr=on>
list_route: hop: <sip:208.77.4.87;ftag=gK0225e80b;lr=on>

<--- Transmitting (NAT) to 10.30.48.117:6050 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.30.48.117:6050;branch=z9hG4bKed88.2a422af3.0;received=10.30.48.117;rport=6050
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bKed88.351babf1.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bKed88.c0fd4d9.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK02B23f573ba9157aa97
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0225e80b;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0225e80b;lr=on>
From: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848 at 208.77.4.87:5060>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 22232 INVITE
Server: WorldSmart Fax
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Content-Length: 0


<------------>
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:1] Wait("SIP/Icp-T38-00000002", "1") in new stack
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:2] Answer("SIP/Icp-T38-00000002", "") in new stack
Audio is at 12266
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP

<--- Reliably Transmitting (NAT) to 10.30.48.117:6050 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.30.48.117:6050;branch=z9hG4bKed88.2a422af3.0;received=10.30.48.117;rport=6050
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bKed88.351babf1.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bKed88.c0fd4d9.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK02B23f573ba9157aa97
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0225e80b;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0225e80b;lr=on>
From: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 22232 INVITE
Server: WorldSmart Fax
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Content-Type: application/sdp
Content-Length: 260

v=0
o=root 689307708 689307708 IN IP4 208.77.7.36
s=Asterisk PBX 1.8.14.1
c=IN IP4 208.77.7.36
t=0 0
m=audio 12266 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

<------------>

<--- SIP read from UDP:10.30.48.117:6050 --->
ACK sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072 SIP/2.0
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0225e80b;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Via: SIP/2.0/UDP 10.30.48.117:6050;branch=0
Via: SIP/2.0/UDP 208.77.7.28;branch=0
Via: SIP/2.0/UDP 208.77.4.87;branch=0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK02B2400063f4348c109
From: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 22232 ACK
Max-Forwards: 14
Content-Length: 0

<------------->
--- (15 headers 0 lines) ---
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:3] Wait("SIP/Icp-T38-00000002", "3") in new stack
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:4] Set("SIP/Icp-T38-00000002", "EXTENSION=fax-0-16502424848-youngteam-qa-wspib3941665901") in new stack
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:5] Set("SIP/Icp-T38-00000002", "FAX_FILENAME=/opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901") in new stack
    -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901 at incoming-fax-t38:6] ReceiveFAX("SIP/Icp-T38-00000002", "/opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.tif,f") in new stack
    -- Channel 'SIP/Icp-T38-00000002' receiving FAX '/opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.tif'
  == Using UDPTL CoS mark 5
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Reliably Transmitting (NAT) to 10.30.48.117:6050:
INVITE sip:+13232754557 at 4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK1d097720;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.28;ftag=gK0225e80b;lr=on>,<sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Max-Forwards: 70
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 102 INVITE
User-Agent: WorldSmart Fax
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
X-asterisk-Info: SIP re-invite (External RTP bridge)
Content-Type: application/sdp
Content-Length: 236

v=0
o=root 689307708 689307709 IN IP4 208.77.7.36
s=Asterisk PBX 1.8.14.1
c=IN IP4 208.77.7.36
t=0 0
m=image 4755 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxDatagram:425

---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 100 Trying..
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK1d097720;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 102 INVITE
Server: Worksmart Router (0.9.6 (x86_64/linux))
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK1d097720;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 102 INVITE
Server: Worksmart Router (0.9.6 (x86_64/linux))
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK1d097720;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 102 INVITE
Content-Length: 0

<------------->
--- (7 headers 0 lines) ---
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Transmitting (NAT) to 10.30.48.117:6050:
ACK sip:+13232754557 at 4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK1d097720;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.28;ftag=gK0225e80b;lr=on>,<sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Max-Forwards: 70
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 102 ACK
User-Agent: WorldSmart Fax
Content-Length: 0


---
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Audio is at 12266
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 10.30.48.117:6050:
INVITE sip:+13232754557 at 4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK69c20cb6;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.28;ftag=gK0225e80b;lr=on>,<sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Max-Forwards: 70
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 103 INVITE
User-Agent: WorldSmart Fax
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
X-asterisk-Info: SIP re-invite (External RTP bridge)
Content-Type: application/sdp
Content-Length: 260

v=0
o=root 689307708 689307710 IN IP4 208.77.7.36
s=Asterisk PBX 1.8.14.1
c=IN IP4 208.77.7.36
t=0 0
m=audio 12266 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv

---
[Feb 15 06:35:11] WARNING[2644]: res_fax.c:1529 receivefax_t38_init: channel 'SIP/Icp-T38-00000002' refused to negotiate T.38

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 100 Trying..
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK69c20cb6;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 103 INVITE
Server: Worksmart Router (0.9.6 (x86_64/linux))
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK69c20cb6;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 103 INVITE
Server: Worksmart Router (0.9.6 (x86_64/linux))
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK69c20cb6;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 103 INVITE
Record-Route: <sip:208.77.4.87:5060;ftag=as6a26f6d0;lr=on>
Record-Route: <sip:208.77.7.28:5060;ftag=as6a26f6d0;lr=on>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=as6a26f6d0;lr>
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=as6a26f6d0;lr>
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Contact: <sip:+13232754557 at 4.55.21.99:5060>
Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE
Content-Length: 259
Content-Disposition: session; handling=required
Content-Type: application/sdp

v=0
o=Sonus_UAC 25660 26775 IN IP4 4.55.21.99
s=SIP Media Capabilities
c=IN IP4 4.55.21.66
t=0 0
m=audio 24010 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=silenceSupp:off - - - -
a=maxptime:20
<------------->
--- (16 headers 12 lines) ---
Found RTP audio format 0
Found RTP audio format 101
Found audio description format PCMU for ID 0
Found audio description format telephone-event for ID 101
Capabilities: us - 0x4 (ulaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
Peer audio RTP is at port 4.55.21.66:24010
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Transmitting (NAT) to 10.30.48.117:6050:
ACK sip:+13232754557 at 4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK5a6d88c3;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.28;ftag=gK0225e80b;lr=on>,<sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Max-Forwards: 70
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901 at 10.30.48.116:5072>
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 103 ACK
User-Agent: WorldSmart Fax
Content-Length: 0


---
    -- Channel 'SIP/Icp-T38-00000002' FAX session '2' started
    -- FAX handle 0: [ 000.000388 ], STAT_EVT_STRT_RX       st: IDLE         rt: IDLENSRX
    -- FAX handle 0: [ 000.000870 ], STAT_EVT_RX_HW_RDY     st: WT_RX_HW_RDY rt: RRDYNHRY
    -- FAX handle 0: [ 000.001017 ], P30EVN_RECEIVE_STARTED
    -- FAX handle 0: [ 000.001139 ], STAT_INFO_CSI
    -- FAX handle 0: [ 000.001204 ], STAT_INFO_DIS
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 000.134089 ], stack sent 5 frames (100 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 000.195212 ], stack sent 3 frames (60 ms) of silence.
    -- FAX handle 0: [ 002.162004 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 003.194264 ], stack sent 150 frames (3000 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 003.253161 ], stack sent 3 frames (60 ms) of silence.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 005.174303 ], stack sent 96 frames (1920 ms) of energy.
    -- FAX handle 0: [ 005.500858 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 005.500928 ], STAT_INFO_CSI
    -- FAX handle 0: [ 005.500951 ], STAT_INFO_DIS
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 005.672233 ], stack sent 25 frames (500 ms) of silence.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 005.879983 ], channel sent 297 frames (5940 ms) of silence.
    -- FAX handle 0: [ 007.661903 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 008.033313 ], stack sent 118 frames (2360 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 008.119664 ], channel sent 112 frames (2240 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 008.179776 ], channel sent 3 frames (60 ms) of silence.
    -- FAX handle 0: [ 011.001905 ], STAT_EVT_T4_EXP        st: WT_DIS_RSP   rt: RXXXNFRX
    -- FAX handle 0: [ 011.001983 ], STAT_INFO_CSI
    -- FAX handle 0: [ 011.002009 ], STAT_INFO_DIS
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 011.172341 ], stack sent 157 frames (3140 ms) of silence.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 011.359425 ], channel sent 159 frames (3180 ms) of energy.
    -- FAX handle 0: [ 013.161133 ], STAT_EVT_TX_V21_DONE   st: WT_DIS_RSP   rt: WDSRNT21
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 013.533327 ], stack sent 118 frames (2360 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 014.219458 ], channel sent 143 frames (2860 ms) of silence.
    -- FAX handle 0: [ 016.082591 ], STAT_INFO_TSI
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 016.459767 ], channel sent 112 frames (2240 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 016.519897 ], channel sent 3 frames (60 ms) of silence.
    -- FAX handle 0: [ 016.521368 ], STAT_INFO_DCS
    -- FAX handle 0: [ 016.521481 ], STAT_EVT_DCS           st: WT_DIS_RSP   rt: WDSRNDCS
    -- FAX handle 0: [ 016.521527 ], STAT_NEG_V17_14400
    -- FAX handle 0: [ 016.521561 ], STAT_NEG_MR
    -- FAX handle 0: [ 016.521580 ], STAT_NEG_LETTER
    -- FAX handle 0: [ 016.521605 ], STAT_NEG_RES_204x196
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 019.699833 ], channel sent 159 frames (3180 ms) of energy.
    -- FAX handle 0: [ 019.728600 ], STAT_EVT_RX_TRN_END    st: RCV_TRN      rt: RTCFNERT
    -- FAX handle 0: [ 019.728678 ], STAT_FRM_CFR
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 019.912544 ], stack sent 319 frames (6380 ms) of silence.
    -- FAX handle 0: [ 020.921523 ], STAT_EVT_TX_V21_DONE   st: RCV_IMG_STRT rt: RISTNT21
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 021.293690 ], stack sent 69 frames (1380 ms) of energy.
       > Channel 'SIP/Icp-T38-00000002' fax session '2', [ 021.999983 ], channel sent 115 frames (2300 ms) of silence.
    -- FAX handle 0: [ 029.502401 ], STAT_EVT_T2_EXP        st: RCV_IMG_STRT rt: RISTNT2X
    -- FAX handle 0: [ 029.502488 ], STAT_EVT_GO_TO_B       st: RCV_IMG_STRT rt: XXXXNGOB
    -- FAX handle 0: [ 032.002647 ], STAT_EVT_HW_CLOSE      st: WT_HW_CLS    rt: WCLSNCLS
    -- FAX handle 0: [ 032.003058 ], STAT_SES_COMPLETE
    -- FAX handle 0: [ 032.003109 ], P30EVN_COMPLETE
    -- Channel 'SIP/Icp-T38-00000002' FAX session '2' is complete, result: 'FAILED' (FAX_FAILURE_PROTOCOL_ERROR), error: 'REMOTE_DISCONNECT', pages: 0, resolution: 'unknown', transfer rate: '2400', remoteSID: ''
    -- Auto fallthrough, channel 'SIP/Icp-T38-00000002' status is 'UNKNOWN'
    -- Executing [h at incoming-fax-t38:1] NoOp("SIP/Icp-T38-00000002", "FAX Reception Completed") in new stack
    -- Executing [h at incoming-fax-t38:2] NoOp("SIP/Icp-T38-00000002", "REASON is REMOTE_DISCONNECT") in new stack
    -- Executing [h at incoming-fax-t38:3] System("SIP/Icp-T38-00000002", "tiff2pdf /opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.tif -o /opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.pdf") in new stack
    -- Executing [h at incoming-fax-t38:4] Set("SIP/Icp-T38-00000002", "FAXCOMMAND=/var/www/html/phpmailer/faxmail.php fax-0-16502424848-youngteam-qa-wspib3941665901 +13232754557 /opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.pdf REMOTE_DISCONNECT") in new stack
    -- Executing [h at incoming-fax-t38:5] System("SIP/Icp-T38-00000002", "/var/www/html/phpmailer/faxmail.php fax-0-16502424848-youngteam-qa-wspib3941665901 +13232754557 /opt/incoming_faxes/WorldSmartFax-1455546908-fax-0-16502424848-youngteam-qa-wspib3941665901.pdf REMOTE_DISCONNECT") in new stack
    -- Executing [h at incoming-fax-t38:6] Hangup("SIP/Icp-T38-00000002", "") in new stack
  == Spawn extension (incoming-fax-t38, h, 6) exited non-zero on 'SIP/Icp-T38-00000002'
Scheduling destruction of SIP dialog '553806813_9997051 at 4.55.21.99' in 32000 ms (Method: ACK)
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Reliably Transmitting (NAT) to 10.30.48.117:6050:
BYE sip:+13232754557 at 4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK0e56fbe6;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0225e80b;lr>,<sip:208.77.7.28;ftag=gK0225e80b;lr=on>,<sip:208.77.4.87;ftag=gK0225e80b;lr=on>
Max-Forwards: 70
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 104 BYE
User-Agent: WorldSmart Fax
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


---

<--- SIP read from UDP:10.30.48.117:6050 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK0e56fbe6;rport=5072
From: <sip:+16502424848 at 208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557 at 4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051 at 4.55.21.99
CSeq: 104 BYE
Record-Route: <sip:208.77.4.87:5060;ftag=as6a26f6d0;lr=on>
Record-Route: <sip:208.77.7.28:5060;ftag=as6a26f6d0;lr=on>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=as6a26f6d0;lr>
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=as6a26f6d0;lr>
Content-Length: 0






--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list