Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread James Sharp
On 12/3/2013 10:11 AM, Don Kelly wrote: In the php routines, I would like to use the persistent connection that is established in the dialplan, rather than creating a new connection each time they run. How can I do this? You can't, they are completely separate processes and code. Joshua Colp

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Steve Edwards
On Tue, 3 Dec 2013, Don Kelly wrote: Opening a connection in the php routines takes about 5 seconds, which is unacceptable. One of my AGIs (written in C) reads 3 arguments from the command line, gets 4 channel variables, reads a row from the database, and sets 3 channel variables. On an AM

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Don Kelly
Then you should analyze why it takes 5s. Opening and closing a mysql connection should take at most a fraction of a second on a local net. BTW, classical web sites (plain PHP and HTML) do not maintain state, so keeping the mysql connection open may not be at all possible. I forgot whether open db

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Don Kelly
> In the php routines, I would like to use the persistent connection > that is established in the dialplan, rather than creating a new > connection each time they run. How can I do this? You can't, they are completely separate processes and code. Joshua Colp Thanks--that's not the answer I wan

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread jg
Then you should analyze why it takes 5s. Opening and closing a mysql connection should take at most a fraction of a second on a local net. BTW, classical web sites (plain PHP and HTML) do not maintain state, so keeping the mysql connection open may not be at all possible. I forgot whether open

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Eric Wieling
- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Don Kelly Sent: Tuesday, December 03, 2013 9:50 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] link to MySQL connection &g

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Don Kelly
> In the php routines, I would like to use the persistent connection > that is established in the dialplan, rather than creating a new > connection each time they run. How can I do this? You can't, they are completely separate processes and code. Joshua Colp Thanks--that's not the answer I want

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Joshua Colp
Don Kelly wrote: I’m making changes to an Asterisk IVR designed by someone else. The application uses both func_odbc.conf and php agi to access an external MySQL database. In the php routines, I would like to use the persistent connection that is established in the dialplan, rather than creatin

[asterisk-users] link to MySQL connection

2013-12-03 Thread Don Kelly
I'm making changes to an Asterisk IVR designed by someone else. The application uses both func_odbc.conf and php agi to access an external MySQL database. In the php routines, I would like to use the persistent connection that is established in the dialplan, rather than creating a new connect

Re: [asterisk-users] link quality is poor

2006-07-18 Thread Alex Robar
Define poor link quality. Are you seeing latency delays, packetization... ?AlexOn 7/18/06, Alexandr Bondar < [EMAIL PROTECTED]> wrote:Hello.Problem is: Current configuration: (PSTN (UkrTeleCom)) <-> Е1 <-> (TE210P) <-> T1 <-> (My own Lucent *MAX 4000*).I am testing different modem calls:   (My own

[asterisk-users] link quality is poor

2006-07-18 Thread Alexandr Bondar
Hello. Problem is: Current configuration: (PSTN (UkrTeleCom)) <-> Е1 <-> (TE210P) <-> T1 <-> (My own Lucent *MAX 4000*). I am testing different modem calls: (My own Lucent *MAX 4000*) -> T1 -> TE210P -> T1 -> (My own Lucent *MAX 4000*) - we have maximum quality of modem connection (My own L

RE: [Asterisk-Users] link quality monitor

2005-10-13 Thread Carlos Alperin
Hi, Iperf does it, but is not made for running as MRTG or Nagios. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of marek cervenka Sent: Thursday, October 13, 2005 9:12 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] link quality monitor

[Asterisk-Users] link quality monitor

2005-10-13 Thread marek cervenka
hi, do you someone know tool that can get data like latency/bandwith/jitter/packet loss (in one program) - it must be functional behind nat - multiplatform (AJAX,java applet) - preferably on SIP and IAX ports - can be client/server - easy to use ;) --- Marek

Re: [Asterisk-Users] Link

2005-10-09 Thread Matt Riddell
Danny wrote: > http://www.stellenboersen.de/stellenboersen/ Can we get this person removed from the list. This is pure spam. -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://www.sineapps.com/rssfeed.ph

Re: [Asterisk-Users] Link

2005-10-09 Thread asterisk
STINK - Original Message - From: Danny To: asterisk-users@lists.digium.com Sent: Sunday, October 09, 2005 7:21 PM Subject: [Asterisk-Users] Link http://www.stellenboersen.de/stellenboersen

[Asterisk-Users] Link

2005-10-09 Thread Danny
http://www.stellenboersen.de/stellenboersen/ ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or u

Re: [Asterisk-Users] Link for SuSE 9.x startup script Down ?

2005-02-19 Thread Frederic OGUER
Hi, The link for SuSE 9.x startup script is down too !!! (http://www.leals.com/~mm/asterisk) ! Can someone have this script ? Can you send me it or post it somewhere ? Regards, Fred Le Samedi 19 Février 2005 19:13, Roy Sigurd Karlsbakk a écrit : > hi > > is the wiki down again? > > roy > >

RE: [Asterisk-Users] Link an Asterisk Box with a PBX (E1 connection)

2004-12-22 Thread Sergio Serrano
com Asunto: [Asterisk-Users] Link an Asterisk Box with a PBX (E1 connection) Hi, I have to link an Asterisk Box with a PBX Matra 6501. System look like this : E1--Te110P Asterisk Te110P-E1Matra 6501-Phones | | Ip Phones Incom

[Asterisk-Users] Link an Asterisk Box with a PBX (E1 connection)

2004-12-22 Thread Jeremy SALMON
Hi, I have to link an Asterisk Box with a PBX Matra 6501. System look like this : E1--Te110P Asterisk Te110P-E1Matra 6501-Phones | | Ip Phones Incoming call from E1 will enter on asterisk, if incoming number is _800n then go t