Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
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, -

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear All, the script is running smoothly but it seems that it's not reading variables correctly fro asterisk as you can see below: Executing [...@did:1] AGI("SIP/123456-b7e03650", "dial.agi|112") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dial.agi -- dial.agi|112: AGI

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear All, i found the issue...it was just the #!/user/bin/perl instead of #!user/bin/perl Thanks a lot for all help Regards On Fri, Feb 20, 2009 at 11:58 PM, michel freiha wrote: > Dear Kai, > > If I change directory to /usr/bin and type the following command I got: > > [r...@switch1 bin]# ./p

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear Kai, If I change directory to /usr/bin and type the following command I got: [r...@switch1 bin]# ./perl /var/lib/asterisk/agi-bin/dial.pl VERBOSE "AGI Environment Dump:" 3 GET VARIABLE extension VERBOSE "my dialed no is :" VERBOSE "Query is:SELECT dst_nb FROM test where extension = ''"

Re: [asterisk-users] AGI script

2009-02-20 Thread Tilghman Lesher
On Friday 20 February 2009 14:36:57 Danny Nicholas wrote: > You will need to download AGI from www.cpan.org and > install it. Here it is in simple steps > > > > Cd /usr/src > > Wget > http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/asterisk-perl-0.10.tar >. gz > > Tar

Re: [asterisk-users] AGI script

2009-02-20 Thread Kai-Uwe Jensen
> > Kindly note if I run the script from shell using sudo everything looks > greate as below: > sudo /var/lib/asterisk/agi-bin/dial.pl > sudo: unable to execute /var/lib/asterisk/agi-bin/dial.pl: Success > Please read that command output again. It may not be as great as you think. "unable to execu

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, michel freiha wrote: > Please find below my dialplan: > [did] > exten=>112,1,AGI(dial.pl|${EXTEN}); You are still passing ${EXTEN} which is ignored by the script. > [r...@switch1 ~]# sudo su This does nothing useful. Your posts demonstrate a lack of understanding and exper

Re: [asterisk-users] AGI script

2009-02-20 Thread Tzafrir Cohen
On Fri, Feb 20, 2009 at 02:36:57PM -0600, Danny Nicholas wrote: > You will need to download AGI from www.cpan.org and > install it. Here it is in simple steps Or use standard CPAN packages installation method (which would simplify things if you don't have one of its depend

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear Sir, I was just trying to find the solution...Now I give the file 755 to dial.pl Kindly note if I run the script from shell using sudo everything looks greate as below: sudo /var/lib/asterisk/agi-bin/dial.pl sudo: unable to execute /var/lib/asterisk/agi-bin/dial.pl: Success Any suggestions?

Re: [asterisk-users] AGI script

2009-02-20 Thread Danny Nicholas
rcial Discussion Subject: Re: [asterisk-users] AGI script On Fri, 20 Feb 2009, Danny Nicholas wrote: > You will need to download AGI from www.cpan.org <http://www.cpan.org/> and > install it. Here it is in simple steps > > Cd /usr/src > > Wget > http://search.cpan.org/CPAN/a

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear All, Please find below my dialplan: [did] exten=>112,1,AGI(dial.pl|${EXTEN}); exten => 112,1,Dial(SIP/${dest...@80.169.210.181 ,60) exten=>112,3,Hangup(); And below are commands results sent by steve: [r...@switch1 ~]# sudo su [r...@switch1 ~]# /etc/init.d/asterisk restart Shutting down as

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, Danny Nicholas wrote: > You will need to download AGI from www.cpan.org and > install it. Here it is in simple steps > > Cd /usr/src > > Wget > http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/asterisk-perl-0.10.tar. > gz > > Tar xvf asterisk-perl-

Re: [asterisk-users] AGI script

2009-02-20 Thread Danny Nicholas
; make install _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of michel freiha Sent: Friday, February 20, 2009 2:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI script

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, michel freiha wrote: > The file dial.pl is executable and own by root as you can see below > > ls -lrt > -rwxrwxrwx 1 root root 1865 Feb 20 21:18 dial.pl Using the "very large hammer" (AKA chmod 777) to "solve" permissions problems indicates a "very large gap" in understan

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, michel freiha wrote: > I'm facing the below problem: > == dial.pl|112: Failed to execute '/var/lib/asterisk/agi-bin/dial.pl': No > such file or directory > > What could be the issue here? These commands may point you in the right direction: 1) ps -aef | grep asterisk | gre

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
freiha >> *Sent:* Friday, February 20, 2009 1:41 PM >> *To:* Asterisk Users Mailing List - Non-Commercial Discussion >> *Subject:* Re: [asterisk-users] AGI script >> >> >> >> Dear Sir, >> >> I'm facing the below problem: >> >> -

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
t; *From:* asterisk-users-boun...@lists.digium.com [mailto: > asterisk-users-boun...@lists.digium.com] *On Behalf Of *michel freiha > *Sent:* Friday, February 20, 2009 1:41 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] AGI script

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
oun...@lists.digium.com] *On Behalf Of *michel freiha > *Sent:* Friday, February 20, 2009 1:41 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] AGI script > > > > Dear Sir, > > I'm facing the below problem: > &g

