I'm running Polycom VVX450 phones and using page.lua to handle intercom-style paging. I modified the default "page-extension" diaplan to not need *8+ext, just dial the extension. It works great when someone presses a BLF key while idle — the target phone auto-answers.
However, if a user is on a call and uses the BLF key to transfer the call, the call still auto-answers.
I've tried adding a condition to the "page-extension" diaplan to detect if the call is a transfer using sip_refer_to, but it appears to be undefined. Also tried a condition for sip_from_user, but this breaks paging.
I’ve tried detecting a transfer inside page.lua by checking sip_refer_to, sip_replaces, and is_transfer, but these variables are either missing or UNDEF.
I would really like a single BLF key to be able to handle both paging and transferring.
However, if a user is on a call and uses the BLF key to transfer the call, the call still auto-answers.
I've tried adding a condition to the "page-extension" diaplan to detect if the call is a transfer using sip_refer_to, but it appears to be undefined. Also tried a condition for sip_from_user, but this breaks paging.
I’ve tried detecting a transfer inside page.lua by checking sip_refer_to, sip_replaces, and is_transfer, but these variables are either missing or UNDEF.
I would really like a single BLF key to be able to handle both paging and transferring.