Browse code

added appinfo/info.xml appinfo/signature.json CHANGELOG.txt css/style.css js/settings.js js/launchphone.js lib/AppInfo/Application.php lib/Service/SphoneService.php templates/settings.php templates/index.php templates/content/index.php js/jquery-4.0.0.min.js js/jquery-ui-1.14.2.min.js

DoubleBastionAdmin authored on 23/11/2026 19:03:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,67 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SIPTripPhone\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SIPTripPhone\Controller\PageController;
31
+use OCA\SIPTripPhone\Notification\Notifier;
32
+use OCP\Notification\IManager;
33
+use OCP\Util;
34
+
35
+class Application extends App {
36
+
37
+	public function __construct(array $urlParams=array()) {
38
+	        parent::__construct('sip_trip_phone', $urlParams);
39
+
40
+            $container = $this->getContainer();
41
+
42
+            // Controllers
43
+            $container->registerService('PageController', function($c) {
44
+                return new PageController(
45
+                  $c->query('AppName'),
46
+                  $c->query('Request')
47
+                );
48
+            });
49
+
50
+            // Add app's own jQuery and jQuery UI libraries
51
+            Util::addScript('sms_relentless', 'jquery-4.0.0.min');
52
+            Util::addScript('sms_relentless', 'jquery-ui-1.14.2.min');
53
+
54
+            // Set the default time zone
55
+            $gettimezone = \OC::$server->get(\OCP\IConfig::class)->getSystemValue('logtimezone', 'UTC');
56
+            date_default_timezone_set($gettimezone);
57
+	}
58
+
59
+	public function register() {
60
+
61
+		$server = $this->getContainer()->getServer();
62
+
63
+                $app = new \OCA\SIPTripPhone\AppInfo\Application();
64
+                $app->register();
65
+
66
+        }
67
+}
Browse code

removed appinfo/info.xml appinfo/signature.json CHANGELOG.txt css/style.css js/settings.js js/launchphone.js lib/AppInfo/Application.php lib/Service/SphoneService.php templates/settings.php templates/index.php templates/content/index.php

DoubleBastionAdmin authored on 23/11/2026 18:29:30
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,61 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SIPTripPhone\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SIPTripPhone\Controller\PageController;
31
-
32
-
33
-class Application extends App {
34
-
35
-	public function __construct(array $urlParams=array()) {
36
-		parent::__construct('sip_trip_phone', $urlParams);
37
-
38
-        $container = $this->getContainer();
39
-
40
-          // Controllers
41
-          $container->registerService('PageController', function($c) {
42
-              return new PageController(
43
-                  $c->query('AppName'),
44
-                  $c->query('Request')
45
-              );
46
-          });
47
-
48
-	}
49
-
50
-	public function register() {
51
-
52
-                $gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
53
-                date_default_timezone_set($gettimezone);
54
-
55
-		$server = $this->getContainer()->getServer();
56
-
57
-                $app = new \OCA\SIPTripPhone\AppInfo\Application();
58
-                $app->register();
59
-
60
-        }
61
-}
Browse code

added appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt lib/AppInfo/Application.php lib/Controller/SphoneController.php lib/Service/SphoneService.php js/settings.js js/launchphone.js phone/scripts/app.js

DoubleBastionAdmin authored on 10/03/2025 10:52:33
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,61 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SIPTripPhone\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SIPTripPhone\Controller\PageController;
31
+
32
+
33
+class Application extends App {
34
+
35
+	public function __construct(array $urlParams=array()) {
36
+		parent::__construct('sip_trip_phone', $urlParams);
37
+
38
+        $container = $this->getContainer();
39
+
40
+          // Controllers
41
+          $container->registerService('PageController', function($c) {
42
+              return new PageController(
43
+                  $c->query('AppName'),
44
+                  $c->query('Request')
45
+              );
46
+          });
47
+
48
+	}
49
+
50
+	public function register() {
51
+
52
+                $gettimezone = \OC::$server->getConfig()->getSystemValue('logtimezone', 'UTC');
53
+                date_default_timezone_set($gettimezone);
54
+
55
+		$server = $this->getContainer()->getServer();
56
+
57
+                $app = new \OCA\SIPTripPhone\AppInfo\Application();
58
+                $app->register();
59
+
60
+        }
61
+}
Browse code

removed appinfo/info.xml appinfo/signature.json appinfo/routes.php CHANGELOG.txt lib/AppInfo/Application.php lib/Controller/SphoneController.php lib/Service/SphoneService.php js/settings.js js/launchphone.js phone/scripts/app.js

