ChanSpy in AMI script.

Discussion in 'General' started by Kanard, Jul 2, 2010.

  1. Kanard

    Joined:
    Aug 10, 2009
    Messages:
    20
    Likes Received:
    0
    Hi,

    I'm trying to write an AMI script that provide chanspy and whispering capabilities.

    The chanspy part works flawlessly with these parameters :
    Action : Originate
    Channel: SIP/$superviseur
    Application: ChanSpy
    Data: SIP/$agent

    For the whispering part, I try to execute the command ChanSpy(SIP/$agent,w), but I don't know how to pass the parameter ",w" to the application. "Data: SIP/$agent,w" does not work, neither than "Data: SIP/$agent|w".

    Do you have any idea to solve this problem?

    Thanks :)
     

Share This Page