[Home]

Summary:ASTERISK-18673: Large number of active sip dialogs INVITE in the output "sip show channels".
Reporter:Aleksandr Gordeev (axonaro)Labels:
Date Opened:2011-10-05 01:07:20Date Closed:2011-10-18 12:13:45
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:1.8.7.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-17146 [patch] Problem with dialing SIP peer that is not reachable.
Environment:Attachments:
Description:On Debian 6.0 and Asterisk 1.8.7.0 (with patch for t38 gateway) in the output "sip show channels" I see the following (IP addresses is fake):
1.2.2.27 SIP^port_l 418a2921459fd18 0x0 (nothing) No Tx: INVITE ast-dup

*CLI>sip show channel 418a2921459fd182490793777ab93ab0

* SIP Call
Curr. trans. direction: Outgoing
Call-ID: 418a2921459fd182490793777ab93ab0@1.2.2.26:5060
Owner channel ID: <none>
Our Codec Capability: 0x10c (ulaw|alaw|g729)
Non-Codec Capability (DTMF): 1
Their Codec Capability: 0x10c (ulaw|alaw|g729)
Joint Codec Capability: 0x10c (ulaw|alaw|g729)
Format: 0x0 (nothing)
T.38 support Yes
Video support No
MaxCallBR: 384 kbps
Theoretical Address: 1.2.2.27:5060
Received Address: 1.2.2.27:5060
SIP Transfer mode: closed
Force rport: No
Audio IP: 1.2.2.26 (local)
Our Tag: as2d62963c
Their Tag: as5cc93517
Username: SIP^port_line1
Peername: ast-dup
Original uri: sip:SIP^port_line1@1.2.2.27
Need Destroy: No
Last Message: Tx: INVITE
Promiscuous Redir: No
Route: sip:SIP^port_line1@1.2.2.27
DTMF Mode: rfc2833
SIP Options: (none)
Session-Timer: Inactive

With the execution of commands for any active dialogue, for example ACK, I get the following:

Session-Timer: Active
S-Timer Interval: 600
S-Timer Refresher: uac
S-Timer Expirys: 0
S-Timer Sched Id: 9918
S-Timer Peer Sts: Inactive
S-Timer Cached Min-SE: 90
S-Timer Cached SE: 600
S-Timer Cached Ref: auto
S-Timer Cached Mode: Originate

After I have made "module unload chan_sip.so" and "module load chan_sip.so" they disappear.

In logs :
[2011-10-05 08:30:02] DEBUG[10122] chan_sip.c: Initializing initreq for method INVITE - callid 418a2921459fd182490793777ab93ab0@1.2.2.26:5060
[2011-10-05 08:30:02] DEBUG[22337] chan_sip.c: Stopping retransmission on '418a2921459fd182490793777ab93ab0@1.2.2.26:5060' of Request 102: Match Found
[2011-10-05 08:30:02] DEBUG[22337] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '418a2921459fd182490793777ab93ab0@1.2.2.26:5060' Request 103: Found
[2011-10-05 08:30:02] DEBUG[22337] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '418a2921459fd182490793777ab93ab0@1.2.2.26:5060' Request 103: Found
[2011-10-05 08:30:22] DEBUG[22337] chan_sip.c: Stopping retransmission on '418a2921459fd182490793777ab93ab0@1.2.2.26:5060' of Request 103: Match Found
[2011-10-05 08:30:22] DEBUG[22337] chan_sip.c: Session timer started: 9019 - 418a2921459fd182490793777ab93ab0@1.2.2.26:5060
[2011-10-05 08:30:27] DEBUG[10122] chan_sip.c: Initializing already initialized SIP dialog 418a2921459fd182490793777ab93ab0@1.2.2.26:5060 (presumably reinvite)
[2011-10-05 08:30:27] DEBUG[22337] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '418a2921459fd182490793777ab93ab0@1.2.2.26:5060' Request 104: Found
[2011-10-05 08:30:29] DEBUG[10122] chan_sip.c: Session timer stopped: 9019 - 418a2921459fd182490793777ab93ab0@1.2.2.26:5060
Comments: