<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 14, 2014 at 5:13 PM, Pete Ashdown <span dir="ltr"><<a href="mailto:pashdown@xmission.com" target="_blank">pashdown@xmission.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">After starting to paste the kamailio.cfg snippets, I noticed I was using<br>
route(SIPOUT) instead of route(RELAY) for the aliases.  Switching it to<br>
RELAY fixed it.  What is the difference between the two?  Does SIPOUT<br>
only work for devices registered with Kamailio?<br></blockquote></div><br></div><div class="gmail_extra">Assuming you haven't changed the default config, SIPOUT only handles routing to foreign domains:<br><br># Routing to foreign domains<br>
route[SIPOUT] {<br>   if (!uri==myself)<br>   {<br>      append_hf("P-hint: outbound\r\n");<br>      route(RELAY);<br>   }<br>}<br><br></div><div class="gmail_extra">If your alias is still a local URI, SIPOUT would just ignore the message and exit the block.<br>
<br>Corey<br><br></div></div>