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.
Please take a look at BYE debug, when using is_from_local():
Successful (1 to 2):
U 194.183.229.180:5060 -> 194.183.228.176:5060
BYE sip:3398@194.183.228.176;ftag=b9ea699db4320dbf;lr=on SIP/2.0..
Via: SIP/2.0/UDP 194.183.229.180:5060;branch=0..
Max-Forwards:70..
To: 2 <sip:3396@tara.perceval.net>;tag=b9ea699db4320dbf..
From: <sip:3398@tara.perceval.net>;tag=CSdQo3..
Call-ID: fc083a95-8a6a781e(a)194.183.229.179..
CSeq: 1 BYE..
Route: 2 <sip:3396@194.183.229.179:5060>..
Content-Length: 0....
ACK..... everything fine
Unsuccessful (2 to 1):
U 194.183.229.179:5060 -> 194.183.228.176:5060
BYE sip:3398@194.183.229.180 SIP/2.0..
Via: SIP/2.0/UDP 194.183.229.179:5060;branch=z9hG4bK-b355eb02..
From: 2 <sip:3396@tara.perceval.net>;tag=b9ea699db4320dbf..
To: <sip:3398@tara.perceval.net>;tag=YGk9UT....dxT0uq6sn..
Call-ID: 411783df-ee95995e(a)194.183.229.179..
CSeq: 102 BYE..
Max-Forwards: 70..
Route: <sip:3398@194.183.228.176;ftag=b9ea699db4320dbf;lr=on>..
User-Agent: 2(LS)..
Content-Length: 0....
404 not found.....
Thanks for any help. I count on you, guys ;-)
Regards,
Arek Bekiersz
Perceval R&D Team
arek(a)perceval.net
------------------------------------------------------------------------
Perceval Technologies sa/nv Rue Tenbosch, 9 B-1000 Brussels
Tel: +32-2-6409194 Fax: +32-2-6403154
URL:
http://www.perceval.net/
E-mail for general informations: info(a)perceval.net
E-mail for technical informations: helpdesk(a)perceval.net
------------------------------------------------------------------------
This e-mail message contains legally PRIVILEGED and CONFIDENTIAL
information intended for the use of the addressee only. If you are not
the intended recipient of this message, please notify the undersigned
by telephone or e-mail reply and destroy this message and any
attachments.
Any views or opinions presented in this e-mail are solely those of
the author and do not necessarily represent those of Perceval. The
integrity and security of this message cannot be guaranteed and it may
be subject to data corruption, interception, unauthorised amendment,
viruses and unforesee