[asterisk-users] use dial plan passed arg value in C agi code
Eric "ManxPower" Wieling
eric at fnords.org
Fri Nov 2 15:15:49 CDT 2007
Asterisk used to NOT support more than one arg to an AGI. I thought
this was fixed in 1.2, but since I now use dialplan variables to pass
data to AGIs, I don't know if it really was fixed or not.
Arpit Mehta wrote:
> Hello * users,
>
> I know that passing variable in the AGI script is by
>
> exten => _.,1,AGI(simple_c_prgm|123|789) ; 123, 789 are arguments being
> passed and simple_c_prgm is C code
>
> Now how will I receive these variables within C code ? Is it by the same way
> arguments are passed in command line to C by using argc and argv or there is
> more to be done than that?
>
> Thanks
>
> Regards
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --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
>
More information about the asterisk-users
mailing list