[asterisk-dev] 0015539: [patch] Register request linecontainswrong address when domain and registrar host differ

Olle E. Johansson oej at edvina.net
Tue Jan 26 05:06:07 CST 2010


26 jan 2010 kl. 11.59 skrev Nick Lewis:

> I beg to differ. The r-uri is the registrar host. 

Then go write your own version of the protocol while the rest of us try to unite around the standard ;-)

Section 10.2 - Constructing the REGISTER request.

"Request-URI : The Request-URI names the domain of the location service for which the registration
is meant (for example, sip:chicago.com). The userinfo and “@” components of the SIP URI
MUST NOT be present."


Section 10.3 - Processing REGISTER requests:

"When receiving a REGISTER request, a registrar follows these steps:
1. The registrar inspects theRequest-URI to determine whether it has access to bindings for the domain
identified in theRequest-URI . If not, and if the server also acts as a proxy server, the server SHOULD
forward the request to the addressed domain, following the general behavior for proxying messages
described in Section 16."

/O

> 
> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Olle E.
> Johansson
> Sent: 26 January 2010 10:54
> To: Asterisk Developers Mailing List
> Subject: Re: [asterisk-dev] 0015539: [patch] Register request
> linecontainswrong address when domain and registrar host differ
> 
> 
> 26 jan 2010 kl. 11.45 skrev Nick Lewis:
> 
>>> If you check the commit, there's a reference to issue #12474 where
>> you'll find the rest of the info...
>> apols now read the issue and still not clear why you think Finnish
>> service is correct to expect the domain in the request line. I think
>> RFC3261 is clear on this matter, for example the register string
>> register=bob at biloxi.com@registrar.biloxi.com should result in the sip
>> message
>> 
>>      REGISTER sip:registrar.biloxi.com SIP/2.0
>>      To: Bob <sip:bob at biloxi.com>
>>      From: Bob <sip:bob at biloxi.com>;tag=456248
> 
> You always register to a domain, not a host. The r-uri is the domain you
> are registering to, not the hostname.
> 
> /O
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> ______________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________________
> 
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.
> _____________________________________________________________________
> Disclaimer of Liability
> ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the  information described and/or contained herein and assumes no responsibility for anyones use  of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect,  incidental, special, exemplary, or consequential damages (including, but not limited to,  procurement or substitute goods or services; loss of use, data, or profits; or business  interruption) however caused and on any theory of liability, whether in contract, strict  liability, or tort (including negligence or otherwise) arising in any way out of the use of  this system, even if advised of the possibility of such damage.
> 
> Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
> Registered in Wales Number 4335781
> 
> All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request.
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden






More information about the asterisk-dev mailing list