[Kamailio-Users] openSER with 200 cps

Ovidiu Sas osas at voipembedded.com
Thu Aug 14 00:30:03 CEST 2008


Try to use 5000 ms in between the 180 and the 200 OK and see if the
problem still persist.
kamailio is a multiprocess application and some replies to the same
method can be handled by different processes, and therefore there's no
guarantee that the message sequence will be preserved.
Another thing that you can try is to use a single listener.  This
should preserve the message sequence as each reply will be handled by
the same process.

Regards,
Ovidiu Sas

On Wed, Aug 13, 2008 at 4:51 PM, Ali Soltani <mail at alirsm.com> wrote:
> Hi,
>
> I am not getting any error message in the openSER log file. No database
> lookups or any intensive operations. OpenSER is simply relay the traffic.
> Machine load is only few %, more than 90% idle.
> I have tried 0, 200 msec, 500 msec pause time between 180 and 200. The
> problem still exists.
>
> I also tried to dump the openSER request / responses to the log file to
> check the message sequence. However, the log statement in the
> onreply_route[1] will dump the responses received by openSER from callee, .
> How can I dump the responses that openSER proxy back to caller (after
> modifying via field) ?
>
> route
> {
>    t_on_reply("1");
>    ...
> }
>
> route[1]
> {
>    xlog("L_INFO","\n\n$Cbg[  Method $rm from $si  ]$Cxx\n$mb$Cbg[  End of
> Request  ]$Cxx\n");
>    if (!t_relay())
>    {
>       xlog("replay error");
>       sl_reply_error();
>    };
>    exit;
> }
> onreply_route[1]
> {
>    xlog("L_INFO","\n\n$Cbg[  Method $rm from $si  ]$Cxx\n$mb$Cbg[  End of
> Request  ]$Cxx\n");
> }
>
>
>
>
>
>
> From: Ovidiu Sas
> Sent: Wednesday, August 13, 2008 9:04 AM
> To: Henning Westerholt
> Cc: Ali Soltani ; users
> Subject: Re: [Kamailio-Users] openSER with 200 cps
> Also, from the sipp script, after how much time the 200ok is sent
> after the 180 was sent?
> Do you let any ring time at all in your script?
>
> On Wed, Aug 13, 2008 at 4:31 AM, Henning Westerholt
> <henning.westerholt at 1und1.de> wrote:
>> On Tue, August 12, 2008 11:33 pm, Ali Soltani wrote:
>>> I am analyzing a simple scenario of SIP message exchanges for call setup
>>> between two SIP end-point and a sip proxy. The SIP signaling messages for
>>> call setup are exchanged between two SIP end-points (using SIPp uac and
>>> uas) via the openSER intermediary proxy.
>>>
>>> Caller                                Callee
>>> SIPp-UAC --> openSER --> SIPp-UAS
>>>
>>> No delay has been set between 180, 200 responses messages sent by callee
>>> (SIPp-UAS).  After using SIPp to create more than 200 cps, openSER starts
>>> sending messages out of order (sending 200 before 180). This causes all
>>> calls to fail.
>>
>> Hi Ali,
>>
>> do you get any error messages in the log files this time? What version of
>> OpenSER do you use? Do you do any database lookups or some other resource
>> intensive operations in your configuration? What is the load of the
>> machine when the problems starts to appear?
>>
>> Cheers,
>>
>> Henning
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
>
>




More information about the Users mailing list