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

Rajeev Natarajan twogigbox at gmail.com
Mon Dec 3 10:03:51 CST 2007


Great! thanks

On Dec 3, 2007 8:31 PM, Mark Michelson <mmichelson at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071203/d74152c6/attachment.htm 


More information about the asterisk-users mailing list