[reSIProcate] Registration problem

Scott Godin slgodin at icescape.com
Tue Oct 31 07:47:15 CST 2006


You could modify the RequestLine in the message that is returned to you
before you call send.  Or you can use the OutboundProxy profile setting
in order to get the registration to go registrar.teleca.fr.

 

From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Nicolas LEGROS
Sent: Tuesday, October 31, 2006 5:19 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Registration problem

 

Hi !

 

I don't understand the REGISTER's message building.

The MakeRegistration method will call the RegistrationCreator.

The RegistrationCreator will call the following request
makeInitialRequest
<http://www.estacado.net/resip/sip/resiprocate/dum/html/classresip_1_1Ba
seCreator.html#b0> (target, target, REGISTER);
This method will build the Register message...consequently if target =
alice at teleca.fr, 
then the "To-header" will be alice at teleca.fr , the "from-header" will be
alice at teleca.fr and the "request Line" will be alice at teleca.fr!!
How can I build a REGISTER message in which the "request line" is
registrar.teleca.fr and a "To" and "From" Header alice at teleca.fr?
See the example below... 

 

REGISTER sip:registrar.teleca.fr SIP/2.0

Via: SIP/2.0/UDP alicepc.teleca.fr:5060;branch=z9hG4bKnashds7

Max-Forwards: 70

To: Alice <sip:alice at teleca.fr>

From: Alice <sip:alice at teleca.fr>;tag=456248

Call-ID: 843817637684230 at 998sdasdh09

CSeq: 1826 REGISTER

Contact: <sip:alice at 192.0.2.1>

Expires: 7200

Content-Length: 0

 

Thanks by advance...

Nicolas L.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20061031/8cd803b8/attachment.htm>


More information about the resiprocate-devel mailing list