Re: rtpengine module does not detect new nodes in table

David Cunningham via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CAHGbP-8BMuGp27yRjXe1NiMAuv3zjmGtTgazjZApTrjCbNdB5A@mail.gmail.com>
Thank you everyone for those suggestions.


On Tue, 29 Apr 2025 at 01:34, Ben Kaufman <[email protected]> wrote:

> It's possible to add a http listener to Kamailio and use rpc over http.
>
> You can also use rtimer and add a route to reload the table periodically.
>
> Regards,
> Kaufman
>
>
>
> ------------------------------
> *From:* David Cunningham
> *Sent:* Sunday, April 27, 2025 7:14 PM
> *To:* Ben Kaufman
> *Cc:* Kamailio (SER) - Users Mailing List
> *Subject:* Re: [SR-Users] rtpengine module does not detect new nodes in
> table
>
> *CAUTION:* This email originated from outside the organization. *Do not
> click links or open attachments* unless you recognize the sender and know
> the content is safe.
>
> Hello,
>
> Thank you for that. In our case the database entries are inserted on a
> separate server to the one Kamailio is running on, so it's not easy for the
> program adding nodes to run "kamcmd rtpengine.reload".
>
> Is this the only solution that's available?
>
>
> On Thu, 24 Apr 2025 at 13:47, Ben Kaufman <[email protected]> wrote:
>
> There's an RPC command for reloading rtpengine config:
>
>
> https://www.kamailio.org/docs/modules/stable/modules/rtpengine.html#rtpengine.r.reload
> <https://urldefense.com/v3/__https://www.kamailio.org/docs/modules/stable/modules/rtpengine.html*rtpengine.r.reload__;Iw!!KWzduNI!Zg9I9J9aWZOkY7EORpWUetminDhbl4eQzmJCHHG69gkHLYX7XXCuxzUTQABgiLpxieevA-sZYYWqyDfucIjavT8$>
>
> Regards,
> Kaufman
>
> ------------------------------
> *From:* David Cunningham via sr-users
> *Sent:* Wednesday, April 23, 2025 4:55 PM
> *To:* Kamailio (SER) - Users Mailing List
> *Cc:* David Cunningham
> *Subject:* [SR-Users] rtpengine module does not detect new nodes in table
>
> *CAUTION:* This email originated from outside the organization. *Do not
> click links or open attachments* unless you recognize the sender and know
> the content is safe.
>
> Hello,
>
> We are using Kamailio 5.8.2 with the rtpengine module on Ubuntu 22.04. The
> "rtpengine" table is used to define nodes, with a configuration like this:
>
>     modparam( "rtpengine", "db_url", DB_URL )
>     modparam( "rtpengine", "table_name", "rtpengine" )
>     modparam( "rtpengine", "setid_default", 1 )
>
> It works fine if Kamailio is restarted after entries in the "rtpengine"
> table are inserted or deleted, but new entries in the table aren't detected
> automatically. Is there a way to configure Kamailio to detect them?
>
> Thank you,
>
> --
> David Cunningham, Voisonics Limited
> http://voisonics.com/
> <https://urldefense.com/v3/__http://voisonics.com/__;!!KWzduNI!ZdLfAmCE7Q_j-nlwkepzScbqd2y5y4MYuTtXwBhV-Hd-NoiLTmYB-0XaOErxWJh78fmsFHNDJvVclyTn9-JJljo$>
> USA: +1 213 221 1092
> New Zealand: +64 (0)28 2558 3782
>
>
>
> --
> David Cunningham, Voisonics Limited
> http://voisonics.com/
> <https://urldefense.com/v3/__http://voisonics.com/__;!!KWzduNI!Zg9I9J9aWZOkY7EORpWUetminDhbl4eQzmJCHHG69gkHLYX7XXCuxzUTQABgiLpxieevA-sZYYWqyDfuwP5wkYY$>
> USA: +1 213 221 1092
> New Zealand: +64 (0)28 2558 3782
>


-- 
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.