Re: [asterisk-users] AGI script

2009-02-20 Thread Danny Nicholas
- Non-Commercial Discussion Subject: Re: [asterisk-users] AGI script On Fri, 20 Feb 2009, Danny Nicholas wrote: > Dial.pl is > > 1.executable > 2.owned by asterisk 1 & 2 should be "Can be executed by the user running As

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, Danny Nicholas wrote: > Dial.pl is > > 1.executable > 2.owned by asterisk 1 & 2 should be "Can be executed by the user running Asterisk. Thanks in advance, Steve Edwards sedwa...@sedwards.c

Re: [asterisk-users] AGI script

2009-02-20 Thread Danny Nicholas
Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI script Dear Sir, I'm facing the below problem: -- Executing [...@did:1] AGI("SIP/123456-08f44c00", "dial.pl|112") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dial.pl =

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear Sir, I'm facing the below problem: -- Executing [...@did:1] AGI("SIP/123456-08f44c00", "dial.pl|112") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dial.pl == dial.pl|112: Failed to execute '/var/lib/asterisk/agi-bin/dial.pl': No such file or directory == Auto fallth

Re: [asterisk-users] AGI script

2009-02-20 Thread Steve Edwards
On Fri, 20 Feb 2009, Yawar Hadi wrote: > this is the dial plan u can test it and let me know if u want more > information ... and script is attached. > > exten=>112,1,AGI(DialNumber.pl|${EXTEN}); You pass ${EXTEN} but you use $AGI->get_variable('extension') in your script. Thanks in advance, -

Re: [asterisk-users] AGI pdf book

2009-02-20 Thread Andrew Thomas
t;> -Original Message- -->> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- -->> boun...@lists.digium.com] On Behalf Of Jared Smith -->> Sent: 18 February 2009 15:57 -->> To: Asterisk Users Mailing List - Non-Commercial Discussion --&

Re: [asterisk-users] AGI script

2009-02-20 Thread Yawar Hadi
okay this is the dial plan u can test it and let me know if u want more information ... and script is attached. exten=>112,1,AGI(DialNumber.pl|${EXTEN}); exten=>112,2,Dial(SIP/Terminator/${DestNo}|); exten=>112,3,Hangup(); on second in place of termeinator u have to use the ip of terminator to wh

Re: [asterisk-users] AGI script

2009-02-20 Thread michel freiha
Dear Yawar, I'll appreciate a lot if you send to me these scripts in order to test Regards On Fri, Feb 20, 2009 at 5:58 AM, Yawar Hadi wrote: > i have in perl AGI script if u want then let me know ...? > > > On Fri, Feb 20, 2009 at 4:59 AM, Steve Edwards > wrote: > >> On Fri, 20 Feb 2009, mic

Re: [asterisk-users] AGI script

2009-02-19 Thread David fire
2009/2/19 Steve Edwards > On Fri, 20 Feb 2009, michel freiha wrote: > > > I need the followingA customer will dial a specific number like > 112,this > > will fire a php AGI script...The AGI script will connect to the database > and > > see if this number (112) is registered in a specific tabl

