Hi, I am getting the following error when executing the meta_app (*4). The error is complaining about moh not found. Does anyone know where I can define the moh? If I want to define different moh for each user, is it doable? HANGE_MEDIA 2008-10-21 04:09:14 [DEBUG] switch_core_session.c:727 switch_core_session_signal_state_change() Kill sofia/external/5003 [BREAK] ===Received event=CHANNEL_ANSWER ===Received event=CODEC 2008-10-21 04:09:14 [DEBUG] sofia.c:2233 sofia_handle_sip_i_state() Channel sofia/internal/5002@192.168.1.101 entering state [completed] ===Received event=CHANNEL_ANSWER ===Received event=CODEC ===Received event=CHANNEL_BRIDGE handle_start_media===================================== 2008-10-21 04:09:14 [DEBUG] switch_core_state_machine.c:442 switch_core_session_run() (sofia/external/5003) State CONSUME_MEDIA going to sleep 2008-10-21 04:09:14 [DEBUG] switch_core_state_machine.c:365 switch_core_session_run() sofia/external/5003 Running State Change CS_EXCHANGE_MEDIA 2008-10-21 04:09:14 [DEBUG] switch_core_state_machine.c:433 switch_core_session_run() (sofia/external/5003) State EXCHANGE_MEDIA 2008-10-21 04:09:14 [DEBUG] mod_sofia.c:373 sofia_on_exchange_media() SOFIA LOOPBACK 2008-10-21 04:09:14 [DEBUG] sofia.c:2233 sofia_handle_sip_i_state() Channel sofia/internal/5002@192.168.1.101 entering state [ready] ===Received event=CHANNEL_STATE 2008-10-21 04:09:16 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf() sofia/internal/5002@192.168.1.101 Processing meta digit '4' [execute_extension::att_xfer XML features] 2008-10-21 04:09:16 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/internal/ 5002@192.168.1.101 [BREAK] 2008-10-21 04:09:16 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/5002@192.168.1.101[BREAK] 2008-10-21 04:09:16 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/external/5003 [BREAK] 2008-10-21 04:09:16 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/5003 [BREAK] 2008-10-21 04:09:16 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/external/5003 Command Execute playback(local_stream://moh) 2008-10-21 04:09:16 [ERR] mod_local_stream.c:301 local_stream_file_open() unknown source moh 2008-10-21 04:09:16 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/5003 [BREAK] 2008-10-21 04:09:16 [DEBUG] switch_ivr_bridge.c:222 audio_bridge_thread() Kill sofia/internal/5002@192.168.1.101 [BREAK] ===Received event=CHANNEL_EXECUTE ===Received event=CODEC ===Received event=CODEC ===Received event=CHANNEL_EXECUTE_COMPLETE ===Received event=PRIVATE_COMMAND 2008-10-21 04:09:26 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/internal/5002@192.168.1.101 Command Execute execute_extension(att_xfer XML features) 2008-10-21 04:09:26 [INFO] mod_dialplan_xml.c:232 dialplan_hunt() Processing 5002->att_xfer in context features ===Received event=CHANNEL_EXECUTE 2008-10-21 04:09:26 [CONSOLE] mod_xml_curl.c:206 xml_url_fetch() XML response is in /tmp/8a94486a-6749-4e1a-94b9-6c337b4e324b.tmp.xml 2008-10-21 04:09:26 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex: [features] destination_number(att_xfer) =~ /^att_xfer/ 2008-10-21 04:09:26 [NOTICE] switch_core_session.c:1219 switch_core_session_execute_exten() Execute read(1 10 'tone_stream://%(10000,0,350,440)' digits 30000 #) 2008-10-21 04:09:26 [DEBUG] switch_ivr_play_say.c:928 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 30ms 2008-10-21 04:09:26 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/5002@192.16 y Thanks alot. Woody
It looks like you have the default config for local_stream.conf.xml and you'll need to "make hd-moh-install" during the installation of FreeSWITCH to have the proper files in place for local_stream to work. /b On Oct 20, 2008, at 9:50 AM, Woody Dickson wrote:
I am getting the following error when executing the meta_app (*4). The error is complaining about moh not found. Does anyone know where I can define the moh? If I want to define different moh for each user, is it doable?
Hi Brian, Thanks for your help. It works now, but I have another problem. The MOH that is being heard by the other side does not sound right. It sounded like the bit rate is not right or something. Freeswitch did send out Audio but xlite can't properly translate. Any idea what this may be due to? There are three rates specified ( 8000, 16000, and 32000), so how do I select which one to use? Here is the log: 2008-10-21 18:06:49 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf() sofia/internal/5002@192.168.1.101 Processing meta digit '4' [execute_extension::att_xfer XML features] 2008-10-21 18:06:49 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/internal/ 5002@192.168.1.101 [BREAK] 2008-10-21 18:06:49 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/5002@192.168.1.101[BREAK] 2008-10-21 18:06:49 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/external/5003 [BREAK] 2008-10-21 18:06:49 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/5003 [BREAK] 2008-10-21 18:06:49 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/external/5003 Command Execute playback(local_stream://moh) 2008-10-21 18:06:49 [DEBUG] mod_local_stream.c:320 local_stream_file_open() Opening Stream [moh/8000] 8000hz 2008-10-21 18:06:49 [DEBUG] switch_ivr_play_say.c:928 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 30ms 2008-10-21 18:06:49 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/5003 [BREAK] 2008-10-21 18:06:49 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/internal/5002@192.168.1.101 Command Execute execute_extension(att_xfer XML features) Thanks, Woody
Hi Brian, What do you think could be the reason for the bad MOH sound quality? I am just thinking that it could be some setting issue. Thanks, Woody On Tue, Oct 21, 2008 at 10:22 AM, Brian West <brian@freeswitch.org> wrote:
in the defaults the rate is selected by the channel rate. You have no need to run a 16k hold music on an 8k channel.
/b
On Oct 20, 2008, at 9:15 PM, Woody Dickson wrote:
There are three rates specified ( 8000, 16000, and 32000), so how do I select which one to use?
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Woody Dickson