[OpenSER-Devel] [ openser-Bugs-1793928 ] [rr] louse_roote() should
import domains from domain module
SourceForge.net
noreply at sourceforge.net
Thu Sep 13 16:43:39 CEST 2007
Bugs item #1793928, was opened at 2007-09-13 15:56
Message generated for change (Comment added) made by klaus_darilion
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1793928&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [rr] louse_roote() should import domains from domain module
Initial Comment:
In the loose_route() documentatión there is:
"There is only one exception: If the request is out-of-dialog (no to-tag) and there is only one Route: header indicating the local proxy, then the Route: header is removed and the function returns FALSE."
The problem is that the URI domain is not matched with domains of "domain" module.
This causes a problem in SIP devices which include a "Route" header in REGISTER, so it produces an infinite loop in OpenSer if there is not "alias=URI_domain" or if URI_domain doesn't appear in /etc/hosts.
Obviosly, if I work with domain modules I just want to store domains in "domain" table, and not to add them manually in openser.cfg as "alias" or in /etc/hosts.
Could "loose_route()" consult domain module entries in order to know if the URI is local or not?
----------------------------------------------------------------------
>Comment By: Klaus Darilion (klaus_darilion)
Date: 2007-09-13 16:43
Message:
Logged In: YES
user_id=1318360
Originator: NO
Are you sure? I think the rules for finding the IP address of the SIP URI
in the Route header is RFC 3263.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-09-13 16:35
Message:
Logged In: NO
this request is invalid. route header contains hostnames or host
addresses, not domains.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1793928&group_id=139143
More information about the Devel
mailing list