Z
Z
z0rgoyok2014-10-23 17:30:41
Asterisk
z0rgoyok, 2014-10-23 17:30:41

How to make calls to taxi dispatchers?

We are developing a program for taxi dispatchers, so the task is something like this:
There are several dispatchers and one phone number.
It is necessary to distribute calls to free dispatchers, and put others in a queue (with the words "you are such and such in the queue").
When calling, you need to contact our software, it must know the caller's number (we'll figure it out later :))
I don't know how to approach the task, recommend methods, both hardcore and ready-made services.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
Puma Thailand, 2014-10-23
@z0rgoyok

Any atska can do it

T
torr2009, 2014-10-23
@torr2009

Asteriske has the concept of a queue, it has all the functionality you need. Queues are very easy to set up. So to speak, they work out of the box. You just need to specify the operators.
You can access the software from the dialplan, via AGI / AMI and pass all call parameters, including CallerId.

D
Denis Gricina, 2014-10-23
@icqboot

I do this, in the queue, when I pick up the phone, we call the macro.

context macro-nav-taxi {
    s => {
        Set(CALLERIDNUM=${TELNO});
        AGEN=${CHANNEL:4:4};
        Set(CALLFILENAME=${STRFTIME(${EPOCH},,20%y-%m-%d_%H-%M-%S)}__${CALLERIDNUM}__${AGEN});
        System(/var/www/scripts/checkdir.sh);
        Set(monopt=nice -n 19 /usr/local/bin/lame -b 16 --silent "/var/spool/asterisk/monitor/${CALLFILENAME}.wav" "/usr/local/recorder/records/${STRFTIME(${EPOCH},,20%y-%m-%d)}/${CALLFILENAME}.mp3" && rm -f "/var/spool/asterisk/monitor/${CALLFILENAME}.wav");
        MixMonitor(${CALLFILENAME}.wav,b,${monopt});
        Set(CDR(accountcode)=taxi);
        Set(CDR(userfield)=${CALLFILENAME});
        NoOp(${AGEN});
        AGENTIP=${DB(${AGEN}/ip)};
        NoOp(AGENT IP=${AGENTIP});
        PORT=6001;
        NoOp(${MACRO_EXTEN});
        Set(CDR(operator)=${AGEN});
        System(echo -e "Message: ActivateCard. Operator: ${AGEN}. CallerID: ${TELNO} \n\n" | nc ${AGENTIP} ${PORT} );
     };
};

D
Denis Titusov, 2014-11-27
@denis-titusov

Don't take it as advertising, but Naumen Contact Center can do it out of the box.
And at the same time, you can very flexibly configure outgoing / incoming queues, keep statistics, send SMS, and so on.
In general, a full-fledged CC.
If only a queue is needed, then either Asterisk or a crutch script. In terms of labor costs for implementation, it will be the same.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question