Hi,
Can anybody explain me the behavior in case UE recieves the INVITE request
with From Header as:
From: http://www.mytest.test;tag=1
The difference in the above uri is that it is neither SIP/SIPS/TEL
URI.Should we respond with 200 Ok for the above request?
Regards
Sumant
Yes; you should allow responding with a 200 response if you want to be
interoperable with devices sending such atypical From URI schemes.
The following link indicates the various registered URI schemes.
http://www.iana.org/assignments/uri-schemes.html
-Original Message-
From:
Hi Sumant,
According to RFC 3261, ABNF grammer, I guess we can accept the From: header.
scheme = ALPHA *( ALPHA / DIGIT / + / - / . )
From= ( From / f ) HCOLON from-spec
from-spec = ( name-addr / addr-spec )
*( SEMI from-param )
addr-spec =
3261 allows this.
Since the From URI doesn't have a role in routing messages, the
infrastructure should deliver the request to some server responsible for
the R-URI. Once it gets there, the recipient can reject the request if
it wants. For instance you could return a 403 Forbidden response.