[Users] loose_route problem with 1.2

Juha Heinanen jh at tutpro.com
Tue Mar 20 18:33:49 CET 2007


it turned out that if i have in openser.cfg

listen=x.x.x.x
alias="sip.foo.bar:5060"
port=5060
auto_aliases=no

then openser advertises at startup:

Aliases:
             *: sip.foo.bar:5060:*

and loose_route DOES NOT recognize that

Route header <sip:sip.foo.bar;lr;transport=TCP>

is local.

on the other hand, if i comment line

#auto_aliases=no

openser advertises at startup:

Aliases:
             tcp: sip.foo.bar:5060
             udp: sip.foo.bar:5060
             *: sip.foo.bar:5060:*

and it DOES recognize that above Route header is local.

if i uncomment

auto_aliases=no

and change 

alias="sip.foo.bar:5060"

to

alias="udp:sip.foo.bar:5060"
alias="tcp:sip.foo.bar:5060"

then loose_route DOES NOT recognize that the route header is local.

my question is, how should i write the alias statements so that the
route header is recognized local even when i have auto_aliases=no?

-- juha




More information about the Users mailing list