XML directories for Cisco 7900 phones

Hi All,

This forum has helped me solved a problem, so time to pay it forward…

Here are my directories for Cisco 7900 phones (working OK on 7945G w/ SIP-9.3.1-SR2)

edir.php - reads the extensions from mySQL (asterisk.sip) and renders the XML output with pagination
cid.php - gets the cidname keys from astDB (via CLI call) and renders the XML, inserting ‘9’ into the number for out-dialing

I know there are MANY shortcomings for these (such as the pagination actually starts a new browser instance with the next/previous page, and the first/last page will ‘prev’/‘next’ forever) but they may be a useful starting point for someone with actual skills to improve upon.

Good luck…