[Home]

Summary:ASTERISK-25795: Inbound fax is not working for L3 numbers when sent through Ring central account
Reporter:Ravi Kumar (ravi_448)Labels:
Date Opened:2016-02-15 09:08:36.000-0600Date Closed:2016-03-02 08:02:19.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:1.8.14.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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@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@4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848@208.77.4.87:5060>
Call-ID: 553806813_9997051@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@4.55.21.99:5060>
Remote-Party-ID: <sip:+13232754557@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@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@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@4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848@208.77.4.87:5060>
Call-ID: 553806813_9997051@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@10.30.48.116:5072>
Content-Length: 0


<------------>
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901@incoming-fax-t38:1] Wait("SIP/Icp-T38-00000002", "1") in new stack
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901@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@4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848@208.77.4.87:5060>;tag=as6a26f6d0
Call-ID: 553806813_9997051@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@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@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@4.55.21.99:5060>;tag=gK0225e80b
To: <sip:+16502424848@208.77.4.87:5060>;tag=as6a26f6d0
Call-ID: 553806813_9997051@4.55.21.99
CSeq: 22232 ACK
Max-Forwards: 14
Content-Length: 0

<------------->
--- (15 headers 0 lines) ---
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901@incoming-fax-t38:3] Wait("SIP/Icp-T38-00000002", "3") in new stack
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3941665901@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@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@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@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901@10.30.48.116:5072>
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901@10.30.48.116:5072>
Call-ID: 553806813_9997051@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@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901@10.30.48.116:5072>
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@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@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3941665901@10.30.48.116:5072>
Call-ID: 553806813_9997051@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@incoming-fax-t38:1] NoOp("SIP/Icp-T38-00000002", "FAX Reception Completed") in new stack
   -- Executing [h@incoming-fax-t38:2] NoOp("SIP/Icp-T38-00000002", "REASON is REMOTE_DISCONNECT") in new stack
   -- Executing [h@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@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@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@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@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@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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@208.77.4.87:5060>;tag=as6a26f6d0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0225e80b
Call-ID: 553806813_9997051@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


Comments:By: Asterisk Team (asteriskteam) 2016-02-15 09:08:38.654-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Asterisk Team (asteriskteam) 2016-02-15 09:08:39.639-0600

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

By: Ravi Kumar (ravi_448) 2016-02-18 04:04:46.476-0600

Hi ,

Any update on this . Awaiting response on this.

By: Asterisk Team (asteriskteam) 2016-02-18 04:04:47.714-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2016-02-18 05:47:22.279-0600

There is no update on this, it has not been looked at as it was closed automatically. Additionally you are using an unsupported version of Asterisk (1.8) you will need to upgrade to the latest Asterisk 11 and if the problem persists then provide information.

By: Ravi Kumar (ravi_448) 2016-02-19 00:41:40.245-0600

Thanks for the response , I will upgrade to version 11 and get back  to you if I still face the same problem.

By: Asterisk Team (asteriskteam) 2016-02-19 00:41:41.986-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Ravi Kumar (ravi_448) 2016-02-27 04:09:18.668-0600

Hello,

As per the suggestion I upgraded asterisk to 11 version and performed the  similar tests  and observed   issue still persists.

I am getting  following fax protocol errors. Please assist me


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

The following is the  data from CLI

fax  show settings
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: On
       G.711 Session Audio Capture: On
beta-116*CLI> fax  show version
FAX For Asterisk Components:
       Applications: certified/11.6-cert13
       Digium FAX Driver: 11.0_1.3.1 (optimized for barcelona_64)



<--- SIP read from UDP:10.30.48.117:6050 --->
INVITE sip:fax-0-16502424848-youngteam-qa-wspib3921280909@10.30.48.116:5072 SIP/2.0
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0740ace0;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Via: SIP/2.0/UDP 10.30.48.117:6050;branch=z9hG4bK5b5d.130f52b7.0
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bK5b5d.bb364df2.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bK5b5d.6ae324f2.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK07Bc963150fa9510bc6
From: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
To: <sip:+16502424848@208.77.4.87:5060>
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 7634 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@4.55.21.99:5060>
Remote-Party-ID: <sip:+13232754557@4.55.21.99:5060>;privacy=off
Supported: 100rel
Content-Length: 302
Content-Disposition: session; handling=required
Content-Type: application/sdp
Remote-Party-ID: <sip:13232754557@10.30.48.116:5072>

v=0
o=Sonus_UAC 22935 15843 IN IP4 4.55.21.99
s=SIP Media Capabilities
c=IN IP4 4.55.21.66
t=0 0
m=audio 5202 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)
Sending to 10.30.48.117:6050 (NAT)
Using INVITE request as basis request - 940016936_2676880@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 - (ulaw), peer - audio=(ulaw|alaw|g729)/video=(nothing)/text=(nothing), combined - (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:5202
Looking for fax-0-16502424848-youngteam-qa-wspib3921280909 in incoming-fax-t38 (domain 10.30.48.116)
list_route: hop: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>
list_route: hop: <sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>
list_route: hop: <sip:208.77.7.28;ftag=gK0740ace0;lr=on>
list_route: hop: <sip:208.77.4.87;ftag=gK0740ace0;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=z9hG4bK5b5d.130f52b7.0;received=10.30.48.117;rport=6050
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bK5b5d.bb364df2.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bK5b5d.6ae324f2.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK07Bc963150fa9510bc6
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0740ace0;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0740ace0;lr=on>
From: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
To: <sip:+16502424848@208.77.4.87:5060>
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 7634 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-wspib3921280909@10.30.48.116:5072>
Content-Length: 0


<------------>
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:1] Wait("SIP/Icp-T38-00000005", "1") in new stack
beta-116*CLI>
beta-116*CLI>
beta-116*CLI>
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:2] Answer("SIP/Icp-T38-00000005", "") in new stack
Audio is at 31632
Adding codec 100003 (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=z9hG4bK5b5d.130f52b7.0;received=10.30.48.117;rport=6050
Via: SIP/2.0/UDP 208.77.7.28;branch=z9hG4bK5b5d.bb364df2.0
Via: SIP/2.0/UDP 208.77.4.87;branch=z9hG4bK5b5d.6ae324f2.0
Via: SIP/2.0/UDP 4.55.21.99:5060;branch=z9hG4bK07Bc963150fa9510bc6
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0740ace0;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0740ace0;lr=on>
From: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
To: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 7634 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-wspib3921280909@10.30.48.116:5072>
Content-Type: application/sdp
Content-Length: 275

v=0
o=root 1933493952 1933493952 IN IP4 208.77.7.36
s=Asterisk PBX certified/11.6-cert13
c=IN IP4 208.77.7.36
t=0 0
m=audio 31632 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-wspib3921280909@10.30.48.116:5072 SIP/2.0
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>
Record-Route: <sip:208.77.7.28;ftag=gK0740ace0;lr=on>
Record-Route: <sip:208.77.4.87;ftag=gK0740ace0;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=z9hG4bK07Bc9644e7246802680
From: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
To: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 7634 ACK
Max-Forwards: 14
Content-Length: 0

<------------->
--- (15 headers 0 lines) ---
      > 0x40ad9a0 -- Probation passed - setting RTP source address to 4.55.21.66:5202
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:3] Wait("SIP/Icp-T38-00000005", "3") in new stack
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:4] Set("SIP/Icp-T38-00000005", "EXTENSION=fax-0-16502424848-youngteam-qa-wspib3921280909") in new stack
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:5] Set("SIP/Icp-T38-00000005", "FAX_FILENAME=/opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909") in new stack
   -- Executing [fax-0-16502424848-youngteam-qa-wspib3921280909@incoming-fax-t38:6] ReceiveFAX("SIP/Icp-T38-00000005", "/opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.tif,f") in new stack
   -- Channel 'SIP/Icp-T38-00000005' receiving FAX '/opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.tif'
 == Using UDPTL CoS mark 5
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;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@4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK40503842;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.28;ftag=gK0740ace0;lr=on>,<sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Max-Forwards: 70
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3921280909@10.30.48.116:5072>
Call-ID: 940016936_2676880@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: 251

