diff --git a/php/ami_set.php b/php/ami_set.php index 806d244..9df8b25 100644 --- a/php/ami_set.php +++ b/php/ami_set.php @@ -24,7 +24,7 @@ fputs($socket, 'Secret: ' . $ami_pass . "\r\n\r\n"); if($section == 'sippeers') { fputs($socket, "Action: QueueAdd\r\n"); fputs($socket, 'Interface: SIP/' . $value . "\r\n"); - fputs($socket, "Queue: warteschlange\r\n\r\n"); + fputs($socket, "Queue: " . $queue_name . "\r\n\r\n"); } // @@ -34,7 +34,7 @@ if($section == 'sippeers') { if($section == 'queuemembers') { fputs($socket, "Action: QueueRemove\r\n"); fputs($socket, 'Interface: SIP/' . $value . "\r\n"); - fputs($socket, "Queue: warteschlange\r\n\r\n"); + fputs($socket, "Queue: " . $queue_name . "\r\n\r\n"); } // It seems that it needs some time to execute