[Home]

Summary:ASTERISK-19232: Notifycid sending -1 instead of 1
Reporter:Eike Maier (infy1801)Labels:
Date Opened:2012-01-23 04:33:21.000-0600Date Closed:2012-01-23 11:43:01.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:1.8.7.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:RHEL 5.5Attachments:( 0) find_calling_channel.txt
Description:On Snom 360/370/.. Phones with "Show dialog info call pickup on xml screen" enabled appears e.g. Ext12->Ext12 (notifycid changed to "yes" in sip conf).

I just discovered, that the variable sip_cfg.notifycid in chan_sip.c at function find_calling_channel
has the valuev "-1", but the cosntants to check are disabled = 0, enabled = 1 and ignore_context = 2.

Does anyone of you discovered this bug to or was it fixed in the last time?

I added my debug notices from this function.
Comments:By: Eike Maier (infy1801) 2012-01-23 04:34:19.999-0600

my debug notices

By: Richard Mudgett (rmudgett) 2012-01-23 11:31:33.625-0600

This error is benign.  The code only cares if the value is 0, or 2 explicitly.  Any other value it treats as enabled.