Commit Graph

19203 Commits

Author SHA1 Message Date
FusionPBX
f591c04f22 Update index.lua 2022-08-04 12:43:16 -06:00
Mendel
86fe4fe1b0 sip listen port yealink cordless (#6450) 2022-08-04 12:23:11 -06:00
Mendel
10b28721f7 Add cid of remote ext to dialplan (#6449) 2022-08-04 11:53:46 -06:00
markjcrane
2f67b36276 Add add a provison variable for cp_source 2022-08-04 11:52:08 -06:00
FusionPBX
a4ff0f1007 Format the date and time with the time zone. 2022-08-02 12:59:09 -06:00
FusionPBX
2c5c522186 Add a better way to detect if the iptables chain exists. 2022-08-02 12:34:03 -06:00
FusionPBX
7103adf98f Set accountcode variable
Set the account code variable so it can be used in the dialplan after the pin_number.lua has run.
2022-08-02 09:00:55 -06:00
FusionPBX
c12b03d31a Disable the toggle. 2022-08-01 23:41:44 -06:00
FusionPBX
7f494e3baf Add the user_agent field. 2022-08-01 23:38:03 -06:00
FusionPBX
79b5f70cdf Add the user_agent field. 2022-08-01 23:37:18 -06:00
FusionPBX
d384547adb Add the user_agent field. 2022-08-01 23:36:47 -06:00
FusionPBX
0680a4d252 Add label and description for user_agent. 2022-08-01 23:36:05 -06:00
FusionPBX
054a33cf3e Add the user_agent field. 2022-08-01 23:35:31 -06:00
FusionPBX
73ded9bf60 Remove cache from switch.blocked.
Since the IP address is blocked don't need to cache it.
2022-08-01 19:37:59 -06:00
FusionPBX
854f2bf1f0 Add missing _alternate 2022-08-01 18:20:38 -06:00
Luis Daniel Lucio Quiroz
976d983174 Add period and dash to Click 2 Call (#6425)
Source can be not only numbers but letters, dots, and -. They are still valid:

name.lastname,  or name-lastname.
2022-08-01 08:45:21 -06:00
emak
3ec9cdaba1 Update deprecated sip profile params (#6445)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update external.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:38:35 -06:00
garryavx
53c20a156e Update y000000000035.cfg (#6443)
this way the $yealink_t48g_wallpaper_filename actually gets used for both the check and the setting of the wallpaper itself.
2022-08-01 08:37:52 -06:00
emak
2f8ba11520 Update deprecated sip profile params (#6444)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update external-ipv6.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:37:24 -06:00
emak
9bd300db84 Update deprecated sip profile params (#6446)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update internal-ipv6.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:34:53 -06:00
emak
305ba420dc Update deprecated sip profile params (#6447)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update internal.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:33:59 -06:00
markjcrane
d881ca7af6 Revert "Not using momentjs so removing it"
This reverts commit 11fb638d2d.
2022-08-01 08:00:35 -06:00
markjcrane
551f84d5c5 Revert "Remove momentjs"
This reverts commit a49177c5c5.
2022-08-01 07:59:53 -06:00
FusionPBX
7a71f0bf0a Less CPU used to listen to event socket. 2022-07-31 10:15:42 -06:00
FusionPBX
c20e83e64c Add additional pre-defined variables to the disa dialplan. 2022-07-30 16:41:04 -06:00
FusionPBX
5997aae095 Fix the search and add a link to arin.net 2022-07-29 15:59:21 -06:00
FusionPBX
f60d6e7557 Add proxy to the gateway list. 2022-07-29 10:28:22 -06:00
FusionPBX
95c358f8e4 Add database log for new blocked address. 2022-07-28 11:15:48 -06:00
FusionPBX
7897bd16aa Update event_guard_logs.php 2022-07-28 09:34:16 -06:00
FusionPBX
02522b11f3 Create event_guard.php 2022-07-28 09:33:09 -06:00
FusionPBX
2b457c9dfb Create root.php 2022-07-28 09:31:04 -06:00
FusionPBX
8779206311 Create event_guard_logs.php 2022-07-28 09:30:41 -06:00
FusionPBX
9c8840ed6a Create event_guard_log_edit.php 2022-07-28 09:30:00 -06:00
FusionPBX
5dd4459acd Create app_menu.php 2022-07-28 09:29:28 -06:00
FusionPBX
37f754336b Create app_languages.php 2022-07-28 09:29:01 -06:00
FusionPBX
1f6a081471 Create app_config.php 2022-07-28 09:28:36 -06:00
FusionPBX
22a243ceb4 Update and rename app/switch/resources/service/debian-event_guard.service to app/event_guard/resources/service/debian.service
Move event guard to its own directory.
2022-07-28 08:38:16 -06:00
FusionPBX
9d2efbeccb Rename app/switch/resources/service/event_guard.php to app/event_guard/resources/service/event_guard.php
Move the event_guard service to its own directory name.
2022-07-28 08:35:16 -06:00
FusionPBX
3ee97e0d76 Add more debug information. 2022-07-27 13:40:55 -06:00
FusionPBX
5a11c55553 Remove orphaned access control nodes 2022-07-27 13:28:52 -06:00
FusionPBX
287e8c07b6 Minor version update 5.0.2 2022-07-27 12:29:55 -06:00
FusionPBX
c8aaf80781 Create debian-event_guard.service 2022-07-25 19:28:18 -06:00
FusionPBX
17ab8e61ab Create event_guard.php 2022-07-25 19:24:35 -06:00
Antonio Fernandez
96df02b398 adding template support for call waiting tone (#6441) 2022-07-25 09:54:44 -06:00
agree
6e40068040 [dialplans] Allow multiple extensions per xml (#6437)
* [dialplans] Allow multiple extensions per xml

* remove extra character
2022-07-23 13:16:25 -06:00
emak
ea4a5e7f67 Check to make sure accountcode has some value (#6440)
The accountcode variable is used in a dialstring later on and if it comes back nil for any reason, then the following error is thrown:

2022-07-22 16:19:11.524674 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: attempt to concatenate global 'accountcode' (a nil value)
stack traceback:
        /usr/share/freeswitch/scripts/app/follow_me/index.lua:396: in main chunk
        /usr/share/freeswitch/scripts/app.lua:48: in main chunk

This completely breaks follow-me.

This code sets the accountcode variable to the domain name if it comes back nil during script execution, thus protecting the script from failing with an empty accountcode value in the db or query.
2022-07-22 16:47:31 -06:00
Jesse Gruver
0e9b8f15b5 Added grandstream_show_key_labels and other default values. (#6438) 2022-07-22 13:02:51 -06:00
FusionPBX
5be250c569 Set Caller ID only when the call_direction is outbound. 2022-07-20 16:15:04 -06:00
FusionPBX
1a96d4007a Additional changes to allow hangup action which has no data. 2022-07-20 09:45:11 -06:00
FusionPBX
aa488eed01 Needed to allow hangup action which has no data. 2022-07-20 09:40:23 -06:00