<br><br><div class="gmail_quote">On Sat, Aug 29, 2009 at 10:30 PM, <span dir="ltr"><<a href="mailto:asterisk-users-request@lists.digium.com">asterisk-users-request@lists.digium.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;">
Send asterisk-users mailing list submissions to<br>
<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:asterisk-users-request@lists.digium.com">asterisk-users-request@lists.digium.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:asterisk-users-owner@lists.digium.com">asterisk-users-owner@lists.digium.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of asterisk-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Accessing to <a href="http://ekiga.net" target="_blank">ekiga.net</a> through Asterisk (Daniel Bareiro)<br>
2. Re: cannot run agi scripts (Michael Connors)<br>
3. Re: cannot run agi scripts (Steve Edwards)<br>
4. Re: cannot run agi scripts (Steve Edwards)<br>
5. Re: cannot run agi scripts (Steve Edwards)<br>
6. Asterisk 1.6.0.14 and 1.6.1.5 Now Available<br>
(Asterisk Development Team)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 29 Aug 2009 12:06:08 -0300<br>
From: Daniel Bareiro <<a href="mailto:daniel-listas@gmx.net">daniel-listas@gmx.net</a>><br>
Subject: Re: [asterisk-users] Accessing to <a href="http://ekiga.net" target="_blank">ekiga.net</a> through Asterisk<br>
To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
Message-ID: <<a href="mailto:slrnh9igvv.4ko.daniel-listas@marian.freesoftware.org">slrnh9igvv.4ko.daniel-listas@marian.freesoftware.org</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
El mi?rcoles 19 de agosto del 2009 a las 08:04:17 -0300,<br>
SIP escribi?:<br>
> Daniel,<br>
<br>
Hi SIP.<br>
<br>
> I'm a little confused as to what I'm seeing here. You're bounding<br>
> through two RFC1918 address networks -- 10.1.0.X and 192.168.2.X. Is<br>
> this some sort of dual NAT scenario?<br>
><br>
> Perhaps if you can explain a little more about your network setup.<br>
<br>
This it is a scheme of my network configuration:<br>
____<br>
+--------------+ +-------------+ ___/ \__<br>
| | | | / \<br>
| GNU/Linux eth1-------------+ ADSL Router +-----| Internet |<br>
| Firewall/ | | | \__ __/<br>
| Asterisx eth0--------+ +-------------+ \_____/<br>
| | |<br>
+--------------+ |<br>
|<br>
+------+------+<br>
| LAN switch |<br>
+-------------+<br>
<br>
The ADSL router is configured to connect itself to Internet for its own<br>
means (I don't use any software PPPoE in the GNU/Linux box). This router<br>
uses the private IP 192.168.1.1. In the GNU/Linux box the eth1 interface<br>
uses the private IP 192.168.1.2. The eth0 interface (10.1.0.10) is the<br>
point of connection to the rest of the LAN (<a href="http://10.1.0.0/24" target="_blank">10.1.0.0/24</a>). Firewall makes<br>
NAT of all the originating traffic of eth0 through eth1.<br>
<br>
<br>
Thanks for your reply.<br>
<br>
Regards,<br>
Daniel<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkqZQ/8ACgkQZpa/GxTmHTcxAgCfQwO4PxNarZO7nAFwQSVK1EW/<br>
/wYAnR3KQF6+6p2jkKo1spZxi1RjT4de<br>
=gCuK<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 29 Aug 2009 17:34:08 +0200<br>
From: Michael Connors <<a href="mailto:connorsml@gmail.com">connorsml@gmail.com</a>><br>
Subject: Re: [asterisk-users] cannot run agi scripts<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID:<br>
<<a href="mailto:d9e7db140908290834h458f3c51if80250a31f5686c7@mail.gmail.com">d9e7db140908290834h458f3c51if80250a31f5686c7@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Thanks Todd, I didn't realise that it worked like that. I thought Asterisk<br>
would find it and serve it.I installed StarPy now, and I have a working AGI<br>
script.<br>
Regards,<br>
Michael<br>
<br>
2009/8/29 Todd Fulton <<a href="mailto:todd.fulton@yahoo.com">todd.fulton@yahoo.com</a>><br>
<br>
><br>
> Hi,<br>
><br>
> Did you start your agi server? It should be listening on port 4573 in<br>
> order for asterisk to be able to connect. Once you do start the server,<br>
> telnet to localhost 4573 (or whatever your agi host is) and you'll know if<br>
> its available.<br>
><br>
><br>
> Todd<br>
><br>
><br>
><br>
> -------- Original Message --------<br>
> Subject: [asterisk-users] cannot run agi scripts<br>
> From: Michael Connors <<a href="mailto:connorsml@gmail.com">connorsml@gmail.com</a>><br>
> Date: Sat, August 29, 2009 5:29 am<br>
> To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
><br>
> Hi,I am new to Asterisk, I installed it add got it working for incoming<br>
> calls using a sip provider.<br>
><br>
> I can for example run the following successfully:<br>
><br>
> exten => 124,1,Wait(1)<br>
> exten => 124,2,Playback(demo-thanks)<br>
> exten => 124,3,Hangup<br>
><br>
> My problem is that I can not run AGI scripts, I tried the default<br>
> test-agi.agi and a more simple python based one. I am using the following to<br>
> use AGI.<br>
><br>
> exten => 124,1,wait(1)<br>
> exten => 124,2,AGI(hello.agi)<br>
> exten => 124,3,Hangup<br>
><br>
> The result of this is that the call goes straight to the SIP providers<br>
> voice mail system, and it does not register in my /var/log/asterisk/messages<br>
> log file.<br>
><br>
> My AGI scripts are stored in /usr/lib/asterisk/agi-bin, which is read,<br>
> write and execute for all users, as are all the scripts in the directory.<br>
><br>
> In my asterisk.conf I have the following line:<br>
><br>
> astagidir => /usr/lib/asterisk/agi-bin<br>
><br>
> I am running Asterisk 1.4.17~dfsg-2ubuntu1<br>
><br>
> Any help would be greatly appreciated.<br>
> Regards,<br>
> --<br>
> Michael Connors<br>
> Leiden 2313 HZ,<br>
> The Netherlands<br>
><br>
> ------------------------------<br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</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>
><br>
><br>
> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona<br>
> Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</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>
><br>
<br>
<br>
<br>
--<br>
Michael Connors<br>
Burggravenlaan 148,<br>
Leiden 2313 HZ,<br>
The Netherlands<br>
<br>
0031611520252<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.digium.com/pipermail/asterisk-users/attachments/20090829/8ab09bcf/attachment-0001.htm" target="_blank">http://lists.digium.com/pipermail/asterisk-users/attachments/20090829/8ab09bcf/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 29 Aug 2009 08:36:28 -0700 (PDT)<br>
From: Steve Edwards <<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>><br>
Subject: Re: [asterisk-users] cannot run agi scripts<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID: <<a href="mailto:Pine.LNX.4.64.0908290815330.30862@fs.sedwards.com">Pine.LNX.4.64.0908290815330.30862@fs.sedwards.com</a>><br>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br>
<br>
On Sat, 29 Aug 2009, Michael Connors wrote:<br>
<br>
> My problem is that I can not run AGI scripts, I tried the default<br>
> test-agi.agi and a more simple python based one. I am using the<br>
> following to use AGI.<br>
><br>
> exten => 124,1,wait(1)<br>
> exten => 124,2,AGI(hello.agi)<br>
> exten => > 124,3,Hangup<br>
><br>
> My AGI scripts are stored in /usr/lib/asterisk/agi-bin, which is read,<br>
> write and execute for all users, as are all the scripts in the<br>
> directory.<br>
<br>
The default is /var/lib/asterisk/agi-bin/. Also, using "777" is a very bad<br>
idea.<br>
<br>
> In my asterisk.conf I have the following line:<br>
><br>
> astagidir => /usr/lib/asterisk/agi-bin<br>
<br>
1) See if moving your AGI to the default directory helps.<br>
<br>
2) See if setting "agi debug" in the CLI sheds more light.<br>
<br>
3) See if the user executing the Asterisk process can execute the test AGI<br>
from the command line. Something like<br>
<br>
echo "" | sudo -u asterisk env --ignore /var/lib/asterisk/agi-bin/test-agi.agi<br>
<br>
4) See if the user executing the Asterisk process can execute your AGI<br>
from the command line. Something like:<br>
<br>
echo "" | sudo -u asterisk env --ignore /var/lib/asterisk/agi-bin/hello.agi<br>
<br>
Failing any of the above to help, reply with the output from each step as<br>
well as the source to hello.agi.<br>
<br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sat, 29 Aug 2009 08:39:13 -0700 (PDT)<br>
From: Steve Edwards <<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>><br>
Subject: Re: [asterisk-users] cannot run agi scripts<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID: <<a href="mailto:Pine.LNX.4.64.0908290836360.30862@fs.sedwards.com">Pine.LNX.4.64.0908290836360.30862@fs.sedwards.com</a>><br>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br>
<br>
Un-top-posting...<br>
<br>
> From: Michael Connors <<a href="mailto:connorsml@gmail.com">connorsml@gmail.com</a>><br>
><br>
> My problem is that I can not run AGI scripts, I tried the default<br>
> test-agi.agi and a more simple python based one. I am using the<br>
> following to use AGI.<br>
><br>
> exten => 124,2,AGI(hello.agi)<br>
<br>
On Sat, 29 Aug 2009, Todd Fulton wrote:<br>
<br>
> Did you start your agi server? It should be listening on port 4573 in<br>
> order for asterisk to be able to connect. Once you do start the server,<br>
> telnet to localhost 4573 (or whatever your agi host is) and you'll know<br>
> if its available.<br>
<br>
It's not "fastagi."<br>
<br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sat, 29 Aug 2009 08:46:45 -0700 (PDT)<br>
From: Steve Edwards <<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>><br>
Subject: Re: [asterisk-users] cannot run agi scripts<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID: <<a href="mailto:Pine.LNX.4.64.0908290843210.31574@fs.sedwards.com">Pine.LNX.4.64.0908290843210.31574@fs.sedwards.com</a>><br>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br>
<br>
On Sat, 29 Aug 2009, Michael Connors wrote:<br>
<br>
> Thanks Todd, I didn't realise that it worked like that. I thought<br>
> Asterisk would find it and serve it. I installed StarPy now, and I have<br>
> a working AGI script.<br>
<br>
OK. Now I'm confused. You said you had the following in your dialplan:<br>
<br>
>> exten => 124,2,AGI(hello.agi)<br>
<br>
How does this call a "server?"<br>
<br>
Or does your hello.agi require a server?<br>
<br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Sat, 29 Aug 2009 12:01:03 -0400<br>
From: Asterisk Development Team <<a href="mailto:asteriskteam@digium.com">asteriskteam@digium.com</a>><br>
Subject: [asterisk-users] Asterisk 1.6.0.14 and 1.6.1.5 Now Available<br>
To: <a href="mailto:asteriskteam@digium.com">asteriskteam@digium.com</a><br>
Message-ID: <<a href="mailto:4A9950BF.3090305@digium.com">4A9950BF.3090305@digium.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
The Asterisk Development Team is pleased to announce the release of Asterisk<br>
1.6.0.14 and 1.6.1.5. Asterisk 1.6.0.14 and 1.6.1.5 are available for immediate<br>
download at <a href="http://downloads.asterisk.org/pub/telephony/asterisk/" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/</a><br>
<br>
Asterisk 1.6.0.14 is the first full, non-security release since 1.6.0.10.<br>
The release candidate 1.6.0.11-rc1 was redone as 1.6.0.14-rc1 (which this<br>
release has been created from) after security releases were done as 1.6.0.13.<br>
Asterisk version 1.6.0.12 was released and rescinded shortly thereafter due to a<br>
failed merge.<br>
<br>
Asterisk 1.6.1.5 is the first full, non-security release since 1.6.1.2. The<br>
release candidate 1.6.1.3-rc1 was redone as 1.6.1.5-rc1, which this release has<br>
been created from.<br>
<br>
These releases resolve an assortment of issues in a number of areas in Asterisk.<br>
<br>
<br>
For a summary of the changes in these releases, please see the release summaries<br>
<br>
<a href="http://svn.asterisk.org/svn/asterisk/tags/1.6.0.14/asterisk-1.6.0.14-summary.txt" target="_blank">http://svn.asterisk.org/svn/asterisk/tags/1.6.0.14/asterisk-1.6.0.14-summary.txt</a><br>
<a href="http://svn.asterisk.org/svn/asterisk/tags/1.6.1.5/asterisk-1.6.1.5-summary.txt" target="_blank">http://svn.asterisk.org/svn/asterisk/tags/1.6.1.5/asterisk-1.6.1.5-summary.txt</a><br>
<br>
For a full list of changes in these releases, please see the ChangeLogs:<br>
<br>
<a href="http://svn.asterisk.org/svn/asterisk/tags/1.6.0.14/ChangeLog" target="_blank">http://svn.asterisk.org/svn/asterisk/tags/1.6.0.14/ChangeLog</a><br>
<a href="http://svn.asterisk.org/svn/asterisk/tags/1.6.1.5/ChangeLog" target="_blank">http://svn.asterisk.org/svn/asterisk/tags/1.6.1.5/ChangeLog</a><br>
<br>
<br>
The following list of issues were resolved with the participation of the<br>
community, and these releases would not have been possible without your help!<br>
<br>
* Fix SIP transport type issues.<br>
(closes issue #13865. Reported by st. Tested by mmichelson, Kristijan, vrban,<br>
jmacz, dvossel. Patched by: mmichelson, vrban, Kristijan)<br>
<br>
* Fix an issue where the 'h' extension may occasionally not fire when a Dial is<br>
executed from a Macro. Debugged in #asterisk with user tompaw. Fixed by<br>
Tilghman.<br>
<br>
* Fix MWI NOTIFY if Asterisk listens on a non-standard port (5060)<br>
(closes issue #14659. Reported by klaus3000. Tested by dvossel, klaus3000.<br>
Patched by klaus3000, dvossel)<br>
<br>
* Check if polarityonanswerdelay has elapsed before setting a channel as<br>
answered after a polarity reversal.<br>
(closes issue #13917. Reported, tested, and patched by alecdavis)<br>
<br>
* Don't fast forward past the end of a message.<br>
(closes issue #14554. Reported, tested, and patched by lacoursj)<br>
<br>
* Prevent phantom calls to queue members.<br>
(closes issue #14631. Reported, tested, and patched by latinsud)<br>
<br>
<br>
Thank you for your continued support of Asterisk!<br>
<br>
<br>
<br>
------------------------------<br>
<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>
<br>
End of asterisk-users Digest, Vol 61, Issue 84<br>
**********************************************<br>
</blockquote></div><br>