[asterisk-users] pickupexten on chan_dahdi
Marcus Vinicius
marc_mcs10 at yahoo.com.br
Mon Dec 14 14:02:00 CST 2009
Hi,
I'm having trouble capturing calls using the chan_dahdi with dynamic span. Here my settings:
chan_dahdi.conf
[trunkgroups]
[channels]
context=default
switchtype=national
facilityenable=yes
rxwink=300 ; Atlas seems to use long (250ms) winks
; where the ring cadence is changed *after* the callerid spill.
usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=0
pickupgroup=0
immediate=no
accountcode=0003.002
callgroup=0
pickupgroup=0
callerid=231
channel=>27
callgroup=0
pickupgroup=0
callerid=232
channel=>28
; interfaces FXO (linha)
context=default
signalling=fxs_ks
group=2
busydetect=yes
callerid=asreceived
channel=>29-36
features.conf
[general]
parkext => 600 ; What extension to dial to park
parkpos => 601-620 ; What extensions to park calls on. These needs to be
; numeric, as Asterisk starts from the start position
; and increments with one for the next parked call.
context => parkedcalls ; Which context parked calls are in
parkingtime => 180 ; Number of seconds a call can be parked for
; (default is 45 seconds)
transferdigittimeout => 3 ; Number of seconds to wait between digits when transfering a call
courtesytone = beep ; Sound file to play to the parked caller
; when someone dials a parked call
xfersound = beep ; to indicate an attended transfer is complete
xferfailsound = beeperr ; to indicate a failed transfer
;adsipark = yes ; if you want ADSI parking announcements
;findslot => next ; Continue to the 'next' free parking space.
; Defaults to 'first' available
pickupexten = 5 ; Configure the pickup extension. Default is *8
featuredigittimeout = 700 ; Max time (ms) between digits for
; feature activation. Default is 500
When I dial 5 from an analog extension, dial it 5 on the dial plan and does not
capture the call:
-- Executing [5 at from-inside:1] Macro("DAHDI/9-1", "nx-set-variables") in new stack
-- Executing [s at macro-nx-set-variables:1] Set("DAHDI/9-1", "tenant=") in new stack
-- Executing [s at macro-nx-set-variables:2] Set("DAHDI/9-1", "CDR(userfield)=") in new stack
Anybody know what might be happening?
Asterisk: 1.4.26
Dahdi: 2.2.0.2
thanks.
--
Marcus
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
More information about the asterisk-users
mailing list