Passing parameters to Asterisk?

Hi, I have a Java application implemented with AsteriskJava. is it possible for me to pass parameters on the originate call to Asterisk? Then the Asterisk will pass the parameters to my Agi script? Thanks

You may set some diaplan variables that will be read in your agi script, see how to set variables in the Originate AMI action here: voip-info.org/wiki/view/Aste … +Originate .

Cheers.

Marco Bruni
www.marcobruni.net

Thanks. Very helpful. One more thing, what should be my extension content to capture the variable? Thanks :smile:

Use {$VARNAME} to get the content of the variable, in the dialplan.

Cheers.

Marco Bruni
www.marcobruni.net

Hi! Thanks so much. It worked! :smile: