Re: [asterisk-users] MySQL Connect problem...

2010-08-19 Thread Sherwood McGowan
On Wed, Aug 18, 2010 at 3:59 PM, Geraint Lee gera...@gmail.com wrote: This is what I ended up doing, working fine now. Cheers On 18 August 2010 08:52, Nasir Iqbal na...@ictinnovations.com wrote: Avoid to use MySQL dialplan application, instead write an AGI script for this purpose LOL, I

Re: [asterisk-users] MySQL Connect problem...

2010-08-19 Thread Geraint Lee
I would like to figure out why but can't really switch back now it works since to replicate the problem... whatever it may be... i'd need to leave it running live and wait for the live system to die... which obviously isn't what i really want to happen :) On 19 August 2010 08:11, Sherwood McGowan

Re: [asterisk-users] MySQL Connect problem...

2010-08-19 Thread Sherwood McGowan
On Thu, Aug 19, 2010 at 4:27 AM, Geraint Lee gera...@gmail.com wrote: I would like to figure out why but can't really switch back now it works since to replicate the problem... whatever it may be... i'd need to leave it running live and wait for the live system to die... which obviously isn't

Re: [asterisk-users] MySQL Connect problem...

2010-08-19 Thread Steve Edwards
On 18 August 2010 08:52, Nasir Iqbal na...@ictinnovations.com wrote: Avoid to use MySQL dialplan application, instead write an AGI script for this purpose On Wed, Aug 18, 2010 at 3:59 PM, Geraint Lee gera...@gmail.com wrote: This is what I ended up doing, working fine now. Cheers On

Re: [asterisk-users] MySQL Connect problem...

2010-08-19 Thread Sherwood McGowan
On Thu, Aug 19, 2010 at 6:05 PM, Steve Edwards asterisk@sedwards.com wrote: On 18 August 2010 08:52, Nasir Iqbal na...@ictinnovations.com wrote: Avoid to use MySQL dialplan application, instead write an AGI script for this purpose On Wed, Aug 18, 2010 at 3:59 PM, Geraint Lee

Re: [asterisk-users] MySQL Connect problem...

2010-08-18 Thread Nasir Iqbal
Avoid to use MySQL dialplan application, instead write an AGI script for this purpose On Tue, Aug 17, 2010 at 4:59 PM, Geraint Lee gera...@gmail.com wrote: Right, I'm baffled. I have: exten = s,1,MYSQL(Connect DB1 127.0.0.1 geraint xxx amis2) exten = s,n,MYSQL(Query NORESULT ${DB1} INSERT\

Re: [asterisk-users] MySQL Connect problem...

2010-08-18 Thread Geraint Lee
This is what I ended up doing, working fine now. Cheers On 18 August 2010 08:52, Nasir Iqbal na...@ictinnovations.com wrote: Avoid to use MySQL dialplan application, instead write an AGI script for this purpose On Tue, Aug 17, 2010 at 4:59 PM, Geraint Lee gera...@gmail.com wrote: Right,

[asterisk-users] MySQL Connect problem...

2010-08-17 Thread Geraint Lee
Right, I'm baffled. I have: exten = s,1,MYSQL(Connect DB1 127.0.0.1 geraint xxx amis2) exten = s,n,MYSQL(Query NORESULT ${DB1} INSERT\ INTO\ recordings\ (caller_number\,called_number\,date_created\,date_started\,in_use\,server_id)\ VALUES\