[Freeswitch-users] mod_local_stream moh confusion

Lappe, Adam adam.lappe at qsc.de
Tue Jul 28 18:14:23 MSD 2015


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 at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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#ChannelVariables-MusicOnHoldRelated

On Tue, Jul 28, 2015 at 6:53 AM, Lappe, Adam <adam.lappe at qsc.de<mailto:adam.lappe at 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 at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at 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 at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>]&quot; im Auftrag von &quot;Brian West [brian at freeswitch.org<mailto:brian at 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 at qsc.de<mailto:adam.lappe at qsc.de><mailto:adam.lappe at qsc.de<mailto:adam.lappe at 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 at 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 at freeswitch.org<mailto:consulting at freeswitch.org><mailto:consulting at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at freeswitch.org<mailto:brian at freeswitch.org><mailto:brian at freeswitch.org<mailto:brian at 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<tel:%2B19184209001> | F:+19184209002<tel:%2B19184209002> | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001<tel:%2B883%205100%201420%209001> | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at freeswitch.org<mailto:consulting at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150728/3b0c0c07/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list