[Serusers] problem with instant messages
Bogdan-Andrei IANCU
iancu at fokus.fraunhofer.de
Tue Jun 15 11:23:41 CEST 2004
408 Timeout means SER sent out the request, but no reply was received.
so, communication between SERWEB and SER works perfectly. Watch your
network traffic to see what about the reply (also you can start ser in
full debug mode to see if it actually receive the reply and what exactly
it's doing with it).
bogdan
Milivoje Mirovic wrote:
>I'm sorry for being boring, but this problem is very
>important to me. At least, can someone tell me if I
>did everything ok?
>
>Milivoje
>
>
>--- Milivoje Mirovic <mmirovic at yahoo.com> wrote:
>
>
>>Hello everybody!
>>
>>I'm configuring sip server as my student project and
>>I
>>have few problems, so I'll appreciate your help:
>>
>>I have configured ser and serWeb, pstn gateway,
>>mysql,
>>everything is working fine. How I'm unable to put IM
>>(instant messages) from serweb in function:
>>
>>- I have configured ser to accept messages in this
>>way:
>>
>>....
>>
>>fifo = "/tmp/ser_fifo"
>>fifo_mode = 0777
>>
>>....
>>
>>loadmodule "/usr/lib/ser/modules/msilo.so"
>>
>>....
>>
>>modparam("msilo", "registrar",
>>"sip:registrar at rcub.bg.ac.yu")
>>modparam("msilo", "db_url",
>>"sql://ser:password@rcub.bg.ac.yu/ser")
>>
>>....
>>
>>
>> if (method == "REGISTER") {
>>
>> if (!save("location")) {
>> sl_reply_error();
>> };
>>
>> m_dump();
>> break;
>> };
>>
>>....
>>
>> if (method == "MESSAGE") {
>> if (!t_newtran()) {
>> sl_reply_error();
>> break;
>> };
>>
>> if (m_store("0")) {
>> t_reply("202", "Accepted for
>>Later Delivery");
>> break;
>> };
>>
>> t_reply("503", "Service
>>Unavailable");
>> break;
>> };
>>
>>
>>Problem is that serweb continues to report '408
>>Request timed out' message. I think that maybe there
>>is problem with fifo, but I'm not sure. I tried to
>>run
>>shell script for sending IM (from admin guide) but
>>in
>>syslog there were several errors, all saying that
>>line
>>must begin with ':' (for lines: NOTIFY,
>>sip:originator at foo.bar etc.). Why script doesn't
>>work?
>>
>>Can you help me solve the problem?
>>Thank you in advance.
>>
>>Milivoje
>>
>>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - 100MB free storage!
>http://promotions.yahoo.com/new_mail
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
More information about the sr-users
mailing list