[Asterisk-Users] ChanSpy via external application

Dov Bigio dovb at terra.com.br
Fri Jan 6 06:45:44 MST 2006


Hello,

It didn't work...

I used "Data: SIP/dov.bigio-9949" which was the channel being used, and the call I received just had beeps... no conversation.

According to the documentation on (http://www.voip-info.org/wiki-Asterisk+cmd+ChanSpy), ChanSpy doesn't take a channel as parameter, does it?

Thank you very much!!
Dov
  ----- Original Message ----- 
  From: Giovanni Miano 
  To: Dov Bigio ; Asterisk Users Mailing List - Non-Commercial Discussion 
  Sent: Thursday, January 05, 2006 7:01 PM
  Subject: Re: [Asterisk-Users] ChanSpy via external application


  Use channel of your agent

  Channel: SIP/dov.bigio
  MaxRetries: 3
  RetryTime: 40
  WaitTime: 25
  Context: 01.telecom
  Application: ChanSpy
  Data: SIP/234-ssnf
  Priority: 1

  Cheers,
  Giovanni Miano


  2006/1/5, Dov Bigio < dovb at terra.com.br>:
    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


    _______________________________________________
    --Bandwidth and Colocation provided by Easynews.com --

    Asterisk-Users mailing list
    To UNSUBSCRIBE or update options visit:
      http://lists.digium.com/mailman/listinfo/asterisk-users 






  -- 
  Giovanni Miano 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060106/d36043a2/attachment.htm


More information about the asterisk-users mailing list