[OpenSIPS-Devel] [ opensips-Bugs-2788957 ] dialog entry purge and dialog timeout bug

SourceForge.net noreply at sourceforge.net
Sat May 9 11:02:27 CEST 2009


Bugs item #2788957, was opened at 2009-05-08 15:36
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2788957&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.5.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: dialog entry purge and dialog timeout bug

Initial Comment:
Hello all,
In OpenSIPs 1.4.5, dialog appeared in "opensipsctl fifo dlg_list" only if setflag was called on "modparam("dialog", "dlg_flag", 4)" that I triggered it only on an INVITE.
And everything looks fine, dialog was terminated receiving a BYE packet.

In OpenSIPS 1.5.1, all dialogs are visible in "opensipsctl fifo dlg_list", even without calling setflag(4) and furthermore, all my REGISTER transactions are not purged from memory after 200OK and the timeout parameter of these transaction increase with OpenSIPs uptime.

For example, I have put a default timeout of 10800s, my first REGISTER will get a timeout of 10807s, and another 60s later has a timeout of 10867s.

I'm trying to see where is the problem. I will keep you inform if I find something!

I used:
opensips -V
version: opensips 1.5.1-notls (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 5469 2009-03-18 12:43:10Z bogdan_iancu $
main.c compiled on 19:03:00 Apr 30 2009 with gcc 4.1.2


PS: I put some other outputs in OpenSIPs user mailing list

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-05-09 12:02

Message:
I see....
Do you use create_dialog() function or any of these modules:
nat_traversal, siptrace, mediaproxy, sst, call_control, pua_dialoginfo,
qos, load_balancer ?

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Marc LEURENT (lftsy)
Date: 2009-05-09 11:41

Message:
Hello Bogdan,
no I'm not using Mediaproxy. I use nathelper module to deal with NATed
users.
The only strange thing, is that I'm forwarding REGISTER to loadbalanced
(with dispatcher module) Asterisks, but I intercept REGISTER to be able to
ping all NATed users from the proxy.
Everything works fine with OpenSIPs 1.4.x


----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-05-09 11:27

Message:
Hi Marc,

regarding the first issue, with seeing all the dialogs - do you use
mediaproxy with engage_mediaproxy() ? because it forces dialog creation in
order to keep track of the dialog changes.

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Marc LEURENT (lftsy)
Date: 2009-05-08 15:38

Message:
Sorry, I have posted this anonymously, Here is a comment...
Best Regards,
Marc Leurent

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2788957&group_id=232389



More information about the Devel mailing list