[asterisk-users] Weird issue with outbound calls and MOH

Chris Knipe savage at savage.za.org
Tue Mar 17 03:49:11 CDT 2009


Hi,

We have a PRI Trunk (physical E1) and we are getting
some rather weird and very isolocated problems.  On outbound calls to
specific numbers, it would seem to me that DTMF from the remote side is
affecting the local asterisk system.  Basically what happens:

- We make a OUTBOUND call via the PSTN (PRI Trunk) to a remote System
- Remote Answers, and converse
- Remote sends DTMF on their site to transfer call
- Our * system initiates on hold with our on hold music
- ZAP channel drops, followed shortly after by the SIP channel.

Zaptel configs are attached too.

A trace of a call where this happened is below (DTMF debug logging is also
enabled, and yet there is no indication of a DTMF being received):
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[0117709800 at from-internal:1] Macro("SIP/8647-b6f96650",
"user-callerid|SKIPTTL|") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:1] Set("SIP/8647-b6f96650", "AMPUSER=8647") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:2] GotoIf("SIP/8647-b6f96650", "0?report") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:3] ExecIf("SIP/8647-b6f96650",
"1|Set|REALCALLERIDNUM=8647") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:4] Set("SIP/8647-b6f96650", "AMPUSER=8647") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:5] Set("SIP/8647-b6f96650", "AMPUSERCIDNAME=Ntombi
Njongo") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:6] GotoIf("SIP/8647-b6f96650", "0?report") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:7] Set("SIP/8647-b6f96650", "AMPUSERCID=8647") in 
new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:8] Set("SIP/8647-b6f96650", "CALLERID(all)="Ntombi
Njongo" <8647>") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:9] Set("SIP/8647-b6f96650", "REALCALLERIDNUM=8647") 
in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:10] GotoIf("SIP/8647-b6f96650", "1?continue") in new
stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Goto 
(macro-user-callerid,s,19)
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-user-callerid:19] NoOp("SIP/8647-b6f96650", "Using CallerID 
"Ntombi
Njongo" <8647>") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Noop
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[0117709800 at from-internal:2] Set("SIP/8647-b6f96650", "_NODEST=") in new
stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[0117709800 at from-internal:3] Macro("SIP/8647-b6f96650",
"record-enable|8647|OUT|") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-record-enable:1] GotoIf("SIP/8647-b6f96650", "1?check") in new 
stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Goto 
(macro-record-enable,s,4)
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-record-enable:4] AGI("SIP/8647-b6f96650",
"recordingcheck|20090313-133037|1236943837.1282") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Launched AGI Script
/var/lib/asterisk/agi-bin/recordingcheck
[Mar 13 13:30:37] VERBOSE[28294] logger.c:
recordingcheck|20090313-133037|1236943837.1282: Outbound recording not
enabled
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- AGI Script recordingcheck
completed, returning 0
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: AGI
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-record-enable:5] MacroExit("SIP/8647-b6f96650", "") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[0117709800 at from-internal:4] Macro("SIP/8647-b6f96650",
"dialout-trunk|3|0117709800||") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:1] Set("SIP/8647-b6f96650", "DIAL_TRUNK=3") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] DEBUG[28294] func_db.c: DB: AMPUSER/8647/pinless not 
found
in database.
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:2] GosubIf("SIP/8647-b6f96650", 
"0?sub-pincheck|s|1")
in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GosubIf
[Mar 13 13:30:37] DEBUG[28294] func_db.c: DB: AMPUSER/8647/pinless not 
found
in database.
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:3] GotoIf("SIP/8647-b6f96650", "0?disabletrunk|1") 
in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:4] Set("SIP/8647-b6f96650", 
"DIAL_NUMBER=0117709800")
in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:5] Set("SIP/8647-b6f96650", "DIAL_TRUNK_OPTIONS=tT")
in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:6] Set("SIP/8647-b6f96650", "OUTBOUND_GROUP=OUT_3") 
in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:7] GotoIf("SIP/8647-b6f96650", "1?nomax") in new 
stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Goto 
(macro-dialout-trunk,s,9)
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:9] GotoIf("SIP/8647-b6f96650", "0?skipoutcid") in 
new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:10] Set("SIP/8647-b6f96650", "DIAL_TRUNK_OPTIONS=T")
in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:11] Macro("SIP/8647-b6f96650", 
"outbound-callerid|3")
in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:1] ExecIf("SIP/8647-b6f96650", 
"0|SetCallerPres|")
in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:2] ExecIf("SIP/8647-b6f96650",
"0|Set|REALCALLERIDNUM=8647") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:3] GotoIf("SIP/8647-b6f96650", "1?normcid") in 
new
stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Goto
(macro-outbound-callerid,s,6)
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:6] Set("SIP/8647-b6f96650",
"USEROUTCID=0218188600") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] DEBUG[28294] func_db.c: DB: DEVICE/8647/emergency_cid not
found in database.
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:7] Set("SIP/8647-b6f96650", "EMERGENCYCID=") in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:8] Set("SIP/8647-b6f96650", "TRUNKOUTCID=") in 
new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:9] GotoIf("SIP/8647-b6f96650", "1?trunkcid") in
new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Goto
(macro-outbound-callerid,s,12)
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:12] ExecIf("SIP/8647-b6f96650",
"0|Set|CALLERID(all)=") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:13] GotoIf("SIP/8647-b6f96650", "0?exit") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:14] Set("SIP/8647-b6f96650",
"CALLERID(all)=0218188600") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-outbound-callerid:15] ExecIf("SIP/8647-b6f96650",
"0|SetCallerPres|prohib_passed_screen") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Macro
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:12] ExecIf("SIP/8647-b6f96650",
"0|AGI|fixlocalprefix") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:13] Set("SIP/8647-b6f96650", "OUTNUM=0117709800") in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:14] Set("SIP/8647-b6f96650", "custom=ZAP/g1") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Set
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:15] ExecIf("SIP/8647-b6f96650",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)T") in new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: ExecIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:16] Macro("SIP/8647-b6f96650",
"dialout-trunk-predial-hook|") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/8647-b6f96650", "") 
in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: Macro
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:17] GotoIf("SIP/8647-b6f96650", "0?bypass|1") in new
stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:18] GotoIf("SIP/8647-b6f96650", "0?customtrunk") in
new stack
[Mar 13 13:30:37] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Executing
[s at macro-dialout-trunk:19] Dial("SIP/8647-b6f96650",
"ZAP/g1/0117709800|300|T") in new stack
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Requested transfer 
capability:
0x00 - SPEECH
[Mar 13 13:30:37] VERBOSE[28294] logger.c: -- Called g1/0117709800
[Mar 13 13:30:38] VERBOSE[28294] logger.c: -- Zap/1-1 is proceeding passing
it to SIP/8647-b6f96650
[Mar 13 13:30:38] VERBOSE[28294] logger.c: -- Zap/1-1 is making progress
passing it to SIP/8647-b6f96650
[Mar 13 13:30:39] VERBOSE[28294] logger.c: -- Zap/1-1 is ringing
[Mar 13 13:30:43] VERBOSE[28294] logger.c: -- Zap/1-1 answered
SIP/8647-b6f96650
[Mar 13 13:30:50] VERBOSE[28294] logger.c: -- Started music on hold, class
'default', on SIP/8647-b6f96650
[Mar 13 13:31:01] DEBUG[28294] chan_zap.c: Set option AUDIO MODE, value:
ON(1) on Zap/1-1
[Mar 13 13:31:01] DEBUG[28294] chan_zap.c: Not yet hungup... Calling hangup
once with icause, and clearing call
[Mar 13 13:31:01] DEBUG[28294] chan_zap.c: Set option AUDIO MODE, value:
OFF(0) on Zap/1-1
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Hungup 'Zap/1-1'
[Mar 13 13:31:01] VERBOSE[28294] logger.c: == Spawn extension
(macro-dialout-trunk, s, 19) exited non-zero on 'SIP/8647-b6f96650' in 
macro
'dialout-trunk'
[Mar 13 13:31:01] VERBOSE[28294] logger.c: == Spawn extension
(macro-dialout-trunk, s, 19) exited non-zero on 'SIP/8647-b6f96650'
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[h at macro-dialout-trunk:1] Macro("SIP/8647-b6f96650", "hangupcall|") in new
stack
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:1] ResetCDR("SIP/8647-b6f96650", "w") in new stack
[Mar 13 13:31:01] DEBUG[28294] app_macro.c: Executed application: ResetCDR
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:2] NoCDR("SIP/8647-b6f96650", "") in new stack
[Mar 13 13:31:01] DEBUG[28294] app_macro.c: Executed application: NoCDR
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:3] GotoIf("SIP/8647-b6f96650", "1?skiprg") in new stack
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Goto (macro-hangupcall,s,6)
[Mar 13 13:31:01] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:6] GotoIf("SIP/8647-b6f96650", "1?skipblkvm") in new
stack
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Goto (macro-hangupcall,s,9)
[Mar 13 13:31:01] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:9] GotoIf("SIP/8647-b6f96650", "1?theend") in new stack
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Goto (macro-hangupcall,s,11)
[Mar 13 13:31:01] DEBUG[28294] app_macro.c: Executed application: GotoIf
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Executing
[s at macro-hangupcall:11] Hangup("SIP/8647-b6f96650", "") in new stack
[Mar 13 13:31:01] VERBOSE[28294] logger.c: == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'SIP/8647-b6f96650' in macro
'hangupcall'
[Mar 13 13:31:01] VERBOSE[28294] logger.c: == Spawn extension
(macro-hangupcall, s, 11) exited non-zero on 'SIP/8647-b6f96650'
[Mar 13 13:31:01] VERBOSE[28294] logger.c: -- Stopped music on hold on
SIP/8647-b6f96650





