Manmohan Singh Jandu
2010-Jul-08 06:51 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
Hello Team, I was looking for audio conferencing solution where i got Web-meetme. I had installed Asterisk 1.6.2.9 on Centos 5.4. Its perfecting working fine. I tried using Meetme even meetme app is working perfectly fine. I installed Webmeetme 4.0 and integrated with my asterisk. When i try to dial the conference number it take me to an IVR wherein it asks for the conference number. The time i provide the conference number, asterisk crashes giving segmentation fault. I have been trying to google up and checked lot of forums but didnt get any solution for this yet. Kernel version -- 2.6.18-194.3.1.el5PAE -- Thanks & Regards Manmohan Singh Jandu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100708/5409cdc6/attachment.htm
Chandrakant Solanki
2010-Jul-08 07:25 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
On Thu, Jul 8, 2010 at 12:21 PM, Manmohan Singh Jandu <manmohansj at gmail.com>wrote:> Hello Team, > > I was looking for audio conferencing solution where i got Web-meetme. > I had installed Asterisk 1.6.2.9 on Centos 5.4. Its perfecting working > fine. I tried using Meetme even meetme app is working perfectly fine. > I installed Webmeetme 4.0 and integrated with my asterisk. When i try to > dial the conference number it take me to an IVR wherein it asks for the > conference number. The time i provide the conference number, asterisk > crashes giving segmentation fault. > I have been trying to google up and checked lot of forums but didnt get any > solution for this yet. > > Kernel version -- 2.6.18-194.3.1.el5PAE > > > -- > Thanks & Regards > Manmohan Singh Jandu > > -- > _____________________________________________________________________ > -- 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 >Hi If you get Segmentation fault. One of core.$$$$$ file is created. Try to use # gdb asterisk core.$$$$$ and use bt command. And then paste error here. -- Regards, Chandrakant Solanki -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100708/c1d8571b/attachment.htm
Paul Belanger
2010-Jul-08 12:08 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
On Thu, Jul 8, 2010 at 2:51 AM, Manmohan Singh Jandu <manmohansj at gmail.com> wrote:> crashes giving segmentation fault. >Read doc/backtrace.txt on how to capture and generate a backtrace. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
Manmohan wrote:> I was looking for audio conferencing solution where i got Web-meetme. > I had installed Asterisk 1.6.2.9 on Centos? 5.4. Its perfecting working > fine. I tried using Meetme even meetme app is working perfectly fine. > I installed Webmeetme 4.0 and integrated with my asterisk. When i try > to dial the conference number it take me to an IVR wherein it asks for > the conference number. The time i provide the conference number, asterisk > crashes giving segmentation fault. > I have been trying to google up and checked lot of forums but didnt get > any solution for this yet.Which instructions did you follow for the integration? Are you using RealTime enabled app_meetme or app_cbmysql from the WMM package? Which exact version of WMM? Dan
Manmohan Singh Jandu
2010-Jul-27 07:03 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
Hi Dan, I can see the path does exists but i cant see any recordings happening inn there. There are no files in it Following is the output: /var/lib/asterisk/sounds drwxrwxrwx 2 asterisk apache 4096 Jun 27 20:54 conf-recordings I hope m understandly this correctly but m sure m missing something here ;-) --Manmohan Singh. On Tue, Jul 27, 2010 at 3:03 AM, Dan Austin <Dan_Austin at phoenix.com> wrote:> > > Manmohan Singh Jandu wrote: > > OK, now i added the column members in the table booking manually. > > and disabled selinux to have this working. > > > Now i am struggling with recording option in webmeetme. > > Not sure on how to enable it, though m checking the checkbox > > while creating the conference. But where does this save and how to > retrieve it? > > The location of the recordings is set in lib/defines.php as RECORDING_PATH, > which > defaults to /var/lib/asterisk/sounds/conf-recordings/ > > You can listen to the recordings after the conferences scheduled stop time > by looking at the Past conferences page and clicking on the speaker icon > next to the conference number. > > A couple of items to note- > 1. You may have to check the path to ensure it exists and that > the asterisk process can write to it. > 2. Your web service accounts needs read permissions for that path > 3. The speaker icon only displays if a recording exists. > > Dan > > -- > _____________________________________________________________________ > -- 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 >-- Thanks & Regards Manmohan Singh Jandu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100727/3a6bdc43/attachment.htm
Paul Belanger
2010-Jul-27 12:00 UTC
[asterisk-users] Asterisk crashes to start if compiled with pbx_lua on latest updated CentOS
On Tue, Jul 27, 2010 at 12:45 AM, Faisal Hanif <faisal at vopium.com> wrote:> Did any one got it solved? If yes how? >Yes, read doc/backtrace.txt. It will explain how to generate an unoptimized backtrace, then uploaded it to the mailing list. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
Manmohan wrote:> I can see the path does exists but i cant see any recordings > happening inn there. There are no files in it> Following is the output:> /var/lib/asterisk/sounds > drwxrwxrwx? 2 asterisk apache?? 4096 Jun 27 20:54 conf-recordings> I hope m understandly this correctly but m sure m missing something here ;-)You did understand, and we have eliminated another of the possible issues. Are you assigning an admin pin to these conferences? There is a patch that allows recording pinless concenferences, but is has oddly not been merged yet. Try setting an admin pin. If that does not work, send the CLI output with core set verbose 5 as you dial in to the conference. Dan
Manmohan Singh Jandu
2010-Jul-30 04:36 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
Hi Dan, I did added the record option in user options as well. $Mod_Options = array(array(_("Announce"), "I"), array(_("Record"), "r")); $User_Options = array(array(_("Announce"), "I"), array(_("Listen Only"), "m"), array(_("Wait for Leader"), "w"), array(_("Record"), "r")); And the gre8 news is, it did worked this time. But it saved the recorded file in the following path: /var/lib/asterisk/sounds/ with the name as "meetme-conf-rec-74438-1280463795.8.wav Than i tried to move the file to /var/lib/asterisk/sounds/conf-recordings/ just to see that it gives me a speaker icon when i click to past conferences. Unfortunately i couldnt see this speaker icon to hear this recorded conference .wav file. I tried to download the .wav file into my windows machine and the filed played well.. like i mentioned in my earlier mail that following line i had added in lib/define.php, please correct me if i am wrong: define ("RECORDING_PATH", "/var/lib/asterisk/sounds/conf-recordings/"); Do you think This recording path is taking the effect here? --Manmohan Singh. On Fri, Jul 30, 2010 at 2:56 AM, Dan Austin <Dan_Austin at phoenix.com> wrote:> > Manmohan wrote: > > Following is the output for core set verbose 5, > > also i am really not able to get on the admin pin > > thing? Do you mean, that with admin pin configured > > we cant use recording? > > You are actually running a version that has been fixed > to support recording with pin-less or user pins. I should > point out that the default settings in WMM is only to present > the recording checkbox with the admin pin field. > > It is a fairly simple edit to add the recording checkbox to the > user pin (and these options apply if no pin is set). > > Look in lib/defines.php for Mod_Options and User_Options to > See how to add or remove MeetMe options from the GUI and database. > > Dan > > -- > _____________________________________________________________________ > -- 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 >-- Thanks & Regards Manmohan Singh Jandu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100730/eab15b96/attachment.htm
Manmohan wrote:> I did added the record option in user options as well.> $Mod_Options = array(array(_("Announce"), "I"), array(_("Record"), "r")); > $User_Options = array(array(_("Announce"), "I"), array(_("Listen Only"), "m"), array(_("Wait for Leader"), "w"), > array(_("Record"), "r"));> And the gre8 news is, it did worked this time. But it saved the recorded file in the following path:That is good to hear.> /var/lib/asterisk/sounds/??? with the name as "meetme-conf-rec-74438-1280463795.8.wav> Than i tried to move the file to /var/lib/asterisk/sounds/conf-recordings/ just to see that it gives me a > speaker icon when i click to past conferences.> Unfortunately i couldnt see this speaker icon to hear this recorded conference .wav file.I am not surprised. By default MeetMe creates unique file names by appending pin-uniqueid, but uniqueid is not know until the conference starts, so the web interface does not know what to look for. Part of the changes to app_meetme included setting the realtime filename to use.> I tried to download the .wav file into my windows machine and the filed played well..> like i mentioned in my earlier mail that following line i had added in lib/define.php, please correct me if i am wrong:> define ("RECORDING_PATH", "/var/lib/asterisk/sounds/conf-recordings/");> Do you think This recording path is taking the effect here?That setting effect where the WMM interface looks for recordings and not where Asterisk puts them. Looking back at your email history, I see you are on 4.0.1. After all of the suggestions, I remembered that I too found problems with recordings and addressed them in 4.0.2 That version adds a field to the database and stores the recording names in the database. I recommend using that version instead of 4.0.1. You can move your copy of lib/defines.php to the 4.0.2 install and keep your changes. Dan
Manmohan Singh Jandu
2010-Jul-30 16:39 UTC
[asterisk-users] Asterisk Crashes - Segmentation Fault
Hi Dan, There was on very silly mistake and i missed to check that properly. Really apologize for that. Following change was done to get the conf-recording into the proper path: chown -R asterisk:asterisk /var/lib/asterisk/sounds/conf-recordings following is the output: [root at LinuxTest sounds]# ll total 6416 drwxrwxr-x 2 asterisk asterisk 4096 Jul 30 08:29 conf-recordings [root at LinuxTest sounds]# ll conf-recordings/ total 4060 -rw-r--r-- 1 asterisk asterisk 4150124 Jul 30 08:27 meetme-conf-rec-74438-1280463795.8.wav The only thing now is no speaker icon onto the webpage when i click to past conference link. Do you say that if i shift from 4.0.1 to 4.0.2 will fix the issue (of getting speaker icon in past conference)? --Manmohan Singh On Fri, Jul 30, 2010 at 8:16 PM, Dan Austin <Dan_Austin at phoenix.com> wrote:> Manmohan wrote: > > I did added the record option in user options as well. > > > $Mod_Options = array(array(_("Announce"), "I"), array(_("Record"), "r")); > > $User_Options = array(array(_("Announce"), "I"), array(_("Listen Only"), > "m"), array(_("Wait for Leader"), "w"), > > array(_("Record"), "r")); > > > And the gre8 news is, it did worked this time. But it saved the recorded > file in the following path: > That is good to hear. > > > /var/lib/asterisk/sounds/ with the name as > "meetme-conf-rec-74438-1280463795.8.wav > > > Than i tried to move the file to > /var/lib/asterisk/sounds/conf-recordings/ just to see that it gives me a > > speaker icon when i click to past conferences. > > > Unfortunately i couldnt see this speaker icon to hear this recorded > conference .wav file. > I am not surprised. By default MeetMe creates unique file names by > appending > pin-uniqueid, but uniqueid is not know until the conference starts, so the > web interface > does not know what to look for. Part of the changes to app_meetme included > setting the > realtime filename to use. > > > I tried to download the .wav file into my windows machine and the filed > played well.. > > > like i mentioned in my earlier mail that following line i had added in > lib/define.php, please correct me if i am wrong: > > > > define ("RECORDING_PATH", "/var/lib/asterisk/sounds/conf-recordings/"); > > > Do you think This recording path is taking the effect here? > > That setting effect where the WMM interface looks for recordings and not > where Asterisk puts > them. Looking back at your email history, I see you are on 4.0.1. After > all of the suggestions, > I remembered that I too found problems with recordings and addressed them > in 4.0.2 > > That version adds a field to the database and stores the recording names in > the database. I > recommend using that version instead of 4.0.1. You can move your copy of > lib/defines.php to > the 4.0.2 install and keep your changes. > > Dan > > > -- > _____________________________________________________________________ > -- 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 >-- Thanks & Regards Manmohan Singh Jandu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100730/dd0291b6/attachment.htm
Manmohan wrote:> There was on very silly mistake and i missed to check that properly. Really apologize for that. > Following change was done to get the conf-recording into the proper path:> chown -R asterisk:asterisk /var/lib/asterisk/sounds/conf-recordings> following is the output:> [root at LinuxTest sounds]# ll > total 6416 > drwxrwxr-x? 2 asterisk asterisk??? 4096 Jul 30 08:29 conf-recordings > [root at LinuxTest sounds]# ll conf-recordings/ > total 4060 > -rw-r--r-- 1 asterisk asterisk 4150124 Jul 30 08:27 meetme-conf-rec-74438-1280463795.8.wav> The only thing now is no speaker icon onto the webpage when i click to past conference link.The web interface cannot find the recording. The reason it cannot is that the name is wrong. By wrong, I mean it contains information that the database and program is not aware of (1280463795.8). To make this clear, if this conference was the 3rd one you ever scheduled on this system the correct file name would be- meetme-conf-rec-74438-3.wav using the format meetme-conf-rec-%PIN%-%BOOKID%.wav The database knows the pin and bookid, so it can construct the file name and test if it exists.> Do you say that if i shift from 4.0.1 to 4.0.2 will fix the issue (of getting speaker icon in past conference)?I was not able to get the change into app_meetme to use the bookid in the filename, even though it has access to bookid. I gave up and now store the filename in the database, which app_meetme will use if it exists. Other that a handful of bug-fixes, this is the major difference between 4.0.1 and 4.0.2 Dan