Govind, Mahesh (NSN - IN/Bangalore)
2010-Sep-23 06:21 UTC
[asterisk-users] Record() Cmd and My SQL
HI , Is there Any way is there so that I can store my recordings directly to a database rather storing the same to a file . Thanks in advance . Regards Mahesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/03258e4a/attachment.htm
I hope it cant be done using dialplan but it can be done through AGI scripting...you can use your favorite programming language PHP / Perl and try to record the call with record application and point to the database instead of a folder path. Asterisk Users your feedback also welcome on this.. On Thu, Sep 23, 2010 at 11:51 AM, Govind, Mahesh (NSN - IN/Bangalore) < mahesh.govind at nsn.com> wrote:> HI , > > Is there Any way is there so that I can store my recordings directly to a > database rather storing the same to a file . > > Thanks in advance . > > Regards > > Mahesh > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Thank you with regards, Gopalakrishnan A.N, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/ea20f51d/attachment.htm
Govind, Mahesh (NSN - IN/Bangalore)
2010-Sep-23 13:37 UTC
[asterisk-users] Record() Cmd and My SQL
Thanks , Do you have some sample for that . Regards Mahesh From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ext Gopalakrishnan A.N Sent: Thursday, September 23, 2010 5:46 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Record() Cmd and My SQL I hope it cant be done using dialplan but it can be done through AGI scripting...you can use your favorite programming language PHP / Perl and try to record the call with record application and point to the database instead of a folder path. Asterisk Users your feedback also welcome on this.. On Thu, Sep 23, 2010 at 11:51 AM, Govind, Mahesh (NSN - IN/Bangalore) <mahesh.govind at nsn.com> wrote: HI , Is there Any way is there so that I can store my recordings directly to a database rather storing the same to a file . Thanks in advance . Regards Mahesh -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Thank you with regards, Gopalakrishnan A.N, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/8d81cace/attachment.htm
sorry I dont have samples, but you can find lots of php agi scripts by googling.. On Thu, Sep 23, 2010 at 7:07 PM, Govind, Mahesh (NSN - IN/Bangalore) < mahesh.govind at nsn.com> wrote:> Thanks , > > Do you have some sample for that . > > Regards > > Mahesh > > > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *ext Gopalakrishnan > A.N > *Sent:* Thursday, September 23, 2010 5:46 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Record() Cmd and My SQL > > > > I hope it cant be done using dialplan but it can be done through AGI > scripting...you can use your favorite programming language PHP / Perl and > try to record the call with record application and point to the database > instead of a folder path. > > > > Asterisk Users your feedback also welcome on this.. > > On Thu, Sep 23, 2010 at 11:51 AM, Govind, Mahesh (NSN - IN/Bangalore) < > mahesh.govind at nsn.com> wrote: > > HI , > > Is there Any way is there so that I can store my recordings directly to a > database rather storing the same to a file . > > Thanks in advance . > > Regards > > Mahesh > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > Thank you with regards, > Gopalakrishnan A.N, > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Thank you with regards, Gopalakrishnan A.N, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/043f2bb1/attachment.htm
Just my .02 - #1 - voip-info.org is a good resource for finding this kind of script #2 - I think you are asking for trouble doing a direct recording using the PHP/MySQL combination; Personally I would do C/MySQL but the exposure you face depends on the length of your recording(s). #3 - since you are going to need to go the AGI route anyway, why not do a MixMonitor/AGI combination so you get the speed/reliability of a disk write-to-file? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100923/a8f7e196/attachment.htm
On Thu, Sep 23, 2010 at 2:21 AM, Govind, Mahesh (NSN - IN/Bangalore) <mahesh.govind at nsn.com> wrote:> HI , > > Is there Any way is there so that I can store my recordings directly to a > database rather storing the same to a file .Please, please, please tell us why you would want to do that.
Govind, Mahesh (NSN - IN/Bangalore)
2010-Sep-24 03:23 UTC
[asterisk-users] Record() Cmd and My SQL
The reason is when doing a load balancing , We cannot confine the recording to a particular asterisk machine ( If we have more than one asterisk machine in the topology ). So a centralized mechanism might be better . So that any machine can access the recording . Regards Mahesh -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ext David Backeberg Sent: Thursday, September 23, 2010 9:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Record() Cmd and My SQL On Thu, Sep 23, 2010 at 2:21 AM, Govind, Mahesh (NSN - IN/Bangalore) <mahesh.govind at nsn.com> wrote:> HI , > > Is there Any way is there so that I can store my recordings directlyto a> database rather storing the same to a file .Please, please, please tell us why you would want to do that. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Why not write the file to /tmp using MixMonitor, then use the command option to trigger an AGI script that will move the data into your database then delete the original file? John On 24 September 2010 04:23, Govind, Mahesh (NSN - IN/Bangalore) <mahesh.govind at nsn.com> wrote:> The reason is when doing a load balancing ?, We ?cannot confine the > recording to a particular asterisk machine ( If we have more than one > asterisk machine in the topology ). > > So a centralized mechanism might be better . So that any machine can > access the recording . > Regards > Mahesh > > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ext David > Backeberg > Sent: Thursday, September 23, 2010 9:51 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Record() Cmd and My SQL > > On Thu, Sep 23, 2010 at 2:21 AM, Govind, Mahesh (NSN - IN/Bangalore) > <mahesh.govind at nsn.com> wrote: >> HI , >> >> Is there Any way is there so that I can store my recordings directly > to a >> database rather storing the same to a file . > > Please, please, please tell us why you would want to do that. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >-- JA Taylor MA VetMB MRCVS Mansion Hill Veterinary Practice 133-137 Main Road Middleton Cheney OX17 2PP 01295 712110
Govind, Mahesh (NSN - IN/Bangalore)
2010-Sep-24 09:31 UTC
[asterisk-users] Record() Cmd and My SQL
Thanks , I was not knowing about Mix Monitor . Whether MixMonitor is faster than record ? Both uses same mechanism to write to the file . Regards Mahesh -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ext John Taylor Sent: Friday, September 24, 2010 1:24 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Record() Cmd and My SQL Why not write the file to /tmp using MixMonitor, then use the command option to trigger an AGI script that will move the data into your database then delete the original file? John On 24 September 2010 04:23, Govind, Mahesh (NSN - IN/Bangalore) <mahesh.govind at nsn.com> wrote:> The reason is when doing a load balancing ?, We ?cannot confine the > recording to a particular asterisk machine ( If we have more than one > asterisk machine in the topology ). > > So a centralized mechanism might be better . So that any machine can > access the recording . > Regards > Mahesh > > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of ext David > Backeberg > Sent: Thursday, September 23, 2010 9:51 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Record() Cmd and My SQL > > On Thu, Sep 23, 2010 at 2:21 AM, Govind, Mahesh (NSN - IN/Bangalore) > <mahesh.govind at nsn.com> wrote: >> HI , >> >> Is there Any way is there so that I can store my recordings directly > to a >> database rather storing the same to a file . > > Please, please, please tell us why you would want to do that. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >-- JA Taylor MA VetMB MRCVS Mansion Hill Veterinary Practice 133-137 Main Road Middleton Cheney OX17 2PP 01295 712110 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users