[asterisk-bugs] [Asterisk 0016086]: No streaming musiconhold when using dial command
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 6 14:18:08 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16086
======================================================================
Reported By: jongerenchaos
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16086
Category: Resources/res_musiconhold
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: unable to reproduce
Fixed in Version:
======================================================================
Date Submitted: 2009-10-16 13:11 CDT
Last Modified: 2010-01-06 14:18 CST
======================================================================
Summary: No streaming musiconhold when using dial command
Description:
I use a shoutcast server incombination with asterisk. Asterisk can play the
shoutcast stream with the musiconhold application.
I use the application as following:
file /etc/asterisk/stream.sh
#!/bin/bash
mpg123 -q -r 8000 -f 8192 -s --mono http://91.121.208.150:8080
file /etc/asterisk/musiconhold.conf
[default]
mode=custom
dir=/var/lib/asterisk/mohmp3-empty
application=/etc/asterisk/stream.sh
In the dialplan i use:
exten => 1,1,Musiconhold(default)
This works great and i hear the shoutcast streaming solution.
With the command:
exten => 1,1,Dial(SIP/NUMBER at outbound,260,tm(default)) or
exten => 1,1,Dial(SIP/NUMBER at outbound,260,tm)
I get the error (no audio):
[Oct 16 20:02:15] WARNING[17784]: chan_sip.c:6308 sip_write: Asked to
transmit frame type 64, while native formats is 0x4 (ulaw)(4) read/write =
0x4 (ulaw)(4)/0x4 (ulaw)(4)
Is there a solution for it?
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0014504 [patch] Allow app_dial to provide 'tone...
related to 0015405 Early media causes "Asked to trans...
======================================================================
----------------------------------------------------------------------
(0116152) lmadsen (administrator) - 2010-01-06 14:18
https://issues.asterisk.org/view.php?id=16086#c116152
----------------------------------------------------------------------
fixed in trunk commit 235740, issue
https://issues.asterisk.org/view.php?id=14504
Issue History
Date Modified Username Field Change
======================================================================
2010-01-06 14:18 lmadsen Note Added: 0116152
======================================================================
More information about the asterisk-bugs
mailing list