v=0
o=root 1933493952 1933493953 IN IP4 208.77.7.36
s=Asterisk PBX certified/11.6-cert13
c=IN IP4 208.77.7.36
t=0 0
m=image 5325 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=z9hG4bK40503842;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=z9hG4bK40503842;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=z9hG4bK40503842;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=gK0740ace0;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@4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK40503842;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.28;ftag=gK0740ace0;lr=on>,<sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Max-Forwards: 70
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3921280909@10.30.48.116:5072>
Call-ID: 940016936_2676880@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=gK0740ace0;lr> for address/port to send to
set_destination: set destination to 10.30.48.117:6050
Audio is at 31632
Adding codec 100003 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 10.30.48.117:6050:
INVITE sip:+13232754557@4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK6c36ece2;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.28;ftag=gK0740ace0;lr=on>,<sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Max-Forwards: 70
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3921280909@10.30.48.116:5072>
Call-ID: 940016936_2676880@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: 275

v=0
o=root 1933493952 1933493954 IN IP4 208.77.7.36
s=Asterisk PBX certified/11.6-cert13
c=IN IP4 208.77.7.36
t=0 0
m=audio 31632 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 27 02:01:42] WARNING[25229][C-00000005]: res_fax.c:1698 receivefax_t38_init: channel 'SIP/Icp-T38-00000005' 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=z9hG4bK6c36ece2;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=z9hG4bK6c36ece2;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=z9hG4bK6c36ece2;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 103 INVITE
Record-Route: <sip:208.77.4.87:5060;ftag=as016e26e0;lr=on>
Record-Route: <sip:208.77.7.28:5060;ftag=as016e26e0;lr=on>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=as016e26e0;lr>
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=as016e26e0;lr>
Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed
Contact: <sip:+13232754557@4.55.21.99:5060>
Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE
Content-Length: 258
Content-Disposition: session; handling=required
Content-Type: application/sdp

