[Freeswitch-users] avoiding moh for meta_app

Woody Dickson woodydickson at gmail.com
Thu Nov 6 05:30:47 PST 2008


Hi,

I tried to avoid Freeswitch from playing moh when the meta_app is executed
by setting hold_music=silence:

<condition field="destination_number" expression="^(.*)$">
 <action application="set" data="hold_music=silence" />
 <action application="set" data="call_timeout=120" />
 <action application="set" data="hangup_after_bridge=true" />
 <action application="set" data="language=zh" />
 <action application="set" data="ringback=$${us-ring}" />
<action application="bind_meta_app" data="1 a s  execute_extension::record
XML features"/>
<action application="bind_meta_app" data="2 a a
execute_extension::stoprecord XML features"/>
<action application="bind_meta_app" data="3 a s  execute_extension::att_xfer
XML features"/>
 <action application="bridge" data="sofia/gateway/openser/1000" />
<action application="phrase" data="user_not_reg" />

However, when #1 is pressed, Freeswitch still attempts to play moh:

92.168.1.101 Processing meta digit '1' [execute_extension::record XML
features]
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:616
switch_core_session_queue_private_event()
Kill sofia/internal/1001 at 192.168.1.101 [BREAK]
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:435
switch_core_session_receive_message() Kill
sofia/internal/1001 at 192.168.1.101[BREAK]
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:616
switch_core_session_queue_private_event() Kill sofia/external/1000 [BREAK]
2008-11-07 05:18:30 [DEBUG] switch_core_session.c:435
switch_core_session_receive_message()
Kill sofia/external/1000 [BREAK]
2008-11-07 05:18:30 [DEBUG] switch_ivr.c:382 switch_ivr_parse_event()
sofia/external/1000 Command Execute playback(local_stream://moh)
2008-11-07 05:18:30 [DEBUG] mod_local_stream.c:320 local_stream_file_open()
Opening Stream [moh/8000] 8000hz

How can I fix this problem?

Thanks alot in advance for your help.

Woody
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081106/1a5bf061/attachment-0002.html 


More information about the FreeSWITCH-users mailing list