Action Trigger Hold Pickup AstCall phone number choice

Bug #1570062 reported by Josh Stompro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

The current example Action Trigger Event Definition for Hold Pickup phone calls using the AstCall (Asterisk PBX) reactor may need to be modified.

Currently the example grabs the phone number to call by taking the usr.day_phone from the first item.

[% phone = target.0.usr.day_phone | replace('[\s\-\(\)]', '') -%]

But when customers are placing holds they have the option of specifying which phone number should be called, which gets stored in the action.hold_request record as the hold_request.phone_notify field.

So I'm wondering if it shouldn't be something like this instead?
[% phone = target.0.phone_notify | replace('[\s\-\(\)]', '') -%]

Thanks
Josh

Elaine Hardy (ehardy)
tags: added: actiontrigger
Michele Morgan (mmorgan)
tags: added: holds
Dan Briem (dbriem)
tags: added: circ-holds
removed: holds
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.