Ignore requests from NSPlayer aka mplayer since the first delivery in iframe will...
authorJoey Schulze <joey@infodrom.org>
Sun, 20 Dec 2009 22:08:54 +0000 (23:08 +0100)
committerJoey Schulze <joey@infodrom.org>
Fri, 25 Feb 2011 17:40:23 +0000 (18:40 +0100)
phone.php

index 6873ae7..fb9d525 100644 (file)
--- a/phone.php
+++ b/phone.php
@@ -96,6 +96,8 @@ function callinfo($dir, $call)
 
 function send_call($dir, $call)
 {
 
 function send_call($dir, $call)
 {
+  if ($_SERVER['HTTP_USER_AGENT'] == 'NSPlayer') return;
+
   $dir = str_replace('/','x',$dir);
   $call = str_replace('/','x',$call);
 
   $dir = str_replace('/','x',$dir);
   $call = str_replace('/','x',$call);