Hi,
If the user wishes requests to arrive on port 5010, then shouldn't the
Via header contain that port number (5010) in the "sent-by" part
(bis-09, section 25.1, line 5753)? Since the registrar would have to
know which port to send the 200 response back to (in the example cited,
seeing no port number mentioned), it'd use 5060 by default. Section
18.2.2 talks about this, if I haven't interpreted it incorrectly.

Regards,
Nirmalya

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of luoqiang
Sent: Thursday, April 25, 2002 10:54 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Sip-implementors] A basic sip question


Hi,

Thanks for your answer
But if there is no port information,
how can I register with To header with port?
For example,

 REGISTER sip:159.226.1.3 SIP/2.0
   Via: SIP/2.0/UDP 159.226.1.1
   From: sip:[EMAIL PROTECTED]:5010
   To: sip:[EMAIL PROTECTED]:5010       
   Call-ID: [EMAIL PROTECTED]
   CSeq: 1 REGISTER
   Contact: <sip: sip:[EMAIL PROTECTED]:5010>
   Content-Length: 0

I don't know how bis09 defined.
But in this case,how can register know the wanted port of the inviter if
I can't use port information?
>From Via?

Thanks
luoqiang __________________________________________________________
address of ua1 -> Contact
But, response path is Via header.
As bis09, From and To don't accept port.

        t:sip:[EMAIL PROTECTED]:5060
            ==>  t:sip:[EMAIL PROTECTED]

khlee

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of luoqiang
Sent: Thursday, March 28, 2002 1:34 AM
To: [EMAIL PROTECTED]
Subject: [Sip-implementors] A basic sip question


Hi,


I am a beginer for sip.
After reading the rfc,I have some questions.
e.g:
ua1:  sip:[EMAIL PROTECTED]:5060
ua2:  sip:[EMAIL PROTECTED]:5061
when ua1 call ua2,the message would be:

INVITE sip:[EMAIL PROTECTED]:5061 SIP/2.0
     v:SIP/2.0/UDP 10.10.1.1
     f:sip:[EMAIL PROTECTED]
     t:sip:[EMAIL PROTECTED]:5060
     i:[EMAIL PROTECTED]
     m:[EMAIL PROTECTED]:5061
     c:application/sdp

Suppose there are no proxies between them.
The message should be forworded to ua2 and ua2 should send a 180
response. But where does  the ua2 get the  adress of ua1?
Via?From?Contact? I was puzzled after reading the rfc,because it seems
that all above headers is correct. Which is the ua2's chioce?

Thanks!

luoqiang

    
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors 
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to