thanks very much, i'll try that... that is, no sleep until it's ready :) On Sun, 2005-01-30 at 21:17 +0100, Roger Schreiter wrote: > Calin Serbanescu schrieb: > > ... > > the net about this... do you have any link to such script ? > > > No, I don't have such a link. > But on the voip-wiki pages there are some examples > for agi-scipting. > > There are APIs for some common languages, e.g. Perl, > which is maybe one of the fastet ways to code simple scripts. > > Consult the README files on how to install the Perl module > Asterisk::AGI. > > Then try a little bit with: > > > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > #!/usr/bin/perl > > use Asterisk::AGI; > > $AGI = new Asterisk::AGI; > > my %input = $AGI->ReadParse(); > $exten = $input{'extension'}; > $old_callerid = $input{'callerid'}; > > ... (some code to manipulte the callerid) > > $AGI->set_callerid($new_callerid); > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > Roger. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users