[Asterisk-Users] ChanSpy via external application

Dov Bigio dovb at terra.com.br
Thu Jan 5 11:38:49 MST 2006


Hi,

I have developped an application that monitors the status of my queues through the events triggered on the Manager Interface.

This way, I can know the status of my Agent real time.

Now, I have a new requirement that I must allow a manager to click on the Agent he wants to monitor and be able to monitor the call.

My idea was to, when the user clicks on the Agent, I would Originate a call between his extension and  the extension I have for ChanSpy, passing as parameter the Agent number.

For testing this, I tried a call file on /var/spool/asterisk/outgoing

Channel: SIP/dov.bigio              -----------> This is me
MaxRetries: 3
RetryTime: 40
WaitTime: 25
Context: 01.telecom
Application: ChanSpy
Data: Agent/5450                      ---------> This is the Agent I want to monitor
Priority: 1

The problem is that ChanSpy doesn't accept "Agent/xxxx" as parameter, just "Agent".
Is there a way to ChanSpy a specific know Agent?
(Or at least to send via dtmf the Agent Number I want to monitor right after the ChanSpy application is called?

Thank you very much!
Dov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060105/69199e24/attachment.htm


More information about the asterisk-users mailing list