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 <sparkle...@126.com> > *Sent:* Tuesday, October 11, 2022 7:11 AM > *To:* Henning Westerholt <h...@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" <h...@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-boun...@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: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online Nov 7-10, 2022 (Europe Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/
__________________________________________________________ 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: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users