P
P
Pegas123452022-03-21 19:36:57
Asterisk
Pegas12345, 2022-03-21 19:36:57

How to play a file when answering a call?

Hello.

Please help, something is not working. There is a server with Asterisk, and we need to make sure that when the caller calls our operator, and as soon as the operator picks up the phone to answer, only the message is played for the operator, at the beginning of the call. Several phone numbers, different organizations are configured on one device. This is necessary so that when the operator picks up the phone, she first hears that the call is from the company XXX, and only then the conversation begins, so that the operator immediately understands what issues the conversation will be about

:) . But I don’t understand where, how ... Help please.

Now everything is just in extension:
exten => 200,1,NoOP(To: 200)
same => n,Dial(PJSIP/200,30,tT)
same => n,Hangup()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2022-03-21
@Pegas12345


asterisk*CLI> core show application Dial
...
A(x):
x - The file to play to the called party
Play an announcement to the called party, where is the prompt to be played

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question