hello every one,
I am facing some problem in the OPTIONS method.
I am getting "404 not found" response.
I wanted to query the server for its capabilities.
I wanted to know which are the methods it supports from the 200OK response of my OPTIONS method.
My packet was as below
OPTIONS sip:192.168.1.9 SIP/2.0 Via: sip/2.0/UDP 192.168.1.9:5060 Max-Forwards: 70 To: sip:192.168.1.9 From: sip:geetha@192.168.1.21;tag=1047012665620 Call-Id: 82963748691a049dc5aadf81b162c894@192.168.1.9 CSeq: 1 OPTIONS Contact: sip:192.168.1.9:5060 Accept: application/sdp Content-Length: 0
Can some one tell me How SER works for OPTIONS method and why am i getting that "404 not found" response.Is there some problem with my packet?
Thanks Geetha
-- ******************************************************************** eRiva provides IT Solutions & Services to companies worldwide. Our State of the Art Research & Development Centers provides Innovative Solutions to global customers. ********************************************************************
--
Hello Geetha,
On Saturday 29 March 2003 04:49, Geetha Shree wrote:
I wanted to know which are the methods it supports from the 200OK response of my OPTIONS method.
My packet was as below
OPTIONS sip:192.168.1.9 SIP/2.0 Via: sip/2.0/UDP 192.168.1.9:5060 Max-Forwards: 70 To: sip:192.168.1.9 From: sip:geetha@192.168.1.21;tag=1047012665620 Call-Id: 82963748691a049dc5aadf81b162c894@192.168.1.9 CSeq: 1 OPTIONS Contact: sip:192.168.1.9:5060 Accept: application/sdp Content-Length: 0
Can some one tell me How SER works for OPTIONS method and why am i getting that "404 not found" response.Is there some problem with my packet?
the answer is pretty simple: Ser is currently not yet able to answer OPTIONS to the server itself. Maybe it is possible to create a correct answer with a lot of script commands (e.g. if==OPTIONS and user not present in uri { sl_reply(200); append_hf(header filed with the methods);break}), but their is support for this built into Ser or one of its modules. As a proxy it tries to find the user, to which it should process the request, which is not present, and because of this you get a 404 back.
Regards Nils Ohlmeier
On Saturday 29 March 2003 05:01, Nils Ohlmeier wrote:
On Saturday 29 March 2003 04:49, Geetha Shree wrote:
Can some one tell me How SER works for OPTIONS method and why am i getting that "404 not found" response.Is there some problem with my packet?
the answer is pretty simple: Ser is currently not yet able to answer OPTIONS to the server itself. Maybe it is possible to create a correct answer with a lot of script commands (e.g. if==OPTIONS and user not present in uri { sl_reply(200); append_hf(header filed with the methods);break}), but their is support for this built into Ser or one of its modules.
^^^ Errata: is no support
As a proxy it tries to find the user, to which it should process the request, which is not present, and because of this you get a 404 back.
Greetings Nils
OPTIONS is supposed to be processed by a UAS and not a proxy server. (except proxy-required). Proxy handles it as any other request. see rfc3261.
-Jiri
At 04:49 AM 3/29/2003, Geetha Shree wrote:
hello every one,
I am facing some problem in the OPTIONS method.
I am getting "404 not found" response.
I wanted to query the server for its capabilities.
I wanted to know which are the methods it supports from the 200OK response of my OPTIONS method.
My packet was as below
OPTIONS sip:192.168.1.9 SIP/2.0 Via: sip/2.0/UDP 192.168.1.9:5060 Max-Forwards: 70 To: sip:192.168.1.9 From: sip:geetha@192.168.1.21;tag=1047012665620 Call-Id: 82963748691a049dc5aadf81b162c894@192.168.1.9 CSeq: 1 OPTIONS Contact: sip:192.168.1.9:5060 Accept: application/sdp Content-Length: 0
Can some one tell me How SER works for OPTIONS method and why am i getting that "404 not found" response.Is there some problem with my packet?
Thanks Geetha
--
eRiva provides IT Solutions & Services to companies worldwide. Our State of the Art Research & Development Centers provides Innovative Solutions to global customers.
-- _______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
Sorry i do not agree with you. According to chapter 11 of rfc3261 you should also be able to query the capabilities of a proxy server with an OPTIONS request by using the server address without any user part as request uri.
The explanation is simple: you should ba able the query the minimal capabilities of a server/proxy chain to your destination (allthough in this case you are not requried to put the server uri into the ruir, but the proxy may answer an OPTIONS request with Max-Forwards equal zero with 200 (and its capabilities) instead of the normal 483).
Nils
On Saturday 29 March 2003 12:11, Jiri Kuthan wrote:
OPTIONS is supposed to be processed by a UAS and not a proxy server. (except proxy-required). Proxy handles it as any other request. see rfc3261.
-Jiri
At 04:49 AM 3/29/2003, Geetha Shree wrote:
hello every one,
I am facing some problem in the OPTIONS method.
I am getting "404 not found" response.
I wanted to query the server for its capabilities.
I wanted to know which are the methods it supports from the 200OK response of my OPTIONS method.
My packet was as below
OPTIONS sip:192.168.1.9 SIP/2.0 Via: sip/2.0/UDP 192.168.1.9:5060 Max-Forwards: 70 To: sip:192.168.1.9
From: sip:geetha@192.168.1.21;tag=1047012665620
Call-Id: 82963748691a049dc5aadf81b162c894@192.168.1.9 CSeq: 1 OPTIONS Contact: sip:192.168.1.9:5060 Accept: application/sdp Content-Length: 0
Can some one tell me How SER works for OPTIONS method and why am i getting that "404 not found" response.Is there some problem with my packet?
Thanks Geetha
--
eRiva provides IT Solutions & Services to companies worldwide. Our State of the Art Research & Development Centers provides Innovative Solutions to global customers.
-- _______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers