Hi list!<br><br>I have this configuration for sending T38 faxes to my T38 fax termination provider:<br><br>T38modem --&gt; hylafax --&gt; Asterisk-SIP-Extension --&gt; T38 termination provider --&gt; T.30 termination to PSTN<br>
<br>We are experiencing 2 problems with this (if you want configuration files, it won&#39;t be a problem, just tell me):<br><br>1. T38 termination provider receives faxes at 2400 bpps from our server. This issue could be produced by the bug indicated previously on this list related with a fix that will appear on this week&#39;s 1.6.2.8 rc1, I will try with it and tell you.<br>
2. Second problem is what I want to talk about on this mail: We are detecting some extrange behaviour on the VoIP outgoing trunks that worked fine before we installed T38modem and Asterisk&#39;s configuration to support it. Calls are received by the people we call to, but they can&#39;t hear nothing and we don&#39;t receive any kind of signal or tone in the phones. It&#39;s more and more extrange if I tell you that if we hang the call and retry a few seconds later, the call is made perfectly. We got some logs when this happened:<br>
<br>[Apr 30 09:34:31] VERBOSE[5296] netsock.c:   == Using SIP RTP TOS bits 
184<br>
[Apr 30 09:34:31] VERBOSE[5296] netsock.c:   == Using SIP RTP CoS mark 5<br>[Apr
 30 09:34:31] VERBOSE[5296] netsock.c:   == Using UDPTL TOS bits 184<br>[Apr
 30 09:34:31] VERBOSE[5296] netsock.c:   == Using UDPTL CoS mark 5<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[0000034635933565@from-<div id=":vi" class="ii gt">internal:1] Macro(&quot;SIP/21-00000058&quot;, 
&quot;user-callerid,SKIPTTL,&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-user-callerid:1] 
Set(&quot;SIP/21-00000058&quot;, &quot;AMPUSER=21&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:2] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?report&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:3] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;1?Set(REALCALLERIDNUM=21)&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:4] Set(&quot;SIP/21-00000058&quot;, &quot;AMPUSER=21&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:5] Set(&quot;SIP/21-00000058&quot;, &quot;AMPUSERCIDNAME=Aula 
11&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:6] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?report&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:7] Set(&quot;SIP/21-00000058&quot;, &quot;AMPUSERCID=21&quot;) in new
 stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-user-callerid:8] Set(&quot;SIP/21-00000058&quot;, &quot;CALLERID(all)=&quot;Aula 
11&quot; &lt;21&gt;&quot;) in new stack<br>[Apr 30 09:34:31] VERBOSE[12649] 
pbx.c:     -- Executing [s@macro-user-callerid:9] 
GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?continue&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-user-callerid,s,18)<br>[Apr 30 09:34:31] VERBOSE[12649] 
pbx.c:     -- Executing [s@macro-user-callerid:18] 
NoOp(&quot;SIP/21-00000058&quot;, &quot;Using CallerID &quot;Aula 11&quot; &lt;21&gt;&quot;) in new 
stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[0000034635933565@from-internal:2] Set(&quot;SIP/21-00000058&quot;, 
&quot;_NODEST=&quot;) in new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     
-- Executing [0000034635933565@from-internal:3] 
Macro(&quot;SIP/21-00000058&quot;, &quot;record-enable,21,OUT,&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-record-enable:1] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?check&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-record-enable,s,4)<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-record-enable:4] ExecIf(&quot;SIP/21-00000058&quot;, &quot;0?MacroExit()&quot;) in 
new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-record-enable:5] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?Group:OUT&quot;) in 
new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-record-enable,s,16)<br>[Apr 30 09:34:31] VERBOSE[12649] 
pbx.c:     -- Executing [s@macro-record-enable:16] 
GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?IN&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-record-enable:17] ExecIf(&quot;SIP/21-00000058&quot;, &quot;1?MacroExit()&quot;) in
 new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[0000034635933565@from-internal:4] Macro(&quot;SIP/21-00000058&quot;, 
&quot;dialout-trunk,2,0000034635933565,,&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:1] Set(&quot;SIP/21-00000058&quot;, &quot;DIAL_TRUNK=2&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:2] GosubIf(&quot;SIP/21-00000058&quot;, 
&quot;0?sub-pincheck,s,1&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:3] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?disabletrunk,1&quot;) 
in new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing
 [s@macro-dialout-trunk:4] Set(&quot;SIP/21-00000058&quot;, 
&quot;DIAL_NUMBER=0000034635933565&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:5] Set(&quot;SIP/21-00000058&quot;, 
&quot;DIAL_TRUNK_OPTIONS=tr&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-dialout-trunk:6] 
Set(&quot;SIP/21-00000058&quot;, &quot;OUTBOUND_GROUP=OUT_2&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:7] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?nomax&quot;) in new 
stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-dialout-trunk,s,9)<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:9] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?skipoutcid&quot;) in 
new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:10] Set(&quot;SIP/21-00000058&quot;, &quot;DIAL_TRUNK_OPTIONS=&quot;)
 in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:11] Macro(&quot;SIP/21-00000058&quot;, 
&quot;outbound-callerid,2&quot;) in new stack<br>[Apr 30 09:34:31] VERBOSE[12649] 
pbx.c:     -- Executing [s@macro-outbound-callerid:1] 
ExecIf(&quot;SIP/21-00000058&quot;, &quot;0?Set(CALLERPRES()=)&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:2] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;0?Set(REALCALLERIDNUM=21)&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-outbound-callerid:3] 
GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?normcid&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-outbound-callerid,s,6)<br>[Apr 30 09:34:31] VERBOSE[12649] 
pbx.c:     -- Executing [s@macro-outbound-callerid:6] 
Set(&quot;SIP/21-00000058&quot;, &quot;USEROUTCID=&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:7] Set(&quot;SIP/21-00000058&quot;, &quot;EMERGENCYCID=&quot;) in
 new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:8] Set(&quot;SIP/21-00000058&quot;, 
&quot;TRUNKOUTCID=34949216434&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:9] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?trunkcid&quot;) in
 new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Goto 
