? astcc/diff ? asterisk/doc/api ? zaptel/.tmp_versions ? zaptel/.zaptel.o.d Index: astcc/astcc.agi =================================================================== RCS file: /usr/cvsroot/astcc/astcc.agi,v retrieving revision 1.9 diff -u -r1.9 astcc.agi --- astcc/astcc.agi 1 Sep 2004 18:33:35 -0000 1.9 +++ astcc/astcc.agi 18 Sep 2004 21:30:08 -0000 @@ -244,7 +244,7 @@ $sth->finish; return "CHANUNAVAIL" unless $res; if ($res->{tech} eq "Local") { - $dialstr = "Local/$phone/$res->{path}|30|HS(" . ($maxtime * 60) . ")"; + $dialstr = "Local/$phone/$res->{path}|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; $res = $AGI->exec("DIAL $dialstr"); $answeredtime = $AGI->get_variable("ANSWEREDTIME"); $dialstatus = $AGI->get_variable("DIALSTATUS"); @@ -252,7 +252,7 @@ } if ($res->{tech} eq "IAX2") { - $dialstr = "IAX2/$res->{path}/$phone|30|HS(" . ($maxtime * 60) . ")"; + $dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; $res = $AGI->exec("DIAL $dialstr"); $answeredtime = $AGI->get_variable("ANSWEREDTIME"); $dialstatus = $AGI->get_variable("DIALSTATUS"); @@ -260,7 +260,7 @@ } if ($res->{tech} eq "Zap") { - $dialstr = "Zap/$res->{path}/$phone|30|HS(" . ($maxtime * 60) . ")"; + $dialstr = "Zap/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; $res = $AGI->exec("DIAL $dialstr"); $answeredtime = $AGI->get_variable("ANSWEREDTIME"); $dialstatus = $AGI->get_variable("DIALSTATUS"); @@ -268,7 +268,7 @@ } if ($res->{tech} eq "SIP") { - $dialstr = "SIP/$res->{path}/$phone|30|HS(" . ($maxtime * 60) . ")"; + $dialstr = "SIP/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) . ":60000:30000)"; $res = $AGI->exec("DIAL $dialstr"); $answeredtime = $AGI->get_variable("ANSWEREDTIME"); $dialstatus = $AGI->get_variable("DIALSTATUS");