Update of /usr/cvsroot/astcc
In directory mongoose.digium.com:/tmp/cvs-serv10375

Modified Files:
        astcc.agi 
Log Message:
make Local dialing work properly (bug #4300)


Index: astcc.agi
===================================================================
RCS file: /usr/cvsroot/astcc/astcc.agi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- astcc.agi   15 May 2005 05:51:28 -0000      1.13
+++ astcc.agi   19 May 2005 04:53:13 -0000      1.14
@@ -289,7 +289,7 @@
        $sth->finish;
        return "CHANUNAVAIL" unless $res;
        if ($res->{tech} eq "Local") {
-               $dialstr = "Local/$phone/$res->{path}|30|HL/n(" . ($maxtime * 
60 * 1000) . ":60000:30000)";
+               $dialstr = "Local/[EMAIL PROTECTED]>{path}|30|HL/n(" . 
($maxtime * 60 * 1000) . ":60000:30000)";
                $res = $AGI->exec("DIAL $dialstr");
                $answeredtime = $AGI->get_variable("ANSWEREDTIME");
                $dialstatus = $AGI->get_variable("DIALSTATUS");

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to