Commit Graph

7327 Commits

Author SHA1 Message Date
FusionPBX 6081a34833
Update {$mac}.xml (#6483)
* Update {$mac}.xml

* Update {$mac}.xml
2022-10-05 15:49:06 -06:00
FusionPBX 4d8496f4ad
Fix the event socket connected method
It was not detecting the connection to event socket correctly. 
This change resolve the high cpu usage for event guard.
2022-10-04 12:36:27 -06:00
FusionPBX aeec91fae8
Fix insert on for child data
Add a few try catch,
Add ; to the end of a few SQL queries
2022-09-30 12:46:44 -06:00
FusionPBX c28dcab2ca
Add grandstream_enable_call_features template var (#6480)
* Add grandstream_enable_call_features template var

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml
2022-09-27 09:02:31 -06:00
FusionPBX 0e163a8e68
Update {$mac}.xml 2022-09-27 08:58:20 -06:00
jonathanblack1000 d084f68a45
Update Grandstream Templates on most common models (#6479)
Add grandstream_missed_call_log, grandstream_missed_call_notification, grandstream_missed_call_backlight, grandstream_firmware_upgrade_protocol, grandstream_onhook_dial_barging,  grandstream_transfer_mode_via_vpk, grandstream_enable_call_features.
Add condition on grandstream_distinctive_ringtone_name_1, and grandstream_distinctive_ringtone_name_2.
Update Connection request user/pw to work better with GDMS.
On grandstream_wallpaper_url, use current setting name on GRP2613
2022-09-27 08:17:31 -06:00
FusionPBX a355dda5b7
Fix a copy error.
Fixed the copy issue when the data includes insert_user, insert_update, update_user and update_date.
2022-09-20 13:56:54 -06:00
FusionPBX e29877e958
Move unset parameters outside of the debug
Unset of the parameters is required or can have parameters that interfere with other queries.
2022-09-19 09:30:20 -06:00
FusionPBX 4400618830
Sub array data use the child table name.
In Destination edit it was using the dialplan table name instead of child dialplan details table.
2022-09-18 04:47:17 -06:00
FusionPBX 50b66f8bea
If the domain_uuid is null the data is global.
This error broken dialplan edit when saving a global dialplan.
2022-09-18 03:08:18 -06:00
FusionPBX d5bd5957a4
Minor edit add a few spaces. 2022-09-18 02:59:58 -06:00
FusionPBX 7c2017bd03
On insert and update add the user and date 2022-09-18 02:57:43 -06:00
FusionPBX 2ff62f638b
Add a few minor changes for code consistency. 2022-09-18 02:13:33 -06:00
frytimo ba3b60b07b
Move database methods to static and document database class (#6474)
* Add new static method to created newly connected database object

* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.

* More docs & removed the ability to set any value within the object.

Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-09-17 15:44:21 -06:00
FusionPBX c9a661de6f
Optional to send syslog message for the cache delete and flush 2022-09-10 11:40:59 -06:00
Joyce Babu ae7c312136
Add Telekonnectors Galaxy 1000 Plus template (#6469) 2022-09-07 16:36:03 -06:00
Norman King 7369409648
Allow setting hanging group mode on a per line basis for grandstream … (#6472)
* allow setting hanging group mode on a per line basis for grandstream dp bases.

* Keep grandstream_hanging_group_mode for better backwards compatibility.
2022-09-07 16:24:49 -06:00
FusionPBX a43388bace
Increase the timeout to 30000 microseconds.
30,000 Microseconds = 0.03 Seconds. Longer timeout reduces the CPU. If the timeout is too long then the Status -> SIP STATUS page will take longer to load.
2022-08-27 16:45:07 -06:00
frytimo 09dbdfb79f
Removed usleep command (#6468)
* Removed usleep command

* Update event_socket.php
2022-08-26 16:53:25 -06:00
FusionPBX 56de8714fa
Add base.active_handset.number = 8 to Yealink w60b
#Sets the amount of active handsets allowed on the base station, options are 4 or 8
base.active_handset.number = 8
2022-08-26 14:45:19 -06:00
FusionPBX b8f1eb7f10
Add function to check if we are connected to event soscket 2022-08-26 11:48:47 -06:00
frytimo 6bb6ae6b2b
Fix PHP warning for PDO::setAttribute() requires 2 parameters (#6464)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-08-24 14:09:33 -06:00
yois615 04d3b0bfe0
[ht814] Grandstream escape html and sip_port (#6457) 2022-08-22 11:11:23 -06:00
Harry Foster 3d0fe368ac
Adding the Yealink Tone Country setting to all templates, and including two more minor revisions of handsets that have been released. (#6458)
* Added two new minor hardware revisions, the CP925 and T42U, and added the voice.tone.country = {} to all templates, previously missing on most

* Minor typo from a wrong window issue, and removing the commented examples for easier grepping
2022-08-22 11:10:24 -06:00
Joyce Babu 6365b28cf2
Add Telekonnectors Galaxy 1000 template. (#6442) 2022-08-20 09:28:15 -06:00
FusionPBX ea9b9ce621
Update additional occurances of PDO::PGSQL_ATTR_DISABLE_PREPARES 2022-08-18 17:53:33 -06:00
FusionPBX 2783cbd251
Update database.php 2022-08-18 17:39:51 -06:00
FusionPBX 98b19d1f22
Only add PDO::PGSQL_ATTR_DISABLE_PREPARES for versions of PHP that support it. 2022-08-18 17:37:43 -06:00
FusionPBX 00c9452e13
Add a line feed to the Yealink T58w after outbound_proxy_enable 2022-08-10 22:50:55 -06:00
FusionPBX 59b42035e4
directory.xml 2022-08-09 14:13:53 -06:00
FusionPBX d67fa590bd
Update internal-ipv6.xml.noload 2022-08-09 10:31:30 -06:00
FusionPBX d9c2388975
Update internal.xml.noload 2022-08-09 10:30:46 -06:00
FusionPBX df3a492816
Update external.xml.noload 2022-08-09 10:30:23 -06:00
FusionPBX d4572fcb0f
Update internal.xml.noload 2022-08-09 10:29:19 -06:00
FusionPBX 8431d419ca
Reduce round trips to the database server.
Add PDO attribute:  PDO::PGSQL_ATTR_DISABLE_PREPARES
https://prototype.php.net/manual/en/ref.pdo-pgsql.php
2022-08-08 16:58:52 -06:00
FusionPBX 38fa7591d5
Add the acl and move the dtmf-type. 2022-08-06 17:10:59 -06:00
FusionPBX 4d88052984
Add a description for track-calls 2022-08-06 17:04:01 -06:00
FusionPBX 6299e91d76
Sync up the external-ipv6 SIP Profile 2022-08-06 17:01:16 -06:00
FusionPBX eea25a336d
Sync up the internal ipv6 SIP Profile 2022-08-06 16:35:10 -06:00
FusionPBX 6e746c89a4
Sync up the external SIP Profile 2022-08-06 15:47:36 -06:00
FusionPBX 174a72a9fa
Sync up the internal SIP Profile 2022-08-06 15:29:18 -06:00
Mendel 86fe4fe1b0
sip listen port yealink cordless (#6450) 2022-08-04 12:23:11 -06:00
markjcrane 2f67b36276 Add add a provison variable for cp_source 2022-08-04 11:52:08 -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
FusionPBX 7a71f0bf0a
Less CPU used to listen to event socket. 2022-07-31 10:15:42 -06:00
Antonio Fernandez 96df02b398
adding template support for call waiting tone (#6441) 2022-07-25 09:54:44 -06:00
Jesse Gruver 0e9b8f15b5
Added grandstream_show_key_labels and other default values. (#6438) 2022-07-22 13:02:51 -06:00
FusionPBX dfa60ba49a
Update timezones.conf.xml 2022-07-18 20:21:05 -06:00
markjcrane 4ee607eb83 Change RTP_Packet_Size from 0.030 to 0.020 2022-07-15 09:25:32 -06:00
markjcrane 11fb638d2d Not using momentjs so removing it 2022-07-15 09:07:01 -06:00
FusionPBX cacdc51899
Add provision settings snom_user_auto_connect_1 to snom_user_auto_connect_4, and snom_user_ringer_1 - snom_user_ringer_4 2022-07-12 15:24:52 -06:00
FusionPBX 084e36d0a0
Sanitize the menu link by restricting it to specific characters. 2022-07-08 18:38:13 -06:00
FusionPBX 6780949019
Remove LOG_LOCAL0 from openlog it caused the output to the console. 2022-07-08 14:46:21 -06:00
FusionPBX 767937260d
Limit this to run only with the web server. 2022-07-08 14:21:29 -06:00
garryavx 24962e4033
Update y000000000066.cfg (#6415)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:27:01 -06:00
garryavx be98ea3fea
Update y000000000028.cfg (#6414)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:54 -06:00
garryavx 3838c55fae
Update y000000000067.cfg (#6413)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:50 -06:00
garryavx fb5aae1fb0
Update y000000000029.cfg (#6412)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:45 -06:00
garryavx 216383b3b1
Update y000000000035.cfg (#6416) 2022-06-30 10:26:19 -06:00
garryavx e7651c0456
Update y000000000065.cfg (#6417)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:11 -06:00
garryavx 930f813057
Update y000000000096.cfg (#6418)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:00 -06:00
garryavx d2d79f3f0b
Update y000000000056.cfg (#6419)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:52 -06:00
garryavx 35d1e28a23
Update y000000000097.cfg (#6420)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:42 -06:00
garryavx d8fb60b11e
Update y000000000058.cfg (#6421)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:35 -06:00
garryavx c3a9987868
Update y000000000058.cfg (#6422)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:16 -06:00
garryavx 6dbe626b56
Update y000000000150.cfg (#6423)
* Update y000000000150.cfg

This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-25 12:07:58 -06:00
FusionPBX 9c176e31e5
Simplify the Yealink T41s Template 2022-06-25 11:20:55 -06:00
FusionPBX 39ed9d80b1
Update {$mac}.xml 2022-06-24 15:43:04 -06:00
FusionPBX 74fcfdc5a9
Update {$mac}.xml 2022-06-24 15:42:49 -06:00
FusionPBX d6c02e8694
Update {$mac}.xml 2022-06-24 15:41:45 -06:00
FusionPBX 44dedb9acf
Set disabled when the device key type is disabled. 2022-06-24 15:41:13 -06:00
FusionPBX 7983bee43d
Update {$mac}.xml 2022-06-24 15:40:36 -06:00
FusionPBX f450a1c9bb
Use Disabled when the device key type is set to disabled. 2022-06-24 15:40:15 -06:00
FusionPBX c36f1c3968
Cisco 8851 spacfg.xml after factory default 2022-06-24 14:19:57 -06:00
FusionPBX dd7117fbbe
While in a call put blind transfer and transfer first. (#6431)
* While in a call put blind transfer and transfer first.
2022-06-21 17:37:59 -06:00
FusionPBX c076fae485
Use # instead of * to prevent *97 conflict with voicemail. (#6430)
* Use # instead of * to prevent *97 conflict with voicemail.
2022-06-21 17:25:11 -06:00
Dan f6c64054fa
Add missing $ to variables in HT802 template (#6427)
* Grandstream HT802 Added Offhook Auto-dial variables

* Grandstream HT802 Added Offhook Auto-dial variables

* Grandstream GRP261x Make Configuration Keypad Lock configurable, fix default

* Grandstream Add grandstream_dhcp_time_zone across all templates

* Yealink Added yealink_missed_calllog to control whether missed calls are logged or not

* Grandstream HT802 update variable name to not use dash (which was breaking the template)

* added default settings for grandstreams
added "grandstream_configuration_via_keypad" and
"grandstream_dhcp_time_zone" as settings
also changed "grandstream_long_label" to 1

* Add custom transcription providers to email queue, fix spelling error

* Correct missing $ in Grandstream template

Co-authored-by: Jesse Gruver (piajesse) <me@piajesse.com>
2022-06-21 16:04:28 -06:00
nacircoronado 2620f9e266
Spanish change cerca to cerrar. (#6428)
* Spanish change cerca to cerrar.

* Update app_languages.php
2022-06-21 15:31:35 -06:00
markjcrane 1fa04dd8a5 Add additional Fanvil templates 2022-06-07 19:58:36 -06:00
FusionPBX 1199269347
When the cache is deleted log details to the syslog server. 2022-06-01 22:28:12 -06:00
Mendel 9fc81c880c
Update 12-24 hour variable (#6404)
Checked on the Yealink cordless base and found a different variable for the time format.
2022-06-01 21:49:17 -06:00
FusionPBX ad3a4825a1
Use a log prefix that makes more sense. 2022-06-01 18:57:33 -06:00
Jesse Gruver 3643f98d62
Added variables to grandstream configs for idle mute fuction (#6371)
* Added varibles to grandstream configs for idle mute fuction
I have changed them all to the default of "0" and then added a
varible called "grandstream_idle_mute_function" that overwrites
the default option of 0

There seems to be older configs where 0 = no instead of dnd
so I've added grandstream_idle_mute_function_old for these configs

* Added curls for grandstream_idle_mute_function
2022-06-01 13:54:56 -06:00
Antonio Fernandez 7bbbc4e895
Settings Refresh Timer has been added to the templates and new variable (#6402)
* Settings Refresh Timer has been added to the templates and new variable

* changed the variable name to a better name $snom_provision_timer_seconds
2022-06-01 09:32:22 -06:00
FusionPBX 795254a421
Add http_auth, STUN and NTP. 2022-05-31 21:56:12 -06:00
FusionPBX 6440e4362d
Add http_auth, STUN and NTP 2022-05-31 21:54:30 -06:00
FusionPBX d3533931df
Update {$mac}.xml 2022-05-31 21:34:43 -06:00
FusionPBX ae3e7ba9cb
Add a new Panasonic utg200b template. 2022-05-31 21:34:24 -06:00
FusionPBX 27c03ae80b
Add new panasonic utg300b template. 2022-05-31 21:29:15 -06:00
Dan 2a0392dec2
Add variables to Grandstream and Yealink Templates (#6400)
* Grandstream HT802 Added Offhook Auto-dial variables

* Grandstream HT802 Added Offhook Auto-dial variables

* Grandstream GRP261x Make Configuration Keypad Lock configurable, fix default

* Grandstream Add grandstream_dhcp_time_zone across all templates

* Yealink Added yealink_missed_calllog to control whether missed calls are logged or not

* Grandstream HT802 update variable name to not use dash (which was breaking the template)
2022-05-30 16:37:38 -06:00
FusionPBX fd67765c74
Correct the Provisioning information 2022-05-25 09:25:23 -06:00
Antonio Fernandez e851245c86
Snom templates - added per model wallpaper settings (#6391) 2022-05-25 08:39:39 -06:00
FusionPBX b1e2d3312d
Initial version of fanvil v67 configuration. 2022-05-25 08:31:34 -06:00
Mendel 1be00e330e
updated yealink cordless files (#6396) 2022-05-24 23:32:56 -06:00
FusionPBX 41e96f691e
Add voicemail BLF. 2022-05-19 09:38:31 -06:00