Hey Yuantao,

>  *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Yuantao Zhang
> *Sent:* Wednesday, June 04, 2008 12:10
> *To:* [email protected]; [EMAIL PROTECTED]
> *Subject:* [SIPForum-discussion] What is the port number in "Invite"
> request-line? Thanks
>
> Dear all
>
> INVITE sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> SIP/2.0:5555
>
> INVITE sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> SIP/2.0
>
> Above are 2 "Invite" request-line examples. In example one, it indicates a
> port number, 5555. What does the port number mean? Is it the port number
> of SIP proxy?
>
As you suspected yourself and as Shmulik pointed correctly, the number 555
indicates
the port number of the running SIP Proxy which the UA is registered to.

>  Why we include port number here? The SIP proxy(biloxi.com) application
> layer who receives
>
Simply because this is a non-standard SIP port, just as if a web server was
running on port
8081 you would have to explicitly tell the browser to use that port, for
example:
http://www.non-standard-server.com:8081

This is also required when more than one SIP Proxy is involved in the
process and the
INVITE travels from one proxy to another.

  The second "Invite" request-line example is from RFC3261 and does not
> include port number. Can I say the port number is useless? So why example
> one includes a useless part in "Invite" request-line URL?
>
To be more precise the first invite message (INVITE
sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]>SIP/2.0:5555)
is wrong. It should have been INVITE sip:[EMAIL PROTECTED]:5555 SIP/2.0

>  Any standard on this port number issue? Thanks.
>

It is very common for different SIP stacks to behave somewhat differently
and quite
a few of them do not comply with the RFC which is very unfortunate.




-- 
-- 
Regards,

*Liran Tal
**Unix Kernel Developer
NGN Solutions, TELES Israel

*

[image: [Teles Logo]]

Phone           +972 4 9092592
Fax               +972 4 9597144
Mobile           +972 52 3793446
_______________________________________________
Sip mailing list  https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [EMAIL PROTECTED] for questions on current sip
Use [EMAIL PROTECTED] for new developments on the application of sip

Reply via email to