Non-Flash Op Panel & Transferring calls with AMI

Discussion in 'General' started by Chilling_Silence, Jan 21, 2009.

  1. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Hey all,

    Im looking at putting together a non-flash based Op Panel (which we hope to be able to re-release to the Elastix community) that will tie in nicely with the existing WebGUI.
    The basic plan is to use "core show hints" via the AMI to show the list of users and if they're busy / avail etc.

    However Im having troubles with transferring a call.

    So I login to the AMI using telnet localhost 5038
    Issue the login commands and get login confirmed

    Then I run:
    Code:
    ACTION: Command
    command: show channels 
    
    
    Response: Follows
    Privilege: Command
    Channel              Location             State   Application(Data)
    SIP/093685017-09c060 (None)               Up      Bridged Call(SIP/209-b7b3e828)
    SIP/209-b7b3e828     s@macro-dialout-trun Up      Dial(SIP/093685017/0800000000|
    2 active channels
    1 active call
    --END COMMAND--
    Thats fine!
    But when I run:
    Code:
    ACTION: Redirect
    Channel: SIP/093685017-09c060
    Exten: 196
    Priority: 1
    Context: default
    I get the response back:
    Code:
    Response: Error
    Message: Channel does not exist: SIP/093685017-09c060
    However if I run:
    Code:
    ACTION: Redirect
    Channel: SIP/209-b7b3e828
    Exten: 196
    Priority: 1
    Context: default
    It connects my Ext (209) with Ext 196, and drops the call to the external number. I want the External number to end up connected with 196 ... Any ideas?

    Cheers


    Chill.
     

Share This Page