[Home]

Summary:ASTERISK-16528: Enable to use '-' sign in CallerID
Reporter:shays (shays)Labels:
Date Opened:2010-08-09 07:46:50Date Closed:2011-06-07 14:00:47
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Functions/func_callerid
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The function:
   void ast_shrink_phone_number(char *n)
removes the '-' sign from incomming callar ID data.
Since it is a valid SIP address it shell be acceptiable by PBX

A configuration value can determine which signs to remove from caller id
Comments:By: Paul Belanger (pabelanger) 2010-08-09 08:20:21

patch?

By: shays (shays) 2010-08-09 08:26:42

I don't have a patch for this

By: David Woolley (davidw) 2010-08-10 04:56:29

Without a patch, you can't submit a feature request here.

As it it is quite common to punctuate real phone numbers with hyphen, I don't think unconditionally accepting this character would be acceptable.  I also seem to remember that the extension pattern matching code ignores it, for real patterns.

By: Tilghman Lesher (tilghman) 2010-08-10 11:25:05

Feature request without patch.