Does osTicket support opening a new ticket when the call comes in. how can i integrate osticket with sip phone please if any one have any idea

KevinTheJedi Does osTicket support opening a new ticket when the call comes in. how can i integrate osticket with sip phone please if any one have any idea

    manojpatil23 I have voip SIP trunk system (asterisk) and i want to open new ticket when a call comes in how can i do that, is it possible? how can i utilize the api to generate a ticket ? sorry iam new on osticket but i find it very flexible 🙂

    KevinTheJedi Hi there! We want to create ticket via API. We have asterisk PBX and group Technical Support.
    We want a logic:
    1) If incoming call answered by subnumber 201 - this ticket autoassigned to Manager X
    2) If incoming call answered by subnumber 202 - this ticket autoassigned to Manager Y
    3) If incoming call not answered by any managers - this ticket autoassigned to group Techincal Support

      manojpatil23

      You can already do this with native osTicket functionality. You can review the API Documentation using the links below:

      You would essentially have the SIP system generate a JSON/XML payload with the needed information and send that payload to the API endpoint of your osTicket installation (your full URL with api/tickets.json or api/tickets.xml appended to the end). To decide which Agent gets assigned you can pass staffId through the payload with the ID of the Agent (which can be found in the database or in the address bar when clicking on an Agent in the Agent listing).

      A Department assignment or Team assignment however would depend on Help Topic settings and/or Ticket Filters.

      Cheers.

        manojpatil23

        I provided the needed information above. You'd need to consult your SIP system's documentation on how to formulate and send an API call. Then from there you'd simply generate an API key for the SIP system's IP address, setup the API key and such on the SIP system, format the API payload according to the above documentation on the SIP system, and have it send that payload to the API endpoint of your installation.

        Cheers.

        Write a Reply...