Cannot Park Calls

I have asked this in a couple of areas and dont seem to be able to get very far.

Call parking was working prior to upgrading the GUI version and now doesnt work (I presume that some change has been made to the configs).

AsteriskNOW Build:
Asterisk/1.4.18.1
Asterisk GUI-version : 2.0

Whenever I dial the 700 extention to park I recieve a call failed (engaged tone)

My call pickup extention *30 works so it is getting to the features.conf

Features.conf
Code:

[featuremap]
blindxfer = #1
disconnect = *0
atxfer =*2

[general]
parkext = 700
parkpos = 701-720
context = parkedcalls
parkingtime = 180
pickupexten = *30

[applicationmap]

Show Features results
Code:

Builtin Feature Default Current


Pickup *8 *30
Blind Transfer # #1
Attended Transfer *2
One Touch Monitor
Disconnect Call * *0
Park Call

Dynamic Feature Default Current


(none)

Call parking

Parking extension : 700
Parking context : parkedcalls
Parked call extensions: 701-720

Extensions.conf has DIALOPTIONS = tThHkK set in the [Globals] context

This is the CLI log for dialling external number 123, putting on HOLD and then going to exten 700 to park.
(Hope it means something to you, as it doesn’t to me
Code:

-- Executing [123@DLPN_DialPlan1:1] [1;36;40mMacro[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40mtrunkdial-failover-0.3|SIP/trunk_1/123||trunk_1|[0;37;40m") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] [1;36;40mSet[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40mCALLERID(num)=[0;37;40m") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] [1;36;40mGotoIf[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40m0?1-dial|1[0;37;40m") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] [1;36;40mSet[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40mCALLERID(all)=[0;37;40m") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:4] [1;36;40mGoto[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40m1-dial|1[0;37;40m") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] [1;36;40mDial[0;37;40m("[1;35;40mSIP/211-006e37e0[0;37;40m", "[1;35;40mSIP/trunk_1/123[0;37;40m") in new stack
-- Called trunk_1/123
-- SIP/trunk_1-0076f1b0 is ringing
-- SIP/trunk_1-0076f1b0 answered SIP/211-006e37e0
-- Started music on hold, class 'default', on SIP/trunk_1-0076f1b0
-- Executing [700@DLPN_DialPlan1:1] [1;36;40mMacro[0;37;40m("[1;35;40mSIP/211-006c7180[0;37;40m", "[1;35;40mpage|SIP/700[0;37;40m") in new stack
-- Executing [s@macro-page:1] [1;36;40mChanIsAvail[0;37;40m("[1;35;40mSIP/211-006c7180[0;37;40m", "[1;35;40mSIP/700|js[0;37;40m") in new stack

== Spawn extension (macro-page, s, 1) exited non-zero on ‘SIP/211-006c7180’
– Stopped music on hold on SIP/trunk_1-0076f1b0
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on ‘SIP/211-006e37e0’ in macro ‘trunkdial-failover-0.3’
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on ‘SIP/211-006e37e0’

Can anyone help, this is getting urgent

you don’t put the caller on hold, you just transfer them to 700. is parkedcalls included in extensions.conf?

Hi there

Direct transfer doesnt seem to work on the Aastra 57i handset, so before I upgraded the GUI it was working by presing XFER then dialing 700# (this is how you also transfer calls to another extension on the Aastra handset)

Yes parkedcalls is in my extensions.conf (in fact it is in several places just to make sure)

Have you tried just doing #1700# ?

The #1 should initiate a blind transfer from any phone/headset and the 700# you’re already doing.

Hi again

#1700# gives this response.
To the caller they just get silence - no ext announcement.

[code]
[Kariel*CLI>
– Executing [1700@DLPN_DialPlan1:1] [1;36;40mMacro[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40mtrunkdial-failover-0.3|SIP/trunk_1/1700||trunk_1|[0;37;40m”) in new stack

[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:1] [1;36;40mSet[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40mCALLERID(num)=[0;37;40m”) in new stack

[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:2] [1;36;40mGotoIf[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40m0?1-dial|1[0;37;40m”) in new stack

[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:3] [1;36;40mSet[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40mCALLERID(all)=[0;37;40m”) in new stack

[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:4] [1;36;40mGoto[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40m1-dial|1[0;37;40m”) in new stack

[Kariel*CLI>
– Goto (macro-trunkdial-failover-0.3,1-dial,1)

[Kariel*CLI>
– Executing [1-dial@macro-trunkdial-failover-0.3:1] [1;36;40mDial[0;37;40m("[1;35;40mSIP/211-0078c5d0[0;37;40m", “[1;35;40mSIP/trunk_1/1700[0;37;40m”) in new stack

[Kariel*CLI>
– Called trunk_1/1700

[Kariel*CLI>
– SIP/trunk_1-007623d0 is making progress passing it to SIP/211-0078c5d0

[Kariel*CLI>
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on ‘SIP/211-0078c5d0’[/code]

What should be happening is this

  1. caller connects
  2. asterisk calls operator (sip ext)
  3. operator does #1700#
  4. caller gets on-hold music until someone dials 701 to pickup, park times out back to operator or caller hangs up.

You might have a features.conf or musiconhold.conf problem.

Hi again

Thanks for the suggestions BTW

Here is my features.conf

[code]
;!
;! Automatically generated configuration file
;! Filename: features.conf (/etc/asterisk/features.conf)
;! Generator: Manager
;! Creation Date: Tue Apr 21 07:51:36 2009
;!
[featuremap]
blindxfer = #1
disconnect = *0
atxfer = *2
parkcall = **7

[general]
parkext = 700
parkpos = 701-720
context = parkedcalls
parkingtime = 45
pickupexten = *30

[applicationmap][/code]

and my musiconhold.conf

[code];
; Music on Hold – Sample Configuration
;

; valid mode options:
; files – read files from a directory in any Asterisk supported
; media format
; quietmp3 – default
; mp3 – loud
; mp3nb – unbuffered
; quietmp3nb – quiet unbuffered
; custom – run a custom application (See examples below)

; =========
; File-based (native) music on hold
; =========
;
; This plays files directly from the specified directory, no external
; processes are required. Files are played in normal sorting order
; (same as a sorted directory listing), and no volume or other
; sound adjustments are available. If the file is available in
; the same format as the channel’s codec, then it will be played
; without transcoding (same as Playback would do in the dialplan).
; Files can be present in as many formats as you wish, and the
; ‘best’ format will be chosen at playback time.
;
; NOTE:
; If you are not using “autoload” in modules.conf, then you
; must ensure that the format modules for any formats you wish
; to use are loaded before res_musiconhold. If you do not do
; this, res_musiconhold will skip the files it is not able to
; understand when it loads.
;

[default]
mode=files
directory=/var/lib/asterisk/moh
;
;[native-random]
;mode=files
;directory=/var/lib/asterisk/moh
;random=yes ; Play the files in a random order

; =========
; Other (non-native) playback methods
; =========

;[manual]
;mode=custom
; Note that with mode=custom, a directory is not required, such as when reading
; from a stream.
;directory=/var/lib/asterisk/mohmp3
;application=/usr/bin/mpg123 -q -r 8000 -f 8192 -b 2048 --mono -s

;[ulawstream]
;mode=custom
;application=/usr/bin/streamplayer 192.168.100.52 888
;format=ulaw

; mpg123 on Solaris does not always exit properly; madplay may be a better
; choice
;[solaris]
;mode=custom
;directory=/var/lib/asterisk/mohmp3
;application=/site/sw/bin/madplay -Q -o raw:- --mono -R 8000 -a -12[/code]

Here’s a little “music on hold” test
; listen to hold music for 20 seconds
exten => 2000,1,Answer
exten => 2000,n,SetMusicOnHold(default)
exten => 2000,n,WaitMusicOnHold(20)
exten => 2000,n,Background(vm-goodbye)
exten => 2000,n,Hangup

According to your features.conf , **7 should park a call, but I’m not sure about the **.

I’d try the moh test, then the **7.

Hi

Adding the MusicOnHold test to the [default] context of my extensions.conf and then dialing 2000 on the phone gives hold music and then goodbye.

Using any of the dial commands in the feature.conf (other than call pickup *30) does nothing

are you able to transfer regular calls? If extension 100 calls extension 200 and wants to transfer to ext 300, extension 200 could call #1300# to do a blind transfer or *2300# to do an attended transfer. Using this same logic, doing *2700# should park and announce. Do you have a Tt and/or Kk on your dial command?

Hi again

No the blind/attended transfers have never work (Ive always put it down to the Aastra 57i handsets - I always have to use the Aastra Xfer button instead)

My extensions.conf file is a bit of a mess as it is a mix of the 2 GUI versions and backend changes to get things working.
And Ive never been confident to remove things when its not broken.

[code];!
;! Automatically generated configuration file
;! Filename: extensions.conf (/etc/asterisk/extensions.conf)
;! Generator: Manager
;! Creation Date: Tue Apr 21 07:51:37 2009
;!
[general]
static = yes
writeprotect = no
autofallthrough = yes
clearglobalvars = no
priorityjumping = no

[globals]
trunk_1 = SIP/trunk_1
trunk_1_cid = unknown
DIALOPTIONS = tThHkK
FEATURES =
include => parkedcalls
RINGTIME = 20
FOLLOWMEOPTIONS =

[dundi-e164-canonical]

[dundi-e164-customers]

[dundi-e164-via-pstn]

[dundi-e164-local]
include => dundi-e164-canonical
include => dundi-e164-customers
include => dundi-e164-via-pstn

[dundi-e164-switch]
switch => DUNDi/e164

[dundi-e164-lookup]
include => dundi-e164-local
include => dundi-e164-switch

[macro-dundi-e164]
exten => s,1,Goto(${ARG1},1)
include => dundi-e164-lookup

[iaxtel700]
exten => _91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)

[iaxprovider]

[trunkint]
exten => _9011.,1,Macro(dundi-e164,${EXTEN:4})
exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunkld]
exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1})
exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunklocal]
exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[trunktollfree]
exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})

[international]
ignorepat => 9
include => longdistance
include => trunkint

[longdistance]
ignorepat => 9
include => local
include => trunkld

[local]
ignorepat => 9
include => default
include => parkedcalls
include => voicemenus
include => trunklocal
include => iaxtel700
include => trunktollfree
include => iaxprovider

[macro-stdPrivacyexten]
exten => s,1,Dial(${ARG2},20|p)
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-DONTCALL,1,Goto(${ARG3},s,1)
exten => s-TORTURE,1,Goto(${ARG4},s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${ARG1})

[macro-page]
exten => s,1,ChanIsAvail(${ARG1}|js)
exten => s,n,GoToIf([${AVAILSTATUS} = “1”]?autoanswer:fail)
exten => s,n(autoanswer),Set(_ALERT_INFO=“RA”)
exten => s,n,SIPAddHeader(Call-Info: Answer-After=0)
exten => s,n,NoOp()
exten => s,n,Dial(${ARG1}||)
exten => s,n(fail),Hangup

[demo]
exten => s,1,Wait(1)
exten => s,n,Answer
exten => s,n,Set(TIMEOUT(digit)=5)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n(restart),BackGround(demo-congrats)
exten => s,n(instruct),BackGround(demo-instruct)
exten => s,n,WaitExten
exten => 2,1,BackGround(demo-moreinfo)
exten => 2,n,Goto(s,instruct)
exten => 3,1,Set(LANGUAGE()=fr)
exten => 3,n,Goto(s,restart)
exten => 1000,1,Goto(default,s,1)
exten => 1234,1,Playback(transfer,skip)
exten => 1234,n,Macro(stdexten,1234,${CONSOLE})
exten => 1235,1,Voicemail(u1234)
exten => 1236,1,Dial(Console/dsp)
exten => 1236,n,Voicemail(u1234)
exten => #,1,Playback(demo-thanks)
exten => #,n,Hangup
exten => t,1,Goto(#,1)
exten => i,1,Playback(invalid)
exten => 500,1,Playback(demo-abouttotry)
exten => 500,n,Dial(IAX2/guest@misery.digium.com/s@default)
exten => 500,n,Playback(demo-nogo)
exten => 500,n,Goto(s,6)
exten => 600,1,Playback(demo-echotest)
exten => 600,n,Echo
exten => 600,n,Playback(demo-echodone)
exten => 600,n,Goto(s,6)
exten => 76245,1,Macro(page,SIP/Grandstream1)
exten => _7XXX,1,Macro(page,SIP/${EXTEN})
exten => 7999,1,Set(TIMEOUT(absolute)=60)
exten => 7999,2,Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n|d)
exten => 8500,1,VoicemailMain
exten => 8500,n,Goto(s,6)

[macro-trunkdial]
exten = s,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" > “6”]?${CALLERID(all)}:${ARG2})})
exten = s,n,Dial(${ARG1})
exten = s,n,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,1,Hangup
exten = s-BUSY,1,Hangup
exten = _s-.,1,NoOp

[asterisk_guitools]
exten = executecommand,1,System(${command})
exten = executecommand,n,Hangup()
exten = record_vmenu,1,Answer
exten = record_vmenu,n,Playback(vm-intro)
exten = record_vmenu,n,Record(${var1})
exten = record_vmenu,n,Playback(vm-saved)
exten = record_vmenu,n,Playback(vm-goodbye)
exten = record_vmenu,n,Hangup
exten = play_file,1,Answer
exten = play_file,n,Playback(${var1})
exten = play_file,n,Hangup

[phones]
plancomment = Phones
include = phones
include = internal
include = parkedcalls
include = voicemenus
include = voicemenu-custom-1
include = numberplan-custom-1
include = default
include = featuremap

[intercom]
exten = s,1,Answer
exten = s,2,Playback(beep)
exten = s,3,Set(TIMEOUT(digit)=5)
exten = s,4,WaitExten(10)
exten = *,1,Set(__SIPADDHEADER=Alert-Info: ;info=alert-autoanswer)
exten = *,2,Page(SIP/214&SIP/221&SIP/212)
exten = *,3,WaitExten(30)
exten = _XXX,1,Set(__SIPADDHEADER=Alert-Info: ;info=alert-autoanswer)
exten = _XXX,2,Page(SIP/${EXTEN})
exten = _XXX,3,WaitExten(30)

[page]
exten = *55,1,Goto(intercom,s,1)
exten = _*55.,1,Goto(intercom,s,1)
exten = _X.,1,Macro(page,SIP/${EXTEN})

[DID_trunk_1_default]
include = default
exten = _X.,1,Goto(default|215|1)
exten = s,1,ExecIf($[ “${CALLERID(num)}”="" ],SetCallerPres,unavailable)
exten = s,3,Goto(default|215|1)
exten = s,2,ExecIf($[ “${CALLERID(num)}”="" ],Set,CALLERID(all)=unknown <0000000>)

[timebasedrules]

[default]
include = page
include = intercom
include = internal
include = voicemenus
include = voicemenu-custom-1
include = parkedcalls
exten = _#6XXX,1,VoiceMail(${EXTEN:1}@default,s)
exten = 6050,1,VoiceMailMain
exten = 7000,1,Goto(voicemenu-custom-1,s,1)
exten = 500,1,VoiceMailMain(${CALLERID(num)})
exten = 300,1,Goto(ringroups-custom-2,s,1^tT)
exten = 301,1,Goto(ringroups-custom-1,s,1^tT)
exten = 302,1,Goto(ringroups-custom-3,s,1^tT)
exten = 304,1,Goto(ringroups-custom-4,s,1^tT)
exten = 303,1,Goto(ringroups-custom-5,s,1^tT)
exten = o,1,Goto(default,215,1)

[from-isdn]
exten = 408200,1,Set(CALLERID(all)=${CALLERID(num)})
exten = 408200,2,SIPAddHeader(Alert-Info: )
exten = 408200,3,Goto(internal,215,1)
exten = _408XXX,1,Set(CALLERID(all)=${CALLERID(num)})
exten = _408XXX,2,SIPAddHeader(Alert-Info: )
exten = _408XXX,3,Goto(internal,${EXTEN:-3},1)

[internal]
include = page
include = parkedcalls
include = intercom
include = ringgroups
include = ringroups-custom-1
include = ringroups-custom-2
include = ringroups-custom-3
include = ringroups-custom-4
include = voicemenus
exten = 215,1,Goto(ringroups-custom-2,s,1)
exten = 226,1,Goto(ringroups-custom-5,s,1)
exten = _2XX,1,Verbose(1|hello)
exten = _2XX,2,ChanIsAvail(SIP/${EXTEN},j)
exten = _2XX,n,Dial(SIP/${EXTEN},15^tT)
exten = _2XX,n,GotoIf($["${DIALSTATUS}" = “CHANUNAVAIL”]?650)
exten = _2XX,n,GotoIf($["${DIALSTATUS}" = “UNKNOWN”]?i,1)
exten = _2XX,n,GotoIf($["${DIALSTATUS}" = “ANSWER”]?t,1)
exten = _2XX,n,GotoIf($["${DIALSTATUS}" = “BUSY”]?850)
exten = _2XX,n,GotoIf($["${DIALSTATUS}" = “NOANSWER”]?700)
exten = _2XX,n,Goto(650)
exten = _2XX,103,Goto(215,1)
exten = _2XX,650,Hangup
exten = _2XX,850,VoiceMail(b${EXTEN})
exten = _2XX,851,Hangup
exten = _2XX,700,VoiceMail(u${EXTEN})
exten = _2XX,701,Hangup
exten = 6050,1,VoiceMailMain
exten = 500,1,VoiceMailMain(${CALLERID(num)})
exten = 700,1,parkedcalls
exten = 8,1,Directory(default,internal,f)
exten = 9,1,Directory(default,internal)
exten = i,1,Congestion
exten = h,1,Hangup
exten = t,1,Congestion

[macro-stdexten]
exten = s,1,Set(_DYNAMIC_FEATURES=${FEATURES})
exten = s,2,GotoIf($[${FOLLOWME
${ARG1}} = 1]?5:3)
exten = s,3,Dial(${ARG2},${RINGTIME},${DIALOPTIONS})
exten = s,4,Goto(s-${DIALSTATUS},1)
exten = s,5,Macro(stdexten-followme,${ARG1},${ARG2})
exten = s-NOANSWER,1,Voicemail(${ARG1},u)
exten = s-NOANSWER,2,Goto(default,s,1)
exten = s-BUSY,1,Voicemail(${ARG1},b)
exten = s-BUSY,2,Goto(default,s,1)
exten = _s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${ARG1})

[macro-stdexten-followme]
exten = s,1,Dial(${ARG2},${RINGTIME},${DIALOPTIONS})
exten = s,2,Followme(${ARG1},${FOLLOWMEOPTIONS})
exten = s,3,Voicemail(${ARG1},u)
exten = s-NOANSWER,1,Voicemail(${ARG1},u)
exten = s-BUSY,1,Voicemail(${ARG1},b)
exten = s-BUSY,2,Goto(default,s,1)
exten = _s-.,1,Goto(s-NOANSWER,1)
exten = a,1,VoicemailMain(${ARG1})

[conferences]

[ringgroups]
exten = 300,1,Goto(ringroups-custom-2|s|1^tT)
exten = 304,1,Goto(ringroups-custom-4|s|1^tT)
exten = 301,1,Goto(ringroups-custom-1|s|1^tT)
exten = 302,1,Goto(ringroups-custom-3|s|1^tT)
exten = 303,1,Goto(ringroups-custom-5|s|1^tT)

[queues]

[voicemenus]
exten = 7000,1,Goto(voicemenu-custom-1|s|1)

[voicemailgroups]

[directory]
exten = 800,1,Directory(default|default|ef)

[macro-trunkdial-failover-0.3]
exten = s,1,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} > 2]?${CID_${CALLERID(num)}}:)})
exten = s,n,GotoIf($[${LEN(${CALLERID(num)})} > 6]?1-dial,1)
exten = s,n,Set(CALLERID(all)=${IF($[${LEN(${CID_${ARG3}})} > 6]?${CID_${ARG3}}:${GLOBAL_OUTBOUNDCID})})
exten = s,n,Goto(1-dial,1)
exten = 1-dial,1,Dial(${ARG1})
exten = 1-dial,n,Gotoif(${LEN(${ARG2})} > 0 ?1-${DIALSTATUS},1:1-out,1)
exten = 1-CHANUNAVAIL,1,Dial(${ARG2})
exten = 1-CHANUNAVAIL,n,Hangup()
exten = 1-CONGESTION,1,Dial(${ARG2})
exten = 1-CONGESTION,n,Hangup()
exten = 1-out,1,Hangup()

[DID_trunk_1]
include = DID_trunk_1_default
include = parkedcalls

[DLPN_DialPlan2]
include = default
include = parkedcalls
include = conferences
include = ringgroups
include = voicemenus
include = voicemenu-custom-1
include = queues
include = voicemailgroups
include = directory
include = internal
include = page
include = intercom

[CallingRule_Local]
exten = _9XXXXXXXX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:1},trunk_1,)

[CallingRule_999]
exten = _999!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)

[CallingRule_0xxx]
exten = _0XXXXXXXXX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)

[CallingRule_1xx]
exten = _1XX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)

[CallingRule_7NNNNNNN]
exten = _7XXXXXXX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)

[CallingRule_8NNNNNNN]
exten = _8XXXXXXX!,1,Macro(trunkdial-failover-0.3,${trunk_1}/${EXTEN:0},trunk_1,)

[DLPN_DialPlan1]
include = CallingRule_Local
include = CallingRule_999
include = CallingRule_0xxx
include = CallingRule_1xx
include = CallingRule_7NNNNNNN
include = CallingRule_8NNNNNNN
include = default
include = parkedcalls
include = conferences
include = ringgroups
include = voicemenus
include = voicemenu-custom-1
include = queues
include = voicemailgroups
include = directory
include = internal
include = page
include = intercom

[ringroups-custom-2]
exten = s,1,NoOp(Reception)
exten = s,n,Dial(SIP/215,15,i)
exten = s,n,Dial(SIP/206,15,i)
exten = s,n,Goto(ringroups-custom-4,s,1^tT)
;exten = s,n,Dial (SIP/07767420717@trunk_1)
;exten = s,n,Dial (SIP/07887842635@trunk_1)
exten = s,n,Voicemail(215,u)

[ringroups-custom-4]
exten = s,1,NoOp(Support)
exten = s,n,Dial(SIP/211&SIP/212&SIP/214,15,i^tT)
exten = s,n,Voicemail(215,u)

[ringroups-custom-1]
exten = s,1,NoOp(Support AM)
exten = s,n,Dial(SIP/211&SIP/214,10,i^tT)
exten = s,n,Goto(ringroups-custom-4,s,1^tT)
exten = s,n,Voicemail(215,u)

[ringroups-custom-3]
exten = s,1,NoOp(Support PM)
exten = s,n,Dial(SIP/221,10,i^tT)
exten = s,n,Goto(ringroups-custom-4,s,1^tT)
exten = s,n,Voicemail(215,u)

[voicemenu-custom-1]
include = default
comment = Welcome
alias_exten = 7000
exten = s,1,NoOp(VoiceMailQueue)
exten = s,2,Answer
exten = s,3,Wait(1)
exten = s,4,Background(thank-you-for-calling)
exten = s,5,Background(if-u-know-ext-dial)
exten = s,6,Background(otherwise)
exten = s,7,Background(to-reach-operator)
exten = s,8,Background(pls-hold-while-try)
exten = s,9,WaitExten(6)

[ringroups-custom-5]
exten = s,1,NoOp(RingGroup 5)
exten = s,n,Dial(SIP/07891135484@trunk_1)
[/code]

This works for me, but I’m not sure what it will do for you.
; park a call in the lot
exten => 200,1,Answer
exten => 200,n,Park()
exten => 200,n,Playback(vm-goodbye)
exten => 200,n,Hangup()

Hi

Yes that seems to work, however I dont seem to be able to pickup.

If you change the 200 to 700, you might end up with the original functionality you were trying for, but at least you have a fallback.

Tried that, but dont seem to be able to pickup the call on 701

Keep this in mind; You’ve defined 20 “lots” in features.conf and each park goes into the next slot - 701, 702, etc until 720 is reached, then goes back to 701.

It announces the call is in 701 and I have tried all the slots but all I get is the engaged(busy) tone in all of them. Eventually the call is passed back to my extension.

Try this again with the CLI open and set to verbose 3 (core set verbose 3)

Hi it sounds like the phones context does not include the context parked calls

Ian

Hi

Sethsdad0627 : Here is the log verbose 3

Iainplain : I copied my extensions.conf above, the [phones] context definately has the include = parkedcalls

[code]
e[Kariel*CLI>
– Executing [123@DLPN_DialPlan1:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40mtrunkdial-failover-0.3|SIP/trunk_1/123||trunk_1|e[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:1] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40mCALLERID(num)=e[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:2] e[1;36;40mGotoIfe[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40m0?1-dial|1e[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:3] e[1;36;40mSete[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40mCALLERID(all)=e[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [s@macro-trunkdial-failover-0.3:4] e[1;36;40mGotoe[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40m1-dial|1e[0;37;40m”) in new stack

e[Kariel*CLI>
– Goto (macro-trunkdial-failover-0.3,1-dial,1)

e[Kariel*CLI>
– Executing [1-dial@macro-trunkdial-failover-0.3:1] e[1;36;40mDiale[0;37;40m(“e[1;35;40mSIP/211-0075b2e0e[0;37;40m”, “e[1;35;40mSIP/trunk_1/123e[0;37;40m”) in new stack

e[Kariel*CLI>
– Called trunk_1/123

e[Kariel*CLI>
Really destroying SIP dialog ‘14900a1121e70fb736ff9b2911f585cc@192.168.222.18’ Method: NOTIFY

e[Kariel*CLI>
– SIP/trunk_1-0075e460 is ringing

e[Kariel*CLI>
Really destroying SIP dialog ‘1f2c11090fa939b8’ Method: REGISTER

e[Kariel*CLI>
– SIP/trunk_1-0075e460 answered SIP/211-0075b2e0

e[Kariel*CLI>
– Started music on hold, class ‘default’, on SIP/trunk_1-0075e460

e[Kariel*CLI>
– Executing [700@DLPN_DialPlan1:1] e[1;36;40mAnswere[0;37;40m(“e[1;35;40mSIP/211-007627a0e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [700@DLPN_DialPlan1:2] e[1;36;40mParke[0;37;40m(“e[1;35;40mSIP/211-007627a0e[0;37;40m”, “e[1;35;40me[0;37;40m”) in new stack

e[Kariel*CLI>
== Parked SIP/211-007627a0 on 701@parkedcalls. Will timeout back to extension [DLPN_DialPlan1] s, 1 in 45 seconds

e[Kariel*CLI>
– <SIP/211-007627a0> Playing ‘digits/7’ (language ‘en’)

e[Kariel*CLI>
Really destroying SIP dialog ‘d8e42c1ff7148ae5’ Method: REGISTER

e[Kariel*CLI>
– <SIP/211-007627a0> Playing ‘digits/0’ (language ‘en’)

e[Kariel*CLI>
– <SIP/211-007627a0> Playing ‘digits/1’ (language ‘en’)

e[Kariel*CLI>
– Added extension ‘701’ priority 1 to parkedcalls
– Started music on hold, class ‘default’, on SIP/211-007627a0
== Spawn extension (DLPN_DialPlan1, s, 1) exited KEEPALIVE on ‘SIP/211-007627a0’

e[Kariel*CLI>
– Stopped music on hold on SIP/211-007627a0
– Stopped music on hold on SIP/trunk_1-0075e460

e[Kariel*CLI>
– Started music on hold, class ‘default’, on SIP/trunk_1-0075e460

e[Kariel*CLI>
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 1) exited non-zero on ‘SIP/211-0075b2e0’

e[Kariel*CLI>
Really destroying SIP dialog ‘16d427ce1889a362’ Method: ACK

e[Kariel*CLI>
– Executing [701@DLPN_DialPlan1:1] e[1;36;40mMacroe[0;37;40m(“e[1;35;40mSIP/211-006a0050e[0;37;40m”, “e[1;35;40mpage|SIP/701e[0;37;40m”) in new stack

e[Kariel*CLI>
– Executing [s@macro-page:1] e[1;36;40mChanIsAvaile[0;37;40m(“e[1;35;40mSIP/211-006a0050e[0;37;40m”, “e[1;35;40mSIP/701|jse[0;37;40m”) in new stack

e[Kariel*CLI>
== Spawn extension (macro-page, s, 1) exited non-zero on ‘SIP/211-006a0050’

e[Kariel*CLI>
Really destroying SIP dialog ‘e77fbf06c5451d20’ Method: REGISTER

e[Kariel*CLI>
Really destroying SIP dialog ‘0bf523f02489eb3c’ Method: REGISTER[/code]