[asterisk-bugs] [Asterisk 0018959]: Can't spy direct channel while spying in a group
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Apr 8 05:35:24 CDT 2011
The following issue has been REOPENED.
======================================================================
https://issues.asterisk.org/view.php?id=18959
======================================================================
Reported By: jamicque
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18959
Category: Applications/app_chanspy
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.2.18-rc1
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-03-11 09:37 CST
Last Modified: 2011-04-08 05:35 CDT
======================================================================
Summary: Can't spy direct channel while spying in a group
Description:
When I want to run chanspy defining direct channel I want to spy, and a
group to cycle through I hear nothing.
here is a sample dialplan:
exten => 556,1,Set(SPYGROUP=TEST)
exten => 556,n,ChanSpy(test002,g(TEST)d)
if I run it: like that:
exten => 556,n,ChanSpy(,g(TEST)d)
or that:
exten => 556,n,ChanSpy(test002,d)
it works ok. But defining the channel and the extension is no possible.
On the other hand using ExtenSpy works ok:
exten => 556,n,ExtenSpy(test002,g(TEST)d)
Beneath is the log from connection:
== Using SIP RTP CoS mark 5
-- Executing [12 at phones:1] Goto("SIP/test004-00000080",
"internal,12,1") in new stack
-- Goto (internal,12,1)
-- Executing [12 at internal:1] Set("SIP/test004-00000080",
"SPYGROUP=TEST") in new stack
-- Executing [12 at internal:2] Dial("SIP/test004-00000080",
"SIP/test002,10") in new stack
== Using SIP RTP CoS mark 5
-- Called test002
-- SIP/test002-00000081 is ringing
-- SIP/test002-00000081 answered SIP/test004-00000080
-- Packet2Packet bridging SIP/test004-00000080 and
SIP/test002-00000081
== Using SIP RTP CoS mark 5
-- Executing [556 at phones:1] Goto("SIP/test003-00000082",
"queue,556,1") in new stack
-- Goto (queue,556,1)
-- Executing [556 at queue:1] Set("SIP/test003-00000082",
"SPYGROUP=TEST") in new stack
-- Executing [556 at queue:2] ChanSpy("SIP/test003-00000082",
"test002,g(TEST)d") in new stack
-- <SIP/test003-00000082> Playing 'beep.gsm' (language 'en')
======================================================================
----------------------------------------------------------------------
(0133536) jamicque (reporter) - 2011-04-08 05:35
https://issues.asterisk.org/view.php?id=18959#c133536
----------------------------------------------------------------------
the new dialplan is as follow:
exten => 556,1,Set(SPYGROUP=TEST)
exten => 556,n,ChanSpy(SIP/test002,g(TEST)d)
And here are the logs - after connecting to extension 556 i hear nothing.
-- Executing [11 at phones:1] Goto("SIP/test004-00000025",
"internal,11,1") in new stack
-- Goto (internal,11,1)
-- Executing [11 at internal:1] Set("SIP/test004-00000025",
"SPYGROUP=TEST") in new stack
-- Executing [11 at internal:2] Dial("SIP/test004-00000025",
"SIP/test001,10") in new stack
== Using SIP RTP CoS mark 5
-- Called test001
-- SIP/test001-00000026 is ringing
kristoff*CLI> core set debug 100
Core debug was 10 and is now 100
kristoff*CLI>
kristoff*CLI>
-- SIP/test001-00000026 answered SIP/test004-00000025
-- Packet2Packet bridging SIP/test004-00000025 and
SIP/test001-00000026
== Using SIP RTP CoS mark 5
-- Executing [12 at phones:1] Goto("SIP/test005-00000027",
"internal,12,1") in new stack
-- Goto (internal,12,1)
-- Executing [12 at internal:1] Set("SIP/test005-00000027",
"SPYGROUP=TEST") in new stack
-- Executing [12 at internal:2] Dial("SIP/test005-00000027",
"SIP/test002,10") in new stack
== Using SIP RTP CoS mark 5
-- Called test002
-- SIP/test002-00000028 is ringing
-- SIP/test002-00000028 answered SIP/test005-00000027
-- Packet2Packet bridging SIP/test005-00000027 and
SIP/test002-00000028
== Using SIP RTP CoS mark 5
-- Executing [556 at phones:1] Goto("SIP/test003-00000029",
"queue,556,1") in new stack
-- Goto (queue,556,1)
-- Executing [556 at queue:1] Set("SIP/test003-00000029",
"SPYGROUP=TEST") in new stack
-- Executing [556 at queue:2] ChanSpy("SIP/test003-00000029",
"SIP/test002,g(TEST)d") in new stack
-- <SIP/test003-00000029> Playing 'beep.gsm' (language 'en')
Issue History
Date Modified Username Field Change
======================================================================
2011-04-08 05:35 jamicque Note Added: 0133536
2011-04-08 05:35 jamicque Status closed => new
2011-04-08 05:35 jamicque Resolution no change required =>
reopened
======================================================================
More information about the asterisk-bugs
mailing list