From 845c3cb73f887ecd621d181dc3619b5c54beb180 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 28 Oct 2012 00:34:14 +0000 Subject: [PATCH] Add a sip header for page.lua to fix auto answer on Polycom phones. --- includes/install/scripts/page.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/install/scripts/page.lua b/includes/install/scripts/page.lua index aacf9c03ae..73f1b62676 100644 --- a/includes/install/scripts/page.lua +++ b/includes/install/scripts/page.lua @@ -122,7 +122,7 @@ if ( session:ready() ) then --this extension is the caller that initated the page else --originate the call - cmd_string = "bgapi originate {sip_auto_answer=true,hangup_after_bridge=false,origination_caller_id_name='"..caller_id_name.."',origination_caller_id_number="..caller_id_number.."}user/"..extension.."@"..domain_name.." conference:page-"..destination_number.."@page+"..flags.." inline"; + cmd_string = "bgapi originate {sip_auto_answer=true,sip_h_Alert-Info='Ring Answer',hangup_after_bridge=false,origination_caller_id_name='"..caller_id_name.."',origination_caller_id_number="..caller_id_number.."}user/"..extension.."@"..domain_name.." conference:page-"..destination_number.."@page+"..flags.." inline"; api:executeString(cmd_string); destination_count = destination_count + 1; end