[asterisk-users] Finish ChanSpy() when channel spied hangs up
equis software
equissoftware at gmail.com
Fri Mar 9 09:09:49 CST 2012
Yes, Asterisk 1.8.10.0, chanspy have the option 'E', which terminate the
function when the call hangs.
Thanks to all.
On Thu, Mar 8, 2012 at 12:05 PM, Jim Dickenson <dickenson at cfmc.com> wrote:
> 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.
> --
> Jim Dickenson
> mailto:dickenson at cfmc.com <dickenson at cfmc.com>
>
> CfMC
> http://www.cfmc.com/
>
>
>
> On Mar 8, 2012, at 4:20 AM, equis software wrote:
>
> 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.
>
> Anyboby know another solution?
>
>
> On Wed, Mar 7, 2012 at 2:51 PM, equis software <equissoftware at gmail.com>wrote:
>
>> Here's my dialplan...
>>
>> [default]
>>
>> exten => _X.,1,System(echo -e "Channel: SIP/519912 at SOFTSWITCH\\nContext:
>> spy\\nExtension: 23\\nSet:SPYCHANNEL=${CHANNEL}" > /tmp/${UNIQUEID}.call)
>> exten => _X.,n,System(mv /tmp/${UNIQUEID}.call
>> /var/spool/asterisk/outgoing/)
>> exten => _X.,n,Dial(SIP/${EXTEN}@SOFTSWITCH)
>>
>> [spy]
>> exten => s,1,Answer
>> exten => s,2,Chanspy(${SPYCHANNEL}|q)
>> exten => s,3,Hangup
>>
>>
>>
>> A call to B
>> and C (519912) is called by Asterisk to spy the call.
>>
>> Whe the A-B conversation over, C continue connected to Asterisk, I need
>> Asterisk hangs up this call.
>>
>> 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.
>>
>> I don't know if i'm clear
>>
>>
>> On Wed, Mar 7, 2012 at 1:12 PM, Jonas Kellens <jonas.kellens at telenet.be>wrote:
>>
>>> **
>>> Doesn't this automatically finish ?
>>>
>>> Jonas.
>>>
>>>
>>> On 03/07/2012 05:03 PM, equis software wrote:
>>>
>>> Is there any way to do this?
>>>
>>> Thanks
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>> http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>> http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120309/32dfe746/attachment.htm>
More information about the asterisk-users
mailing list