<span id="result_box" class="" lang="en"><span class="hps">Yes,</span> <span class="hps">Asterisk</span> <span class="hps">1.8.10.0</span><span>,</span> <span class="hps">chanspy</span> <span class="hps">have the option</span> <span class="hps">'E', which</span> <span class="hps">terminate the function</span> <span class="hps">when the call</span> <span class="hps">hangs</span><span class="hps"></span><span class="">.</span></span><br>
Thanks to all.<br><br><div class="gmail_quote">On Thu, Mar 8, 2012 at 12:05 PM, Jim Dickenson <span dir="ltr"><<a href="mailto:dickenson@cfmc.com" target="_blank">dickenson@cfmc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">I had submitted a patch some time ago to add option s to chanspy. This would cause chanspy to exit once the specified change was not longer there. I do not know if it ever got into a released version as I use ABE. It was not in 1.6 but might be in 1.8.<span><font color="#888888"><br>
<div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco">-- </div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco">
Jim Dickenson</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco"><a href="mailto:dickenson@cfmc.com" target="_blank">mailto:dickenson@cfmc.com</a></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco;min-height:14px"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco">
CfMC</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 10px/normal Monaco"><a href="http://www.cfmc.com/" target="_blank">http://www.cfmc.com/</a></div><div><font face="Monaco"><span style="font-size:10px"><br>
</span></font></div></div></span><br>
</div></font></span><div><div>
<br><div><div>On Mar 8, 2012, at 4:20 AM, equis software wrote:</div><br><blockquote type="cite">I need call to C every time that A call to B, but when A-B hangs up i need to hang up Asterisk-C call too.<br><br>Anyboby know another solution?<br>
<br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 2:51 PM, equis software <span dir="ltr"><<a href="mailto:equissoftware@gmail.com" target="_blank">equissoftware@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's my dialplan...<br><br>[default]<br><br>exten => _X.,1,System(echo -e "Channel: SIP/519912@SOFTSWITCH\\nContext: spy\\nExtension: 23\\nSet:SPYCHANNEL=${CHANNEL}" > /tmp/${UNIQUEID}.call)<br>
exten => _X.,n,System(mv /tmp/${UNIQUEID}.call /var/spool/asterisk/outgoing/)<br>
exten => _X.,n,Dial(SIP/${EXTEN}@SOFTSWITCH)<br><br>[spy]<br>exten => s,1,Answer<br>exten => s,2,Chanspy(${SPYCHANNEL}|q)<br>exten => s,3,Hangup<br><br><br><br>A call to B<br>and C (519912) is called by Asterisk to spy the call.<br>
<br>Whe the A-B conversation over, C continue connected to Asterisk, I need Asterisk hangs up this call.<br><br>In my case C is another machine that records the call and canīt hang up when A-B has finished because it doesn't know.<br>
<br>I don't know if i'm clear<div><div><br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 1:12 PM, Jonas Kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Doesn't this automatically
finish ?<br>
<br>
Jonas.<br>
<br>
</font><div><br>
On 03/07/2012 05:03 PM, equis software wrote:
</div><blockquote type="cite"><div>Is there any way to do this?<br>
<br>
Thanks<br>
</div><pre><span><font color="#888888"><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></font></span></pre>
</blockquote>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</div></div></blockquote></div><br>
--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote>
</div><br></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>