[asterisk-users] use dial plan passed arg value in C agi code
Eric "ManxPower" Wieling
eric at fnords.org
Fri Nov 2 16:39:12 CDT 2007
James FitzGibbon wrote:
> On 11/2/07, Eric ManxPower Wieling <eric at fnords.org> wrote:
>> Sadly those docs cover the situation of this:
>>
>> exten => 666,1,Set(MY_VAR=fred)
>> exten => 666,n,AGI(simple_c_prgm)
>>
>> Not this:
>> exten => 666,1,AGI(simple_c_prgm|123|789)
>
>
> Looking back over it, you're right.
>
> However, multiple args passed to the AGI work fine; they come in the same
> way as any standard argc/argv program.
Cool. Glad that issue was fixed at some point. I switched to using the
first method when it WAS an issue and never looked back.
More information about the asterisk-users
mailing list