<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p></p><div class="io-ox-signature"><p>Hey there Dan,</p><p>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:<br></p><p>Connection refused - connect(2) for "localhost" port 7557</p><p><em>------</em></p><div class="line">q['sort'] = ActiveSupport::JSON.encode(sort) if sort<br></div><div class="line">    http = create_api_conn()
</div><div class="line active">    res = http.get("/devices/?#{q.to_query}")
</div><div class="line">    @total = res['Total'].to_i
</div><div class="line">    @now = res['Date'].to_time
</div><div class="line">    return ActiveSupport::JSON.decode(res.body)</div><div class="line"><pre><em>------<br>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'</em></pre></div><div class="line"><br></div><p>Kris</p></div><blockquote type="cite">On November 22, 2016 at 5:14 PM Dan Morphis <dan@milkcarton.com> wrote:<br><br><div dir="ltr">What happens if you try this in your genieacs/config/parameters.json file:<div>"<span style="font-size: 12.8px;">Device.Services.VoiceService</span>./^\\d+$/.<span style="font-size: 12.8px;">VoiceProfile</span>./^\\d+$/.Line./^\\d+$/.SIP.AuthUserName" : {"alias" : "summary.sipUsername"}<br></div><div><br></div><div>And this in your summary_parameters.yml file:</div><div>SIP Username: summary.sipUsername</div><div><br></div><div>restart both the server and gui after you make the changes.</div><div><br></div></div><div class="ox-9a9314d31d-gmail_extra"><br><div class="ox-9a9314d31d-gmail_quote">On Tue, Nov 22, 2016 at 7:45 AM, Kris Germann <<a href="mailto:kgermann@portal.net.co" target="_blank">kgermann@portal.net.co</a>> wrote:<br><blockquote><u></u><div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><p> <br></p>I am looking to pull a DID field into the device summary view, defined by this variable:</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">Device.Services.VoiceService.<wbr/>1.VoiceProfile.1.Line.1.SIP.<wbr/>AuthUserName</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">However, in summary_parameters.yml if I throw in this line:</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">DID: Device.Services.VoiceService.<wbr/>1.VoiceProfile.1.Line.1.SIP.<wbr/>AuthUserName</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">Things stop responding...</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">How can I defined my own set of variables to be pulled in here...</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">This is related to my other email today about CSV exporting, as well.</div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature"><br></div><div class="ox-9a9314d31d-m_1556172817473185800io-ox-signature">Kris</div></div><br>______________________________<wbr/>_________________<br> Users mailing list<br> <a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br> <a href="http://lists.genieacs.com/mailman/listinfo/users" target="_blank">http://lists.genieacs.com/<wbr/>mailman/listinfo/users</a><br> <br></blockquote></div><br></div>_______________________________________________<br>Users mailing list<br>Users@lists.genieacs.com<br>http://lists.genieacs.com/mailman/listinfo/users<br></blockquote></body></html>