Hi,<br><br>I tried to avoid Freeswitch from playing moh when the meta_app is executed by setting hold_music=silence:<br><br><condition field="destination_number" expression="^(.*)$"><br> <action application="set" data="hold_music=silence" /><br>
<action application="set" data="call_timeout=120" /><br> <action application="set" data="hangup_after_bridge=true" /><br> <action application="set" data="language=zh" /><br>
<action application="set" data="ringback=$${us-ring}" /><br><action application="bind_meta_app" data="1 a s execute_extension::record XML features"/><br><action application="bind_meta_app" data="2 a a execute_extension::stoprecord XML features"/><br>
<action application="bind_meta_app" data="3 a s execute_extension::att_xfer XML features"/><br> <action application="bridge" data="sofia/gateway/openser/1000" /><br><action application="phrase" data="user_not_reg" /><br>
<br>However, when #1 is pressed, Freeswitch still attempts to play moh:<br><br><span style="color: rgb(255, 0, 0);"><a href="http://92.168.1.101">92.168.1.101</a> Processing meta digit '1' [execute_extension::record XML features]</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">2008-11-07 05:18:30 [DEBUG] switch_core_session.c:616 </span>switch_core_session_queue_private_event() Kill sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> [BREAK]<br>
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/<a href="mailto:1001@192.168.1.101">1001@192.168.1.101</a> [BREAK]<br>2008-11-07 05:18:30 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/external/1000 [BREAK]<br>
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:435 <span style="color: rgb(255, 0, 0);">switch_core_session_receive_message() Kill sofia/external/1000 [BREAK]</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">2008-11-07 05:18:30 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/external/1000 Command Execute playback(local_stream://moh)</span><br>
2008-11-07 05:18:30 [DEBUG] mod_local_stream.c:320 local_stream_file_open() Opening Stream [moh/8000] 8000hz<br><br>How can I fix this problem?<br><br>Thanks alot in advance for your help.<br><br>Woody<br><br><br><br>