D
D
Dee Key2015-08-25 18:41:00
PHP
Dee Key, 2015-08-25 18:41:00

How to make the correct display of dest numb in cdr asterisk if the robot raises hello?

there is an asterisk server with 10 users.
There is a call from the city, a voice greeting picks up the phone in the office, and at that moment all the managers' handsets ring. The fastest picks up the phone and the connection is established. There is a webcam for call statistics on cdr_mysql + php
The problem is that the destination number in the field is displayed as s , voice menu, the config contains it
. instead of s , what is the voicemenu

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2015-08-25
@rostel

in standard CDRs, the responding channel is stored in the dstchannel field,
peer
s can be scratched out of it - the last exten

S
Sergey Pisarenko, 2015-08-26
@spisarenko

and at this moment all the managers' handsets are ringing

If this is implemented through a queue, then it is desirable to drive queue_log into mysql , and then, by the uniqueid of the call taken from CDR, look in queue_log (in the callid field there will be a uniqueid of the call), who picked it up (the number of the agent who received the call will be in the agent field , and there will be a CONNECT event in the event field , if my memory serves me).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question