[Home]

Summary:ASTERISK-14047: DIALPLAN_EXISTS does not check for Caller ID
Reporter:Leo Brown (netfuse)Labels:
Date Opened:2009-05-01 04:52:53Date Closed:2011-06-07 14:08:10
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Functions/func_dialplan
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The DIALPLAN_EXISTS function does not match the syntax:

DIALPLAN_EXISTS(context,extension/clid,priority)

If a CLID is specified in the dialplan, this function will still return 0, regardless of whether that extension did exist with the specified CLID.
Comments:By: Tilghman Lesher (tilghman) 2009-05-01 13:06:53

Except that the documentation states that the function takes the arguments:
context,extension,priority
NOT
context,extension/clid,priority

Why would you think that you can specify the CLID, when documented otherwise?

By: Leo Brown (netfuse) 2009-05-01 17:31:01

Hi. This is a test for whether or not an extension exists. Extensions, in every other context, take the form extension[/callerid], i.e. optional caller ID (unfortunately called the ex-girlfriend feature!). Is it not a legitimate completion of the feature that this 'dialplan tester' should also allow the caller ID test?

By: Tilghman Lesher (tilghman) 2009-05-01 18:05:51

CallerID is already tested implicitly.  In any case, at best, this is a feature request, not a bug.