### Description
Same exact configuration that works with kamailio5.1+rtpengine7 does NOT work on 5.2
#### Reproduction
I'm using https://github.com/davidcsi/kamailio-private-public/blob/master/README.md and i used kamailio's 5.0, 5.1 from the kamailio's debian repo. Both start properly.
When i switched to 5.2 it won't start, complaining it's running out of memory, but no matter how much memory I'd add, it just won't start.
#### Log Messages
kamailio's log https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio52-r...
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
``` root@ip-10-0-210-226:~# kamailio -v version: kamailio 5.2.2 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled with gcc 6.3.0
```
* **Operating System**:
Debian stretch 9
``` root@ip-10-0-210-226:~# uname -a Linux ip-10-0-210-226 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux ```
Also tested on master/5.3, same problem, log in: https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil notifications@github.com wrote:
Also tested on master/5.3, same problem, log in: https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPSTSXFANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
The sequence on module load has an impact on >=5.2 that wouldn’t on <5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil notifications@github.com wrote:
Also tested on master/5.3, same problem, log in: https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPSTSXFANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Possibly, worth a shot. If you have a lab config I would be happy to take a look.
On Sat, Apr 27, 2019 at 5:56 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
The sequence on module load has an impact on >=5.2 that wouldn’t on <5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil notifications@github.com wrote:
Also tested on master/5.3, same problem, log in: https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPSTSXFANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Sure, the config is on https://github.com/davidcsi/kamailio-private-public
On Sun, 28 Apr 2019 at 02:03, kamailio-sync notifications@github.com wrote:
Possibly, worth a shot. If you have a lab config I would be happy to take a look.
On Sat, Apr 27, 2019 at 5:56 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
The sequence on module load has an impact on >=5.2 that wouldn’t on <5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil <
notifications@github.com>
wrote:
Also tested on master/5.3, same problem, log in:
https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862%3E,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPST...
. _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile
— You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487331199, or mute the thread https://github.com/notifications/unsubscribe-auth/AAG4L4APICMFLLS2HKEYM3DPSTZXFANCNFSM4HI5G3BQ .
Can you add a sip trace from both a working call as well as a failed.
On Sat, Apr 27, 2019 at 6:55 PM David Villasmil notifications@github.com wrote:
Sure, the config is on https://github.com/davidcsi/kamailio-private-public
On Sun, 28 Apr 2019 at 02:03, kamailio-sync notifications@github.com wrote:
Possibly, worth a shot. If you have a lab config I would be happy to take a look.
On Sat, Apr 27, 2019 at 5:56 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
The sequence on module load has an impact on >=5.2 that wouldn’t on
<5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com
wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil <
notifications@github.com>
wrote:
Also tested on master/5.3, same problem, log in:
https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862 ,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPST...
. _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile
— You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <https://github.com/kamailio/kamailio/issues/1940#issuecomment-487331199 , or mute the thread <
https://github.com/notifications/unsubscribe-auth/AAG4L4APICMFLLS2HKEYM3DPST...
.
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487333595, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZNQVVSFV2Y2D3NVUWTPST7YXANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Kamailio never starts. The same exact config works on kamailio 5.1 and 5.0, but it doesn’t start on 5.2.
For 5.2 you need to comment out lines 396-402 (dispatcher-related params)
On Sun, 28 Apr 2019 at 03:04, Brandon Armstead brandon@cryy.com wrote:
Can you add a sip trace from both a working call as well as a failed.
On Sat, Apr 27, 2019 at 6:55 PM David Villasmil notifications@github.com wrote:
Sure, the config is on https://github.com/davidcsi/kamailio-private-public
On Sun, 28 Apr 2019 at 02:03, kamailio-sync notifications@github.com wrote:
Possibly, worth a shot. If you have a lab config I would be happy to
take
a look.
On Sat, Apr 27, 2019 at 5:56 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
The sequence on module load has an impact on >=5.2 that wouldn’t on
<5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com
wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil <
notifications@github.com>
wrote:
Also tested on master/5.3, same problem, log in:
https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862 ,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPST...
. _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile
— You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487331199%3E,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/AAG4L4APICMFLLS2HKEYM3DPST...
.
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487333595, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZNQVVSFV2Y2D3NVUWTPST7YXANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
what does syslog look like
On Sat, Apr 27, 2019 at 7:13 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
Kamailio never starts. The same exact config works on kamailio 5.1 and 5.0, but it doesn’t start on 5.2.
For 5.2 you need to comment out lines 396-402 (dispatcher-related params)
On Sun, 28 Apr 2019 at 03:04, Brandon Armstead brandon@cryy.com wrote:
Can you add a sip trace from both a working call as well as a failed.
On Sat, Apr 27, 2019 at 6:55 PM David Villasmil notifications@github.com wrote:
Sure, the config is on https://github.com/davidcsi/kamailio-private-public
On Sun, 28 Apr 2019 at 02:03, kamailio-sync notifications@github.com wrote:
Possibly, worth a shot. If you have a lab config I would be happy to
take
a look.
On Sat, Apr 27, 2019 at 5:56 PM David Villasmil < david.villasmil.work@gmail.com> wrote:
The sequence on module load has an impact on >=5.2 that wouldn’t on
<5.2?
On Sun, 28 Apr 2019 at 01:42, Brandon Armstead brandon@cryy.com
wrote:
Have you checked order of module loads.
On Sat, Apr 27, 2019 at 5:04 PM David Villasmil <
notifications@github.com>
wrote:
> Also tested on master/5.3, same problem, log in: >
https://github.com/davidcsi/kamailio-private-public/blob/master/kamailio53-r...
> > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487328862
,
> or mute the thread > <
https://github.com/notifications/unsubscribe-auth/ABO7UZOJLGKHVY4X5M5BDKLPST...
> . > _______________________________________________ > Kamailio (SER) - Development Mailing List > sr-dev@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
> -- Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Sent from Gmail Mobile
— You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <
https://github.com/kamailio/kamailio/issues/1940#issuecomment-487331199
, or mute the thread <
https://github.com/notifications/unsubscribe-auth/AAG4L4APICMFLLS2HKEYM3DPST...
.
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940#issuecomment-487333595, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZNQVVSFV2Y2D3NVUWTPST7YXANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
--
Sent from Gmail Mobile _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
There was a refactoring of the part which caches the database records with rtpengines because of the re/load command could end up in very slow operation if some rtpengine was not available, blocking sip processing for quite long time. By that coding, it ended up in a requirement to have at least one record specifying an rtpengine in database table. Your log messages say there is no rtpengine record, so looks like you have this situation.
Try to add a record in rtpengine database, even if it points to a non-exiting rtpengine (e.g., localhost with an unused port). See if it starts ok.
It was reported on mailing list, had it in my list to look over it and see what can be done, but other more important tasks go my attention, probably I can look at it after Kamailio World.
Got the time to look a bit into it -- can you try with latest master or using the patch referenced above?
If all ok, then I will backport.
Perfect Daniel, will do and report back!
On Mon, 13 May 2019 at 14:32, Daniel-Constantin Mierla < notifications@github.com> wrote:
Got the time to look a bit into it -- can you try with latest master or using the patch referenced above?
If all ok, then I will backport.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1940?email_source=notifications&email_token=ABO7UZNNK633VA4RQMKMRFTPVFUUDA5CNFSM4HI5G3B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVIKCOQ#issuecomment-491823418, or mute the thread https://github.com/notifications/unsubscribe-auth/ABO7UZIYTZA32OWC3IIKQDTPVFUUDANCNFSM4HI5G3BQ . _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Reopen if still an issue.
Closed #1940.
Hello,
I can confirm 5.2 starts perfectly with RTPEngine.
Thanks!