[OpenSIPS-Users] [OpenSIPS-Devel] Pending OpenSIPS minor release
Răzvan Crainea
razvan at opensips.org
Fri Sep 1 04:47:47 EDT 2017
Hello!
Your test is not completely accurate - you should measure the timestamp
in OpenSIPS after the t_relay() function. Moreover, in the t_relay()
function, OpenSIPS simply passes the message to the kernel's network
layer - it's up to the OS when he sends the message, depending on
networking queuing, CPU load, etc.
Is this happening for all BYE messages?
Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 08/29/2017 07:47 AM, Sureshbhai Talasaniya wrote:
> _Hello,_
> *_
> _*
> *_Problem:
>
> _*
> In some calls I noticed, OpenSIPS takes at least 1 second to relay BYE
> message after calling t_relay function. However, we didn't notice
> major time difference in cfg execution before and after calling t_relay.
>
> *_Details about Problem:_*
>
> route[ON_BYE]
> {
> $avp(cdr_call_end_time)=$Ts;
> $avp(cdr_call_end_time_microsecond)=$Tsm;
>
> xlog("L_WARNING","[ $ci ] Before Do accounting : $Ts:$Tsm");
> launch(radius_send_acct("set2"));
> xlog("L_WARNING","[ $ci ] After Do accounting : $Ts:$Tsm");
> route("DEFAULT_RELAY_ROUTE");
> }
>
> route[DEFAULT_RELAY_ROUTE] {
> if (!t_relay()) {
> sl_reply_error();
> }
> exit;
> }
>
> In OpenSIPs Log.
> Aug 18 13:51:59 OS /usr/local/sbin/opensips[22304]: [ xxx at 1.1.1.1
> <mailto:xxx at 1.1.1.1> ] Before Do accounting : 1503041368:000686
> Aug 18 13:51:59 OS /usr/local/sbin/opensips[22304]: [ xxx at 1.1.1.1
> <mailto:xxx at 1.1.1.1> ] After Do accounting : 1503041368:000887
>
> 1503041368000887 - 1503041368000686 = 201 usec
>
> OpenSIPs cfg Generate Timestamp : 1503041368000887 and Called t_relay
> function.
> Timestamp of BYE in tcpdump output: 1503041369001085
>
> 1503041369001085 - 1503041368000887 = 1000198
>
> Which means OpenSIPS took 1 second to send BYE to Network Layer.
>
> For more information, I have attached SIP Message text file too.
>
> Looking forward to your help.
>
> Thanks in advance.
>
> On Mon, Aug 28, 2017 at 8:10 PM, Liviu Chircu <liviu at opensips.org
> <mailto:liviu at opensips.org>> wrote:
>
> Hi all,
>
> An OpenSIPS 2.3 minor release bump has been scheduled for
> Thursday, Aug 31st. If you happen to have any GitHub OpenSIPS
> issues or mailing list bug threads that have not been answered
> yet, please let us know as soon as possible so they make it onto
> the fix checklist.
>
> Best regards,
>
> --
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org <mailto:Devel at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/devel>
>
>
>
>
> --
> Regards,
> Suresh Talasaniya.
> Software Developer.
> Ecosmob Technologies Pvt. Ltd.
> Contact : +91-9724264776
> Skype : suresh.ecosmob
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170901/918c6972/attachment.html>
More information about the Users
mailing list