[asterisk-users] use dial plan passed arg value in C agi code

Arpit Mehta am2866 at columbia.edu
Fri Nov 2 15:04:28 CDT 2007


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
-- 
Arpit Mehta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071102/d2a9666c/attachment.htm 


More information about the asterisk-users mailing list