<div dir="ltr">Finally!  This seems to have done it:<div><br>xlog("L_NOTICE", "$sel(contact.uri.user)");<br><br></div><div>Sorry for the noob question.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 11:14 AM, Marc Soda <span dir="ltr"><<a href="mailto:msoda@coredial.com" target="_blank">msoda@coredial.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Can someone recommend a way to extract the user part of a Contact header URI?<br></div><div><br></div><div>Right now I'm just trying to pass it to xlog().  I have tried:</div><div><br></div><div>- <span>xlog(</span><span>"L_NOTICE"</span><span>, </span><span>"$(ct{uri.user})"</span><span>);</span></div><div><span>This gives me an empty string.</span></div><div><span><br></span></div><div><span>- </span><span>xlog(</span><span>"L_NOTICE"</span><span>, @contact.uri.user);</span></div><div><span>This gives me an error starting Kamailio: "</span>function xlog: parameter 2 is not constant".  Note, I can't seem to get any select working, for example, @ruri gives me the same error.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks,</div><div>Marc</div><div><br></div>























</div>
</blockquote></div><br><br>
</div></div>