v=0
o=Sonus_UAC 22935 15844 IN IP4 4.55.21.99
s=SIP Media Capabilities
c=IN IP4 4.55.21.66
t=0 0
m=audio 5202 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 - (ulaw), peer - audio=(ulaw)/video=(nothing)/text=(nothing), combined - (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:5202
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;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@4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK57d9ccea;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.28;ftag=gK0740ace0;lr=on>,<sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Max-Forwards: 70
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Contact: <sip:fax-0-16502424848-youngteam-qa-wspib3921280909@10.30.48.116:5072>
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 103 ACK
User-Agent: WorldSmart Fax
Content-Length: 0


---
   -- Channel 'SIP/Icp-T38-00000005' FAX session '5' started
      > 0x40ad9a0 -- Probation passed - setting RTP source address to 4.55.21.66:5202
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 000.127538 ], stack sent 5 frames (100 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 000.187532 ], stack sent 3 frames (60 ms) of silence.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 003.195782 ], stack sent 150 frames (3000 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 003.255668 ], stack sent 3 frames (60 ms) of silence.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 005.614581 ], stack sent 118 frames (2360 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 006.235738 ], channel sent 315 frames (6300 ms) of silence.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 008.495774 ], channel sent 113 frames (2260 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 008.535636 ], channel sent 2 frames (40 ms) of silence.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 011.715976 ], channel sent 159 frames (3180 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 011.949999 ], stack sent 317 frames (6340 ms) of silence.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 013.335410 ], stack sent 69 frames (1380 ms) of energy.
      > Channel 'SIP/Icp-T38-00000005' fax session '5', [ 013.996104 ], channel sent 114 frames (2280 ms) of silence.
   -- Channel 'SIP/Icp-T38-00000005' FAX session '5' 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-00000005' status is 'UNKNOWN'
   -- Executing [h@incoming-fax-t38:1] NoOp("SIP/Icp-T38-00000005", "FAX Reception Completed") in new stack
   -- Executing [h@incoming-fax-t38:2] NoOp("SIP/Icp-T38-00000005", "REASON is REMOTE_DISCONNECT") in new stack
   -- Executing [h@incoming-fax-t38:3] System("SIP/Icp-T38-00000005", "tiff2pdf /opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.tif -o /opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.pdf") in new stack
   -- Executing [h@incoming-fax-t38:4] Set("SIP/Icp-T38-00000005", "FAXCOMMAND=/var/www/html/phpmailer/faxmail.php fax-0-16502424848-youngteam-qa-wspib3921280909 +13232754557 /opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.pdf REMOTE_DISCONNECT") in new stack
   -- Executing [h@incoming-fax-t38:5] System("SIP/Icp-T38-00000005", "/var/www/html/phpmailer/faxmail.php fax-0-16502424848-youngteam-qa-wspib3921280909 +13232754557 /opt/incoming_faxes/WorldSmartFax-1456567299-fax-0-16502424848-youngteam-qa-wspib3921280909.pdf REMOTE_DISCONNECT") in new stack
   -- Executing [h@incoming-fax-t38:6] Hangup("SIP/Icp-T38-00000005", "") in new stack
 == Spawn extension (incoming-fax-t38, h, 6) exited non-zero on 'SIP/Icp-T38-00000005'
