[ASTPPCOM-46] Reverse config of OpenSIP / Freeswitch setup Created: 11/Aug/16  Updated: 01/Apr/21  Resolved: 01/Apr/21

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: fozzygo4 Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When configuring the main settings in ASTPP, if OpenSIP is set to disable then if I add a new customer an option to create a new OpenSIP device is given. If OpenSIP in settings is set to Enable then the Option of create new SIP device is given when adding a new customer.



 Comments   
Comment by fozzygo4 [ 11/Aug/16 ]

I fixed this by editing the following file and change value from 1 to 0:
/astpp/application/modules/accounts/libraries/accounts_form.php

if (common_model::$global_config['system_config']['opensips'] == 1) {

change to

if (common_model::$global_config['system_config']['opensips'] == 0) {

There are two instances of this code in the file to change.

Comment by fozzygo4 [ 22/Aug/16 ]

Not sure why I closed this issue but re-opened so you can confirm it is a bug.

Comment by dev-astpp [ 08/Sep/16 ]

This issue has been fixed. Please take updated source.

Generated at Sat Feb 10 07:13:42 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.