hamidlee / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 1 forks source link

MOH local_stream issue #828

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to music on hold for a domain
2. add a new category (TestMOH) and add some music/wav files
3. go to system->variables->hold music
4. change the variable to be: local_stream://domain.domain.com/TestMOH
5. Make a test call (such as to *9664 music on hold)
6. the log file will say:
Unknown source domain.domain.com/TestMOH, trying 'default'

What is the expected output? What do you see instead?
It should play the MOH files that were added to the domain custom MOH 
category.. If you add a category to 
freeswitch/conf/autoload_configs/local_stream.conf.xml with the domain/moh 
settings it works fine.

What version of the product are you using? On what operating system?
System Information
Version:    3.6.3
Operating System:   Linux asteriskbak 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 
03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Uptime: 15:34:19 up 56 days, 8 min, 1 user, load average: 0.17, 0.18, 0.18
Date:   Wed, 28 Jan 2015 15:34:19 -0800

/usr/local/freeswitch/bin/freeswitch -version
FreeSWITCH version: 1.4.15+git~20150101T205234Z~a60ee0137b~64bit (git a60ee01 
2015-01-01 20:52:34Z 64bit)

Please provide any additional information below.
This was working in the past, I have an older system that it seems to still be 
working on, so perhaps something changes in the way that freeswitch handles 
local_stream

Original issue reported on code.google.com by blackc2004@gmail.com on 28 Jan 2015 at 11:35

GoogleCodeExporter commented 9 years ago
I've been testing this some more. Also found that if you go to the Extension 
and change the MOH to the domain's MOH category you will still get this:

26224094-ab06-11e4-a246-958bdc87fbb2 EXECUTE sofia/internal/1882@ 
domain.domain.com set(hold_music=local_stream://domain.domain.com/TestMOH)
26224094-ab06-11e4-a246-958bdc87fbb2 2015-02-02 10:06:02.644653 [DEBUG] 
mod_dptools.c:1435 sofia/internal/1882@ domain.domain.com SET 
[hold_music]=[local_stream://domain.domain.com/TestMOH]
26224094-ab06-11e4-a246-958bdc87fbb2 2015-02-02 10:06:04.544722 [DEBUG] 
switch_ivr.c:614 sofia/internal/1882@ domain.domain.com Command Execute 
playback(local_stream://domain.domain.com/TestMOH)
26224094-ab06-11e4-a246-958bdc87fbb2 EXECUTE 
sofia/internal/1882@domain.domain.com 
playback(local_stream://domain.domain.com/TestMOH)
2015-02-02 10:06:04.544722 [WARNING] mod_local_stream.c:470 Unknown source 
domain.domain.com/TestMOH, trying 'default'
2015-02-02 10:06:04.544722 [DEBUG] mod_local_stream.c:498 Opening Stream 
[default] 8000hz
26224094-ab06-11e4-a246-958bdc87fbb2 2015-02-02 10:06:11.584724 [DEBUG] 
switch_ivr_play_say.c:1747 done playing file 
local_stream://domain.domain.com/TestMOH

Original comment by blackc2004@gmail.com on 2 Feb 2015 at 6:08

GoogleCodeExporter commented 9 years ago
I get exactly the same output. Freeswitch 1.4.15, FusionPBX 3.6.3.

2015-02-15 16:03:27.781800 [WARNING] mod_local_stream.c:470 Unknown source 
mjk.******.za/personal, trying 'default'

Original comment by Kruge...@gmail.com on 15 Feb 2015 at 2:12

GoogleCodeExporter commented 9 years ago
same problem. if i add to default list it plays fine - if i make my own 
category fs_cli error 

 [WARNING] mod_local_stream.c:470 Unknown source my.customdomain.com/customcatagory, trying 'default'

Original comment by littleki...@gmail.com on 6 Mar 2015 at 6:21

GoogleCodeExporter commented 9 years ago
I also experience this error. 

FreeSWITCH version: 1.4.17+git~20150312T185219Z~4df2105a46~64bit (git 4df2105 
2015-03-12 18:52:19Z 64bit)

Original comment by rogers....@gmail.com on 13 Apr 2015 at 7:33