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">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 class="HOEnZb"><div class="h5"><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>