[asterisk-users] ARA: realtime: sip.conf: context

2013-12-03 Thread Brian LaVallee
The answer is probably no, but I would like someone else to confirm it. When using The Asterisk RealTime Architecture, can context work in sip.conf like it does for extensions.conf ? switch = Realtime/[context]@[family][/options] More specific, is there a way to use a single table and limit

[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

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

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

Re: [asterisk-users] link to MySQL connection

2013-12-03 Thread Eric Wieling
Yes. Use func_odbc in your PHP AGI. In Asterisk dialplan functions are treated like dialplan variables so you can get and set them just like you would other dialplan variables. If it takes 5 seconds to open a PDO DB connection inside PHP you have some OTHER problem. -Original

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 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

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

Re: [asterisk-users] dahdi-tools 2.8.0-rc4 - udev rules not installed?

2013-12-03 Thread Russ Meyerriecks
This is why we love release candidate feedback! Thanks! I've managed to mis-tag rc4 and missed all of Oron's commits. Cutting a v2.7.0.2 and a (correct) v2.8.0-rc5 today. On Mon, Dec 2, 2013 at 11:10 PM, Patrick Lists asterisk-l...@puzzled.xs4all.nl wrote: Hi, I just looked at 2.8.0-rc4

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

Re: [asterisk-users] dahdi-tools 2.8.0-rc4 - udev rules not installed?

2013-12-03 Thread Patrick Lists
On 12/03/2013 06:35 PM, Russ Meyerriecks wrote: This is why we love release candidate feedback! Thanks! I've managed to mis-tag rc4 and missed all of Oron's commits. Cutting a v2.7.0.2 and a (correct) v2.8.0-rc5 today. Thanks. I'll give rc5 a spin when it arrives and report back if I find

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

[asterisk-users] DAHDI-Linux and DAHDI-Tools 2.7.0.2 Now Available

2013-12-03 Thread Asterisk Development Team
The Asterisk Development Team has announced the releases of: DAHDI-Linux-v2.7.0.2 DAHDI-Tools-v2.7.0.2 dahdi-linux-complete-2.7.0.2+2.7.0.2 This release is available for immediate download at: http://downloads.asterisk.org/pub/telephony/dahdi-linux

[asterisk-users] DAHDI-Linux and DAHDI-Tools 2.8.0-rc5 Now Available

2013-12-03 Thread Asterisk Development Team
The Asterisk Development Team has announced the releases of: DAHDI-Linux-v2.8.0-rc5 DAHDI-Tools-v2.8.0-rc5 dahdi-linux-complete-2.8.0-rc5+2.8.0-rc5 This release is available for immediate download at: http://downloads.asterisk.org/pub/telephony/dahdi-linux

Re: [asterisk-users] DAHDI-Linux and DAHDI-Tools 2.8.0-rc2 Now Available

2013-12-03 Thread Shaun Ruffell
On Fri, Nov 22, 2013 at 07:16:30PM -0800, Ira wrote: Hello Asterisk, Friday, November 22, 2013, 11:41:02 AM, you wrote: The Asterisk Development Team has announced the releases of: dahdi-linux-complete-2.8.0-rc2+2.8.0-rc2 Downloaded and installed but it won't load the HPEC license.

Re: [asterisk-users] DAHDI-Linux and DAHDI-Tools 2.7.0.2 Now Available

2013-12-03 Thread Ira
Hello Asterisk, Tuesday, December 3, 2013, 11:28:31 AM, you wrote: The Asterisk Development Team has announced the releases of: DAHDI-Linux-v2.7.0.2 DAHDI-Tools-v2.7.0.2 dahdi-linux-complete-2.7.0.2+2.7.0.2 I tried DAHDI-Linux-v2.8.0-rc5 and now this and I keep having to go back to

Re: [asterisk-users] DAHDI-Linux and DAHDI-Tools 2.7.0.2 Now Available

2013-12-03 Thread Shaun Ruffell
On Tue, Dec 03, 2013 at 03:28:15PM -0800, Ira wrote: Hello Asterisk, Tuesday, December 3, 2013, 11:28:31 AM, you wrote: The Asterisk Development Team has announced the releases of: DAHDI-Linux-v2.7.0.2 DAHDI-Tools-v2.7.0.2 dahdi-linux-complete-2.7.0.2+2.7.0.2 I tried

Re: [asterisk-users] DAHDI-Linux and DAHDI-Tools 2.7.0.2 Now Available

2013-12-03 Thread Ira
Hello Shaun, Tuesday, December 3, 2013, 7:20:34 PM, you wrote: Based on some direct replies that you sent, my current belief is that you are not recompiling dahdi_echocan_hpec for the new versions of DAHDI. Yes, it was me. I've had to copy the HPEC stuff from version to version so many time

Re: [asterisk-users] pipeast [was: Re: How to repeat pri show span and zap show channel commands]

2013-12-03 Thread Ioan Indreias
Many thanks Tzafrir - it works like a charm. Best regards, Ioan On Sun, Dec 1, 2013 at 1:46 PM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote: Hi, Long ago, On Wed, Feb 21, 2007 at 09:32:26AM +0200, Tzafrir Cohen wrote: On Wed, Feb 21, 2007 at 07:56:18AM +0100, Olivier wrote: [snip]