Hello,
preprocessor directives require the end-of-line, it is where the parser stops and evaluates what was before. So, as hinted before, add it at the end and it should work.
Cheers, Daniel
On 11.10.22 08:28, Henning Westerholt wrote:
Hello,
maybe add a single new-line at the end will fix it, or there are some other non-printable characters that causes errors. Just play a bit around with it.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/ https://skalatan.de/blog/
Kamailio services – https://gilawa.com https://gilawa.com/
*From:*SparkleZou sparklezou@126.com *Sent:* Tuesday, October 11, 2022 7:11 AM *To:* Henning Westerholt hw@gilawa.com *Cc:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Subject:* Re:RE: [SR-Users] About kamailio + freeswitch issue on Kamailio v5.6
Hi Henning,
Thanks!If the empty macro defined at the end of file, it will report 1 more #!if[n]def as #!endif
*/#!ifdef WITH_FREESWITCH/*
*/#!endif/*
But if the macro defined in before the last function, it's OK.
Seems the macro at the end of file could NOT be parsed correctly. Seems a bug.
BR,
Sparkle Zou
At 2022-10-10 17:56:31, "Henning Westerholt" hw@gilawa.com wrote:
Hello, as you already noticed, this tutorial was about an older version of Kamailio so its probably needs some adaptions. Regarding the startup errors you are facing, please have a look to the system log files to get more information on the probable causes. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ <https://skalatan.de/blog/> Kamailio services – https://gilawa.com <https://gilawa.com/> *From:*sr-users <sr-users-bounces@lists.kamailio.org> *On Behalf Of *SparkleZou *Sent:* Monday, October 10, 2022 4:25 AM *To:* sr-users@lists.kamailio.org *Subject:* [SR-Users] About kamailio + freeswitch issue on Kamailio v5.6 Hi Sir/Mada, I'm trying to integrate kamailio + freeswitch, according to the manual http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc on Kamailio v5.6 modified the kamailio.cfg file, add WITH_FREESWITCH parts, then kamailio could NOT start up. Could you please help check, what should be modified to fit the version 5.6? Thanks! BR, Sparkle Zou
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: