Hi Kaufman,

Really thanks for the tips. ^_^  Currently It's OK now.


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-11 21:36:18, "Kaufman" <bkaufman@bcmone.com> wrote:

As a note, a quick way to debug more interactively (then checking out the syslog, which may or may not be well configured for Kamailio), run Kamailio in the foreground:

 

Kamailio -ddDDeE

 

Explanation of the switches here:

 

-dd  A good debug level (info and higher)

-DD  Do not daemonize creator; (run in the foreground)

-E   Log to stderr

-e   Log messages printed in terminal colors (requires -E)

 

 

Most likely problems you¡¯ll encounter here are situations where one module has been replaced/renamed with another and some module param requirement changes, but the startup output should give decent clues.

 

 

Kaufman

Sr. VoIP Engineer - BCM One

 

+1.612.735.9309

bkaufman@bcmone.com

24 hour client support: +1.855.639.6300

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Henning Westerholt
Sent: Monday, October 10, 2022 5:57 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: SparkleZou <sparklezou@126.com>
Subject: Re: [SR-Users] About kamailio + freeswitch issue on Kamailio v5.6

 

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 ¨C https://skalatan.de/blog/

Kamailio services ¨C 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