You'll probably need to export it, or set it globally like fs_cli -x 'global_setvar temp_hold_music=silence' local_stream://moh is set in switch_core_media if temp_hold_music and hold_music aren't set On Tue, Jul 28, 2015 at 11:14 AM, Lappe, Adam <adam.lappe@qsc.de> wrote:
Hi,
thanks for your suggestions:
I neither have
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
nor
<param name="hold-music" value="$${hold_music}"/>
in my config file. I also don’t have vars.xml or X-PRE-PROCESSES but 1 large freeswitch.xml.
When I get transferred I receive a RE-INVITE with *a=sendonly* media attribute in SDP.
Then FreeSWITCH tries to use local_stream://moh (which is not configured anywhere)!!
Also I tried
<action application="set" data="temp_hold_music=silence"/>
or
<action application="set" data=" temp_hold_music= (path)/blub.wav "/>
but this does not work.
How can I disable the local_stream://moh here?
Any other suggestions?
Thanks,
Adam
*Von:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *Im Auftrag von *Ítalo Rossi *Gesendet:* Dienstag, 28. Juli 2015 14:39
*An:* FreeSWITCH Users Help *Betreff:* Re: [Freeswitch-users] mod_local_stream moh confusion
https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#Chann...
On Tue, Jul 28, 2015 at 6:53 AM, Lappe, Adam <adam.lappe@qsc.de> wrote:
Other Question:
how can i set a other file to use for moh.
I make an outgoing call and set the moh path to a wav file. This file is only used to play it to the callee, if I set him on hold. Now, when the callee transfers my call, I receive a RE-INVITE and my FreeSWITCH tries to play a music on hold using the mod_local_stream.
Again the question: why does FreeSWITCH try to play a moh und why does he try to use mod_local_stream? Can I change local_stream to another wav file somehow?
Thanks in advance, Adam
-----Ursprüngliche Nachricht----- Von: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Lappe, Adam Gesendet: Freitag, 24. Juli 2015 12:30
An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] mod_local_stream moh confusion
Hello Brian,
thanks for your answer.
You are correct. As you can see in my first post, i do not use mod_local_stream. The question is: WHY does FreeSWITCH try to use a local_stream for moh, when a user gets transfered (with an reinvite)?
I grep'ed my config files, i don't load or use mod_local_stream anywhere.
Best regards, Adam ________________________________________ Von: freeswitch-users-bounces@lists.freeswitch.org [ freeswitch-users-bounces@lists.freeswitch.org]" im Auftrag von "Brian West [brian@freeswitch.org] Gesendet: Donnerstag, 23. Juli 2015 17:09 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] mod_local_stream moh confusion
It would indicate that you do not have mod_local_stream loaded.
On Thu, Jul 23, 2015 at 3:15 AM, Lappe, Adam <adam.lappe@qsc.de<mailto: adam.lappe@qsc.de>> wrote: Hello,
i am testing the latest 1.4.19 Version of FreeSWITCH. Currently we are running an old 1.2.7 Version.
Everything seems to work fine, but there is 1 error that is very confusing:
When a call gets transfered by the callee (i.e. by the receptionist) the call will be terminated. All I see is this error line: [ERR] switch_core_file.c:149 Invalid file format [local_stream] for [moh]!
I don't use the local_stream module. freeswitch@internal> module_exists mod_local_stream false
This error does not exists with the old version.
Is this a bug, or am I missing something?
Thanks in advance, Adam
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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
--
Brian West brian@freeswitch.org<mailto:brian@freeswitch.org>
[http://billing.freeswitch.org/templates/default/img/whmcslogo.png]
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here<https://freeswitch.org/jira>! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
--
Ítalo Rossi
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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
-- Ítalo Rossi