[asterisk-bugs] [Asterisk 0016627]: No audio is passed from MOH when using originate to a remote peer
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jun 18 10:01:33 CDT 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=16627
======================================================================
Reported By: kobaz
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16627
Category: Resources/res_musiconhold
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA: SWP-743
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0
SVN Revision (number only!): 240716
Request Review:
Resolution: suspended
Fixed in Version:
======================================================================
Date Submitted: 2010-01-17 14:18 CST
Last Modified: 2010-06-18 10:01 CDT
======================================================================
Summary: No audio is passed from MOH when using originate to
a remote peer
Description:
No audio is passed from MOH when using originate to a remote peer
If you issue a Playback(), before MusicOnHold, audio will flow.
---------
extend context services {
1 => {
Answer(500);
MusicOnHold();
}
2 => {
Answer(500);
Playback(lunch);
MusicOnHold();
}
}
5506 is a polycom phone registered on pbx A
on pbx A:
asterisk -rx "originate SIP/5506 extension 1 at services"
-- Executing [1 at services:1] Answer("SIP/5506-00000014", "500") in new
stack
-- Executing [1 at services:2] MusicOnHold("SIP/5506-00000014", "") in
new stack
-- Started music on hold, class 'default', on channel
'SIP/5506-00000014'
-- Remote UNIX connection disconnected
Got RTP packet from 192.168.5.134:2224 (type 00, seq 034120, ts
3799238534, len 000160)
Sent RTP packet to 192.168.5.134:2224 (type 00, seq 064889, ts
000160, len 000160)
Got RTP packet from 192.168.5.134:2224 (type 00, seq 034121, ts
3799238694, len 000160)
Sent RTP packet to 192.168.5.134:2224 (type 00, seq 064890, ts
000320, len 000160)
....etc
Everything is fine and dandy. Here's the problem:
26213 is a polycom phone on demo1 (which is also asterisk).. and this bug
exhibits itself whether using sip or iax.
on pbx A
asterisk -rx "originate SIP/demo1-sip/26213 extension 1 at services"
-- Executing [1 at services:1] Answer("SIP/demo1-sip-00000015", "500") in
new stack
-- Executing [1 at services:2] MusicOnHold("SIP/demo1-sip-00000015", "")
in new stack
-- Started music on hold, class 'default', on channel
'SIP/demo1-sip-00000015'
no RTP!
Now we try a Playback() beforehand.
on pbx A
asterisk -rx "originate SIP/demo1-sip/26213 extension 2 at services"
-- Executing [2 at services:1] Answer("SIP/demo1-sip-00000016", "500") in
new stack
-- Executing [2 at services:2] Playback("SIP/demo1-sip-00000016",
"lunch") in new stack
-- Remote UNIX connection disconnected
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049074, ts
000160, len 000160)
-- <SIP/demo1-sip-00000016> Playing 'lunch.ulaw' (language 'en')
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049075, ts
000320, len 000160)
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049076, ts
000480, len 000160)
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049077, ts
000640, len 000160)
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049078, ts
000800, len 000160)
....etc
-- Executing [2 at services:3] MusicOnHold("SIP/demo1-sip-00000016", "")
in new stack
-- Started music on hold, class 'default', on channel
'SIP/demo1-sip-00000016'
Got RTP packet from 192.168.15.20:16730 (type 00, seq 017805, ts
2133860346, len 000160)
Got RTP packet from 192.168.15.20:16730 (type 00, seq 017806, ts
2133860506, len 000160)
Got RTP packet from 192.168.15.20:16730 (type 00, seq 017807, ts
2133860666, len 000160)
Sent RTP packet to 192.168.15.20:16730 (type 00, seq 049106, ts
005280, len 000160)
....etc
======================================================================
----------------------------------------------------------------------
(0123579) pabelanger (manager) - 2010-06-18 10:01
https://issues.asterisk.org/view.php?id=16627#c123579
----------------------------------------------------------------------
Suspended due to lack of activity. Please request a bug marshal in
#asterisk-bugs on the IRC network irc.freenode.net to reopen the issue
should you have the additional information requested.
Further information can be found at
http://www.asterisk.org/developers/bug-guidelines
Issue History
Date Modified Username Field Change
======================================================================
2010-06-18 10:01 pabelanger Note Added: 0123579
2010-06-18 10:01 pabelanger Status feedback => closed
2010-06-18 10:01 pabelanger Resolution open => suspended
======================================================================
More information about the asterisk-bugs
mailing list