[asterisk-users] T38 trunk configuration for relay appears to affect default trunks for voip
Miguel Amez
villalvilla at gmail.com
Wed May 5 16:03:29 CDT 2010
Hi list!
I have this configuration for sending T38 faxes to my T38 fax termination
provider:
T38modem --> hylafax --> Asterisk-SIP-Extension --> T38 termination provider
--> T.30 termination to PSTN
We are experiencing 2 problems with this (if you want configuration files,
it won't be a problem, just tell me):
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's 1.6.2.8 rc1, I will try
with it and tell you.
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's configuration to support
it. Calls are received by the people we call to, but they can't hear nothing
and we don't receive any kind of signal or tone in the phones. It'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:
[Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using SIP RTP TOS bits 184
[Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using SIP RTP CoS mark 5
[Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using UDPTL TOS bits 184
[Apr 30 09:34:31] VERBOSE[5296] netsock.c: == Using UDPTL CoS mark 5
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[0000034635933565 at from-
internal:1] Macro("SIP/21-00000058", "user-callerid,SKIPTTL,") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:1] Set("SIP/21-00000058", "AMPUSER=21") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:2] GotoIf("SIP/21-00000058", "0?report") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:3] ExecIf("SIP/21-00000058",
"1?Set(REALCALLERIDNUM=21)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:4] Set("SIP/21-00000058", "AMPUSER=21") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:5] Set("SIP/21-00000058", "AMPUSERCIDNAME=Aula 11")
in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:6] GotoIf("SIP/21-00000058", "0?report") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:7] Set("SIP/21-00000058", "AMPUSERCID=21") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:8] Set("SIP/21-00000058", "CALLERID(all)="Aula 11"
<21>") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:9] GotoIf("SIP/21-00000058", "1?continue") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-user-callerid,s,18)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-user-callerid:18] NoOp("SIP/21-00000058", "Using CallerID "Aula 11"
<21>") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[0000034635933565 at from-internal:2] Set("SIP/21-00000058", "_NODEST=") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[0000034635933565 at from-internal:3] Macro("SIP/21-00000058",
"record-enable,21,OUT,") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-record-enable:1] GotoIf("SIP/21-00000058", "1?check") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-record-enable,s,4)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-record-enable:4] ExecIf("SIP/21-00000058", "0?MacroExit()") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-record-enable:5] GotoIf("SIP/21-00000058", "0?Group:OUT") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-record-enable,s,16)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-record-enable:16] GotoIf("SIP/21-00000058", "0?IN") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-record-enable:17] ExecIf("SIP/21-00000058", "1?MacroExit()") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[0000034635933565 at from-internal:4] Macro("SIP/21-00000058",
"dialout-trunk,2,0000034635933565,,") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:1] Set("SIP/21-00000058", "DIAL_TRUNK=2") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:2] GosubIf("SIP/21-00000058", "0?sub-pincheck,s,1")
in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:3] GotoIf("SIP/21-00000058", "0?disabletrunk,1") in
new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:4] Set("SIP/21-00000058",
"DIAL_NUMBER=0000034635933565") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:5] Set("SIP/21-00000058", "DIAL_TRUNK_OPTIONS=tr") in
new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:6] Set("SIP/21-00000058", "OUTBOUND_GROUP=OUT_2") in
new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:7] GotoIf("SIP/21-00000058", "1?nomax") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-dialout-trunk,s,9)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:9] GotoIf("SIP/21-00000058", "0?skipoutcid") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:10] Set("SIP/21-00000058", "DIAL_TRUNK_OPTIONS=") in
new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:11] Macro("SIP/21-00000058", "outbound-callerid,2")
in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:1] ExecIf("SIP/21-00000058",
"0?Set(CALLERPRES()=)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:2] ExecIf("SIP/21-00000058",
"0?Set(REALCALLERIDNUM=21)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:3] GotoIf("SIP/21-00000058", "1?normcid") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-outbound-callerid,s,6)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:6] Set("SIP/21-00000058", "USEROUTCID=") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:7] Set("SIP/21-00000058", "EMERGENCYCID=") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:8] Set("SIP/21-00000058",
"TRUNKOUTCID=34949216434") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:9] GotoIf("SIP/21-00000058", "1?trunkcid") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Goto
(macro-outbound-callerid,s,12)
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:12] ExecIf("SIP/21-00000058",
"1?Set(CALLERID(all)=34949216434)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:13] ExecIf("SIP/21-00000058",
"0?Set(CALLERID(all)=)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:14] ExecIf("SIP/21-00000058",
"0?Set(CALLERID(all)=)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-outbound-callerid:15] ExecIf("SIP/21-00000058",
"0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:12] ExecIf("SIP/21-00000058",
"0?AGI(fixlocalprefix)") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:13] Set("SIP/21-00000058", "OUTNUM=0000034635933565")
in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:14] Set("SIP/21-00000058", "custom=SIP/siptraffic")
in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:15] ExecIf("SIP/21-00000058",
"0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:16] Macro("SIP/21-00000058",
"dialout-trunk-predial-hook,") in new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/21-00000058", "") in
new stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:17] GotoIf("SIP/21-00000058", "0?bypass,1") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:18] GotoIf("SIP/21-00000058", "0?customtrunk") in new
stack
[Apr 30 09:34:31] VERBOSE[12649] pbx.c: -- Executing
[s at macro-dialout-trunk:19] Dial("SIP/21-00000058",
"SIP/siptraffic/0000034635933565,300,") in new stack
[Apr 30 09:34:31] VERBOSE[12649] netsock.c: == Using SIP RTP TOS bits 184
[Apr 30 09:34:31] VERBOSE[12649] netsock.c: == Using SIP RTP CoS mark 5
[Apr 30 09:34:31] VERBOSE[12649] netsock.c: == Using UDPTL TOS bits 184
[Apr 30 09:34:31] VERBOSE[12649] netsock.c: == Using UDPTL CoS mark 5
[Apr 30 09:34:31] VERBOSE[12649] app_dial.c: -- Called
siptraffic/0000034635933565
[Apr 30 09:34:49] VERBOSE[12649] app_macro.c: == Spawn extension
(macro-dialout-trunk, s, 19) exited non-zero on 'SIP/21-00000058' in macro
'dialout-trunk'
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: == Spawn extension (from-internal,
0000034635933565, 4) exited non-zero on 'SIP/21-00000058'
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Executing [h at from-internal:1]
Macro("SIP/21-00000058", "hangupcall") in new stack
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Executing [s at macro-hangupcall:1]
GotoIf("SIP/21-00000058", "1?skiprg") in new stack
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Goto (macro-hangupcall,s,4)
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Executing [s at macro-hangupcall:4]
GotoIf("SIP/21-00000058", "1?skipblkvm") in new stack
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Goto (macro-hangupcall,s,7)
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Executing [s at macro-hangupcall:7]
GotoIf("SIP/21-00000058", "1?theend") in new stack
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Goto (macro-hangupcall,s,9)
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: -- Executing [s at macro-hangupcall:9]
Hangup("SIP/21-00000058", "") in new stack
[Apr 30 09:34:49] VERBOSE[12649] app_macro.c: == Spawn extension
(macro-hangupcall, s, 9) exited non-zero on 'SIP/21-00000058' in macro
'hangupcall'
[Apr 30 09:34:49] VERBOSE[12649] pbx.c: == Spawn extension (from-internal,
h, 1) exited non-zero on 'SIP/21-00000058'
We think that this issue is very important and could affect other people
that user Asterisk for more than 1 finallity.
Especially, take a look at the part that starts with "Using UDPTL TOS bits
184". We think its confusing the T38 protocol with normal calls (because
UDPTL is used to send T38 faxes).
Any light on this would be appreciated.
Regards,
Miguel Amez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100505/48ec1f5e/attachment.htm
More information about the asterisk-users
mailing list