- Thank you received: 0
keywords: ip pbx voip gateway gsm gateway
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
# channel 3, WCTDM/4/2, no module.
# channel 4, WCTDM/4/3, no module.
# Global data
loadzone = us
defaultzone = us
;
; DAHDI telephony
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
immediate=no
usecallerid=yes
cidsignalling=bell
hidecallerid=no
useincomingcalleridonzaptransfer=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include setup-pstn configs
#include dahdi-channels.conf
group=1
;Include PBXconfig configs
#include chan_dahdi_additional.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Tue May 17 15:03:53 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
;;; line="1 WCTDM/4/0 FXSKS"
immediate=no
signalling=fxs_ks
usecallerid=yes
callerid=asreceived
hidecallerid=no
group=0
context=from-pstn
channel => 1
group=
context=default
;;; line="2 WCTDM/4/1 FXSKS"
immediate=no
signalling=fxs_ks
usecallerid=yes
callerid=asreceived
hidecallerid=no
group=0
context=from-pstn
channel => 2
group=
context=default
[May 27 11:41:58] NOTICE[23744] chan_dahdi.c: Got event 18 (Ring Begin)...
[May 27 11:42:00] NOTICE[23744] chan_dahdi.c: Got event 2 (Ring/Answered)...
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@app-blacklist-check:2] Return("DAHDI/1-1", "") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:3] Gosub("DAHDI/1-1", "cidlookup,cidlookup_4,1") in new stack
[May 27 11:42:00] VERBOSE[23746] logger.c: == Manager 'admin' logged on from 127.0.0.1
[May 27 11:42:00] VERBOSE[23746] logger.c: == Manager 'admin' logged off from 127.0.0.1
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [cidlookup_4@cidlookup:1] Set("DAHDI/1-1", "CALLERID(name)=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [cidlookup_4@cidlookup:2] Return("DAHDI/1-1", "") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:4] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:5] SetMusicOnHold("DAHDI/1-1", "none") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:6] Set("DAHDI/1-1", "__MOHCLASS=none") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:7] Answer("DAHDI/1-1", "") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:8] Wait("DAHDI/1-1", "0") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:9] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:10] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@from-pstn:11] Goto("DAHDI/1-1", "from-did-direct,2100,1") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Goto (from-did-direct,2100,1)
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [2100@from-did-direct:1] Macro("DAHDI/1-1", "exten-vm,2100,2100") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:1] Macro("DAHDI/1-1", "user-callerid") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=)") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Goto (macro-user-callerid,s,10)
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Goto (macro-user-callerid,s,19)
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/1-1", "Using CallerID "" <>") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:2] Set("DAHDI/1-1", "RingGroupMethod=none") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:3] Set("DAHDI/1-1", "VMBOX=2100") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:4] Set("DAHDI/1-1", "EXTTOCALL=2100") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:5] Set("DAHDI/1-1", "CFUEXT=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:6] Set("DAHDI/1-1", "CFBEXT=") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:7] Set("DAHDI/1-1", "RT=15") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:8] Macro("DAHDI/1-1", "record-enable,2100,IN") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Goto (macro-record-enable,s,4)
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Executing [s@macro-record-enable:4] AGI("DAHDI/1-1", "recordingcheck,20110527-114200,1306514514.117") in new stack
[May 27 11:42:00] VERBOSE[23744] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[May 27 11:42:01] VERBOSE[23744] logger.c: recordingcheck,20110527-114200,1306514514.117: Inbound recording not enabled
[May 27 11:42:01] VERBOSE[23744] logger.c: -- AGI Script recordingcheck completed, returning 0
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("DAHDI/1-1", "") in new stack
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Executing [s@macro-exten-vm:9] Macro("DAHDI/1-1", "dial,15,tr,2100") in new stack
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Executing [s@macro-dial:1] GotoIf("DAHDI/1-1", "0?dial") in new stack
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Executing [s@macro-dial:2] SetMusicOnHold("DAHDI/1-1", "none") in new stack
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Executing [s@macro-dial:3] AGI("DAHDI/1-1", "dialparties.agi") in new stack
[May 27 11:42:01] VERBOSE[23744] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[May 27 11:42:01] VERBOSE[23744] logger.c: dialparties.agi: Starting New Dialparties.agi
[May 27 11:42:01] VERBOSE[23744] logger.c: dialparties.agi: Caller ID name is 'unknown' number is 'unknown'
[May 27 11:42:01] VERBOSE[23744] logger.c: dialparties.agi: Methodology of ring is 'none'