<commit_before>/**
 * @author <NAME>
 * @since v1
 */
load('mod/ctl/ctl_utils.js')

function cmdShowLocation(id) {
    const out = Packages.java.lang.System.out
    const registry = getWithAuth('location')

    out.printf('SIP devices registered\n')
    out.printf("%-35s %-20s\n", 'ENDPOINT', 'CONTACT ADDRESS')

    registry.forEach(reg => out.printf("%-35s %-20s\n", reg.endpoint, reg.contact))<commit_msg>Update location cli-command<commit_after>/**
 * @author <NAME>
 * @since v1
 */
load('mod/ctl/ctl_utils.js')

function cmdShowLocation(id) {
    const out = Packages.java.lang.System.out
    const registry = getWithAuth('location')

    out.printf('Registered devices\n')
    out.printf("%-35s %-20s\n", 'ADDRESS OF RECORD', 'CONTACT ADDRESS')

    registry.forEach(reg => out.printf("%-35s %-20s\n", reg.addressOfRecord, reg.contactAddress))
{'fraction_non_alphanumeric': 0.17743830787309048, 'fraction_numerical': 0.021151586368977675, 'mean_word_length': 4.1017964071856285, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4191556', 'n_tokens_mistral': 309, 'n_tokens_neox': 297, 'n_words': 56}