<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FOP2 Not Sending Complete Channel Name for ChanSpy]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We are using * 1.6.2.10 with the latest FOP2 (2.20).  When using Listen from FOP2 we see ringback to the Listening station but after its answered we never hear the spied on channel (just hear silence) and no Spy is logged on the console.</p>
<p dir="auto">Our fop2.cfg uses spy options "bq" and our AMI connection as read/write = all.</p>
<p dir="auto">When running packet capture with ngrep we see the AMI command issued by the fop2_server as:</p>
<pre><code>T 2011/02/23 16:51:52.533770 127.0.0.1:51161 -&gt; 127.0.0.1:5038 [AP]
Action: Originate.


T 2011/02/23 16:51:52.572979 127.0.0.1:51161 -&gt; 127.0.0.1:5038 [AP]
Channel: SIP/0004F22F774A.
CallerID: 5001.
Application: ChanSpy.
Data: SIP/0004F22CF7E2,bq.
ActionID: fop2spy!SIP/0004F22CF7E2.
Async: True.
.


T 2011/02/23 16:51:52.573160 127.0.0.1:5038 -&gt; 127.0.0.1:51161 [AP]
Response: Success.
</code></pre>
<p dir="auto">Notice how the Data portion only contains the SIP peer name and not the complete Channel ID (which in this case was SIP/0004F22CF7E2-000038f0 via core show channels).</p>
<p dir="auto">If I manually connect to AMI and issue the exact same Originate Action with the complete Channel ID (i.e. Data: SIP/0004F22CF7E2-000038f0,bq the Spy works correctly (the Spying station gets rung, then Spies on the channel listed in the Data).</p>
<p dir="auto">That all said, should the fop2_server send the complete Channel ID in the Data portion of the Originate Action or is sending the partial Channel ID (the sip peer name) supposed to be sufficient?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">JPS</p>
]]></description><link>http://localhost:4567/topic/658/fop2-not-sending-complete-channel-name-for-chanspy</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 06:03:10 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/658.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Feb 2011 03:10:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP2 Not Sending Complete Channel Name for ChanSpy on Sat, 05 Mar 2011 13:25:44 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Do you have any explanation as to why then when I manually send just a "prefix" of the channel from AMI as opposed to the complete channel id then the channel is never spied upon but if I send a complete channel id it works just fine?</p>
</blockquote>
<p dir="auto">most probably an asterisk bug. Chanspy does not require a full channel name but a prefix.</p>
]]></description><link>http://localhost:4567/post/2859</link><guid isPermaLink="true">http://localhost:4567/post/2859</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 05 Mar 2011 13:25:44 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Not Sending Complete Channel Name for ChanSpy on Thu, 24 Feb 2011 19:54:10 GMT]]></title><description><![CDATA[<p dir="auto">Do you have any explanation as to why then when I manually send just a "prefix" of the channel from AMI as opposed to the complete channel id then the channel is never spied upon but if I send a complete channel id it works just fine?</p>
]]></description><link>http://localhost:4567/post/2858</link><guid isPermaLink="true">http://localhost:4567/post/2858</guid><dc:creator><![CDATA[jamuel]]></dc:creator><pubDate>Thu, 24 Feb 2011 19:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Not Sending Complete Channel Name for ChanSpy on Thu, 24 Feb 2011 12:13:26 GMT]]></title><description><![CDATA[<p dir="auto">The partial name is sufficient, in fact, you can send "SIP" to chanspy, as the parameter chanspy expects is just a prefix, not a full name.</p>
]]></description><link>http://localhost:4567/post/2857</link><guid isPermaLink="true">http://localhost:4567/post/2857</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 24 Feb 2011 12:13:26 GMT</pubDate></item></channel></rss>