[Serusers] multidomain support trouble (0.8.12)

Arek Bekiersz sip at perceval.net
Mon Sep 27 11:46:53 CEST 2004


Hi,


It seems that this problem was solved using "is_uri_host_local()" instead of
"is_from_local()". Reqests are handled properly now.

Just to notice, when somebody will have the same problem ;-)

Regards,
Arek

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]On
Behalf Of Arek Bekiersz
Sent: 27 September 2004 10:38
To: Serusers
Cc: Emmanuel Bergmans
Subject: [Serusers] multidomain support trouble (0.8.12)


Hi,


Hope somebody can help. I think this is some bug in "domain" module's
"is_from_local()" function...?

I'm running ser 0.8.12, newest release from CVS. This is multidomain
configuration, with Radius authentication thru remote db and some other
tricks. I use "is_from_local() {}" routine to determine if to handle a
request. There is "domain" module running and domain table in local db.

However, when using domain module, there is serious problem. Everything
works fine, except when I do BYE. SER is responding with my own "404 Not
Found" routine, because it cannot properly find requested domain in domain
table..

When I use simple "if (uri=~"somedomain.net") {}" it WORKS fine. But i don't
want it, as I don't want to use "is_uri_host_local()" as well.





More information about the sr-users mailing list