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