N
N
Nikita Reshetnyak2020-09-10 08:34:06
Asterisk
Nikita Reshetnyak, 2020-09-10 08:34:06

How to give 200 OK in response to OPTIONS?

Good day! We connect the provider without registration, they ask in response to OPTIONS to send 200 OK every half an hour. As far as I understand, this should be done by default, but maybe I misunderstood something, help someone is not difficult

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2020-09-10
@trjflash

It is enough to add (if not) to the context in which calls come from any provider exten => 1,s,..., for example with Noop. If the dialplan already has a handler for s, you don't need to do anything, asterisk will respond with 200 OK anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question