[OpenSIPS-Users] Acc module /Bug
M.Khaled W Chehab
kchehab at icucall.com
Wed Apr 16 11:26:54 CEST 2014
Hi,
I notice that opensips is not hanging up the call when a bye is received
from client as it forward the BYE to gateway and gateway send a 200 ok back
,
furthermore i can see a bad behavior from gateway which is opensips forward
the ACK from UA after 200 OK with SDP is received from gateway to
gateway and the gateway send again and again 200 ok with SDP , besides
opensips forward it to client and reply back to gateway with ACK 10 times
Problem: When opensips receive a bye from UA it does not hang-up the
call and wait till max call duration to send a bye to gateway then gateway
reply by 481 transaction does not exist ,and the record stored in acc table
can this be a bug , I am using
version: opensips 1.10.0-notls (x86_64/linux)
flags: STATS: Off, EXTRA_DEBUG, 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.
@(#) $Id$
main.c compiled on 13:21:19 Oct 24 2013 with gcc 4.7
please advise
regards
From: M.Khaled W Chehab [mailto:kchehab at icucall.com]
Sent: Tuesday, April 15, 2014 4:24 PM
To: (users at lists.opensips.org); (users-bounces at lists.opensips.org)
Subject: Acc module
Hi
I have a problem with accc modules with the below scenario :
OPENSIPS receive the 200 ok from the trunk gateway ,and forward it to UA,
UA replies by ACK and opensips forward this ACK to Gateway ,..but for some
reason the Gateways resends a lot of 200 OK with SDP and opensips relay
these packets to UA and UA replies with ACK ...
Problem: Acc module set the call duration to 3600 seconds which is the max
call duration
By wire shark i can see that UA is sending a bye after 2 minutes and
opensips relay the BYE to Gateway moreover trunk gateway is sending back
200 OK to confirm the bye and it ends the call
But in mysql acc rows , acc module store the call duration to max call
duration(3600)
How can I fix this ,please advice
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140416/9c46b53e/attachment.htm>
More information about the Users
mailing list