[asterisk-users] AGI script

Darren Murphy darren at victoriajd.com
Sat Feb 21 01:43:01 CST 2009


sorry to but in, but...

1>  on first line make sure it is  3!/usr/perl/bin       not
#!/user/perl/bin

I'd suggest instead: #!/usr/bin/perl

;)

2009/2/21 Yawar Hadi <yawarhadi at gmail.com>

> hi steve,
>
> plz make some cahnges and now i have tested it its working fine to me
>
> 1>  on first line make sure it is  3!/usr/perl/bin       not
> #!/user/perl/bin
> 2> change reading variable from get command to argument as
>
>  #$no1=$AGI->get_variable('callerid');
>  $no1=$ARGV[0];
>
> and where u calling scrip cahnge it  like       exten
> =>112,1,AGI(Dial.pl|${EXTEN});
>
> hope it will work for u if any problem then reply me ..
> i think we have time difference so thats way i quit when u replied .
>
>
> On Sat, Feb 21, 2009 at 11:17 AM, Yawar Hadi <yawarhadi at gmail.com> wrote:
>
>> hi,
>>   Steve i just loged in and go through all replies.
>> yes its mistakenly written as user instead of /user   on first line let be
>> go through the problem of not reading the vairable and reply back to you
>> soon.
>> wait and dont lose your interest .this is the way to learn some thing new
>> .....wait let me to check it ...
>>
>>
>> On Sat, Feb 21, 2009 at 5:09 AM, Steve Edwards <asterisk.org at sedwards.com
>> > wrote:
>>
>>> On Sat, 21 Feb 2009, michel freiha wrote:
>>>
>>> > the script is running smoothly but it seems that it's not reading
>>> > variables correctly fro asterisk as you can see below:
>>>
>>> Maybe the original author would care to step in? I seem to have lost
>>> interest.
>>>
>>> Thanks in advance,
>>> ------------------------------------------------------------------------
>>> Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
>>> Newline                                             Fax: +1-760-731-3000
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
>>
>> --
>> Best regards
>>
>> Yawar Hadi Noshahi
>>  QAU Islamabad
>> (+92-0300-5504798)
>>
>
>
>
> --
> Best regards
>
> Yawar Hadi Noshahi
>  QAU Islamabad
> (+92-0300-5504798)
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090221/fa841ba2/attachment.htm 


More information about the asterisk-users mailing list