[Asterisk-Users] ChanSpy via external application

Peter Fern pete at keypoint.com.au
Sun Jan 8 23:20:35 MST 2006


Ahh, I'm running r7233, I'll update to the latest rev to pull in the 
changes, thanks Juan.

Juan Jose Comellas wrote:

>This problem has been already corrected in Asterisk 1.2. See this bug:
>
>http://bugs.digium.com/view.php?id=6009
>
>
>On Monday 09 January 2006 00:51, Peter Fern wrote:
>  
>
>>Just implemented a similar feature here - apparently the chanprefix
>>won't accept a full channel identifier, so I ended up dropping the last
>>character (this works for me since all the sip delivery we want to
>>monitor is to individual handsets - I won't be monitoring any channels
>>that are delivered in bulk).
>>
>>I should really file this as a bug - I would think more useful behaviour
>>in most cases would be to take a channel identifier rather than a prefix.
>>
>>Dov Bigio wrote:
>>    
>>
>>>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 <mailto:giomiano at gmail.com>
>>>    *To:* Dov Bigio <mailto:dovb at terra.com.br> ; Asterisk Users
>>>    Mailing List - Non-Commercial Discussion
>>>    <mailto:asterisk-users at lists.digium.com>
>>>    *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 <mailto: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
>>>        <http://Easynews.com> --
>>>
>>>        Asterisk-Users mailing list
>>>        To UNSUBSCRIBE or update options visit:
>>>          http://lists.digium.com/mailman/listinfo/asterisk-users
>>>        <http://lists.digium.com/mailman/listinfo/asterisk-users>
>>>
>>>
>>>
>>>
>>>
>>>    --
>>>    Giovanni Miano
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>--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
>>>      
>>>
>>_______________________________________________
>>--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
>>    
>>
>
>  
>



More information about the asterisk-users mailing list