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
We are load all our clients from billing system to osTicket with telephone numbers, and script on Asterisk will check osTicket database this number and incoming number, if it match - > we should to create ticket with identified client, if not match -> we should to create ticket with no identified client, but insert to client user Technical Support then.
All ok, but i cannot understand how via API i can assign tickets to managers, and how to create ticket from identified user?
As i understand by documentation <name>Angry User</name> this is randomly user, Right? Its not a user in osTicket database? Because we can have two identically names in database, and only emails and telephone numbers could be uniq.
Thank you for your time ?