[SIPForum-discussion] Hi
Ganesh Bhattathiri
ganesh_bhattathiri at persistent.co.in
Mon Apr 21 12:24:57 UTC 2008
Hi Abhishek,
Well in that case I don't think I would be able to split an absolute URI to
a fixed structure. Right? I mean like SIP or SIPS URI there is no sure shot
way of representing an absolute URI right?
Also I don't know if this is discussed before, jus read the following
authority = srvr / reg-name
srvr = [ [ userinfo "@" ] hostport ]
reg-name = 1*( unreserved / escaped
/ "$" / "," / ";" / ":" / "@" / "&" / "=" /
"+" )
Now if you note both srvr and reg-name can have "@" in the expression. So
how would the parser recognize on what exactly is the expression. Is it
gonna be a srvr or is it gonna be a reg-name?
Awaiting reply
Ganesh
-----Original Message-----
From: Abhishek Mishra [mailto:abhishek.mishra at globallogic.com]
Sent: Monday, April 21, 2008 5:32 PM
To: Ganesh Bhattathiri
Subject: Re: [SIPForum-discussion] Hi
Hi Ganesh,
Anything URI except SIP/SIPS comes under category of absolute URI.
absoluteURI = scheme ":" ( hier-part / opaque-part )
hier-part = ( net-path / abs-path ) [ "?" query ]
net-path = "//" authority [ abs-path ]
abs-path = "/" path-segments
opaque-part = uric-no-slash *uric
Examples:
1) HTTP uri: http://tools.ietf.org/html/rfc3261
2) FTP uri
3) Path: /etc/init.d/
Kind Regards,
-Abhishek
On Mon, 2008-04-21 at 16:11, Ganesh Bhattathiri wrote:
> Hi guys
>
>
>
>
>
> Ok can ne1 give me examples of all the possibility of absolute URI in
> SIP?
>
>
>
> i.e
>
> Request-URI= SIP URI/SIPS URI/Absolute-URI
>
>
>
>
>
> I wanted few examples on how it would look.
>
>
>
> Thanks in advance
>
>
>
> Ganesh
>
>
>
>
>
>
>
> ______________________________________________________________________
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
More information about the discussion
mailing list