Monday, December 3, 2007

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

Great! thanks

On Dec 3, 2007 8:31 PM, Mark Michelson <mmichelson@digium.com> wrote:
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

No comments: