I need help figuring out how to enable use of a star-code to transfer an inbound call directed to a Group to a Parking Lot, once it has been answered by a User who is a member of that Group.
I was previously helped by @sduthil to add the tT Call Options to the DialPlan so I could use a star-code (I use blind transfer) to transfer a call I was on to the Parking Lot.
I tested the recommended solution and it worked so I documented it at Keystroke / Softkey setting to send call to Parking Lot .
A simple solution, (the best solutions are often elegantly simple), adding tT via the xivo-subrgbl-user global subroutine with
[xivo-subrgbl-user]
exten = s,1,NoOp(Enabling users to transfer calls using star-codes for Blind or Attended transfer)
same = n,Set(XIVO_CALLOPTIONS=tT${XIVO_CALLOPTIONS})
same = n,Return()
I have started this new post and will, when a solution is found, cross-post to that forum entry, but since that post was already marked as solved, I figured it would be best to start a new post.
Unfortunately, my testing at the time must have been limited to internal calls (User to User), or inbound calls going directly to a User, since I am now setting up a production system and discovered that when I try to send a call that came in from outside the system (a DID) and goes through a Group to a User, the solution does NOT work.
If I dial direct to a User, the solution works, but NOT if the call is answered by a Group and then sent to the members of that Group.
As I re-read the documentation, that does make sense.
The DialPlan variable I used to add the tT options to the call was XIVO_CALLOPTIONS and, according to the documentation, that variable is only available to the Agent, Outbound and User subroutines (which explains why it works with User-to-User calls or calls going directly to a User) so when I used the xivo-subrgbl-user global subroutine, those calls worked fine.
But the XIVO_CALLOPTIONS variable is NOT available to the xivo-subrgbl-group and even if I create a custom subroutine and add it to the Group subroutine field, it does not pick up the change to add tT to XIVO_CALLOPTIONS.
So, does anyone have an idea on how I can add the tT options to the DialPlan for calls answered by a Group so when a Group member answers the call, the Group member can use a star code to transfer the call to a Parking Lot?