@markosjal
Sorry that my dialplan is a little confusing. I’ll try to clarify.
Oh my, while typing an answer, I saw that there were missing line breaks in my first post. Sorry. That may have caused the problem. In case you did not correct it already in your dialplan, this should be correct:
[special-parking]
include => parkedcalls
exten = _6[1-9],hint,park:7${EXTEN:1:1} @parkedcalls
exten = _6[1-9],1,NoOp(caller {CALLERID(number)} called {CALLERID(dnid)})
same = n,Set(PARKINGEXTEN=7${EXTEN:1:1})
same = n,Gotoif([{DEVICE_STATE(park:{PARKINGEXTEN}@parkedcalls
)}==INUSE]?pickup)
same = n,Park(default,s)
same = n,Hangup
same = n(pickup),ParkedCall(default,{PARKINGEXTEN})
same = n,Hangup
If this was not the reason, let me try again.
You use the extension 61 to park the active call, i.e. (blind) transfer your active call to number 61. Note that it is actually parked on the parking slot 71 due to this line:
same = n,Set(PARKINGEXTEN=7${EXTEN:1:1})
Hence, you should be able to pick up that call by manually dialing 71.
One reason it did not work may be that you accidentally missed the hint
statement. It is mandatory for my dialplan example.
exten = _6[1-9],hint,park:7${EXTEN:1:1} @parkedcalls
Nevertheless, here is a simplified version of [special-parking]
where BLF is not working but you use the park slot numbers directly.
[special-parking]
include => parkedcalls
exten = _7[1-9],1,NoOp(caller {CALLERID(number)} called {CALLERID(dnid)})
same = n,Set(PARKINGEXTEN=${EXTEN})
same = n,Park(default,s)
same = n,Hangup
exten = _8[1-9],1,NoOp(caller {CALLERID(number)} called {CALLERID(dnid)})
same = n,ParkedCall(default,7${EXTEN:1:1})
same = n,Hangup
With this dialplan, you set the Call Park ID
on phone 1 to 71, on phone two to 72 etc. I assume your phones have a pick up button to assign Pickup ID
. This would be 81, 82 and so on.
To simplify your life when deploying many phones, you could think about using the phones CALLERID(num)
to derive the parking slot number and set the same Park Call ID
to all phones.
I apologize for the missing line breaks in my initial post.
Let me know if this works now.
Best
EDIT: This is weird. Preview did show correct line breaks but actual post did not have them.