Thought about converting across to PJSIP? here are some helpful hints and configuration examples to connect your vanilla Asterisk to our environment.
The main part of the conversion is the population of the pjsip.conf file. There will also need to be changes made to your extensions.conf file to dial out using the PJSIP channel’s.
To start with you will need to get your system to register and set up a contact/AOR for Simtex.
For this to work we need to set up the following:
- A Registration type
- An Auth type
- An AOR type
To be able to use this registration you will need an endpoint associated and also and Identify type.
|1.||Setting up an Registration Type:
type = registration
auth_rejection_permanent = no
retry_interval = 30
forbidden_retry_interval = 290
max_retries = 20
|2.||An Auth type
|3.||An AOR type
From here we need to set up a transport for an endpoint to use after that an endpoint and a Identify type can be set up.
Note: This is a very simple Transport and may need to be change based on your own setup.
Now that we have that setup an extension will need to be configured to be able to make and receive calls form the Simtex endpoint.
The following is a basic extension and will need to be changed based on your particular setup: