Re: [asterisk-users] click to call with php

2011-05-20 Thread Ishfaq Malik
If you are going to use call files don't write them directly to /var/spool/asterisk/outgoing/ write them in some temp directory and then move them to /var/spool/asterisk/outgoing/ Ish On Thu, 2011-05-19 at 10:58 -0600, Alejandro Mejia Evertsz wrote: You only need to tell your PHP script to

Re: [asterisk-users] click to call with php

2011-05-20 Thread A J Stiles
On Friday 20 May 2011, Dovid Bender wrote: I had issue with call files. They would lock up the system (this was 5 years ago so maybe things have changed.) Whenever you open a file for writing, a link is created in the containing folder's directory (which says where on the disk the file is

Re: [asterisk-users] click to call with php

2011-05-20 Thread salaheddine elharit
Ok thank you so much for all advice 2011/5/20 A J Stiles asterisk_l...@earthshod.co.uk On Friday 20 May 2011, Dovid Bender wrote: I had issue with call files. They would lock up the system (this was 5 years ago so maybe things have changed.) Whenever you open a file for writing, a

Re: [asterisk-users] click to call with php

2011-05-20 Thread A J Stiles
On Friday 20 May 2011, salaheddine elharit wrote: Ok thank you so much for all advice This might help you a bit, too: ?php $spool = /var/spool/asterisk/outgoing/; # outgoing callfile folder $filename = asterisk- . date(U) . - . $_SERVER[REMOTE_PORT] . .call; # this should end up being fairly

Re: [asterisk-users] click to call with php

2011-05-20 Thread salaheddine elharit
thanks a lot for your help and support 2011/5/20 A J Stiles asterisk_l...@earthshod.co.uk On Friday 20 May 2011, salaheddine elharit wrote: Ok thank you so much for all advice This might help you a bit, too: ?php $spool = /var/spool/asterisk/outgoing/; # outgoing callfile folder

Re: [asterisk-users] click to call with php

2011-05-20 Thread Mark Deneen
On Fri, May 20, 2011 at 4:38 AM, Ishfaq Malik i...@pack-net.co.uk wrote: If you are going to use call files don't write them directly to /var/spool/asterisk/outgoing/ write them in some temp directory and then move them to /var/spool/asterisk/outgoing/ Ish Make sure that your temp

Re: [asterisk-users] click to call with php

2011-05-20 Thread salaheddine elharit
thanks a lot for your advice i really appreciate it :) 2011/5/20 Mark Deneen mden...@gmail.com On Fri, May 20, 2011 at 4:38 AM, Ishfaq Malik i...@pack-net.co.uk wrote: If you are going to use call files don't write them directly to /var/spool/asterisk/outgoing/ write them in some temp

[asterisk-users] click to call with php

2011-05-19 Thread salaheddine elharit
Hello, i have asterisk 1.4 installed and i want to use click to call in order to do an outbound call if there is any php code in order to do this operation thanks and regards -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] click to call with php

2011-05-19 Thread Alejandro Mejia Evertsz
You only need to tell your PHP script to write a .call file on /var/spool/asterisk/outgoing/ directory using the syntax described here: http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out I'm not a PHP programmer, so the PHP part is up to you hehe. There are other methods like using

Re: [asterisk-users] click to call with php

2011-05-19 Thread salaheddine elharit
ok thank you i will test this solution and i will update you :) 2011/5/19 Alejandro Mejia Evertsz ame...@gua.net You only need to tell your PHP script to write a .call file on /var/spool/asterisk/outgoing/ directory using the syntax described here:

Re: [asterisk-users] click to call with php

2011-05-19 Thread Dovid Bender
I had issue with call files. They would lock up the system (this was 5 years ago so maybe things have changed.) - Original Message - From: Alejandro Mejia Evertsz To: asterisk-users@lists.digium.com Sent: Thursday, May 19, 2011 19:58 Subject: Re: [asterisk-users] click

Re: [asterisk-users] click to call with php

2011-05-19 Thread Satish Barot
*To:* asterisk-users@lists.digium.com *Sent:* Thursday, May 19, 2011 19:58 *Subject:* Re: [asterisk-users] click to call with php You only need to tell your PHP script to write a .call file on /var/spool/asterisk/outgoing/ directory using the syntax described here: http://www.voip-info.org/wiki/view