----- End forwarded message -----
-------------- next part --------------
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make    ;
; custom modifications, details at: http://freepbx.org/configuration_files       ;
;--------------------------------------------------------------------------------;
;

;;;;;;[5020]
signalling=fxo_ks
pickupgroup=
mailbox=5020 at device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <5020>
busydetect=no
busycount=7
accountcode=5020
channel=>131

;;;;;;[5021]
signalling=fxo_ks
pickupgroup=
mailbox=5021 at device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <5021>
busydetect=no
busycount=7
accountcode=5021
channel=>128

;;;;;;[5022]
signalling=fxo_ks
pickupgroup=
mailbox=5022 at device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <5022>
busydetect=no
busycount=7
accountcode=5022
channel=>129

;;;;;;[5023]
signalling=fxo_ks
pickupgroup=
mailbox=5023 at device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <5023>
busydetect=no
busycount=7
accountcode=5023
channel=>127

;;;;;;[5030]
signalling=fxo_ks
pickupgroup=
mailbox=5030 at device
immediate=no
echotraining=800
echocancelwhenbridged=yes
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <5030>
busydetect=no
busycount=7
accountcode=5030
channel=>125

-------------- next part --------------
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended 
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 ClockSource 
group=0,11
context=from-zaptel
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
group=
context=default

; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" 
;group=0,12
;context=from-pstn
;switchtype = euroisdn
;signalling = pri_cpe
;channel => 32-46,48-62
;group=
;context=default

; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" 
;group=0,13
;context=from-pstn
;switchtype = euroisdn
;signalling = pri_cpe
;channel => 63-77,79-93
;group=
;context=default

; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" 
;group=0,14
;context=from-pstn
;switchtype = euroisdn
;signalling = pri_cpe
;channel => 94-108,110-124
;group=
;context=default

; Span 5: WCTDM/0 "Wildcard TDM800P Board 1" 
;;; line="125 WCTDM/0/0 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 125" <6125>
mailbox=6125
group=5
context=from-internal
channel => 125
callerid=
mailbox=
group=
context=default

;;; line="126 WCTDM/0/1 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 126" <6126>
mailbox=6126
group=5
context=from-internal
channel => 126
callerid=
mailbox=
group=
context=default

;;; line="127 WCTDM/0/2 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 127" <6127>
mailbox=6127
group=5
context=from-internal
channel => 127
callerid=
mailbox=
group=
context=default

;;; line="128 WCTDM/0/3 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 128" <6128>
mailbox=6128
group=5
context=from-internal
channel => 128
callerid=
mailbox=
group=
context=default

;;; line="129 WCTDM/0/4 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 129" <6129>
mailbox=6129
group=5
context=from-internal
channel => 129
callerid=
mailbox=
group=
context=default

