Hmmm... if dialog params are wrapped in a ifdef condition, then do you have
something like #!define WITH_DIALOG at the top?
Otherwise the rest looks ok to me judging by the snippet that was provided.
On Fri, Dec 4, 2020 at 7:49 AM Gertjan Wolzak <g.wolzak(a)kazlow.nl> wrote:
Hello Sergiu,
Thank you for the pointer, the line 1576 is:
get_profile_size("callee", "$avp(custid)",
"$avp(concurrent)");
That is where Kamailio refuses to start....
And as you mentioned my error in the IF statement after correction you
pointed out, Kamailio still refuses on the fact that the profile
<callee> was not defined...
Dec 4 13:42:50 proxy01 /usr/local/sbin/kamailio[75008]: CRITICAL:
dialog [dialog.c:391]: fixup_profile(): profile <callee> not defined
Dec 4 13:42:50 proxy01 /usr/local/sbin/kamailio[75008]: ERROR: <core>
[core/route.c:1166]: fix_actions(): fixing failed (code=-6) at
cfg:/usr/local/etc/kamailio/kamailio.cfg:1576
Dec 4 13:42:50 proxy01 systemd[1]: kamailio.service: Main process
exited, code=exited, status=255/n/a
Dec 4 13:42:50 proxy01 systemd[1]: kamailio.service: Failed with result
'exit-code'.
Does anyone else maybe have an idea on where I go wrong?
Rgds,
Gertjan
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users