Call parking

i am working on call parking, i had made three extensions,

112
113
114

call parking range 8100-8199

now any call comes, exten 112 receives it after receiving it called party i.e who received the call puts the caller on hold n than called party is hearing moh. now plz tell me how exten 113 pick up the call from call park.these r features sip and extension.conf

vi features.conf

[general]
parkext => 8100
parkpos => 8100-8199
context => parkedcalls
parkingtime => 120
~
###########################################################################

sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
context = others

[112]
type=friend
context=my-phones
secret=1234
host=dynamic

[113]
type=friend
context=my-phones
secret=1234
host=dynamic

[114]
type=friend
context=my-phones
secret=1234
host=dynamic
##########################################################################

vi /extensions.conf

[from-zaptel]
exten => s,1,wait(2)
exten => s,n,Dial(SIP/112,20)
exten => s,n,Hangup()
include = parkedcalls
include = my-phones

[my-phones]
exten => 112,1,Dial(SIP/112)
exten => 113,1,Dial(SIP/113)
exten => 114,1,Dial(SIP/114)
###############################################################################

thx

Hi

Firstly have you downloaded a copy of the book “The Future of Telephony” ? It covers almost all of te questions you have asked so far.

Basically for this , when you transferred the user to 8100 it read out a number to you , proberly 8101 . any user can now dial 8101 to get the call.

Ian
www.cyber-cottage.co.uk
twitter @cyberco

hi i am using dundi instead of zapata, below is my chan_dahdi.conf, dundi.conf

/etc/asterisk/chan_dundi.conf

;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
;autogenrated on 2010-02-16
;Dahdi Channels Configurations
;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=no
hanguponpolarityswitch=yes
answeronpolaritywitch=yes

;Sangoma AU100 [slot:0 bus: span:1]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 1

context=from-zaptel
group=0
signalling = fxs_ks
channel => 2

######################################################################################################

[my-phones]
exten => _X.,1,Dial(Zap/1-1/${EXTEN})
exten => _X.,n,Hangup
~

plz tell me instead of Zap what i have to use for dahdi

thx

ok this is my config files for callparking

vi /features.cof
[general]
parkext => 8100
parkpos => 8101-8199
context => parkedcalls
parkingtime => 120
~
#################################################################################
vi sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
context = others

[112]
type=friend
context=my-phones
secret=1234
host=dynamic

[113]
type=friend
context=my-phones
secret=1234
host=dynamic

[114]
type=friend
context=my-phones
secret=1234
host=dynamic

################################################################################

vi extensions.conf

[from-zaptel]
exten => s,1,Wait(2)
exten => s,n,Dial(SIP/112,20,rt)
include => parkedcalls

[my-phones]
exten => 112,1,Dial(SIP/112)
exten => 113,1,Dial(SIP/113)
exten => 114,1,Dial(SIP/114)

exten => _X.,1,Dial(DAHDI/1-1/${EXTEN})
exten => _X.,n,Hangup

###################################################################################

now when call is coming it goes to ext 2000 when answered than # key is pressed along with 8100 than it gives a parking no it gives 8101. now when i am trying to pick that parked call from other extension not able 2 get success.

can u plz guide what is the problem as call is parked on 8101 but cant pick up that call from other extension.

Please do not use SMS English.

my-phones doesn’t include parkedcalls.

thanks,
now its working.