# T38 problem

**URL:** <https://community.asterisk.org/t/t38-problem/11962>\
**Category:** Asterisk Support\
**Created:** [January 27, 2007, 4:43am UTC](https://community.asterisk.org/t/t38-problem/11962 "2007-01-27T04:43:09Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheng](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cheng](https://community.asterisk.org/u/cheng)\
**Post date:** [January 27, 2007, 4:43am UTC](https://community.asterisk.org/t/t38-problem/11962/1 "2007-01-27T04:43:09Z")

</div>

I have installed two asterisk(1.4 version) in my two office connected with private ip network. Each asterisk installed with pri E1 connected to the PBX.  
I want to fax from one office to anthor. When I select codec alaw is ok,but when select codec g729 or gsm, fax failure. How to resolve the problem?

Below is part of my extensions.conf and sip.conf for reference  
extensions.conf  
…  
exten =\> \_z.,1,Dial(SIP/${EXTEN}@international)  
exten =\> \_z.,2,Hangup()  
…

…  
[international]  
type=peer  
host=192.18.121.192  
context=incoming  
disallow=all  
;allow=g729  
;allow=g723.1  
allow=gsm  
;allow=alaw  
t38pt\_udptl = yes  
…

---

<div class="post-metadata">

**Author:** ![cheng](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cheng](https://community.asterisk.org/u/cheng)\
**Post date:** [January 27, 2007, 5:10am UTC](https://community.asterisk.org/t/t38-problem/11962/2 "2007-01-27T05:10:43Z")

</div>

the remote asterisk have enabled T38 in sip.conf too.

…  
t38pt\_udptl = yes  
…

---

<div class="post-metadata">

**Author:** ![yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yusuf](https://community.asterisk.org/u/yusuf)\
**Post date:** [January 27, 2007, 8:45pm UTC](https://community.asterisk.org/t/t38-problem/11962/3 "2007-01-27T20:45:37Z")

</div>

what does ‘sip debug’ say? how about ‘udptl debug’?

---

<div class="post-metadata">

**Author:** ![cheng](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cheng](https://community.asterisk.org/u/cheng)\
**Post date:** [January 28, 2007, 8:15am UTC](https://community.asterisk.org/t/t38-problem/11962/4 "2007-01-28T08:15:28Z")

</div>

udptl debug no any output and sip debug for sending end and receiving end as below:

Sending End:

list\_route: hop: sip:9182@192.18.121.192  
set\_destination: Parsing sip:9182@192.18.121.192 for address/port to send to  
set\_destination: set destination to 192.18.121.192, port 5060  
Transmitting (no NAT) to 192.18.121.192:5060:  
ACK [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK281716dd;rport  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 102 ACK  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

* * *

\<— SIP read from 192.18.121.192:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK4e221679;received=192.18.121.190;rport=5060  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Type: application/sdp  
Content-Length: 267

v=0  
o=root 31072 31072 IN IP4 192.18.121.192  
s=session  
c=IN IP4 192.18.121.192  
t=0 0  
m=audio 11240 RTP/AVP 18 101  
a=rtpmap:18 G729/8000  
a=fmtp:18 annexb=no  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-16  
a=silenceSupp:off - - - -  
a=ptime:20  
a=sendrecv

\<-------------\>  
— (12 headers 13 lines) —  
Found RTP audio format 18  
Found RTP audio format 101  
Peer audio RTP is at port 192.18.121.192:11240  
Found description format G729 for ID 18  
Found description format telephone-event for ID 101  
Capabilities: us - 0x100 (g729), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x100 (g729)  
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)  
Peer audio RTP is at port 192.18.121.192:11240  
list\_route: hop: sip:9182@192.18.121.192  
set\_destination: Parsing sip:9182@192.18.121.192 for address/port to send to  
set\_destination: set destination to 192.18.121.192, port 5060  
Transmitting (no NAT) to 192.18.121.192:5060:  
ACK [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK281716dd;rport  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 102 ACK  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

* * *

PE860A\*CLI\> Scheduling destruction of SIP dialog ‘4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190’ in 32000 ms (Method: INVITE)  
set\_destination: Parsing sip:9182@192.18.121.192 for address/port to send to  
set\_destination: set destination to 192.18.121.192, port 5060  
Reliably Transmitting (no NAT) to 192.18.121.192:5060:  
BYE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK08331586;rport  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

* * *

Scheduling destruction of SIP dialog ‘4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190’ in 32000 ms (Method: INVITE)  
set\_destination: Parsing sip:9182@192.18.121.192 for address/port to send to  
set\_destination: set destination to 192.18.121.192, port 5060  
Reliably Transmitting (no NAT) to 192.18.121.192:5060:  
BYE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK08331586;rport  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

* * *

PE860A\*CLI\>  
\<— SIP read from 192.18.121.192:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK08331586;received=192.18.121.190;rport=5060  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

\<-------------\>  
— (11 headers 0 lines) —  
Really destroying SIP dialog ‘4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190’ Method: INVITE

\<— SIP read from 192.18.121.192:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK08331586;received=192.18.121.190;rport=5060  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as144edf55  
To: sip:9182@192.18.121.192;tag=as47a05418  
Call-ID: [4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190](mailto:4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

-------------\>  
— (11 headers 0 lines) —  
Really destroying SIP dialog ‘4eeb5d9811f1069a508f64c80da5ea83@192.18.121.190’ Method: INVITE  
PE860A\*CLI\>

Receiving end:

TDM400\*CLI\>  
\<— SIP read from 192.18.121.190:5060 —\>  
INVITE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Date: Sun, 28 Jan 2007 07:58:04 GMT  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Content-Type: application/sdp  
Content-Length: 265

v=0  
o=root 7005 7005 IN IP4 192.18.121.190  
s=session  
c=IN IP4 192.18.121.190  
t=0 0  
m=audio 15560 RTP/AVP 18 101  
a=rtpmap:18 G729/8000  
a=fmtp:18 annexb=no  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-16  
a=silenceSupp:off - - - -  
a=ptime:20  
a=sendrecv

\<-------------\>  
— (14 headers 13 lines) —  
Sending to 192.18.121.190 : 5060 (no NAT)  
Using INVITE request as basis request - [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
Found no matching peer or user for '192.18.121.190:5060’  
Found RTP audio format 18  
Found RTP audio format 101  
Peer audio RTP is at port 192.18.121.190:15560  
Found description format G729 for ID 18  
Found description format telephone-event for ID 101  
Capabilities: us - 0x10f (g723|gsm|ulaw|alaw|g729), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x100 (g729)  
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)  
Peer audio RTP is at port 192.18.121.190:15560  
Looking for 9182 in incoming (domain 192.18.121.192)  
list\_route: hop: sip:Unknown@192.18.121.190

\<— Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 100 Trying  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

\<------------\>

\<— SIP read from 192.18.121.190:5060 —\>  
INVITE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Date: Sun, 28 Jan 2007 07:58:04 GMT  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Content-Type: application/sdp  
Content-Length: 265

v=0  
o=root 7005 7005 IN IP4 192.18.121.190  
s=session  
c=IN IP4 192.18.121.190  
t=0 0  
m=audio 15560 RTP/AVP 18 101  
a=rtpmap:18 G729/8000  
a=fmtp:18 annexb=no  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-16  
a=silenceSupp:off - - - -  
a=ptime:20  
a=sendrecv

\<-------------\>  
— (14 headers 13 lines) —  
Sending to 192.18.121.190 : 5060 (no NAT)  
Using INVITE request as basis request - [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
Found no matching peer or user for '192.18.121.190:5060’  
Found RTP audio format 18  
Found RTP audio format 101  
Peer audio RTP is at port 192.18.121.190:15560  
Found description format G729 for ID 18  
Found description format telephone-event for ID 101  
Capabilities: us - 0x10f (g723|gsm|ulaw|alaw|g729), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x100 (g729)  
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)  
Peer audio RTP is at port 192.18.121.190:15560  
Looking for 9182 in incoming (domain 192.18.121.192)  
list\_route: hop: sip:Unknown@192.18.121.190

\<— Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 100 Trying  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

\<------------\>  
TDM400\*CLI\> Audio is at 192.18.121.192 port 17578  
Adding codec 0x100 (g729) to SDP  
Adding non-codec 0x1 (telephone-event) to SDP

\<— Reliably Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Type: application/sdp  
Content-Length: 267

v=0  
o=root 31072 31072 IN IP4 192.18.121.192  
s=session  
c=IN IP4 192.18.121.192  
t=0 0  
m=audio 17578 RTP/AVP 18 101  
a=rtpmap:18 G729/8000  
a=fmtp:18 annexb=no  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-16  
a=silenceSupp:off - - - -  
a=ptime:20  
a=sendrecv

\<------------\>  
Audio is at 192.18.121.192 port 17578  
Adding codec 0x100 (g729) to SDP  
Adding non-codec 0x1 (telephone-event) to SDP

\<— Reliably Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1fb5a4af;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 INVITE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Type: application/sdp  
Content-Length: 267

v=0  
o=root 31072 31072 IN IP4 192.18.121.192  
s=session  
c=IN IP4 192.18.121.192  
t=0 0  
m=audio 17578 RTP/AVP 18 101  
a=rtpmap:18 G729/8000  
a=fmtp:18 annexb=no  
a=rtpmap:101 telephone-event/8000  
a=fmtp:101 0-16  
a=silenceSupp:off - - - -  
a=ptime:20  
a=sendrecv

\<------------\>  
TDM400\*CLI\>  
\<— SIP read from 192.18.121.190:5060 —\>  
ACK [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1e259da3  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 ACK  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

\<-------------\>  
— (10 headers 0 lines) —

\<— SIP read from 192.18.121.190:5060 —\>  
ACK [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK1e259da3  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Contact: sip:Unknown@192.18.121.190  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 102 ACK  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

\<-------------\>  
— (10 headers 0 lines) —  
\<— SIP read from 192.18.121.190:5060 —\>  
BYE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK30d099c5  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

\<-------------\>  
— (9 headers 0 lines) —  
Sending to 192.18.121.190 : 5060 (no NAT)

\<— Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK30d099c5;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

\<------------\>

\<— SIP read from 192.18.121.190:5060 —\>  
BYE [sip:9182@192.18.121.192](mailto:sip:9182@192.18.121.192) SIP/2.0  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK30d099c5  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Max-Forwards: 70  
Content-Length: 0

\<-------------\>  
— (9 headers 0 lines) —  
Sending to 192.18.121.190 : 5060 (no NAT)

\<— Transmitting (no NAT) to 192.18.121.190:5060 —\>  
SIP/2.0 200 OK  
Via: SIP/2.0/UDP 192.18.121.190:5060;branch=z9hG4bK30d099c5;received=192.18.121.190  
From: “Unknown” sip:Unknown@192.18.121.190;tag=as035a8dee  
To: sip:9182@192.18.121.192;tag=as68f3e6ad  
Call-ID: [42fba16f3c6ee8f074680b3035ce0243@192.18.121.190](mailto:42fba16f3c6ee8f074680b3035ce0243@192.18.121.190)  
CSeq: 103 BYE  
User-Agent: Asterisk PBX  
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY  
Supported: replaces  
Contact: sip:9182@192.18.121.192  
Content-Length: 0

\<------------\>  
TDM400_CLI\> Really destroying SIP dialog ‘42fba16f3c6ee8f074680b3035ce0243@192.18.121.190’ Method: BYE  
Really destroying SIP dialog ‘42fba16f3c6ee8f074680b3035ce0243@192.18.121.190’ Method: BYE  
TDM400_CLI\>

---

<div class="post-metadata">

**Author:** ![leemason](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@leemason](https://community.asterisk.org/u/leemason)\
**Post date:** [January 28, 2007, 12:26pm UTC](https://community.asterisk.org/t/t38-problem/11962/5 "2007-01-28T12:26:53Z")

</div>

When I have tried faxing in the past using compressed codecs it has never really liked it. I think that FAX traffic does not like being compressed.

---

<div class="post-metadata">

**Author:** ![cheng](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cheng](https://community.asterisk.org/u/cheng)\
**Post date:** [January 29, 2007, 1:17am UTC](https://community.asterisk.org/t/t38-problem/11962/6 "2007-01-29T01:17:40Z")

</div>

But i have ever used cisco AS5300 that use G729 codec can fax in my private network.

---

<div class="post-metadata">

**Author:** ![diiguy](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@diiguy](https://community.asterisk.org/u/diiguy)\
**Post date:** [January 29, 2007, 6:21am UTC](https://community.asterisk.org/t/t38-problem/11962/7 "2007-01-29T06:21:50Z")

</div>

g729 will never work for fax. T38 or propritary protocols like Cisco fax-relay are best. ulaw or alaw are second best.

---

<div class="post-metadata">

**Author:** ![cheng](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@cheng](https://community.asterisk.org/u/cheng)\
**Post date:** [January 29, 2007, 7:29am UTC](https://community.asterisk.org/t/t38-problem/11962/8 "2007-01-29T07:29:55Z")

</div>

But what is the mean than asterisk version 1.4 support T38? If use alaw or ulaw for transfer fax, asterisk 1.2.x can do perfectly.I have ever setuped many network using cisco router. I enable T38 support in the cisco routers and can transfer fax over G729 codec perfectly. I think if asterisk 1.4 support T38, then it will can transfering fax over compress codec, such as G.729. Any one any experience? Thanks.

---

<div class="post-metadata">

**Author:** ![baconbuttie](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/baconbuttie/32/916_2.png) [@baconbuttie](https://community.asterisk.org/u/baconbuttie)\
**Post date:** [January 29, 2007, 8:25am UTC](https://community.asterisk.org/t/t38-problem/11962/9 "2007-01-29T08:25:40Z")

</div>

anyone else thinking that capturing the fax at the senders end and dumping it into a print queue at the remote end would be a better bet in this scenario ?

---

<div class="post-metadata">

**Author:** ![hayesey](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@hayesey](https://community.asterisk.org/u/hayesey)\
**Post date:** [January 29, 2007, 10:06am UTC](https://community.asterisk.org/t/t38-problem/11962/10 "2007-01-29T10:06:19Z")

</div>

Faxing just wont work through low bandwidth codecs. G711a/u is your best option for fax using a voice codec at the moment.

Asterisk supports t38 pass through, this means you need to have t38 capable devices (such as Linksys SPA-2102) at either end with the fax machines connected to them. Pass through will allow this to work.

---

<div class="post-metadata">

**Author:** ![voretl](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@voretl](https://community.asterisk.org/u/voretl)\
**Post date:** [February 18, 2007, 4:52pm UTC](https://community.asterisk.org/t/t38-problem/11962/11 "2007-02-18T16:52:42Z")

</div>

Try the G711, Can’t compress a fax packet and expect it to work… That is the same as trying to compress a modem signal 😢

---

<div class="post-metadata">

**Author:** ![yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@yusuf](https://community.asterisk.org/u/yusuf)\
**Post date:** [February 18, 2007, 7:56pm UTC](https://community.asterisk.org/t/t38-problem/11962/12 "2007-02-18T19:56:52Z")

</div>

Hi,  
I kinda missed this in the start, but if your fax calls are coming in from the PBX  
via E1, then you want to sending out T.38 to your other Asterisk box, this will NEVER work. Reason being, Asterisk 1.4 supports T.38 passthrough only, which means both endpoints are T.38 compatible and Asterisk is just pushing out whatever it gets in. So when a fax comes from the PBX, its not T.38. U need a T.38 Gateway, which Asterisk is NOT, rather use OpenPBX.
