Latest stories

call_answer

  • Inputs
{
    "call_id": "string max length 32",
    "status": "integer covering 2 and 3: 2 as answer call and 3 as reject call"
}

  • Errors
{
    "invalid_call_id": "call id is invalid",
    "must_login": "user must be login"
}

  • Extra Description
Answers the incoming call

  • Sample
  • Url:
https://api.pantel.me/f/call_answer?call_id=72e9fe259196a842177acdfa5b6a6d5a&status=2
  • Output:
                                {
    "ice_servers": {
        "credential": "ruqubjo79lzs4zogoofacf3xu0hn23",
        "urls": [
            "turn:213.108.240.85:62603"
        ],
        "username": "lsjw7kp2du"
    },
    "status": "success",
    "time": 1546083762.6890123
}