#141 dialog entry purge and dialog timeout bug

1.5.x
closed-invalid
modules (454)
2
2009-07-23
2009-05-08
Anonymous
No

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

Discussion

1 2 > >> (Page 1 of 2)
  • Marc LEURENT
    Marc LEURENT
    2009-05-08

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

     
  • 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

     
    • assigned_to: nobody --> bogdan_iancu
     
  • Marc LEURENT
    Marc LEURENT
    2009-05-09

    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

     
  • 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

     
  • Marc LEURENT
    Marc LEURENT
    2009-05-09

    I do not use any of these modules, I don't have my config here, but I use
    bacic modules: from default opensips,cfg
    additionnal modules: dispatcher, nathelper,db_mysql,domain

    I use the function create_dialog() only in a if method == INVITE section,
    but I have commented it in OpenSIPs 1.5.1 and I still have dialogs with strange timeout, I have posted my dialog parameters in an email yesterday if you want to see.

    I should go an IRC, but I do not have access to my servers from here...
    Thank you for your time

     
  • Hi Marc,

    if this report is still valid, could you please post or send me the full log (from startup) in debug 6? I just want to take a look and see what I can find out.

    Thanks and regards,
    Bogdan

     
  • Marc LEURENT
    Marc LEURENT
    2009-07-08

    Hello Bogdan,
    All my server are still running OpenSIPs 1.4.5, I do not have anymore server available for testing. I should get them for July 17th if they are delivered on schedule.
    I have so many trouble with CentOS (with Asterisk or OpenSIPs) that I'm starting to think that the problem could be linked with my compilation environment on CentOS...
    Best Regards

     
  • Marc, thanks for the feedback - sure, I will wait yo see if you have some updates on this. In the mean while I downgraded the severity of this report.

    Thanks and regards,
    Bogdan

     
    • priority: 5 --> 2
     
1 2 > >> (Page 1 of 2)