Merge pull request #5743 from greenbea/patch-12

click to call do not show command to users
This commit is contained in:
FusionPBX
2021-01-27 21:59:25 -07:00
committed by GitHub

View File

@@ -2,7 +2,7 @@
/* $Id$ */
/*
click_to_call.php
Copyright (C) 2008, 2018 Mark J Crane
Copyright (C) 2008, 2021 Mark J Crane
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -209,7 +209,7 @@
else {
//display the last command
$switch_cmd = "api originate ".$source.$switch_cmd;
echo "<div align='center'>".$switch_cmd."<br /><br /><strong>".$src." has called ".$dest."</strong></div>\n";
echo "<div align='center'><strong>".$src." has called ".$dest."</strong></div>\n";
//show the command result
$result = trim(event_socket_request($fp, $switch_cmd));
if (substr($result, 0,3) == "+OK") {