Summary: | ASTERISK-14143: [patch] meetme fails looking for conf-getconfno | ||
Reporter: | Sean Darcy (seandarcy) | Labels: | |
Date Opened: | 2009-05-15 18:18:32 | Date Closed: | 2011-06-07 14:07:26 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_meetme |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20090917__debug_issue15125.diff.txt ( 1) core-show-settings-output | |
Description: | With 1.6.1, I'm trying to set up a test of meetme for creating dynamic conferences. I'm on an analogue extension off a TDM400P. cat meetme.conf [rooms] conf => 600 extensions.conf: [meetme] exten => 2663,1,MeetMe(,D) exten => 2663,n,Hangup() exten => 2666,1,MeetMe() exten => 2666,n,Hangup() What I'm expecting is to dial 2663, get a conference room number ( 600, I suppose since it's the only room ), and set a PIN. Then I'd dial 2666 enter the conference room number and the PIN, and be put in conference. But here's what happens when I dial 2663: -- Starting simple switch on 'DAHDI/1-1' -- Executing [2663@internal:1] MeetMe("DAHDI/1-1", ",D") in new stack [2009-05-15 13:21:19] WARNING[2061]: file.c:641 ast_openstream_full: File conf-getconfno does not exist in any format [2009-05-15 13:21:19] WARNING[2061]: file.c:924 ast_streamfile: Unable to open conf-getconfno (format 0x4 (ulaw)): No such file or directory == Spawn extension (internal, 2663, 1) exited non-zero on 'DAHDI/1-1' -- Hungup 'DAHDI/1-1' conf-getconfno does exist: ls -l /var/lib/asterisk/sounds/en/conf-getconf* -rw-r--r--. 1 root root 25211 2009-03-26 14:42 /var/lib/asterisk/sounds/en/conf-getconfno.ulaw -rw-r--r--. 1 root root 50466 2009-03-26 14:42 /var/lib/asterisk/sounds/en/conf-getconfno.wav I've also tried using .gsm. I've set set languageprefix in asterisk.conf grep language asterisk.conf languageprefix = yes I set language=en in chan_dahdi.conf I've moved the conf-getconfno files up a level to /var/lib/asterisk/sounds. Same result. | ||
Comments: | By: Sean Darcy (seandarcy) 2009-05-15 20:32:30 I tried MeetMe(,De): -- Executing [2663@internal:1] MeetMe("DAHDI/1-1", ",De") in new stack [2009-05-15 21:15:37] WARNING[2177]: file.c:641 ast_openstream_full: File conf-enteringno does not exist in any format [2009-05-15 21:15:37] WARNING[2177]: file.c:924 ast_streamfile: Unable to open conf-enteringno (format 0x4 (ulaw)): No such file or directory [2009-05-15 21:15:37] WARNING[2177]: file.c:641 ast_openstream_full: File conf-getpin does not exist in any format [2009-05-15 21:15:37] WARNING[2177]: file.c:924 ast_streamfile: Unable to open conf-getpin (format 0x4 (ulaw)): No such file or directory [2009-05-15 21:15:37] WARNING[2177]: file.c:641 ast_openstream_full: File conf-invalid does not exist in any format [2009-05-15 21:15:37] WARNING[2177]: file.c:924 ast_streamfile: Unable to open conf-invalid (format 0x4 (ulaw)): No such file or directory [2009-05-15 21:15:37] WARNING[2177]: file.c:641 ast_openstream_full: File conf-enteringno does not exist in any format [2009-05-15 21:15:37] WARNING[2177]: file.c:924 ast_streamfile: Unable to open conf-enteringno (format 0x4 (ulaw)): No such file or directory -- Created MeetMe conference 1023 for conference '1' [2009-05-15 21:15:37] WARNING[2177]: file.c:641 ast_openstream_full: File conf-onlyperson does not exist in any format [2009-05-15 21:15:37] WARNING[2177]: file.c:924 ast_streamfile: Unable to open conf-onlyperson (format 0x4 (ulaw)): No such file or directory -- Hungup 'DAHDI/pseudo-1101497809' == Spawn extension (internal, 2663, 1) exited non-zero on 'DAHDI/1-1' And all these files exist: locate conf-enteringno /var/lib/asterisk/sounds/en/conf-enteringno.gsm /var/lib/asterisk/sounds/en/conf-enteringno.ulaw /var/lib/asterisk/sounds/en/conf-enteringno.wav By: Sean Darcy (seandarcy) 2009-05-16 08:02:39 For some reason enabling [directories] in asterisk.conf makes it work. This works ( I had to comment out astmoddir since I'm now on lib64 ): ;;[directories](!) ; remove the (!) to enable this [directories] astetcdir => /etc/asterisk ;;astmoddir => /usr/lib/asterisk/modules astvarlibdir => /var/lib/asterisk astdbdir => /var/lib/asterisk astkeydir => /var/lib/asterisk astdatadir => /var/lib/asterisk astagidir => /var/lib/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run/asterisk astlogdir => /var/log/asterisk .......... This doesn't: [directories](!) ; remove the (!) to enable this astetcdir => /etc/asterisk astmoddir => /usr/lib/asterisk/modules astvarlibdir => /var/lib/asterisk astdbdir => /var/lib/asterisk astkeydir => /var/lib/asterisk astdatadir => /var/lib/asterisk astagidir => /var/lib/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run/asterisk astlogdir => /var/log/asterisk and that's the only difference: diff asterisk.conf asterisk.conf.old 1,2c1 < ;;[directories](!) ; remove the (!) to enable this < [directories] --- > [directories](!) ; remove the (!) to enable this 4c3 < ;;astmoddir => /usr/lib/asterisk/modules --- > astmoddir => /usr/lib/asterisk/modules Weird. By: Joshua C. Colp (jcolp) 2009-05-18 08:22:44 Can you please attach the output of "core show settings"? As well using strace would determine where it is really trying to look for the files. It may be that lib64 is being used everywhere. By: Sean Darcy (seandarcy) 2009-05-20 18:41:26 When it works: asterisk*CLI> core show settings asterisk*CLI> PBX Core settings ----------------- Version: SVN-branch-1.6.1-r194835M Build Options: LOADABLE_MODULES, G711_NEW_ALGORITHM, G711_REDUCED_BRANCHING Maximum calls: Not set Maximum open file handles: Not set Verbosity: 3 Debug level: 0 Maximum load average: 0.000000 Minimum free memory: 0 MB Startup time: 22:17:22 Last reload time: 22:17:22 System: Linux/2.6.29.3-140.fc11.x86_64 built by asterisk on x86_64 2009-05-15 22:57:58 UTC System name: Entity ID: 00:19:21:46:d9:f9 Default language: en Language prefix: Enabled User name and group: / Executable includes: Disabled Transcode via SLIN: Enabled Internal timing: Disabled Transmit silence during rec: Disabled * Subsystems ------------- Manager (AMI): Disabled Web Manager (AMI/HTTP): Disabled Call data records: Enabled Realtime Architecture (ARA): Disabled * Directories ------------- Configuration file: Configuration directory: /etc/asterisk Module directory: /usr/lib64/asterisk/modules Spool directory: /var/spool/asterisk Log directory: /var/log/asterisk When it doesn't, i.e. core commented out: asterisk*CLI> core show settings asterisk*CLI> PBX Core settings ----------------- Version: SVN-branch-1.6.1-r194835M Build Options: LOADABLE_MODULES, G711_NEW_ALGORITHM, G711_REDUCED_BRANCHING Maximum calls: Not set Maximum open file handles: Not set Verbosity: 3 Debug level: 0 Maximum load average: 0.000000 Minimum free memory: 0 MB Startup time: 19:35:21 Last reload time: 19:35:21 System: Linux/2.6.29.3-140.fc11.x86_64 built by asterisk on x86_64 2009-05-15 22:57:58 UTC System name: Entity ID: 00:19:21:46:d9:f9 Default language: en Language prefix: Enabled User name and group: / Executable includes: Disabled Transcode via SLIN: Enabled Internal timing: Disabled Transmit silence during rec: Disabled * Subsystems ------------- Manager (AMI): Disabled Web Manager (AMI/HTTP): Disabled Call data records: Enabled Realtime Architecture (ARA): Disabled * Directories ------------- Configuration file: Configuration directory: /etc/asterisk Module directory: /usr/lib64/asterisk/modules Spool directory: /var/spool/asterisk Log directory: /var/log/asterisk -- Starting simple switch on 'DAHDI/1-1' -- Executing [60004445678@internal:1] Set("DAHDI/1-1", "Time-in-secs= 1242862704 ") in new stack -- Executing [60004445678@internal:2] System("DAHDI/1-1", "/usr/local/bin/edit-meetme-conf.sh 444 5678 1242862704 ") in new stack -- Executing [60004445678@internal:3] Playback("DAHDI/1-1", "nhi-conf-confno") in new stack [2009-05-20 19:38:24] WARNING[27381]: file.c:641 ast_openstream_full: File nhi-conf-confno does not exist in any format [2009-05-20 19:38:24] WARNING[27381]: file.c:924 ast_streamfile: Unable to open nhi-conf-confno (format 0x4 (ulaw)): No such file or directory ...... strace isn't very useful: write(1, "*CLI> "..., 6*CLI> ) = 6 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 read(0, [2009-05-20 19:40:31] WARNING[27429]: file.c:641 ast_openstream_full: File nhi-conf-confno does not exist in any format [2009-05-20 19:40:31] WARNING[27429]: file.c:924 ast_streamfile: Unable to open nhi-conf-confno (format 0x4 (ulaw)): No such file or directory ........ By: Leif Madsen (lmadsen) 2009-07-13 10:04:10 Changing status back to New since it appears the request for information was filled. By: Tilghman Lesher (tilghman) 2009-09-17 15:57:31 Please apply this patch, and then run 'core show settings' on each setting (working and non-working) and upload the resulting output AS A FILE into the file upload area of this issue. By: Sean Darcy (seandarcy) 2009-09-19 18:12:23 Updated to today's 1.6.1 svn, and applied patch. Same problem. Removing the (!) from [directories] made it work. I've uploaded a file with the output of "core show settings" for both cases. By: Sean Darcy (seandarcy) 2009-09-19 19:54:38 Forget it. Looking at the core show setting after the patch, I saw the change in data directory. I've tracked that to a Fedora packaging issue. It's a Fedora problem, not asterisk. WFM. |