(macro-outbound-callerid,s,12)<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:12] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;1?Set(CALLERID(all)=34949216434)&quot;) in new stack<br>[Apr 30 
09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:13] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-outbound-callerid:14] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;0?Set(CALLERID(all)=)&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-outbound-callerid:15] 
ExecIf(&quot;SIP/21-00000058&quot;, &quot;0?Set(CALLERPRES()=prohib_passed_screen)&quot;)
 in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:12] ExecIf(&quot;SIP/21-00000058&quot;, 
&quot;0?AGI(fixlocalprefix)&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-dialout-trunk:13] 
Set(&quot;SIP/21-00000058&quot;, &quot;OUTNUM=0000034635933565&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:14] Set(&quot;SIP/21-00000058&quot;, 
&quot;custom=SIP/siptraffic&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-dialout-trunk:15] 
ExecIf(&quot;SIP/21-00000058&quot;, &quot;0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))&quot;)
 in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:16] Macro(&quot;SIP/21-00000058&quot;, 
&quot;dialout-trunk-predial-hook,&quot;) in new stack<br>[Apr 30 09:34:31] 
VERBOSE[12649] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1]
 MacroExit(&quot;SIP/21-00000058&quot;, &quot;&quot;) in new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:17] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?bypass,1&quot;) in 
new stack<br>[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:18] GotoIf(&quot;SIP/21-00000058&quot;, &quot;0?customtrunk&quot;) in
 new stack<br>
[Apr 30 09:34:31] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-dialout-trunk:19] Dial(&quot;SIP/21-00000058&quot;, &quot;SIP/siptraffic/0000034635933565,300,&quot;)
 in new stack<br>[Apr 30 09:34:31] VERBOSE[12649] netsock.c:   == Using 
SIP RTP TOS bits 184<br>
[Apr 30 09:34:31] VERBOSE[12649] netsock.c:   == Using SIP RTP CoS mark 5<br>[Apr
 30 09:34:31] VERBOSE[12649] netsock.c:   == Using UDPTL TOS bits 184<br>[Apr
 30 09:34:31] VERBOSE[12649] netsock.c:   == Using UDPTL CoS mark 5<br>
[Apr 30 09:34:31] VERBOSE[12649] app_dial.c:     -- Called 
siptraffic/0000034635933565<br><br><br>[Apr 30 09:34:49] VERBOSE[12649] 
app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 19) exited 
non-zero on &#39;SIP/21-00000058&#39; in macro &#39;dialout-trunk&#39;<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:   == Spawn extension 
(from-internal, 0000034635933565, 4) exited non-zero on 
&#39;SIP/21-00000058&#39;<br>[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- 
Executing [h@from-internal:1] Macro(&quot;SIP/21-00000058&quot;, &quot;hangupcall&quot;) in 
new stack<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-hangupcall:1] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?skiprg&quot;) in new 
stack<br>[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Goto 
(macro-hangupcall,s,4)<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-hangupcall:4] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?skipblkvm&quot;) in new 
stack<br>[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Goto 
(macro-hangupcall,s,7)<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-hangupcall:7] GotoIf(&quot;SIP/21-00000058&quot;, &quot;1?theend&quot;) in new 
stack<br>[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Goto 
(macro-hangupcall,s,9)<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:     -- Executing 
[s@macro-hangupcall:9] Hangup(&quot;SIP/21-00000058&quot;, &quot;&quot;) in new stack<br>[Apr
 30 09:34:49] VERBOSE[12649] app_macro.c:   == Spawn extension 
(macro-hangupcall, s, 9) exited non-zero on &#39;SIP/21-00000058&#39; in macro 
&#39;hangupcall&#39;<br>
[Apr 30 09:34:49] VERBOSE[12649] pbx.c:   == Spawn extension 
(from-internal, h, 1) exited non-zero on &#39;SIP/21-00000058&#39;<br><br>We think that this issue is very important and could affect other people that user Asterisk for more than 1 finallity.<br>Especially, take a look at the part that starts with &quot;Using UDPTL TOS bits 184&quot;. We think its confusing the T38 protocol with normal calls (because UDPTL is used to send T38 faxes).<br>
<br>Any light on this would be appreciated.<br><br>Regards,<br>Miguel Amez<br></div><br>