you could set the moh on that channel to "hold_music=silence"
<action application="set" data="hold_music=silence"/>
Hi Anthony,
Thanks for your reply. It solves the problem. Just one more thing. Is it possible to have Freeswitch not to play moh when *1 is pressed? In the following log, the moh is always played after *1 is pressed and before the execution of the new extension:
2008-10-26 18:21:22 [DEBUG] switch_ivr_async.c:1425 meta_on_dtmf() sofia/internal/5454@192.168.1.101 Processing meta digit '1' [execute_extension::record XML features]
2008-10-26 18:21:22 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/internal/5454@192.168.1.101 [BREAK]
2008-10-26 18:21:22 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/internal/5454@192.168.1.101 [BREAK]
2008-10-26 18:21:22 [DEBUG] switch_core_session.c:616 switch_core_session_queue_private_event() Kill sofia/external/1000 [BREAK]
2008-10-26 18:21:22 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/1000 [BREAK]
2008-10-26 18:21:22 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/external/1000 Command Execute playback(local_stream://moh)
2008-10-26 18:21:22 [DEBUG] mod_local_stream.c:320 local_stream_file_open() Opening Stream [moh/8000] 8000hz
2008-10-26 18:21:22 [DEBUG] switch_ivr_play_say.c:928 switch_ivr_play_file() Codec Activated L16@8000hz 1 channels 30ms
2008-10-26 18:21:22 [DEBUG] switch_core_session.c:435 switch_core_session_receive_message() Kill sofia/external/1000 [BREAK]
2008-10-26 18:21:22 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event() sofia/internal/5454@192.168.1.101 Command Execute execute_extension(record XML features)
Thanks for your great help.
WoodyOn Sat, Oct 25, 2008 at 10:33 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
are you using "record" or "record_session"? The latter is a background record where the former is a foreground record.
_______________________________________________
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