< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
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@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx]
On Behalf Of Nicolas LEGROS 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(target, target, REGISTER); This method will build the Register message…consequently if target = alice@xxxxxxxxx, then the “To-header” will be alice@xxxxxxxxx , the “from-header” will be alice@xxxxxxxxx and the “request Line” will be alice@xxxxxxxxx!! How can I build a REGISTER message in which the “request line” is registrar.teleca.fr and a “To” and “From” Header alice@xxxxxxxxx? 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@xxxxxxxxx> From: Alice <sip:alice@xxxxxxxxx>;tag=456248 Call-ID: 843817637684230@998sdasdh09 CSeq: 1826 REGISTER Contact: <sip:alice@xxxxxxxxx> Expires:
7200 Content-Length:
0 Thanks by advance… Nicolas L. |