<div>Hi All,</div>
<div> </div>
<div>I'd like to run perl script in dialplan by passing PIN to it</div>
<div><action application="perl" data="/path/to/your/<a href="http://script.pl">script.pl</a> $PIN" /></div>
<div> </div>
<div>this script is assumed to compare the PIN with the values in database and if there is a match , let go to the conference room</div>
<div>(with the perl script I am able to compare database values and determine if there is match for the PIN by manually running it, and I'd like to run this through dialplan )</div>
<div> </div>
<div>so, In the dial plan</div>
<div>1--Where exactly I call this perl script after reading PIN with "play_and_get_digits"</div>
<div>2-- what should I return from the perl script if there is match or there is no match for the PIN and pass it to dialplan</div>
<div>3-- if there is a match, how should I proceed to conference</div>
<div>4-- if there is no match how should I terminate(exit) from dial plan</div>
<div> </div>
<div>Any guidance, links, documents well appreciated</div>
<div>thans</div>
<div>deniro--</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>