sorry to but in, but...<br><br>1> on first line make sure it is 3!/usr/perl/bin not #!/user/perl/bin<br><br>I'd suggest instead: #!/usr/bin/perl<br><br>;)<br><br><div class="gmail_quote">2009/2/21 Yawar Hadi <span dir="ltr"><<a href="mailto:yawarhadi@gmail.com">yawarhadi@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi steve,<br><br>plz make some cahnges and now i have tested it its working fine to me <br><br>
1> on first line make sure it is 3!/usr/perl/bin not #!/user/perl/bin<br>2> change reading variable from get command to argument as <br>
<br> #$no1=$AGI->get_variable('callerid');<br> $no1=$ARGV[0];<br><br>and where u calling scrip cahnge it like exten =>112,1,AGI(Dial.pl|${EXTEN});<br><br>hope it will work for u if any problem then reply me ..<br>
i think we have time difference so thats way i quit when u replied .<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Sat, Feb 21, 2009 at 11:17 AM, Yawar Hadi <span dir="ltr"><<a href="mailto:yawarhadi@gmail.com" target="_blank">yawarhadi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi, <br> Steve i just loged in and go through all replies.<br>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.<br>
wait and dont lose your interest .this is the way to learn some thing new .....wait let me to check it ...<div><div></div><div><br>
<br><div class="gmail_quote">On Sat, Feb 21, 2009 at 5:09 AM, Steve Edwards <span dir="ltr"><<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Sat, 21 Feb 2009, michel freiha wrote:<br>
<br>
> the script is running smoothly but it seems that it's not reading<br>
> variables correctly fro asterisk as you can see below:<br>
<br>
</div>Maybe the original author would care to step in? I seem to have lost<br>
interest.<br>
<div><br>
Thanks in advance,<br>
------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div>-- <br>Best regards <br><br>Yawar Hadi Noshahi<br> QAU Islamabad <br>(+92-0300-5504798)<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards <br><br>Yawar Hadi Noshahi<br> QAU Islamabad <br>(+92-0300-5504798)<br>
</div></div><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>