DoubleBastionAdmin authored on 10/03/2025 10:43:29
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,57 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SIPTripPhone\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SIPTripPhone\Controller\PageController;
31
-
32
-
33
-class Application extends App {
34
-
35
-	public function __construct(array $urlParams=array()) {
36
-		parent::__construct('sip_trip_phone', $urlParams);
37
-
38
-        $container = $this->getContainer();
39
-
40
-          // Controllers
41
-          $container->registerService('PageController', function($c) {
42
-              return new PageController(
43
-                  $c->query('AppName'),
44
-                  $c->query('Request')
45
-              );
46
-          });
47
-
48
-	}
49
-
50
-	public function register() {
51
-		$server = $this->getContainer()->getServer();
52
-
53
-                $app = new \OCA\SIPTripPhone\AppInfo\Application();
54
-                $app->register();
55
-
56
-        }
57
-}
Browse code

added contacts list and call recording and upgraded SIP.js library

DoubleBastionAdmin authored on 21/05/2024 02:08:44
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,57 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SIPTripPhone\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SIPTripPhone\Controller\PageController;
31
+
32
+
33
+class Application extends App {
34
+
35
+	public function __construct(array $urlParams=array()) {
36
+		parent::__construct('sip_trip_phone', $urlParams);
37
+
38
+        $container = $this->getContainer();
39
+
40
+          // Controllers
41
+          $container->registerService('PageController', function($c) {
42
+              return new PageController(
43
+                  $c->query('AppName'),
44
+                  $c->query('Request')
45
+              );
46
+          });
47
+
48
+	}
49
+
50
+	public function register() {
51
+		$server = $this->getContainer()->getServer();
52
+
53
+                $app = new \OCA\SIPTripPhone\AppInfo\Application();
54
+                $app->register();
55
+
56
+        }
57
+}
Browse code

removed files to add contacts lits and recording and to upgrade the SIP.js library

DoubleBastionAdmin authored on 21/05/2024 01:25:05
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,57 +0,0 @@
1
-<?php
2
-/**
3
- * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
- *
5
- * @author Double Bastion LLC
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
- * License as published by the Free Software Foundation; either
12
- * version 3 of the License, or any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public
20
- * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
-
24
-declare(strict_types=1);
25
-
26
-namespace OCA\SIPTripPhone\AppInfo;
27
-
28
-use OCP\AppFramework\App;
29
-use OCP\IServerContainer;
30
-use OCA\SIPTripPhone\Controller\PageController;
31
-
32
-
33
-class Application extends App {
34
-
35
-	public function __construct(array $urlParams=array()) {
36
-		parent::__construct('sip_trip_phone', $urlParams);
37
-
38
-        $container = $this->getContainer();
39
-
40
-          // Controllers
41
-          $container->registerService('PageController', function($c) {
42
-              return new PageController(
43
-                  $c->query('AppName'),
44
-                  $c->query('Request')
45
-              );
46
-          });
47
-
48
-	}
49
-
50
-	public function register() {
51
-		$server = $this->getContainer()->getServer();
52
-
53
-                $app = new \OCA\SIPTripPhone\AppInfo\Application();
54
-                $app->register();
55
-
56
-        }
57
-}
Browse code

Created repository.

DoubleBastionAdmin authored on 02/03/2022 00:26:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,57 @@
1
+<?php
2
+/**
3
+ * @copyright 2021 Double Bastion LLC <www.doublebastion.com>
4
+ *
5
+ * @author Double Bastion LLC
6
+ *
7
+ * @license GNU AGPL version 3 or any later version
8
+ *
9
+ * This program is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
18
+ *
19
+ * You should have received a copy of the GNU Affero General Public
20
+ * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+declare(strict_types=1);
25
+
26
+namespace OCA\SIPTripPhone\AppInfo;
27
+
28
+use OCP\AppFramework\App;
29
+use OCP\IServerContainer;
30
+use OCA\SIPTripPhone\Controller\PageController;
31
+
32
+
33
+class Application extends App {
34
+
35
+	public function __construct(array $urlParams=array()) {
36
+		parent::__construct('sip_trip_phone', $urlParams);
37
+
38
+        $container = $this->getContainer();
39
+
40
+          // Controllers
41
+          $container->registerService('PageController', function($c) {
42
+              return new PageController(
43
+                  $c->query('AppName'),
44
+                  $c->query('Request')
45
+              );
46
+          });
47
+
48
+	}
49
+
50
+	public function register() {
51
+		$server = $this->getContainer()->getServer();
52
+
53
+                $app = new \OCA\SIPTripPhone\AppInfo\Application();
54
+                $app->register();
55
+
56
+        }
57
+}