Nedi, You may want to look at this link for an alternative solution.
http://lonnie.abelbeck.com/astlinux/info/cnamfix.php The bash script is here: http://lonnie.abelbeck.com/astlinux/cnam-fix.agi.txt While it is written to remove the HTML Entities in the callerid, it is very simple to change for your purposes. Note that the variable "${agi_calleridname}" is the channel's callerid name, and "${agi_callerid}" is the callerid number. Simply set "CIDNAME" with the value (name) you find from your lookup. Accessing this AGI from your extensions.conf dialplan is quite simple... (name it what you wish) exten => s,n,AGI(cnam-fix.agi) Lonnie ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ 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].