;;; line="130 WCTDM/0/5 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 130" <6130>
mailbox=6130
group=5
context=from-internal
channel => 130
callerid=
mailbox=
group=
context=default

;;; line="131 WCTDM/0/6 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 131" <6131>
mailbox=6131
group=5
context=from-internal
channel => 131
callerid=
mailbox=
group=
context=default

;;; line="132 WCTDM/0/7 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 132" <6132>
mailbox=6132
group=5
context=from-internal
channel => 132
callerid=
mailbox=
group=
context=default


; Span 6: WCTDM/1 "Wildcard TDM800P Board 2" 
;;; line="133 WCTDM/1/0 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 133
context=default

;;; line="134 WCTDM/1/1 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 134
context=default

;;; line="135 WCTDM/1/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 135
context=default

;;; line="136 WCTDM/1/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 136
context=default

;;; line="137 WCTDM/1/4 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 137
context=default

;;; line="138 WCTDM/1/5 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 138
context=default

;;; line="139 WCTDM/1/6 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 139
context=default

;;; line="140 WCTDM/1/7 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 140
context=default

-------------- next part --------------
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300

; Whether or not to do distinctive ring detection on FXO lines
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=no
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
busydetect=no
busycount=6
group=1
callgroup=1
pickupgroup=1
immediate=no
faxdetect=no
overlapdial=yes

; PRI resetinterval: sets the time in seconds between restart of unused
; channels, defaults to 3600; minimum 60 seconds.  Some PBXs don't like
; channel restarts. so set the interval to a very long interval e.g. 100000000
; or 'never' to disable *entirely*.
resetinterval = 86400

priindication=inband
;priindication=unknown
pridialplan=unknown
pridiallocalplan=unknown

loadzone=za
defaultzone=za

;Include genzaptelconf configs
#include zapata-auto.conf
#include zapata-channels.conf

;Include AMP configs
#include zapata_additional.conf

group=1
context=from-zaptel
signalling=pri_cpe
echocancel=yes
echotraining=500
echocancelwhenbridged=yes
threewaycalling=no
relaxdtmf=yes
faxdetect=incoming
switchtype=euroisdn
channel=>1-15,17-31

;group=2
;context=from-zaptel
;signalling=pri_net
;switchtype=euroisdn
;channel=>32-46,48-62

;group=3
;context=from-internal
;signalling=pri_net
;switchtype=euroisdn
;channel=>63-77,79-93

;group=4
;context=from-zaptel
;signalling=pri_cpe
;switchtype=euroisdn
;channel=>94-108,110-124

-------------- next part --------------
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4 ClockSource 
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2" 
#span=2,2,0,ccs,hdb3,crc4
# termtype: te
#bchan=32-46,48-62
#dchan=47

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3" 
#span=3,3,0,ccs,hdb3,crc4
# termtype: te
#bchan=63-77,79-93
#dchan=78

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4" 
#span=4,4,0,ccs,hdb3,crc4
# termtype: te
#bchan=94-108,110-124
#dchan=109

# Span 5: WCTDM/0 "Wildcard TDM800P Board 1" 
fxoks=125
fxoks=126
fxoks=127
fxoks=128
fxoks=129
fxoks=130
fxoks=131
fxoks=132

# Span 6: WCTDM/1 "Wildcard TDM800P Board 2" 
fxsks=133
fxsks=134
fxsks=135
fxsks=136
fxsks=137
fxsks=138
fxsks=139
fxsks=140

# Global data

loadzone	= za
defaultzone	= za


More information about the asterisk-users mailing list