Setting up realtime config.

Home » Asterisk Users » Setting up realtime config.
Asterisk Users 5 Comments

Hi all.

I’m trying to get RT Asterisk working. From what I can tell, I’ve got
Asterisk talking to the database:

*CLI> realtime mysql status
general connected to database_name on socket file /var/run/mysqld/mysqld.sock
with username dbuser for 2 hours, 34 minutes.

I also think I have a viable sip account configured in the database:

mysql> select id,name,host,type,secret from sip;
+—-+————+———+——+———-+
| id | name | host | type | secret |
+—-+————+———+——+———-+
| 2 | accountnam | dynamic | peer | password |
+—-+————+———+——+———-+
1 row in set (0.00 sec)

However, when I try to get my Ekiga client to register, Asterisk displays
“No matching peer found” on the console.

What should I do next to try to diagnose/fix this?

5 thoughts on - Setting up realtime config.

  • Hi Mike,

    Which is the real name for this peer?

    If you want look the configuration peer on Asterisk console try:

    CLI> sip show peer accountname load

    To register to this account on Ekiga… accountname is the name of the
    extensions you have to configure.

    BR

    – Andrea

  • Hi Mike,

    Which is the real name for this peer?

    If you want look the configuration peer on Asterisk console try:

    CLI> sip show peer accountname load

    To register to this account on Ekiga… accountname is the name of the
    extensions you have to configure.

    BR

    – Andrea

  • In the database, I changed the accountname to “test” and tried:

    sip show peer test load

    Asterisk replied:

    Peer test not found.

    So it looks like I’m missing something pretty basic.

    Any ideas?