<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">in raw xml config it loads it once when you start, and again anytime you call the reloadxml command, or something indirectly does.  After that it traverses the in memory xml tree for each request.  When using dynamic config of any type, it looks it up for each use, as you see in verto.  As for config section, those are typically read at module load, and as needed based on individual module commands such as the ones that manipulate mod_sofia profiles.<div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 17, 2018, at 4:17 PM, Rick Jarvis <<a href="mailto:rick@magicmail.mooo.com" class="">rick@magicmail.mooo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes of course, makes sense!<div class=""><br class=""></div><div class="">Now reading the domains via xml_curl too - works nicely. I notice it loads the domains this way when it starts up. Does it periodically reload this info?</div><div class="">

<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2018, at 20:44, Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thats the auth challenge?<div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On May 17, 2018, at 3:10 PM, Rick Jarvis <<a href="mailto:rick@magicmail.mooo.com" class="">rick@magicmail.mooo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ah right ok, I had thought that the ```name=“all” alias=“true”``` in the sip profile would sort that. So logging in, although still seeing an error just before it grants access - what would cause this, something in the wrong order maybe?<br class=""><div class=""><br class=""></div><div class=""><span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);" class="">Error: </span><span style="color: rgb(48, 57, 66); font-family: Menlo, monospace; font-size: 11px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><div class="object-value-object console-view-object-properties-section expanded source-code" style="flex: 1 1 0%; padding: 0px; min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: Menlo, monospace; white-space: pre-wrap; font-size: 11px; position: relative; vertical-align: baseline; color: rgb(48, 57, 66); display: inline-block; overflow-wrap: break-word; max-width: 100%; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><div class="tree-outline-disclosure tree-outline-disclosure-hide-overflow" style="min-width: 0px; min-height: 0px; box-sizing: border-box;"><ol class="tree-outline source-code object-properties-section" role="tree" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding: 0px; margin: 0px; z-index: 0; position: relative; display: flex; flex-direction: column; list-style-type: none; color: rgb(33, 33, 33) !important;"><li role="treeitem" class="object-properties-section-root-element parent expanded" aria-expanded="true" style="min-width: 0px; min-height: 16px; box-sizing: border-box; display: flex; flex-direction: row; text-overflow: ellipsis; white-space: nowrap; position: relative; align-items: center; user-select: text;"><span class="console-object-preview console-object" style="min-width: 0px; min-height: 0px; box-sizing: border-box; white-space: pre-wrap; word-wrap: break-word; font-style: italic; word-break: break-all;"><span class="object-properties-preview" style="min-width: 0px; min-height: 0px; box-sizing: border-box;">{<span class="name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(86, 86, 86); flex-shrink: 0;">code</span>: <span class="object-value-number" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(28, 0, 207);">-32000</span>, <span class="name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(86, 86, 86); flex-shrink: 0;">message</span>: <span class="object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; unicode-bidi: -webkit-isolate; color: rgb(196, 26, 22); word-break: break-all;">"Authentication Required"</span>}</span><span class="object-state-note info-note" style="min-width: 0px; min-height: 0px; box-sizing: border-box; display: inline-block; width: 11px; height: 11px; color: white; text-align: center; border-radius: 3px; line-height: 13px; margin: 0px 6px; font-size: 9px; background-color: rgb(179, 203, 247);"></span></span></li><ol class="expanded children" role="group" style="min-width: 0px; min-height: 0px; box-sizing: border-box; list-style-type: none; padding-left: 12px;"><li role="treeitem" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: flex; align-items: center; user-select: text;" class=""><span class="name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145); flex-shrink: 0;">code</span><span class="object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; flex-shrink: 0; padding-right: 5px;">:</span><span class="value object-value-number" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(28, 0, 207);">-32000</span></li><li role="treeitem" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: flex; align-items: center; user-select: text;" class=""><span class="name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145); flex-shrink: 0;">message</span><span class="object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; flex-shrink: 0; padding-right: 5px;">:</span><span class="value object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; white-space: pre; unicode-bidi: -webkit-isolate; color: rgb(196, 26, 22);"><span class="object-value-string-quote" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(34, 34, 34);">"</span>Authentication Required<span class="object-value-string-quote" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(34, 34, 34);">"</span></span></li><li role="treeitem" class="parent" aria-expanded="false" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; position: relative; display: flex; align-items: center; user-select: text;"><span class="name object-properties-section-dimmed" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145); flex-shrink: 0; opacity: 0.6;">__proto__</span><span class="object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; flex-shrink: 0; padding-right: 5px;">:</span><span class="value object-value-object" style="min-width: 0px; min-height: 0px; box-sizing: border-box;">Object</span></li></ol></ol></div></div>

<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2018, at 19:59, Michael Jerris <<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">The problem is that your domain in your return is incorrect.  It should say <font face="Menlo" class=""><domain name=“x.x.x.x”> as that is the domain of the user being looked up.  Its not authing because you are not returning a user that matches the lookup.</font><div class=""><font face="Menlo" class=""><br class=""></font></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div><br class=""></div></body></html>