Hi everyone,
I am using Kamailio-4.1.5 and Kamailio-4.2.5 but with this both version I had a problem:
Connection diagrams:
SIP client ---- SBC --- Kamailio --- MGC/MGW --- GSM/PSTN subscriber
Scenario:
- Caller (SIP) make a new call to GSM (PSTN) subscriber
- When GSM/PSTN is ringing or not ringing, Caller cancel call (Caller send CANCEL message)
- But MGC does not send response message for CANCEL message
- After about 120s (fr_inv_timer), Kamailio send 487 Request Terminated to SBC.
From this time, Kamailio have memory leak (tm does not free transactions)
I reproduced this bugs 4-5 times and same problem is happen
I attached capture file and log when I show shared memory (using kamcmd core.shmmem) and tm statistics (using kamcmd tm.stats). And time Kamailio start memory leak isĀ 08-30-15-10:18:53
Could you help me solve this problem?
Thank you so much!
--
---------------------------
Bui Thi Minh Yen