Scheduling destruction of SIP dialog '940016936_2676880@4.55.21.99' in 32000 ms (Method: ACK)
set_destination: Parsing <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;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@4.55.21.99:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.48.116:5072;branch=z9hG4bK6f52ef7e;rport
Route: <sip:10.30.48.117:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.37:6050;r2=on;ftag=gK0740ace0;lr>,<sip:208.77.7.28;ftag=gK0740ace0;lr=on>,<sip:208.77.4.87;ftag=gK0740ace0;lr=on>
Max-Forwards: 70
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@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=z9hG4bK6f52ef7e;rport=5072
From: <sip:+16502424848@208.77.4.87:5060>;tag=as016e26e0
To: <sip:+13232754557@4.55.21.99:5060>;tag=gK0740ace0
Call-ID: 940016936_2676880@4.55.21.99
CSeq: 104 BYE
Record-Route: <sip:208.77.4.87:5060;ftag=as016e26e0;lr=on>
Record-Route: <sip:208.77.7.28:5060;ftag=as016e26e0;lr=on>
Record-Route: <sip:208.77.7.37:6050;r2=on;ftag=as016e26e0;lr>
Record-Route: <sip:10.30.48.117:6050;r2=on;ftag=as016e26e0;lr>
Content-Length: 0

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




By: Asterisk Team (asteriskteam) 2016-02-27 04:09:19.200-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Ravi Kumar (ravi_448) 2016-03-01 06:08:26.383-0600

Any update on this.

By: Joshua C. Colp (jcolp) 2016-03-01 06:11:43.823-0600

Since this is involving a commercial modules, res_fax_digium, please contact Digium Technical Support[1] for help with that product. The Asterisk issue tracker is for open source.

[1] https://www.digium.com/support

By: Ravi Kumar (ravi_448) 2016-03-02 07:59:31.410-0600

Thank you.Will check with digium support.

By: Asterisk Team (asteriskteam) 2016-03-02 07:59:31.686-0600

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Ravi Kumar (ravi_448) 2016-03-02 08:02:20.132-0600

As per the suggestion we reposted the issue  in digium support.