Re: [asterisk-users] AGI script

2009-02-19 Thread Yawar Hadi
i have in perl AGI script if u want then let me know ...? On Fri, Feb 20, 2009 at 4:59 AM, Steve Edwards wrote: > On Fri, 20 Feb 2009, michel freiha wrote: > > > I need the followingA customer will dial a specific number like > 112,this > > will fire a php AGI script...The AGI script will con

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
On Fri, 20 Feb 2009 14:28:23 you wrote: > Is this the asterisk users list? or some political list? or maybe i > dunno, i am confused Sorry. I'll make that my last post on the subject. ___ -- Bandwidth and Colocation Provided by http://www.api-digit

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Emmanuel Bruno
i dont see the connection with AGI pdf book On Thu, Feb 19, 2009 at 8:28 PM, Emmanuel Bruno wrote: > Is this the asterisk users list? or some political list? or maybe i > dunno, i am confused > > > > > > On Thu, Feb 19, 2009 at 8:19 PM, Michael wrote: > >> >> > Money is borrowed at the Pr

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Emmanuel Bruno
Is this the asterisk users list? or some political list? or maybe i dunno, i am confused On Thu, Feb 19, 2009 at 8:19 PM, Michael wrote: > > > Money is borrowed at the Prime Rate which is between 0% and .25% but thus > > far, China and Japan have been "lending" the largest portions as we

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Jeff LaCoursiere
On Thu, 19 Feb 2009, John Novack wrote: > This will take a very long time to work itself out, and folks better get > used to some very lean times. > Be thankful you have a marketable skill. Not that it seems to be getting me any interviews :) j ___

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> Money is borrowed at the Prime Rate which is between 0% and .25% but thus > far, China and Japan have been "lending" the largest portions as well as > other foreign countries. I am not saying this is any better but you should > get your facts straight. I am well aware of this. I am also well a

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread John Novack
Jeff LaCoursiere wrote: > On Fri, 20 Feb 2009, Michael wrote: > > >>> I also think you should check the economic stimulus package. There are >>> billions of dollars allocated to ISPs. It could be a windfall. >>> >> Yoohoo! Let's print some more money. I don't think that's been tried >

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> Hey I am against any Federal bailouts (wrote in Ron Paul and donated to his > campaign for presidency as well as being an active member of the "Campaign > for Liberty" http://campaignforliberty.com) , but they are a reality. Shame Ron Paul was shafted of fair media attention. He would be an exc

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Steve Totaro
On Thu, Feb 19, 2009 at 8:02 PM, Michael wrote: > > > You must of course know all about how things are working here in the > > states while you sit in NZ. The money is not being printed. It is being > > I am well informed thanks to the global reach of such excellent purveyours > of > quality ne

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Mike Diehl
On Fri, 2009-02-20 at 13:46 +1300, Michael wrote: > > I also think you should check the economic stimulus package. There are > > billions of dollars allocated to ISPs. It could be a windfall. > > Yoohoo! Let's print some more money. I don't think that's been tried > before Of course it has

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Steve Totaro
On Thu, Feb 19, 2009 at 7:46 PM, Michael wrote: > > > I also think you should check the economic stimulus package. There are > > billions of dollars allocated to ISPs. It could be a windfall. > > Yoohoo! Let's print some more money. I don't think that's been tried > before > > You can say t

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> You must of course know all about how things are working here in the > states while you sit in NZ. The money is not being printed. It is being I am well informed thanks to the global reach of such excellent purveyours of quality news and information such as Fox and CNN. > raised and account

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Wilton Helm
>did you get your Samba issue fixed? Yes, I finally figured it out this morning. I had the domain set to match that of the web site it was serving, which was on the other side of a router, so not even on the local subnet. The DNS queries from that got Samba all messed up. Ugh! Yes, I would

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Jeff LaCoursiere
On Fri, 20 Feb 2009, Michael wrote: > >> I also think you should check the economic stimulus package. There are >> billions of dollars allocated to ISPs. It could be a windfall. > > Yoohoo! Let's print some more money. I don't think that's been tried > before > You must of course know all

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> I also think you should check the economic stimulus package. There are > billions of dollars allocated to ISPs. It could be a windfall. Yoohoo! Let's print some more money. I don't think that's been tried before ___ -- Bandwidth and Colocation

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Steve Totaro
On Thu, Feb 19, 2009 at 5:04 PM, Michael wrote: > > > Not entirely. I've been trying for two years to get someone to work with > > my small Linux system. One guy never had time to come. I finally got > > someone out who was going to charge either $125 or $175 per hour (USD) > > depending on wh

Re: [asterisk-users] AGI script

2009-02-19 Thread Steve Edwards
On Fri, 20 Feb 2009, michel freiha wrote: > I need the followingA customer will dial a specific number like 112,this > will fire a php AGI script...The AGI script will connect to the database and > see if this number (112) is registered in a specific table...If yes, AGI > script will return to

Re: [asterisk-users] AGI script

2009-02-19 Thread michel freiha
Dear Sir, I need the followingA customer will dial a specific number like 112,this will fire a php AGI script...The AGI script will connect to the database and see if this number (112) is registered in a specific table...If yes, AGI script will return to asterisk a destination number registere

Re: [asterisk-users] AGI script

2009-02-19 Thread Luis Morales
Sure, what did you need exactly ? On Thu, Feb 19, 2009 at 6:57 PM, michel freiha wrote: > Dear All, > > I would like to ask please if someone has a AGI script that select a value > from a database and dial this value as a destination number > > Regards > > __

[asterisk-users] AGI script

2009-02-19 Thread michel freiha
Dear All, I would like to ask please if someone has a AGI script that select a value from a database and dial this value as a destination number Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing li

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> Not entirely. I've been trying for two years to get someone to work with > my small Linux system. One guy never had time to come. I finally got > someone out who was going to charge either $125 or $175 per hour (USD) > depending on whether he decided it was a computer problem or a network > p

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Wilton Helm
>This problem is only going to get worse as the so-called 'recession' bites... >fellow I.T. professionals - get used to your clients trying to weasel free >service out of you. Everything I am hearing from fellow I.T. people is that >there is no shortage of 'work' but a lot of clients are resisti

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
\ > No... there's no shortage of work that needs doing. But there's a > definite shortage of money to pay those to do it -- hence the massive, > worldwide layoffs. Your little corner may not be affected, but to > discount basic economics because you don't see it? Well... that's > incredibly short-s

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread SIP
Michael wrote: >> This has absolutely nothing to do with the fact that something is >> opensource. The fact that the source is "open" has nothing todo with its >> pricetag. Sometimes opensource products are more expensive then closed >> source products. >> >> If you want support/maintenance/dedicat

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Grygoriy Dobrovolskyy
> > > > Big companies, especially those with major computing systems use paid > software > because they want a vendor they can hold responsible for it. > > As for OSS and FOSS, it is majorly used by the sort of businesses and > individuals who call me (and other IT pros) up and talk the talk, but t

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Michael
> This has absolutely nothing to do with the fact that something is > opensource. The fact that the source is "open" has nothing todo with its > pricetag. Sometimes opensource products are more expensive then closed > source products. > > If you want support/maintenance/dedicated_features/you-name

Re: [asterisk-users] AGI pdf book

2009-02-19 Thread Hans Witvliet
On Thu, 2009-02-19 at 15:22 +1300, Michael wrote: > This is everything that is wrong with Open Source - no body wants to pay for > anything > Your statement is not correct! Well atleast half of it. You should have said: "-no body wants to pay for anything-" This has absolutely nothing to

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Michael
> >> I would like to write it, but my kids have grown accustomed to eating :) > > > > This is everything that is wrong with Open Source - no body wants to pay > > for anything > > Hi my name is nobody. I like to pay for many (FOSS) things. Not as > much as I'd like but when the right Powerbal

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Roderick A. Anderson
Michael wrote: > On Thu, 19 Feb 2009 13:35:25 Steve Edwards wrote: >> On Wed, 18 Feb 2009, michel freiha wrote: >>> I suggest please if someone advice to me a free PDF book just dedicated >>> for AGI and nothing else >> It takes a rare individual to put the effort required to write a book and >> th

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Michael
On Thu, 19 Feb 2009 13:35:25 Steve Edwards wrote: > On Wed, 18 Feb 2009, michel freiha wrote: > > I suggest please if someone advice to me a free PDF book just dedicated > > for AGI and nothing else > > It takes a rare individual to put the effort required to write a book and > then distribute it f

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Jose P. Espinal
Just for the records, Those of you who likes PHP simplicity (I'm one of them :) ) , but would like C small footprint, and almost *incomparable speed*; there's a PHP compiler that takes PHP code to C, and produces an optimized executable. You can see it here: http://www.phpcompiler.org/index.htm

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Emmanuel Bruno
There's a cheaper pdf version of his book as well. You can get more info at: http://www.packtpub.com/asterisk-gateway-interface-programming/book On Wed, Feb 18, 2009 at 7:59 PM, Emmanuel Bruno wrote: > I think PHP is the best language to write AGIs, there is a library > available (PHPAGI) an

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Emmanuel Bruno
I think PHP is the best language to write AGIs, there is a library available (PHPAGI) and it is easier to work with as compared to the complexity of the C language. That book written by Nir Simionovich (Asterisk AGI 1.4 and 1.6 Programming) clearly describe the pros and cons of writing AGI script

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Steve Edwards
On Wed, 18 Feb 2009, michel freiha wrote: > I suggest please if someone advice to me a free PDF book just dedicated > for AGI and nothing else It takes a rare individual to put the effort required to write a book and then distribute it for free. I would like to write it, but my kids have grown

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Steve Edwards
On Wed, 18 Feb 2009, Danny Nicholas wrote: > The AGI is also applicable for (at least) PHP and C+. An AGI (or more accurately, an executable conforming to the AGI specification) can be written in any language -- Fortran, assembly, shell script, BLISS (if you wanted to "fastagi" over to a VAX ru

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Jared Smith
On Wed, 2009-02-18 at 14:36 +0200, michel freiha wrote: > the asterisk book from oreilly does not make full description to the > AGI scripting... You're right.. the O'Reilly book doesn't make a full and complete description of AGI programming. (It was better than anything else written at the time

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread Danny Nicholas
ichel freiha Sent: Wednesday, February 18, 2009 6:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI pdf book Dear Sir, the asterisk book from oreilly does not make full description to the AGI scripting...I suggest please if someone advice to m

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread michel freiha
Dear Sir, the asterisk book from oreilly does not make full description to the AGI scripting...I suggest please if someone advice to me a free PDF book just dedicated for AGI and nothing else Regards On Wed, Feb 18, 2009 at 2:09 PM, David fire wrote: > > http://www.digium.com/elqNow/elqRedir.h

Re: [asterisk-users] AGI pdf book

2009-02-18 Thread David fire
http://www.digium.com/elqNow/elqRedir.htm?ref=http://downloads.oreilly.com/books/9780596510480.pdf asterisk->support books section Asterisk: The Future of Telephony is greate. David 2009/2/18 michel

[asterisk-users] AGI pdf book

2009-02-18 Thread michel freiha
Dear Sir, Can someone help me please to find a free ebook talking about AGI scripting through asterisk? Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit

[asterisk-users] agi and set variable ( accountcode in aserisk 1.4)

2009-01-14 Thread Walter Willis
i am set var Set(CDR(accountcode)=forkcdr-test) into agiphp probe $agi->exec('Set(CDR(accountcode)=5)'); $agi->exec('SetAccount','123123123'); and no work ... how to solutions. thanks people! ___ -- Bandwidth and Colocation Provided by http://

[asterisk-users] AGI Hangup

2008-10-13 Thread Gnu Devel
When I sent Hangup using AGI application, Asterisk always return -1: AGI Rx << EXEC HANGUP -- AGI Script Executing Application: (HANGUP) Options: ((null)) AGI Tx >> 200 result=-1 But only send "Bye" ( Sip message ) when the script is fisnish, not when I send EXEC HANGUP. Why? Thx _

[asterisk-users] AGI defunct processes + GSM Playback - HELP!

2008-09-29 Thread Hakan C
Hello. I've just installed asterisk-1.4.21.2 zaptel-1.4.12.1 chan_ss7-1.0.10 libpri-1.4.7 I am using Sangoma A104 card with wanpipe-3.2.7.1 drivers. My OS: Ubuntu 8.04 Server Kernel: 2.6.24-16-server I am getting a choppy GSM playback and too many defunct AGI processes when channel closes. i am

Re: [asterisk-users] AGI and prepaid billing

2008-09-24 Thread Rizwan Hisham
gt; - Ben. > > > > --- On Tue, 9/23/08, bilal ghayyad <[EMAIL PROTECTED]> wrote: > > > From: bilal ghayyad <[EMAIL PROTECTED]> > > Subject: [asterisk-users] AGI and prepaid billing > > To: asterisk-users@lists.digium.com > > Date: Tuesday, Septem

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-24 Thread Philippe Sultan
Hi Bilal, On Tue, Sep 23, 2008 at 11:11 PM, bilal ghayyad <[EMAIL PROTECTED]> wrote: > Dear Philippe; > > Thanks a lot for ur kindly answer. > > How can I use the Radius with CDR (Accounting)? Here is the documentation : http://svn.digium.com/view/asterisk/branches/1.4/doc/radius.txt?view=markup

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-23 Thread bilal ghayyad
DIUS based billing system? Your kindly help is high appreciated. Regards Bilal --- On Tue, 9/23/08, Philippe Sultan <[EMAIL PROTECTED]> wrote: > From: Philippe Sultan <[EMAIL PROTECTED]> > Subject: Re: [asterisk-users] AGI and prepaid billing + Radius > To: [EMAIL PROTECTED

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-23 Thread Vlasis Hatzistavrou (KTI)
al > > > --- On Tue, 9/23/08, Benjamin Jacob <[EMAIL PROTECTED]> wrote: > >> From: Benjamin Jacob <[EMAIL PROTECTED]> >> Subject: Re: [asterisk-users] AGI and prepaid billing >> To: asterisk-users@lists.digium.com, [EMAIL PROTECTED] >> Date: Tuesday,

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-23 Thread Philippe Sultan
08, Benjamin Jacob <[EMAIL PROTECTED]> wrote: > >> From: Benjamin Jacob <[EMAIL PROTECTED]> >> Subject: Re: [asterisk-users] AGI and prepaid billing >> To: asterisk-users@lists.digium.com, [EMAIL PROTECTED] >> Date: Tuesday, September 23, 2008, 6:39 AM >>

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-23 Thread Alex Balashov
communication method? > > Regards > Bilal > > > --- On Tue, 9/23/08, Benjamin Jacob <[EMAIL PROTECTED]> wrote: > >> From: Benjamin Jacob <[EMAIL PROTECTED]> >> Subject: Re: [asterisk-users] AGI and prepaid billing >> To: asterisk-users@lists.dig

Re: [asterisk-users] AGI and prepaid billing + Radius

2008-09-23 Thread bilal ghayyad
Jacob <[EMAIL PROTECTED]> wrote: > From: Benjamin Jacob <[EMAIL PROTECTED]> > Subject: Re: [asterisk-users] AGI and prepaid billing > To: asterisk-users@lists.digium.com, [EMAIL PROTECTED] > Date: Tuesday, September 23, 2008, 6:39 AM > Hi Bilal, > Yes it is definit

Re: [asterisk-users] AGI and prepaid billing

2008-09-23 Thread Benjamin Jacob
Hi Bilal, Yes it is definitely possible. And I've done it myself for a couple of our clients. Does that answer your two questions? cheers - Ben. --- On Tue, 9/23/08, bilal ghayyad <[EMAIL PROTECTED]> wrote: > From: bilal ghayyad <[EMAIL PROTECTED]> > Subject: [

[asterisk-users] AGI and prepaid billing

2008-09-23 Thread bilal ghayyad
Hi All; Did anyone do an prepaid billing application via AGI? I would like to know if that is possible. Regards Bilal ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizon

Re: [asterisk-users] AGI and Call Center to do CRM integration

2008-08-08 Thread Jay R. Ashworth
On Thu, Aug 07, 2008 at 04:12:26PM -0700, bilal ghayyad wrote: > CRM: Customer Record Module which is any kind of application. Well, no; "CRM" means "Customer Relationship Management"... Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer

Re: [asterisk-users] AGI and Call Center to do CRM integration

2008-08-07 Thread Matt Florell
routed, how > this to be done? AGI can do? > > Regards > Bilal > > > --- On Thu, 8/7/08, Steve Totaro <[EMAIL PROTECTED]> wrote: > > > From: Steve Totaro <[EMAIL PROTECTED]> > > Subject: Re: [asterisk-users] AGI and Call Center to do CRM integrati

Re: [asterisk-users] AGI and Call Center to do CRM integration

2008-08-07 Thread bilal ghayyad
routed, how this to be done? AGI can do? Regards Bilal --- On Thu, 8/7/08, Steve Totaro <[EMAIL PROTECTED]> wrote: > From: Steve Totaro <[EMAIL PROTECTED]> > Subject: Re: [asterisk-users] AGI and Call Center to do CRM integration > To: [EMAIL PROTECTED], "Asteris

Re: [asterisk-users] AGI and Call Center to do CRM integration

2008-08-07 Thread Steve Totaro
On Thu, Aug 7, 2008 at 5:55 PM, bilal ghayyad <[EMAIL PROTECTED]> wrote: > Hi All; > > Did anyone used AGI to do te CRM integration in the Asterisk call center? > > If yes, I would like to know the overview to know from where to start? > > Regards > Bilal > What CRM? FastAGI to hit a box that has

[asterisk-users] AGI and Call Center to do CRM integration

2008-08-07 Thread bilal ghayyad
Hi All; Did anyone used AGI to do te CRM integration in the Asterisk call center? If yes, I would like to know the overview to know from where to start? Regards Bilal ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com --

[asterisk-users] agi never leg1 disconnect

2008-07-02 Thread chetherston miles
Dear All, I'm trying to place some calls using php-agi, the problem is, i'm sending the call to one of my providers via sip, if the leg 2 hangup the asterisk don't end the call. I'm using the dial command as follow: SIP/[EMAIL PROTECTED]|60|HRrL(12:61000:3) Thanks, _

Re: [asterisk-users] AGI after Hangup

2008-06-12 Thread voip crazy
Thanks for your answers, DeadAGI was the solution. Thanks again. Voipcrazy 2008/6/12 Andrea Cristofanini <[EMAIL PROTECTED]>: > You have to run DeadAGI, in h . > Regards > Andrea Cristofanini > > voip crazy ha scritto: >> Which is the way to run an AGI after hangup a call? >> >> The problem I ha

Re: [asterisk-users] AGI after Hangup

2008-06-12 Thread Andrea Cristofanini
You have to run DeadAGI, in h . Regards Andrea Cristofanini voip crazy ha scritto: > Which is the way to run an AGI after hangup a call? > > The problem I have is when the call dies the AGI dies too > > I try the Dial command g option, but it does not work for me > > Any clue will be welcomed. >

Re: [asterisk-users] AGI after Hangup

2008-06-12 Thread Lenz
Look for the DeadAGi command. Thanks l. On Thu, 12 Jun 2008 13:41:14 +0200, voip crazy <[EMAIL PROTECTED]> wrote: > Which is the way to run an AGI after hangup a call? > > The problem I have is when the call dies the AGI dies too > > I try the Dial command g option, but it does not work for me

[asterisk-users] AGI after Hangup

2008-06-12 Thread voip crazy
Which is the way to run an AGI after hangup a call? The problem I have is when the call dies the AGI dies too I try the Dial command g option, but it does not work for me Any clue will be welcomed. Thanks VoipCrazy ___ -- Bandwidth and Colocation P

Re: [asterisk-users] AGI asterisk high balance

2008-05-11 Thread Steve Totaro
On Sun, May 4, 2008 at 4:34 AM, Grey Man <[EMAIL PROTECTED]> wrote: > If you've got anything but trivial AGI loads you should switch to > FastAGI and put your business logic on a separate server to your > Asterisk server. I use a deployment where a call could make up to 3 > AGI requests per call be

Re: [asterisk-users] AGI - Choppy Sound

2008-05-10 Thread Dominic Son
nverting them to the > same format? > > > > Thanks > > > -- > > * * > > *From:* Marcelo Freitas [mailto:[EMAIL PROTECTED] > *Sent:* Monday, May 05, 2008 6:53 PM > *To:* Robert Norton - SophTelecom LLC; 'Asterisk Users Mailing List - >

Re: [asterisk-users] AGI asterisk high balance

2008-05-09 Thread Lee Jenkins
Rizwan Hisham wrote: > Well database really is a bottleneck for me. I am currently trying to do > rating stuff in agi using perl. What im doing is i lookup the rate of > every dialed code for every call from the mysql database using the > longest match technique. The longest match technique cost

Re: [asterisk-users] AGI asterisk high balance

2008-05-09 Thread Grey Man
On Fri, May 9, 2008 at 5:19 AM, Al Baker <[EMAIL PROTECTED]> wrote: > I think his connect/disconnect is going to take far longer than his 3 > queries. > The fact that Asterisk doesn't support sustained MySQL connection from > the DialPlan > is in fact quite a big deal that Digium seems to have

Re: [asterisk-users] AGI asterisk high balance

2008-05-08 Thread Tilghman Lesher
On Thursday 08 May 2008 23:19:19 Al Baker wrote: > The fact that Asterisk doesn't support sustained MySQL connection from > the DialPlan > is in fact quite a big deal that Digium seems to have its head in the > sand about. > And one of those things that SHOULD come up in those "Is * Ready For > Pri

Re: [asterisk-users] AGI asterisk high balance

2008-05-08 Thread Al Baker
I think his connect/disconnect is going to take far longer than his 3 queries. The fact that Asterisk doesn't support sustained MySQL connection from the DialPlan is in fact quite a big deal that Digium seems to have its head in the sand about. And one of those things that SHOULD come up in thos

Re: [asterisk-users] AGI asterisk high balance

2008-05-08 Thread Rizwan Hisham
Well database really is a bottleneck for me. I am currently trying to do rating stuff in agi using perl. What im doing is i lookup the rate of every dialed code for every call from the mysql database using the longest match technique. The longest match technique costs atleast 2-3 mysql queries for

Re: [asterisk-users] AGI - Choppy Sound

2008-05-07 Thread Robert Norton - SophTelecom LLC
eitas [mailto:[EMAIL PROTECTED] Sent: Monday, May 05, 2008 6:53 PM To: Robert Norton - SophTelecom LLC; 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] AGI - Choppy Sound Hi Robert, Thanks for replying and I'm glad you have an applic

Re: [asterisk-users] AGI - Choppy Sound

2008-05-05 Thread Marcelo Freitas
has a queue setup - and from there on they answer the calls What codecs are your clients using? The incoming calls - IAX/ilbc Connection to agents - SIP/ulaw it's the same as the other menu ... Thanks, - Original Message - Subject: RE: [asterisk-users] AGI - Choppy Sound

Re: [asterisk-users] AGI - Choppy Sound

2008-05-05 Thread Robert Norton - SophTelecom LLC
Thanks -Robert Norton _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Freitas Sent: Monday, May 05, 2008 4:10 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] AGI - Choppy Sound Hi folks, I'm experiencing some problems with sound t

[asterisk-users] AGI - Choppy Sound

2008-05-05 Thread Marcelo Freitas
Hi folks, I'm experiencing some problems with sound through phpAGI ... What I'm trying to do is a menu, doing some database lookups and so ... But sometimes the sound become too choppy ... just sometimes .. like 1 of 5 calls ... but is a big percentage ... And I have my current menu on the d

<    1   2   3   4   5   6   7   8   9   10   >