Ignore requests from NSPlayer aka mplayer since the first delivery in iframe will...
[infodrom/phone] / 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)
 {
+  if ($_SERVER['HTTP_USER_AGENT'] == 'NSPlayer') return;
+
   $dir = str_replace('/','x',$dir);
   $call = str_replace('/','x',$call);