Hey there Dan,
When I add "SIP Username: summary.sipUsername" to parameters.json and restart the services the field pops up and works fine, but when I add ""Device.Services.VoiceService./^\\d+$/.VoiceProfile./^\\d+$/.Line./^\\d+$/.SIP.AuthUserName" : {"alias" : "summary.sipUsername"}" and reboot the services (parameters.json additions still in place) I am greeted once everything boots up with:
Connection refused - connect(2) for "localhost" port 7557
------
q['sort'] = ActiveSupport::JSON.encode(sort) if sort
http = create_api_conn()
res = http.get("/devices/?#{q.to_query}")
@total = res['Total'].to_i
@now = res['Date'].to_time
return ActiveSupport::JSON.decode(res.body)
------
app/controllers/devices_controller.rb:50:in `find_devices' app/controllers/devices_controller.rb:74:in `block in index' app/controllers/application_controller.rb:40:in `can?' app/controllers/devices_controller.rb:57:in `index'
Kris
On November 22, 2016 at 5:14 PM Dan Morphis <[email protected]> wrote:What happens if you try this in your genieacs/config/parameters.json file:"Device.Services.VoiceService./^\\d+$/.VoiceProfile./^\\d+$/.Line./^\\d+$/.SIP.AuthUserName" : {"alias" : "summary.sipUsername"}And this in your summary_parameters.yml file:SIP Username: summary.sipUsernamerestart both the server and gui after you make the changes._______________________________________________On Tue, Nov 22, 2016 at 7:45 AM, Kris Germann <[email protected]> wrote:I am looking to pull a DID field into the device summary view, defined by this variable:
Device.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP. AuthUserName However, in summary_parameters.yml if I throw in this line:DID: Device.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP. AuthUserName Things stop responding...How can I defined my own set of variables to be pulled in here...This is related to my other email today about CSV exporting, as well.Kris
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
