[asterisk-users] chanspy spies on wrong channel

steve casto stevec1 at cox.net
Tue Jul 5 11:29:39 CDT 2011


The argument to chanspy is a pattern and not an exact match.
-- 
Jim Dickenson
mailto:dickenson at cfmc.com

CfMC
http://www.cfmc.com/



On Jul 2, 2011, at 3:48 PM, steve casto wrote:

> asterisk 1.4.32 have zapata.conf soft link to chan_dahdi.conf to use
> flash operator panel < 2.0
>
> (from extensions.conf)
> exten=> 304,1,ChanSpy(Zap/4|q)
> exten=> 304,2,hangup
> There is no entry ChanSpy(Zap/41)  in extensions.conf
>
> On dialing 304 and Zap/41 is in use this happens:
> [Jul  1 18:24:47] VERBOSE[14447] logger.c:     -- Executing
> [304 at flash:1] ChanSpy("Zap/31-1", "Zap/4|q") in new stack
> [Jul  1 18:24:47] VERBOSE[14447] logger.c:   == Spying on channel Zap/41-1
> [Jul  1 18:24:47] NOTICE[14447] app_chanspy.c: Attaching Zap/31-1 to
> Zap/41-1
>
> If while spying on Zap/41 that channel is hung up:
> [Jul  1 19:06:48] VERBOSE[15242] logger.c:   == Done Spying on channel
> Zap/41-1
> [Jul  1 19:06:48] VERBOSE[15242] logger.c:   == Spying on channel Zap/4-1
> [Jul  1 19:06:48] NOTICE[15242] app_chanspy.c: Attaching Zap/31-1 to
Zap/4-1
>
> thanks list
> Steve
>
Was not aware of that. Using ExtenSpy now, works fine.
thanks
Steve




More information about the asterisk-users mailing list