[Devel] [ openser-Bugs-1491017 ] LCR problem if no user-part in R-URI

SourceForge.net noreply at sourceforge.net
Fri May 19 10:18:26 CEST 2006


Bugs item #1491017, was opened at 2006-05-18 17:14
Message generated for change (Comment added) made by agranig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1491017&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: ver devel
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Granig (agranig)
Assigned to: Nobody/Anonymous (nobody)
Summary: LCR problem if no user-part in R-URI

Initial Comment:
next_gw() always prefixes the rewritten host-part with
an '@' sign, which breaks requests not containing a
user-part (like REGISTER).

Thus for example the R-URI sip:some.host.com is
rewritten to sip:@127.0.0.1:5080, resulting in an error
when relaying.

----------------------------------------------------------------------

>Comment By: Andreas Granig (agranig)
Date: 2006-05-19 10:18

Message:
Logged In: YES 
user_id=825350

I don't think it's a good idea to restrict the usage of the
module "by design". People use it for load-balancing
requests to different kind of UAs, not only PSTN gateways,
and this may  require also the proper routing of requests
without a user-part.

Attached you can find a patch. It's just a minor tweak to
fix this issue.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-05-18 22:28

Message:
Logged In: NO 

next_gw() function has been designed to handle dialog
initiating requests bound to pstn gateways.  register
request is not such a request.  i cannot imagine, how pstn
gateway could handle an intial request, whose destination is
not a telephone number.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1491017&group_id=139143



More information about the Devel mailing list