[asterisk-users] Stuck Parked Calls?

Jonathan C. Bailey jbailey at co.marshall.ia.us
Wed Feb 25 08:39:42 CST 2009


I've lurked for a while, but I think this is one of my first "pleas" for help. I'm having issues where a parked call using the macro below is getting "stuck". Users park the call via a blfxfer key on an Aastra phone. If the call is a blind transfer, it tries to park the call. If it isn't a blind transfer, it tries to unpark the call. Only 2 extensions (2759 and 2760) are doing the parking. The other extensions only pick up calls (by dialing the 3 digit park code. The phone shows as in use and there is a call that I see via "core show channels". I can't seem to soft hangup the stuck channel either. Only killing Asterisk forcefully will solve the issue. We're running Asterisk 1.4.18.

Thanks for any help!

[parallelparking]
exten => _7[89]X,1,Noop(Attempting to parallel park...)
exten => _7[89]X,n,Answer
exten => _7[89]X,n,Set(PARKINGEXTEN=${EXTEN})
exten => _7[89]X,n,GotoIf($["${BLINDTRANSFER}" != ""]?dopark:dounpark)

exten => _7[89]X,n(dopark),Noop(Going to try to park this call)
exten => _7[89]X,n,Set(RECALLEXTEN=${BLINDTRANSFER:4:4})
exten => _7[89]X,n,ParkAndAnnounce(PARKED|180|Local/parkedannounce at parallelparking|parkreturn,${RECALLEXTEN},1)
exten => _7[89]X,n,Hangup

exten => _7[89]X,n(dounpark),Noop(Going to try to un-park this call)
exten => _7[89]X,n,ParkedCall(${EXTEN})
exten => _7[89]X,n,Hangup

exten => parkedannounce,1,Noop
exten => parkedannounce,n,Answer
exten => parkedannounce,n,Wait(1)
exten => parkedannounce,n,Hangup

[parkreturn]
exten => _XXXX,1,Noop(Returning Parked Call)
exten => _XXXX,n,SIPAddHeader(Alert-Info: info=<${AASTRA_PARKRINGBACK}>)
exten => _XXXX,n,Set(CALLERID(name)=FrPark:${CALLERID(name)})
exten => _XXXX,n,Dial(SIP/${EXTEN},60)
exten => _XXXX,n,Hangup


Jonathan Bailey
Marshall County, Iowa
1 E Main St, Marshalltown, IA 50158



More information about the asterisk-users mailing list