Transfer to a specific park number


I’d like to allow users to transfer a call to a specific park number. This way, the receptionist can tranfer a call park for ext 100 at park number 7100 etc…

It seems like this should be fairly simple using the Park(ext) app but it doesn’t work for me. No matter what I extension I use, the system just picks the next available park number. I’ve simplified my dialplan for testing. Here’s what I’m working with now


parkext => 70
parkpos => 7000-7010
context => parkedcalls
courtesytone = beep
xfersound = beep
xferfailsound = beeperr
findslot => first
pickupexten = *8
featuredigittimeout = 500

blindxfer => #1
automon => *1
atxfer => *2



CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password


exten => s,1,Dial(${ARG2},10,rtwTW)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG1})
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(b${ARG1})
exten => s-BUSY,2,Goto(default,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${ARG1})

include => parkedcalls
exten => 100,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 101,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 102,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 103,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 104,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})

exten => 123,1,Answer()
exten => 123,2,Park(7002)

If I transfer a call to 123, it parks it on 7000. Here’s the output from the console.

-- Executing Macro("SIP/100-fd8c", "stdexten|101|SIP/101") in new stack
-- Executing Dial("SIP/100-fd8c", "SIP/101|10|rtwTW") in new stack
-- Called 101
-- SIP/101-85d6 is ringing
-- SIP/101-85d6 answered SIP/100-fd8c
-- Attempting native bridge of SIP/100-fd8c and SIP/101-85d6

– Started music on hold, class ‘default’, on channel ‘SIP/100-fd8c’
– Stopped music on hold on SIP/100-fd8c
– Executing Answer(“SIP/101-16b7”, “”) in new stack
– Executing Park(“SIP/101-16b7”, “7002”) in new stack
== Parked SIP/101-16b7 on 7000. Will timeout back to extension [internal] s, 1 in 45 seconds
– Added extension ‘7000’ priority 1 to parkedcalls
– Playing ‘digits/7’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Started music on hold, class ‘default’, on channel ‘SIP/101-16b7’
== Spawn extension (internal, s, 1) exited KEEPALIVE on ‘SIP/101-16b7’

I’m using Asterisk 1.2.5. compiled from ftp source

I’m fairly new to asterisk so it’s possible I’m missing something simple.

Any suggestions would be appreciated.


I am able to duplicate the error on several Machines. I will log a bug on Mantis.

It may be worth reading and you will see what is happening is correct. It may not be what you want but thats how it works. you could look at valet parking it may do what you want.