[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sip-implementors
Subject:    [Sip-implementors] a doubt in SIP header (call-id)
From:       "satya" <satyakumar () globaledgesoft ! com>
Date:       2000-10-19 7:16:13
Message-ID: 000701c0399a$ca7e5e40$650210ac () ddsl
[Download RAW message or body]

Hi,
 
    SUB: a doubt in SIP header (call-id) 

I had faced one problem when i'm testing my company's inhouse product, which is \
implementing SIP.

Here my role is :  
        To test the parser modules ---- which are written for headers in SIP like \
----  call-id, to, from, via, contact,   contact-length, cseq......
        When i'm trying to test the call-id module... i gave a header like the \
following one  Call-ID: 87602@141351@worcester.bell-telephone.com 
                
                it is parsed with local-id as  87602  and
                                        host      as  \
141351@worcester.bell-telephone.com 

                but what is I expect was 
                                        local-id as  87602@141351  and 
                                        host      as  worcester.bell-telephone.com 


since as per the rfc 2543....... I can give the 'reserved' letter '@'  in local-id.  
------------------------------------------------------------------------------------------------------------------------------------------------------------ \
 Call-ID = ( "Call-ID" | "i" ) ":" local-id "@" host

local-id = 1*uric

uric = reserved | unreserved | escaped

reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | ","

unreserved = alphanum | mark

mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"

escaped = "%" hex hex

alphanum = alpha | digit

digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"

alpha = lowalpha | upalpha

upalpha = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" \
| "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"

lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" |"j" | "k" | "l" | "m" \
| "n" | "o" | "p" | "q" | "r" |"s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"

hex = "A" | "B" | "C" | "D" | "E" | "F"| "a" | "b" | "c" | "d" | "e" | "f" | digit

-------------------------------------------------------------------------------------- \
---------------------------------------------------------------------------------------------



So my doubt was " whether the reserved letter @ can be used in the local-id  part of \
call-id header or not"   ......  could u please clarify.. this issue....

Please find some time to clear this....I'll be greatful to u...

Regards,
Senapathy T.
( please reply to  tsenapathy@rediffmail.com  or srinand@globaledgesoft.com )


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; <STRONG><U>SUB</U></STRONG>: a 
doubt in SIP header (call-id) </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I had faced one problem when i'</FONT><FONT 
face=Arial size=2>m testing my company's inhouse product, which is implementing 
<STRONG><U>SIP</U></STRONG>.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here my role is :&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; To test 
the&nbsp;parser modules ---- which are written for headers&nbsp;in SIP like 
----&nbsp; call-id, to, from, via, contact, </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; contact-length, cseq......</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; When i'm 
trying to test the call-id module... i gave a header like the following 
one</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT \
 size=2><A 
href="mailto:Call-ID: 87602@141351@worcester.bell-telephone.com">Call-ID: 
87602@141351@worcester.bell-telephone.com</A></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; it is parsed with <STRONG>local-id 
</STRONG>as<STRONG>&nbsp; 87602&nbsp; </STRONG>and</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <STRONG>host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </STRONG>as&nbsp; <STRONG><A 
href="mailto:141351@worcester.bell-telephone.com">141351@worcester.bell-telephone.com</A>&nbsp;</STRONG></FONT></DIV>
 <DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; but what is I expect was </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <STRONG>local-id </STRONG>as<STRONG>&nbsp; 87602@1<STRONG>41351</STRONG>&nbsp; 
</STRONG>and 
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <STRONG>host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </STRONG>as&nbsp; <STRONG><A 
href="mailto:141351@worcester.bell-telephone.com">worcester.bell-telephone.com</A>&nbsp;</STRONG></FONT></DIV>
 <DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>since as per the rfc 2543....... I can give the '<STRONG>reserved</STRONG>' 
letter <STRONG>'@'</STRONG>&nbsp; in local-id.&nbsp;&nbsp;</DIV>
<DIV>--------------------------------------------------------------------------------- \
---------------------------------------------------------------------------&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 </DIV>
<DIV><FONT size=2>
<P><STRONG>Call-ID = ( "Call-ID" | "i" ) ":" local-id "@" host</STRONG></P>
<P>local-id = 1*uric</P><FONT size=2>
<P>uric = reserved | unreserved | escaped</P>
<P>reserved = ";" | "/" | "?" | ":" | "@" | "&amp;" | "=" | "+" | "$" | 
","</P></FONT></FONT></DIV>
<DIV><FONT size=2>
<P>unreserved = alphanum | mark</P>
<P>mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"</P>
<P>escaped = "%" hex hex</P><FONT size=2>
<P>alphanum = alpha | digit</P><FONT size=2>
<P>digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"</P>
<P>alpha = lowalpha | upalpha</FONT></FONT></FONT></P></DIV></FONT></DIV>
<DIV><FONT size=2>
<P><FONT size=1><FONT size=3>upalpha </FONT>= "A" | "B" | "C" | "D" | "E" | "F" 
> "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | 
"T" | "U" | "V" | "W" | "X" | "Y" | "Z"</FONT></P>
<P><FONT size=3>lowalpha </FONT>= "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" 
> "i" |"j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" |"s" | "t" | "u" | 
"v" | "w" | "x" | "y" | "z"</P><FONT size=2>
<P>hex = "A" | "B" | "C" | "D" | "E" | "F"| "a" | "b" | "c" | "d" | "e" | "f" | 
digit</P>
<P><FONT 
face=Arial>--------------------------------------------------------------------------- \
--------------------------------------------------------------------------------------------------------</FONT></P></FONT></FONT></DIV>
 <DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So my doubt was <STRONG>" whether the <U>reserved 
letter @ </U>can be used in the <U>local-id</U>&nbsp;&nbsp;part of call-id 
header or not"&nbsp;&nbsp; ......</STRONG>&nbsp; could u please clarify.. this 
issue....</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please find some time to clear this....I'll be 
greatful to u...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Senapathy T.</FONT></DIV>
<DIV><FONT face=Arial size=2>( please reply to&nbsp; <A 
href="mailto:tsenapathy@rediffmail.com">tsenapathy@rediffmail.com</A>&nbsp; or 
<A href="mailto:srinand@globaledgesoft.com">srinand@globaledgesoft.com</A> 
)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic