[asterisk-users] Problem: Using timelimit (L) and Macro (M) in Dial from AGI

Mark Michelson mmichelson at digium.com
Mon Dec 3 09:01:14 CST 2007


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



More information about the asterisk-users mailing list