keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Callerid Elastis Brazil

12 years 8 months ago #7227 by gianrubio
Hello
My callerid doesn't work in my elastix 2.03
[root@localhost ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Jul 21 16:05:31 2011
# 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
fxsks=2
fxoks=3
fxoks=4

#echocanceller=MG2,1-4
# Global data
loadzone        = br
defaultzone     = br


Full log

[Aug  8 16:42:04] VERBOSE[9170] asterisk.c:     -- Remote UNIX connection
[Aug  8 16:42:16] VERBOSE[9328] chan_dahdi.c:     -- Starting simple switch on 'DAHDI/1-1'
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@from-pstn:6] Goto("DAHDI/1-1", "ext-queues,1000,1") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Goto (ext-queues,1000,1)
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [1000@ext-queues:1] Macro("DAHDI/1-1", "user-callerid,") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=)") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Goto (macro-user-callerid,s,10)
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
[Aug  8 16:42:16] VERBOSE[9328] pbx.c:     -- Goto (macro-user-callerid,s,19)



dadhi-channels.conf
; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) 
;;; line="1 WCTDM/4/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
context=from-pstn
pickupgroup=0
rxgain=3.0
txgain=3.0
callgroup=0

;;; line="2 WCTDM/4/1 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 2
callerid=
context=from-pstn
pickupgroup=0
rxgain=3.0
txgain=3.0
callgroup=0
[root@localhost ~]# less /etc/asterisk/chan_dahdi.conf
[trunkgroups]

[channels]
cidstart=ring
loadzone        =br             
defaultzone     =br   
callerid=asreceived
cidstart=polarity
cidsignalling=bell
context=from-pstn
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=0
pickupgroup=0
;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3


immediate=no
12 years 8 months ago #7228 by jun
Hi

Why you set cidstart=ring & cidstart=polarity in /etc/asterisk/chan_dahdi.conf

What signals the start of caller ID? You need to confirm.
12 years 8 months ago #7249 by gianrubio
How i can detect if my carrier use FSK or DTMF?Can openvox support send your gtalk?
Time to create page: 0.030 seconds
Powered by Kunena Forum