Well, duh. I didn't even think to look. Very cool. Thanks.
David

On Thu, Dec 11, 2008 at 5:25 PM, Lonnie Abelbeck
<li...@lonnie.abelbeck.com>wrote:

> David,
>
> Take a look at the Pref tab, "Caller*ID, Blacklist & Whitelist Tab
> Options:" section
>
> Number Format: |     |
>
> Error String:  |    |
>
> The Number format uses regular expressions (ereg) to do a sanity check on
> the number.  You can essentially turn this off by putting "^.*" in this
> entry, but some sanity check is good.
>
> Lonnie
>
> The "Number Format:" specification is very flexible, using the
> standard UNIX regular expression syntax.
>
> Another example, allow any number 0-9 with at least 6 digits and at most
> 16 digits.
>
> ^[0-9]{6,16}$
>
>
>
>
> On Dec 11, 2008, at 3:36 PM, David Kerr wrote:
>
>  I just tried to add a callerID number/name using Lonnie's web interface
>> and got a "Number must be 10 digits in the format NXXNXXXXXX" message. I
>> believe that this is overly restrictive... and is certainly very US centric.
>> I was trying to add a UK phone number that I receive calls from through a
>> UK-based DID (sipgate) and those numbers come in as 0aaaeeennnn (zero,
>> areacode, exchange, number) but with no "name".  Even with my US-based DID
>> (vitelity) if someone from overseas calls I get number (ccnnnn. - country
>> code, number-of-indeterminate-length) but no "name" which is why I want to
>> add my known contacts into the Asterisk callerid db.
>>
>> I don't believe that there are any asterisk-imposed limitations on this,
>> so can we please have this check lifted in the GUI so that I can enter any
>> number format I like?
>>
>> Thanks,
>> David
>>
>
>
>
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to