[Asterisk-Users] Caller ID spoofing
Calin Serbanescu
calin at tts.ro
Sun Jan 30 13:22:15 MST 2005
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 at 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
More information about the asterisk-users
mailing list