[SR-Users] alias behaving differently than droute

Pete Ashdown pashdown at xmission.com
Sat Mar 15 00:13:08 CET 2014


On 03/14/2014 04:10 PM, Alex Balashov wrote:
> That would be a difficult question to answer without having some
> specific details. However, it is safe to say that alias_db_lookup()
> does not alter RTP parameters in any way; it simply modifies your
> request URI with the result of a database lookup, much as any
> routing-related module does, in the end.
>
> On 03/14/2014 06:09 PM, Pete Ashdown wrote:
>
>> I presumed that aliases could be used for quickie destination routing,
>> but for some reason my RTP isn't connecting up after.  If I put the same
>> alias into droute, it works.  Am I understanding aliases wrong?

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?





More information about the sr-users mailing list