[ASTPPCOM-390] SIP device edit shows wrong account assignment when account is provider Created: 10/Apr/18  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: powerpbx Assignee: Samir Doshi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This is in v3.5 and v3.6 branches.

In GUI > Switch > SIP Devices, SIP device list indicates correct account assignments regardless of whether the account type is provider or customer.

Select Edit action for a SIP device assigned to a provider account, Account shows the wrong account assignment.

If you save that it will now be assigned to the wrong account. The reason appears to be because the drop down menu only shows customer accounts not provider accounts.



 Comments   
Comment by powerpbx [ 11/Apr/18 ]

If you comment out this line it includes all account types. So need to add a filter to only include account type=0 (Customer) and type = 3 (Provider).

https://github.com/iNextrix/ASTPP/blob/v3.6/web_interface/astpp/application/modules/freeswitch/libraries/freeswitch_form.php#L2793

Comment by Samir Doshi [ 11/Apr/18 ]

Issue has been resolved.

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