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(a)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.
********************************************************************
--
At 05:47 AM 3/29/2003, Dan Austin wrote:
>Can anyone recommend a SIP stack for Linux, where the code is documented well
>enough so that someone not an expert on SIP programming can
>figure it out?
A possibility is our FIFO UA, part of SER. It was built to couple SIP-unaware
applications with SER over stdin/stdout interface. We use it for our click-to-dial
and voicemail application. The adventage is it is pretty simply and you don't need
to run into stack details. For sake of completeness: some in our team would prefer
a stand-alone SIP stack better, but we don't have any yet.
If that is interesting for you, we will be glad to provide you with guidance.
-Jiri
hi,
Thanks for the quick reply.
Geetha
---------- Original Message ----------------------------------
>From: Nils Ohlmeier <nils(a)iptel.org>
>Reply-To: seruser(a)iptel.org
>Date: Sat, 29 Mar 2003 05:08:36 +0100
>
>>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
>>
>>
>
>--
>********************************************************************
>eRiva provides IT Solutions & Services to companies worldwide.
>Our State of the Art Research & Development Centers provides
>Innovative Solutions to global customers.
>********************************************************************
>
>
>
>--
>
--
********************************************************************
eRiva provides IT Solutions & Services to companies worldwide.
Our State of the Art Research & Development Centers provides
Innovative Solutions to global customers.
********************************************************************
--
I'd guess that many folks on the list are as interested in
finding a low cost PC based gateway as I am.
My research has uncovered on possible candidate, and caused
some confusion at the same time.
I came upon a product called Wildcard T100P. A single loop
T1/PRI card with linux drivers, for the oh-so-reasonable price
of US $500. The catch seems to be that there is no gateway
code written to date to use the card, at least no code whose
only function is to be a gateway. There is also a single
port FXO card for US $100
It turns out that the OSS PBX Asterisk can leverage the card,
has support for SIP, and is in general really cool, but too
feature rich to be used as a PSTN gateway. Sure the price is
right (free).
Has anyone worked on or with the Wildcard? Details about the
card can be found at http://www.zapatatelephony.org/
What is lacking appears to be a package that can leverage
the Wildcard library with a SIP frontend. I am tempted to
try to workout what the framework of such a package would
look like, and try to rough out some code. The problem with
that is I'm no coder*. The source for the Wildcard driver is
well documented, so I may try anyways. Can anyone recommend
a SIP stack for Linux, where the code is documented well
enough so that someone not an expert on SIP programming can
figure it out?
* Not professionally. I have needed to debug C source before,
and have written small tools that to be honest were not at all
elegant.
Dan
Juha's ENUM lookup routine currently looks up the e164.arpa tree for a
phone number and searches for a sip record, which is returned and used to
rewrite the current uri.
ENUM also allows tel: records amongst others.
What, if anything should be done with those, and how should they be treated
relative to sip records?
I would assume a tel: record could be interpreted as a kind of call
forward, which could be arbitrarily staged.
One way of handling this could be to explicitely look for tel records with,
e.g., an argument to enum_query() to have any tel records rewrite the
current uri, and then go on to look up the result (maybe recursively which
requires a loop counter and an abort condition).
so the resolution could look like
while (loopcount--) {
enum_query("tel");
enum_query("sip");
}
what do you think?
-Michael
hi,
thanks. what i am looking for is not a full fledged accounting module. i
need to know if currently generated call records can be put into MySql
database. if yes, is there any tool available to view these records?
rgds,
sunithi
-----Original Message-----
From: jh(a)lohi.eng.song.fi [mailto:jh@lohi.eng.song.fi]
Sent: Thursday, March 27, 2003 8:21 PM
To: Sunithi JP
Cc: 'serusers(a)lists.iptel.org'
Subject: RE: [Serusers] help with accounting using mysql
Sunithi JP writes:
> thanks for the quick response. cud u pls tell me if accounting thru
RADIUS
> is working?
it depends how you define "working". the problem currently is that
there is no easy way to know if a bye, for example, was sent by a local
or foreign user. before that is information is available, any
accounting is difficult to make to "work".
if you mean a version of radius accounting that doesn't crash and
produces "records", i'm sure that such a module will be included in the
next release.
-- juha
hi Nils,
thanks for the quick response. cud u pls tell me if accounting thru RADIUS
is working? if so, where can i find help regarding this? any documents? pls
send me the links if any.
thanks
sunithi
-----Original Message-----
From: Nils Ohlmeier [mailto:nils@iptel.org]
Sent: Thursday, March 27, 2003 7:46 PM
To: Sunithi JP; 'serusers(a)lists.iptel.org'
Subject: Re: [Serusers] help with accounting using mysql
On Thursday 27 March 2003 15:09, Sunithi JP wrote:
> hi all,
> i mailed earlier regarding this. this is really urgent.
>
> i have just installed SER (version 0.8.10) along with the MySql support. i
> made entries for 2 users using "serctl add" command and am able to place a
> call between them using MSN messenger.
> i want to know what accounting support is available using MySql. what
> settings need to be done? are any records generated and placed in the
> database? how do i access these records?
> in ser.cfg i have loaded modules acc.so and mysql.so.
>
> pls help asap.
Their exist no support for storing accounting information in the MySQL
database. You can use the acc module, which then will log informations about
call starting and ending into syslog.
But currently your are on your own to accumulate this informations from
syslog.
If you would be so kind to search the mailing list archives yourself you
will
find that we are currently talking to one users about publishing their
solution. And in the future will also provide a solution.
Regards
Nils Ohlmeier
hi all,
i mailed earlier regarding this. this is really urgent.
i have just installed SER (version 0.8.10) along with the MySql support. i
made entries for 2 users using "serctl add" command and am able to place a
call between them using MSN messenger.
i want to know what accounting support is available using MySql. what
settings need to be done? are any records generated and placed in the
database? how do i access these records?
in ser.cfg i have loaded modules acc.so and mysql.so.
pls help asap.
thanks,
sunithi
hi,
It seems that iptel SER supports only strict routing. Pls tell me if it
supports loose routing. if yes, do i have to enable it somehow?
thx,
sunithi
Than you!
-jiri
At 10:00 AM 3/27/2003, Ng, Soo Sim wrote:
>I had tested it working with Cisco 3640 using ISDN BRI (VIC-2BRI-S/T-TE)
>
>SS
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/