Hi Lonnie
Had to change your regular expression in ciname.php to suit Australian
CLI Eg 0X(STD code) + XXXXXXXX(Local number) = 0XXXXXXXXXX (national
number CLI)
Changed from
if (preg_match('/^[2-9][0-9][0-9][2-9][0-9][0-9][0-9][0-9][0-9][0-9]/',
$cidnum))
to
if (preg_match('/^[0][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/',
$cidnum))
I also have calls routed from a trunked PBX with on/off net 4/5 digit
extension numbers which I have added as 4/5 digit CLI name lookups. I
suppose theirs a couple of schools of thought here, eg I should really
be using a standard national number CLI name lookup and letting asterisk
do the correct call routing.
Regards Guy
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]