Summary: | ASTERISK-11563: Not recognizing media files on Solaris 10 | ||
Reporter: | dmartin (dmartin) | Labels: | |
Date Opened: | 2008-03-03 10:54:37.000-0600 | Date Closed: | 2008-03-03 11:51:11.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Formats/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Calling a media file (using Playback() or MusicOnHold()) doesn't seems to work correctly on Solaris 10. Exactly the _same_ configuration works well on a Linux/Sparc64 and a Linux/x86 with the same SVN version. See aditional information for traces. ****** ADDITIONAL INFORMATION ****** Running Solaris 10 (Sparc64) and Asterisk 1.6 from SVN. Trace of the console while calling MusicOnHold(): Connected to Asterisk SVN-trunk-r105509M currently running on sun01 (pid = 9115) Verbosity is at least 13 -- Executing [299@default:1] Ringing("SIP/201-001bccd8", "") in new stack -- Executing [299@default:2] Wait("SIP/201-001bccd8", "2") in new stack -- Executing [299@default:3] Answer("SIP/201-001bccd8", "") in new stack -- Executing [299@default:4] MusicOnHold("SIP/201-001bccd8", "") in new stack -- Started music on hold, class 'default', on SIP/201-001bccd8 [Mar 3 16:06:56] WARNING[9115]: file.c:557 ast_openstream_full: File /pool/asterisk/moh/shake does not exist in any format [Mar 3 16:06:56] WARNING[9115]: res_musiconhold.c:268 ast_moh_files_next: Unable to open file '/pool/asterisk/moh/shake': No such file or directory -- Stopped music on hold on SIP/201-001bccd8 == Spawn extension (default, 299, 4) exited non-zero on 'SIP/201-001bccd8' And a the media file: # file /pool/asterisk/moh/shake.wav /pool/asterisk/moh/shake.wav: audio data: 16-bit linear PCM, mono File is taken from a working Asterisk environment. Modules loaded: sun01*CLI> module show Module Description Use Count res_ael_share.so share-able code for AEL 0 res_agi.so Asterisk Gateway Interface (AGI) 0 res_indications.so Region-specific tones 0 res_monitor.so Call Monitoring Resource 0 res_phoneprov.so HTTP Phone Provisioning 0 res_smdi.so Simplified Message Desk Interface (SMDI) 0 chan_features.so Feature Proxy Channel 0 chan_iax2.so Inter Asterisk eXchange (Ver 2) 0 chan_local.so Local Proxy Channel (Note: used internal 0 chan_mgcp.so Media Gateway Control Protocol (MGCP) 0 chan_sip.so Session Initiation Protocol (SIP) 0 pbx_ael.so Asterisk Extension Language Compiler 0 pbx_config.so Text Extension Configuration 0 pbx_dundi.so Distributed Universal Number Discovery ( 0 pbx_loopback.so Loopback Switch 0 pbx_realtime.so Realtime Switch 0 pbx_spool.so Outgoing Spool Support 0 app_adsiprog.so Asterisk ADSI Programming Application 0 app_alarmreceiver.so Alarm Receiver for Asterisk 0 app_amd.so Answering Machine Detection Application 0 app_authenticate.so Authentication Application 0 app_cdr.so Tell Asterisk to not maintain a CDR for 0 app_chanisavail.so Check channel availability 0 app_channelredirect.so Redirects a given channel to a dialplan 0 app_chanspy.so Listen to the audio of an active channel 0 app_controlplayback.so Control Playback Application 0 app_dial.so Dialing Application 0 app_directed_pickup.so Directed Call Pickup Application 0 app_directory.so Extension Directory 0 app_disa.so DISA (Direct Inward System Access) Appli 0 app_dumpchan.so Dump Info About The Calling Channel 0 app_exec.so Executes dialplan applications 0 app_externalivr.so External IVR Interface Application 0 app_followme.so Find-Me/Follow-Me Application 0 app_macro.so Extension Macros 0 app_mixmonitor.so Mixed Audio Monitoring Application 0 app_pickupchan.so Channel Pickup Application 0 app_playback.so Sound File Playback Application 0 app_privacy.so Require phone number to be entered, if n 0 app_queue.so True Call Queueing 0 app_read.so Read Variable Application 0 app_readexten.so Read and evaluate extension validity 0 app_readfile.so Stores output of file into a variable 0 app_record.so Trivial Record Application 0 app_senddtmf.so Send DTMF digits Application 0 app_sendtext.so Send Text Applications 0 app_setcallerid.so Set CallerID Presentation Application 0 app_softhangup.so Hangs up the requested channel 0 app_stack.so Dialplan subroutines (Gosub, Return, etc 0 app_system.so Generic System() application 0 app_talkdetect.so Playback with Talk Detection 0 app_transfer.so Transfers a caller to another extension 0 app_url.so Send URL Applications 0 app_userevent.so Custom User Event Application 0 app_verbose.so Send verbose output 0 app_waitforring.so Waits until first ring after time 0 app_waitforsilence.so Wait For Silence 0 app_waituntil.so Wait until specified time 0 app_while.so While Loops and Conditional Execution 0 codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0 codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0 codec_alaw.so A-law Coder/Decoder 0 codec_g722.so ITU G.722-64kbps G722 Transcoder 0 codec_g726.so ITU G.726-32kbps G726 Transcoder 0 codec_gsm.so GSM Coder/Decoder 0 codec_ilbc.so iLBC Coder/Decoder 0 codec_lpc10.so LPC10 2.4kbps Coder/Decoder 0 codec_resample.so SLIN Resampling Codec 0 codec_ulaw.so mu-Law Coder/Decoder 0 format_g723.so G.723.1 Simple Timestamp File Format 0 format_g726.so Raw G.726 (16/24/32/40kbps) data 0 format_g729.so Raw G729 data 0 format_gsm.so Raw GSM data 0 format_h263.so Raw H.263 data 0 format_h264.so Raw H.264 data 0 format_ilbc.so Raw iLBC data 0 format_jpeg.so JPEG (Joint Picture Experts Group) Image 0 format_pcm.so Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G. 0 format_sln.so Raw Signed Linear Audio support (SLN) 0 format_sln16.so Raw Signed Linear 16KHz Audio support (S 0 format_vox.so Dialogic VOX (ADPCM) File Format 0 format_wav.so Microsoft WAV format (8000Hz Signed Line 0 format_wav_gsm.so Microsoft WAV format (Proprietary GSM) 0 func_base64.so base64 encode/decode dialplan functions 0 func_cdr.so Call Detail Record (CDR) dialplan functi 0 func_blacklist.so Look up Caller*ID name/number from black 0 func_callerid.so Caller ID related dialplan functions 0 func_channel.so Channel information dialplan function 0 func_cut.so Cut out information from a string 0 func_devstate.so Gets or sets a device state in the dialp 0 func_dialgroup.so Dialgroup dialplan function 0 func_dialplan.so Dialplan Context/Extension/Priority Chec 0 func_enum.so ENUM related dialplan functions 0 func_env.so Environment/filesystem dialplan function 0 func_extstate.so Gets an extension's state in the dialpla 0 func_global.so Variable dialplan functions 0 func_groupcount.so Channel group dialplan functions 0 func_lock.so Dialplan mutexes 0 func_logic.so Logical dialplan functions 0 func_math.so Mathematical dialplan function 0 func_md5.so MD5 digest dialplan functions 0 func_module.so Checks if Asterisk module is loaded in m 0 func_rand.so Random number dialplan function 0 func_realtime.so Read/Write/Store/Destroy values from a R 0 func_sha1.so SHA-1 computation dialplan function 0 func_shell.so Returns the output of a shell command 0 func_strings.so String handling dialplan functions 0 func_sysinfo.so System information related functions 0 func_timeout.so Channel timeout dialplan functions 0 func_uri.so URI encode/decode dialplan functions 0 func_version.so Get Asterisk Version/Build Info 0 func_vmcount.so Indicator for whether a voice mailbox ha 0 func_volume.so Technology independent volume control 0 res_adsi.so ADSI Resource 0 res_clioriginate.so Call origination from the CLI 0 res_convert.so File format conversion CLI command 0 res_limit.so Resource limits 0 res_musiconhold.so Music On Hold Resource 0 res_realtime.so Realtime Data Lookup/Rewrite 0 119 modules loaded sun01*CLI> | ||
Comments: | By: Jason Parker (jparker) 2008-03-03 11:02:00.000-0600 I think this is the same issue as ASTERISK-11554. By: dmartin (dmartin) 2008-03-03 11:22:11.000-0600 Yes it seems to be. I applied the patch, I'll post soon if that fixes the issue. Sorry, I had to search better before. By: dmartin (dmartin) 2008-03-03 11:45:00.000-0600 Confirmed, please mark it as a dupe of ASTERISK-1204115 or close it. Thank you. |