We use asterisk 1.4.39. We use ParkAndAnnounce to hold calls between users. We would like it to come back to a specific context, and number/priority. For the sake of this example, we'll call it Context A, Extension 4600, Priority 1. The ParkAndAnnounce happens to be in a macro that is called when the user dials 02330 - the name of the macro is doPark.
When we do the park, it wants to go back to extension contextA,02330,1 - See the excerpt below from the call stack.
We basically have had to make the return time 28800 seconds to avoid the calls ringing back. When we had them ringing back in a 60 seconds, they would repark themselves because they would call the 02330 number instead of the desired 4600.
Additionally, when the initial caller hangs up, the server does not seem to know that, so it keeps the BLF turned on as if somebody is still parked.
This used to work in version 1.4.26, but not in any of the versions above that till .39 We need to be running a version higher than .26 for realtime applications, and so going back to .26 is not an option.
Any ideas? Are we recompiling with an incorrect header file? I am not sure what else it could be.
===== Excerpt from call stack
ParkAndAnnounce("SIP/xyz.com-000001fb", "beep|28800|Local/PARKNOANNOUNCE@otherfunctions/n|contexta|4600|1") in new stack
-- Dial Tech,String: (Local,PARKNOANNOUNCE@otherfunctions/n)
-- Return Context: (contexta,4600,1) ID: +15555555555
-- Started music on hold, class 'abc', on SIP/xyz.com-000001fb
== Parked SIP/xyz.com-000001fb on 1510@parkedcalls. Will timeout back to extension [contexta] 02330, 1 in 28800 seconds
===== End Excerpt from call stack