<font size=2 face="sans-serif">Having an issue with receiving faxes, but
when I pass through the fax.</font>
<br>
<br><font size=2 face="sans-serif">Currently, I receive the fax with Digium's
Fax for Asterisk, store it and the initiate an outbound call to our fax
server. (XMedius Fax). This works, but we would prefer to have Asterisk
simply route the call directly to the fax server and take the store and
forward out of the equation. </font>
<br>
<br><font size=2 face="sans-serif">When I do that, however, the fax is
never properly negotiated. One thing I have noticed is that XMedius Fax
tells Asterisk it has 'a=T38maxBitRate:14400' and Asterisk immediately
turns around and tells our upstream provider 'a=T38MaxBitRate:2400' on
the invites (full invite text below). Is the fact that XMedius is not capitalizing
the 'm' in 'T38maxBitRate' the cause of Asterisk telling the upstream provider
that the 'T38MaxBitRate' is 2400?</font>
<br>
<br><font size=2 face="sans-serif">This should be the relevant sip debug.
I have replaced the IP addresses with XXX.XXX.XXX.XXX (or WWW or YYY or
ZZZ) as appropriate.</font>
<br><font size=2 face="sans-serif"><--- SIP read from UDP:WWW.WWW.WWW.WWW:5060
---></font>
<br><font size=2 face="sans-serif">INVITE sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ:5060
SIP/2.0</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP </font><a href="WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C"><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C</font></a>
<br><font size=2 face="sans-serif">From: sip:XMFAX2.mydomain.world;tag=095775A0931E</font>
<br><font size=2 face="sans-serif">To: sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ;tag=as09ca5622</font>
<br><font size=2 face="sans-serif">Call-ID: 176a274d5342aac505d0125979d19f62@ZZZ.ZZZ.ZZZ.ZZZ:5060</font>
<br><font size=2 face="sans-serif">CSeq: 103 INVITE</font>
<br><font size=2 face="sans-serif">Max-Forwards: 70</font>
<br><font size=2 face="sans-serif">Contact: sip:WWW.WWW.WWW.WWW:5060</font>
<br><font size=2 face="sans-serif">User-Agent: XMediusFAX/7.0.0.298</font>
<br><font size=2 face="sans-serif">Content-Type: application/sdp</font>
<br><font size=2 face="sans-serif">Content-Length: 315</font>
<br>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=XMedius-Fax-Gateway 76811410 411 IN
IP4 </font><a href=WWW.WWW.WWW.WWW><font size=2 face="sans-serif">WWW.WWW.WWW.WWW</font></a>
<br><font size=2 face="sans-serif">s=Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">c=IN IP4 </font><a href=WWW.WWW.WWW.WWW><font size=2 face="sans-serif">WWW.WWW.WWW.WWW</font></a>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">m=image 54296 udptl t38</font>
<br><font size=2 face="sans-serif">a=T38FaxVersion:0</font>
<br><font size=2 face="sans-serif">a=T38maxBitRate:14400</font>
<br><font size=2 face="sans-serif">a=T38FaxRateManagement:transferredTCF</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxBuffer:8192</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxDatagram:1008</font>
<br><font size=2 face="sans-serif">a=T38FaxUdpEC:t38UDPRedundancy</font>
<br><font size=2 face="sans-serif"><-------------></font>
<br><font size=2 face="sans-serif">--- (11 headers 12 lines) ---</font>
<br><font size=2 face="sans-serif">Sending to </font><a href=WWW.WWW.WWW.WWW:5060><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060</font></a><font size=2 face="sans-serif">
(no NAT)</font>
<br><font size=2 face="sans-serif"> == Using UDPTL CoS mark 5</font>
<br><font size=2 face="sans-serif">Got T.38 offer in SDP in dialog 176a274d5342aac505d0125979d19f62@ZZZ.ZZZ.ZZZ.ZZZ:5060</font>
<br><font size=2 face="sans-serif">Capabilities: us - (ulaw), peer - audio=(nothing)/video=(nothing)/text=(nothing),
combined - (nothing)</font>
<br><font size=2 face="sans-serif">Non-codec capabilities (dtmf): us -
0x1 (telephone-event|), peer - 0x0 (nothing), combined - 0x0 (nothing)</font>
<br><font size=2 face="sans-serif">Got T.38 Re-invite without audio. Keeping
RTP active during T.38 session.</font>
<br>
<br><font size=2 face="sans-serif"><--- Transmitting (no NAT) to </font><a href=WWW.WWW.WWW.WWW:5060><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060</font></a><font size=2 face="sans-serif">
---></font>
<br><font size=2 face="sans-serif">SIP/2.0 100 Trying</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP </font><a href="WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW"><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW</font></a>
<br><font size=2 face="sans-serif">From: sip:XMFAX2.mydomain.world;tag=095775A0931E</font>
<br><font size=2 face="sans-serif">To: sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ;tag=as09ca5622</font>
<br><font size=2 face="sans-serif">Call-ID: 176a274d5342aac505d0125979d19f62@ZZZ.ZZZ.ZZZ.ZZZ:5060</font>
<br><font size=2 face="sans-serif">CSeq: 103 INVITE</font>
<br><font size=2 face="sans-serif">Server: Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</font>
<br><font size=2 face="sans-serif">Supported: replaces, timer</font>
<br><font size=2 face="sans-serif">Contact: <sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ:5060></font>
<br><font size=2 face="sans-serif">Content-Length: 0</font>
<br>
<br>
<br><font size=2 face="sans-serif"><------------></font>
<br><font size=2 face="sans-serif"> == Using UDPTL CoS mark 5</font>
<br><font size=2 face="sans-serif">set_destination: Parsing <sip:4803836933@XXX.XXX.XXX.XXX:5060>
for address/port to send to</font>
<br><font size=2 face="sans-serif">set_destination: set destination to
XXX.XXX.XXX.XXX:5060</font>
<br><font size=2 face="sans-serif">Reliably Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:</font>
<br><font size=2 face="sans-serif">INVITE sip:4803836933@XXX.XXX.XXX.XXX:5060
SIP/2.0</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP ZZZ.ZZZ.ZZZ.ZZZ:5060;branch=z9hG4bK7ef2185a;rport</font>
<br><font size=2 face="sans-serif">Max-Forwards: 70</font>
<br><font size=2 face="sans-serif">From: <sip:6024667281@YYY.YYY.YYY.YYY>;tag=as40d4ca92</font>
<br><font size=2 face="sans-serif">To: <sip:4803836933@XXX.XXX.XXX.XXX;isup-oli=0>;tag=gK020b0efc</font>
<br><font size=2 face="sans-serif">Contact: <sip:6024667281;npdi=yes@ZZZ.ZZZ.ZZZ.ZZZ:5060></font>
<br><font size=2 face="sans-serif">Call-ID: 335684047_12245518@XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">CSeq: 102 INVITE</font>
<br><font size=2 face="sans-serif">User-Agent: Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">Session-Expires: 1800;refresher=uas</font>
<br><font size=2 face="sans-serif">Min-SE: 90</font>
<br><font size=2 face="sans-serif">Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</font>
<br><font size=2 face="sans-serif">Supported: replaces, timer</font>
<br><font size=2 face="sans-serif">X-asterisk-Info: SIP re-invite (External
RTP bridge)</font>
<br><font size=2 face="sans-serif">Content-Type: application/sdp</font>
<br><font size=2 face="sans-serif">Content-Length: 269</font>
<br>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=root 505811356 505811358 IN IP4 ZZZ.ZZZ.ZZZ.ZZZ</font>
<br><font size=2 face="sans-serif">s=Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">c=IN IP4 ZZZ.ZZZ.ZZZ.ZZZ</font>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">m=image 4464 udptl t38</font>
<br><font size=2 face="sans-serif">a=T38FaxVersion:0</font>
<br><font size=2 face="sans-serif">a=T38MaxBitRate:2400</font>
<br><font size=2 face="sans-serif">a=T38FaxRateManagement:transferredTCF</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxDatagram:507</font>
<br><font size=2 face="sans-serif">a=T38FaxUdpEC:t38UDPFEC</font>
<br>
<br><font size=2 face="sans-serif">---</font>
<br>
<br><font size=2 face="sans-serif"><--- SIP read from UDP:XXX.XXX.XXX.XXX:5060
---></font>
<br><font size=2 face="sans-serif">SIP/2.0 100 Trying</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK7ef2185a;rport=5060</font>
<br><font size=2 face="sans-serif">From: <sip:6024667281@YYY.YYY.YYY.YYY>;tag=as40d4ca92</font>
<br><font size=2 face="sans-serif">To: <sip:4803836933@XXX.XXX.XXX.XXX;isup-oli=0>;tag=gK020b0efc</font>
<br><font size=2 face="sans-serif">Call-ID: 335684047_12245518@XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">CSeq: 102 INVITE</font>
<br><font size=2 face="sans-serif">Content-Length: 0</font>
<br>
<br><font size=2 face="sans-serif"><-------------></font>
<br><font size=2 face="sans-serif">--- (7 headers 0 lines) ---</font>
<br>
<br><font size=2 face="sans-serif"><--- SIP read from UDP:XXX.XXX.XXX.XXX:5060
---></font>
<br><font size=2 face="sans-serif">SIP/2.0 200 OK</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP YYY.YYY.YYY.YYY:5060;branch=z9hG4bK7ef2185a;rport=5060</font>
<br><font size=2 face="sans-serif">From: <sip:6024667281@YYY.YYY.YYY.YYY>;tag=as40d4ca92</font>
<br><font size=2 face="sans-serif">To: <sip:4803836933@XXX.XXX.XXX.XXX;isup-oli=0>;tag=gK020b0efc</font>
<br><font size=2 face="sans-serif">Call-ID: 335684047_12245518@XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">CSeq: 102 INVITE</font>
<br><font size=2 face="sans-serif">Accept: application/sdp, application/isup,
application/dtmf, application/dtmf-relay, multipart/mixed</font>
<br><font size=2 face="sans-serif">Contact: <sip:4803836933@XXX.XXX.XXX.XXX:5060></font>
<br><font size=2 face="sans-serif">Allow: INVITE,ACK,CANCEL,BYE,REGISTER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH</font>
<br><font size=2 face="sans-serif">Supported: timer</font>
<br><font size=2 face="sans-serif">Session-Expires: 1800;refresher=uas</font>
<br><font size=2 face="sans-serif">Content-Length: 303</font>
<br><font size=2 face="sans-serif">Content-Disposition: session; handling=required</font>
<br><font size=2 face="sans-serif">Content-Type: application/sdp</font>
<br>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=Sonus_UAC 28889 23043 IN IP4 XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">s=SIP Media Capabilities</font>
<br><font size=2 face="sans-serif">c=IN IP4 208.49.73.36</font>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">m=image 25030 udptl t38</font>
<br><font size=2 face="sans-serif">a=T38FaxVersion:0</font>
<br><font size=2 face="sans-serif">a=T38MaxBitRate:2400</font>
<br><font size=2 face="sans-serif">a=T38FaxRateManagement:transferredTCF</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxBuffer:262</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxDatagram:176</font>
<br><font size=2 face="sans-serif">a=T38FaxUdpEC:t38UDPRedundancy</font>
<br><font size=2 face="sans-serif">a=sendrecv</font>
<br><font size=2 face="sans-serif"><-------------></font>
<br><font size=2 face="sans-serif">--- (14 headers 13 lines) ---</font>
<br><font size=2 face="sans-serif">Got T.38 offer in SDP in dialog 335684047_12245518@XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">Capabilities: us - (ulaw|alaw|g729),
peer - audio=(nothing)/video=(nothing)/text=(nothing), combined - (nothing)</font>
<br><font size=2 face="sans-serif">Non-codec capabilities (dtmf): us -
0x1 (telephone-event|), peer - 0x0 (nothing), combined - 0x0 (nothing)</font>
<br><font size=2 face="sans-serif">Got T.38 Re-invite without audio. Keeping
RTP active during T.38 session.</font>
<br><font size=2 face="sans-serif">set_destination: Parsing <sip:4803836933@XXX.XXX.XXX.XXX:5060>
for address/port to send to</font>
<br><font size=2 face="sans-serif">set_destination: set destination to
XXX.XXX.XXX.XXX:5060</font>
<br><font size=2 face="sans-serif">Transmitting (NAT) to XXX.XXX.XXX.XXX:5060:</font>
<br><font size=2 face="sans-serif">ACK sip:4803836933@XXX.XXX.XXX.XXX:5060
SIP/2.0</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP ZZZ.ZZZ.ZZZ.ZZZ:5060;branch=z9hG4bK0dbf9f05;rport</font>
<br><font size=2 face="sans-serif">Max-Forwards: 70</font>
<br><font size=2 face="sans-serif">From: <sip:6024667281@YYY.YYY.YYY.YYY>;tag=as40d4ca92</font>
<br><font size=2 face="sans-serif">To: <sip:4803836933@XXX.XXX.XXX.XXX;isup-oli=0>;tag=gK020b0efc</font>
<br><font size=2 face="sans-serif">Contact: <sip:6024667281;npdi=yes@ZZZ.ZZZ.ZZZ.ZZZ:5060></font>
<br><font size=2 face="sans-serif">Call-ID: 335684047_12245518@XXX.XXX.XXX.XXX</font>
<br><font size=2 face="sans-serif">CSeq: 102 ACK</font>
<br><font size=2 face="sans-serif">User-Agent: Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">Content-Length: 0</font>
<br>
<br>
<br><font size=2 face="sans-serif">---</font>
<br>
<br><font size=2 face="sans-serif"><--- Reliably Transmitting (no NAT)
to </font><a href=WWW.WWW.WWW.WWW:5060><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060</font></a><font size=2 face="sans-serif">
---></font>
<br><font size=2 face="sans-serif">SIP/2.0 200 OK</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP </font><a href="WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW"><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW</font></a>
<br><font size=2 face="sans-serif">From: sip:XMFAX2.mydomain.world;tag=095775A0931E</font>
<br><font size=2 face="sans-serif">To: sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ;tag=as09ca5622</font>
<br><font size=2 face="sans-serif">Call-ID: 176a274d5342aac505d0125979d19f62@ZZZ.ZZZ.ZZZ.ZZZ:5060</font>
<br><font size=2 face="sans-serif">CSeq: 103 INVITE</font>
<br><font size=2 face="sans-serif">Server: Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">Allow: INVITE, ACK, CANCEL, OPTIONS,
BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH</font>
<br><font size=2 face="sans-serif">Supported: replaces, timer</font>
<br><font size=2 face="sans-serif">Contact: <sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ:5060></font>
<br><font size=2 face="sans-serif">Content-Type: application/sdp</font>
<br><font size=2 face="sans-serif">Content-Length: 276</font>
<br>
<br><font size=2 face="sans-serif">v=0</font>
<br><font size=2 face="sans-serif">o=root 495936988 495936989 IN IP4 ZZZ.ZZZ.ZZZ.ZZZ</font>
<br><font size=2 face="sans-serif">s=Asterisk PBX 10.5.0-digiumphones</font>
<br><font size=2 face="sans-serif">c=IN IP4 ZZZ.ZZZ.ZZZ.ZZZ</font>
<br><font size=2 face="sans-serif">t=0 0</font>
<br><font size=2 face="sans-serif">m=image 4241 udptl t38</font>
<br><font size=2 face="sans-serif">a=T38FaxVersion:0</font>
<br><font size=2 face="sans-serif">a=T38MaxBitRate:2400</font>
<br><font size=2 face="sans-serif">a=T38FaxRateManagement:transferredTCF</font>
<br><font size=2 face="sans-serif">a=T38FaxMaxDatagram:339</font>
<br><font size=2 face="sans-serif">a=T38FaxUdpEC:t38UDPRedundancy</font>
<br>
<br><font size=2 face="sans-serif"><------------></font>
<br>
<br><font size=2 face="sans-serif"><--- SIP read from UDP:WWW.WWW.WWW.WWW:5060
---></font>
<br><font size=2 face="sans-serif">ACK sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ:5060
SIP/2.0</font>
<br><font size=2 face="sans-serif">Via: SIP/2.0/UDP </font><a href="WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW"><font size=2 face="sans-serif">WWW.WWW.WWW.WWW:5060;branch=z9hG4bK-40A939C7AE8C;received=WWW.WWW.WWW.WWW</font></a>
<br><font size=2 face="sans-serif">From: sip:XMFAX2.mydomain.world;tag=095775A0931E</font>
<br><font size=2 face="sans-serif">To: sip:4803836933@ZZZ.ZZZ.ZZZ.ZZZ;tag=as09ca5622</font>
<br><font size=2 face="sans-serif">Call-ID: 176a274d5342aac505d0125979d19f62@ZZZ.ZZZ.ZZZ.ZZZ:5060</font>
<br><font size=2 face="sans-serif">Max-Forwards: 70</font>
<br><font size=2 face="sans-serif">CSeq: 103 ACK</font>
<br><font size=2 face="sans-serif">Contact: sip:WWW.WWW.WWW.WWW:5060</font>
<br><font size=2 face="sans-serif">Content-Length: 0</font>
<br>
<br><font size=2 face="sans-serif"><-------------></font>
<br><font size=2 face="sans-serif">--- (9 headers </font>
<br>
<br><font size=2 face="sans-serif"><br>
Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208</font>