Summary: | ASTERISK-05746: Watchers grows indefinetely while resetting phones with BLF lines | ||
Reporter: | Alessandro Polverini (alessandro polverini) | Labels: | |
Date Opened: | 2005-11-30 11:48:38.000-0600 | Date Closed: | 2011-06-07 14:10:08 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I have a GXP-2000 with firmware 1.0.1.13 supporting BLFs. If I register the BLF and I do a "show hints" from the CLI I get: -= Registered Asterisk Dial Plan Hints =- 17 : SIP/soa-17 State:Unavailable Watchers 0 16 : SIP/soa-16 State:Idle Watchers 3 Each time I reset the phone, the watchers grows, even if I'm always the only phone to use BLF (in the example watchers are 3 because I resetted 3 times). I don't know if this can lead to memory leak or some perfomance problems of any kind but I tought it would useful to report. GREAT thing BLF, btw :D | ||
Comments: | By: Kevin P. Fleming (kpfleming) 2005-12-12 21:28:39.000-0600 Please show us the output of 'sip show subscriptions' when your system is in this state. By: Kevin P. Fleming (kpfleming) 2005-12-12 21:30:56.000-0600 Also show us a SIP debug of the phone sending SUBSCRIBE requests to Asterisk... the Expires header in those requests will determine when Asterisk decides to close out the subscriptions. By: Jason Parker (jparker) 2006-01-02 11:52:09.000-0600 Have you gotten the information that was requested? We need this in order to help you. By: Olle Johansson (oej) 2006-01-02 11:55:03.000-0600 When you reset the phone, it will add subscriptions to "sip show subscriptions". After some time, the subscriptions should expire and the number of watchers should be fewer. By: Olle Johansson (oej) 2006-01-02 11:55:14.000-0600 When you reset the phone, it will add subscriptions to "sip show subscriptions". After some time, the subscriptions should expire and the number of watchers should be fewer. By: Alessandro Polverini (alessandro polverini) 2006-01-02 14:25:42.000-0600 I'll wait to check if the subscriptions expire. In the meantime this is the relevant (I hope) section of debug: Reliably Transmitting (no NAT) to 10.123.123.152:5064: NOTIFY sip:19@10.123.8.253 SIP/2.0 Via: SIP/2.0/UDP 10.123.8.253:5060;branch=z9hG4bK0eee0676;rport From: <sip:11@10.123.8.253;user=phone>;tag=as4728fd08 To: <sip:19@10.123.8.253>;tag=6831af034902c283 Contact: <sip:11@10.123.8.253> Call-ID: e1a9cb6c6ab5d056@10.123.123.152 CSeq: 102 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 201 <?xml version="1.0"?> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:11@10.123.8.253"> <dialog id="11"> <state>terminated</state> </dialog> </dialog-info> By: Alessandro Polverini (alessandro polverini) 2006-01-02 16:23:47.000-0600 Ok, after a few hours watchers expires. I think this bug can be closed then... Thanks, Alex By: Olle Johansson (oej) 2006-01-03 00:38:27.000-0600 Ok, thank you for following up and reporting something you thought was a bug! /Olle |