403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/comms/atslog/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/comms/atslog/files/patch-ldk-300.lib
--- libexec/ldk-300.lib.orig	Sun Mar  4 17:48:54 2007
+++ libexec/ldk-300.lib	Tue Mar 20 19:59:52 2007
@@ -1,7 +1,7 @@
 # ATSlog version 2.1.1 build 664 www.atslog.com
 #
 # VENDOR: LG
-# MODELS: LDK-100,LDK-300
+# MODELS: LDK-100,LDK-300,ARIASOHO
 # AUTHOR: Alex Samorukov samm@os2.kiev.ua
 #
 # TESTLOG: LG LDK-300.txt
@@ -42,7 +42,7 @@
 	
 	
 	$co=int($co);
-	$forwarded=0; # please, FIXME
+	$forwarded=0;
 	
 	if ($dialed_number=~/(\d+)/)
 	{
@@ -52,19 +52,22 @@
 		$number=0;
 	}
 	
-	if($dialed_number =~ /I/){
+	if($dialed_number =~ /^[IG]/){
 		$way='1';
-		# detection of the CID line
-		if($dialed_number =~ /^I(\d+)/)
-		{
-			$nubmer=$1;
-		}
-		else {
-			$number=0;
-		}
-	}else{
+		$forwarded=0;
+	}
+	elsif($dialed_number =~ /^O/){
+		$way='2';
+		$forwarded=0;
+	}
+	elsif($dialed_number =~ /^T/){
 		$way='2';
-	};
+		$forwarded=1;
+	}
+	elsif($dialed_number =~ /^t/){
+		$way='1';
+		$forwarded=1;
+	}
 	
 	if ($date=~(/(\d{2})\/(\d{2})\/(\d{2})/)) {
 		$Month=$2;

Youez - 2016 - github.com/yon3zu
LinuXploit