[Asterisk-Users] Directory doesn't work well Asterisk@home2.7- try from PSTN with Digital recepcionist- Directory based on Last name

Marco Mouta marco.mouta at gmail.com
Tue Mar 14 18:41:24 MST 2006


Hi all,

Directory lookup, Asterisk at home 2.7, are this small bugs?

 case DIR_FIRST: $intro = ($operator ? "dir-intro-fn-oper" :
"dir-intro-fn"); break;
                case DIR_BOTH: $intro = ($operator ?
"dir-intro-fnln-oper" : "dir-intro-fnln"); break;
                case DIR_LAST: default: $intro = ($operator ?
"dir-intro-oper" : "dir-intro"); break;

dir-intro-oper.gsm is not available on asterisk sound directory!


Also i have a doubt on Directory agi script, I found this:

....

 else if (!empty($digits) || ($digits === "0")) {
                        // strict type checking as they may have
entered "0" (string) which is empty()
                        $agi->stream_file("dir-nomatch");
                } // else, we timed out



Probably it's because i'm newbie, but is it correct 3 equals? ($digits
=== "0"))  ?????


Best regards,
Marco Mouta



More information about the asterisk-users mailing list