On Fri, Mar 14, 2014 at 5:13 PM, Pete Ashdown <pashd...@xmission.com> wrote:

> After starting to paste the kamailio.cfg snippets, I noticed I was using
> route(SIPOUT) instead of route(RELAY) for the aliases.  Switching it to
> RELAY fixed it.  What is the difference between the two?  Does SIPOUT
> only work for devices registered with Kamailio?
>

Assuming you haven't changed the default config, SIPOUT only handles
routing to foreign domains:

# Routing to foreign domains
route[SIPOUT] {
   if (!uri==myself)
   {
      append_hf("P-hint: outbound\r\n");
      route(RELAY);
   }
}

If your alias is still a local URI, SIPOUT would just ignore the message
and exit the block.

Corey
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to