Manager API help

Discussion in 'General' started by tensk8, Mar 26, 2008.

  1. tensk8

    Joined:
    Aug 8, 2007
    Messages:
    20
    Likes Received:
    0
    Hi,

    I was developing an application with the Manager API. In this application, I'm originate a call (this is connecting fine). The next code is part of my application

    echo "Action: Originate";
    echo "Channel: ZAP/2/$celular";
    echo "Exten: s";
    echo "Priority: 1";
    echo "Context: llamar-agente";
    echo "Timeout: 9000"
    echo
    echo "";
    echo "";

    When I use the option Timeout=9000, the call is hangup :angry: . What I want is to send the call to the next priority in the context, llamar-agente, when the application reach the time out instead of hanging up.

    Anyone know how to tell the Manager not to hangup the call and send it to the next priority?

    Thanks
     
  2. tensk8

    Joined:
    Aug 8, 2007
    Messages:
    20
    Likes Received:
    0
    No one can help me!!!!:(
     
  3. tensk8

    Joined:
    Aug 8, 2007
    Messages:
    20
    Likes Received:
    0
    Ok,

    I get it, no one can't help me!!;)
     
  4. bmacias

    Joined:
    Sep 27, 2007
    Messages:
    205
    Likes Received:
    0
    Hello tensk8.

    Review the file /var/lib/asterisk/agi-bin/phpagi-asmanager.php
    this file is a interface between asterisk and php developer.

    To you as example also review the modules /var/www/html/conferences/ in elastix.

    ;)
     
  5. tensk8

    Joined:
    Aug 8, 2007
    Messages:
    20
    Likes Received:
    0
    Thank you very much bmacias B) ,

    I will take a look on those files.
     

Share This Page