Rajeev Natarajan wrote:
> Am using perl AGI to invoke the dial command thus:
> 
> $AGI->exec('Dial',"$numtodial2|30|L($maxcall:$msgtime)|M(conn^1002)");

The problem is that you have one too many pipes ('|') in your Dial string. 
Change it to this:

$AGI->exec('Dial',"$numtodial2|30|L($maxcall:$msgtime)M(conn^1002)");

and it should work. Notice that the pipe between the L and M options has been 
removed.

Mark Michelson

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to