Error Endpoints


#1

I’m using the Realtime config for Asterisk.
Configuration includes the ODBC driver and mysql
but the endpoints are not registered after the pjsip show endpoints command, what should I do?


#2

What is the configuration? Did you follow the guide? Are there any errors at startup? Did you create the tables?


#3

I’m following exactly the asterisk guide.
The only thing I could notice of differently was the odbc show that is like this!

first-VirtualBox*CLI> odbc show

ODBC DSN Settings

Name: asterisk
DSN: asterisk
Last fail connection attempt: 2019-01-28 15:50:07
Number of active connections: 0 (out of 1)


#4

If there is not OBDC connection it wont work, check the configuration for the following files
/etc/odbc.ini
/etc/odbcinst.ini
/etc/asterisk/res_odbc.conf

A working connection looks like this

odbc show all

ODBC DSN Settings

Name: asterisk
DSN: asterisk
Number of active connections: 1 (out of 1)

Also what happen when you run this command

module reload res_odbc.so


#5

Can you post your extconfig.conf file?


#6

Thanks guys,
This problens i resolved now but i need help in other problem.
after registry the my ramal and try inicialize a call, the softphone indicated a error ==> Failed to establish call
What can it be ??
if your need my config, i can pass!!


#7

You need dialplan, so check extension.conf as where call should go and create other end point.