About endpoint and Asterisk Rest Interface

Hello. Sorry for the many questions.
I want to build own VOIP system that I can originate and answer a call and more actions. But I have many problems in the progress.

What is an endpoint and how is it defined?
How is this used when making and receiving calls using the Asterisk Rest Interface?
Can I use a phone number instead of an extension in the endpoint?
If so, how do I register the number and extension?

Thank you.

I really recommend that you start with something much simpler than talking to
Asterisk using REST. It can be done, but is best done once you’re familiar
with how Asterisk works.

So, get a couple of SIP telephones (softphones will do fine), set up an
Asterisk server (preferably with no NAT between it and the phones) and learn
how to register the phones to Asterisk, and create a simple dialplan to allow
calls between one phone and the other.

Once you’ve done that, and you’ve understood how the dialplan works, and what
endpoints are and how they need to be configured, then you can start thinking
about making things more complex using REST.

Antony.

1 Like

Thank you for your advice.
Which softphone do you recommend?
Excuse me, could you please let me know where I can get how to register the phones to Asterisk, and create a quick call between two phones?

“Which softphone do you recommend?”

If I need a softphone, I use Zoiper.

“Excuse me, could you please let me know where I can get how to register the
phones to Asterisk, and create a quick call between two phones?”

A Google search for “Asterisk tutorial” suggests that this might be a
reasonable starting point:

https://www.linuxhelp.com/how-to-create-pjsip-endpoints-with-templates-on-
asterisk

Other than that, you may well be able to find other useful resources by doing
your own searches.

Antony.

Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.