Am using perl AGI to invoke the dial command thus:<br><br>$AGI->exec('Dial',"$numtodial2|30|L($maxcall:$msgtime)|M(conn^1002)");<br><br>What I expected that this will do is:<br>1. call the number using the string $numtodial2 - works OK
<br>2. Set call limit to $maxcall and play a message $msgtime milliseconds before the call - works OK<br>3. On connect of the call send it to the macro conn -extension s,1 with a parameter 1002 - **does not work**<br><br>
I noticed that if I interchange the L and M to read thus:<br><br>$AGI->exec('Dial',"$numtodial2|30|M(conn^1002)|L($maxcall:$msgtime)");<br>1. It dials fine<br>2. Transfers the call to the macro <br>3. ** does not** set timelimit
<br><br>How can I do both - set timelimit and pass call to the Macro - is there something that is mutually exclusive about the two functions that it does not let me do this?<br><br>thanks<br>rajeev<br> <br>