[Freeswitch-users] mod_h323 build fine but FS cant start

Nikolay Kondratyev kond at nstel.ru
Mon Sep 20 08:47:19 PDT 2010


I use mod_h323 for the sake of sip - h.323 gateway.
I do not see an attempt of loading mod_h323 in the lines you show....

Here is what I see in the log when mod_h323 is loaded :

2010-02-09 18:50:07.557246 [CONSOLE] mod_h323.cpp:73 Starting loading
mod_h323
freeswitch at internal> 2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:443
Created Listener 'default'
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:282 Config capabilliti PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti PCMA to
PCMA
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3286 FindCapability:
"G.711-ALaw-64k{sw}"
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
G.711-ALaw-64k <1>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3286 FindCapability:
"G.711-ALaw-64k{sw}"
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3286 FindCapability:
"G.711-ALaw-64k{sw}"
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3286 FindCapability:
"G.711-ALaw-64k{sw}"
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3286 FindCapability:
"G.711-ALaw-64k{sw}"
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:2011 No Extended
Capabilities found to load
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:303 H.323 added 1
capabilities 'G.711-ALaw-64k*{sw}'
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti PCMU to
PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti GSM to
PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G723 to
PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G729b
to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G729 to
PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G729a
to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G729ab
to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti G723.1
to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti
G723.1-5k3 to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti
G723.1a-5k3 to PCMA
2010-02-09 18:50:07.618229 [DEBUG] mod_h323.cpp:287 Find capabilliti
G723.1a-6k3 to PCMA
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/hookflash <2>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/basicString <3>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/dtmf <4>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/RFC2833 <5>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/Navigation <6>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/Softkey <7>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/PointDevice <8>
2010-02-09 18:50:07.618229 [DEBUG] h323caps.cxx:3198 Added capability:
UserInput/Modal <9>
2010-02-09 18:50:07.618229 [INFO] mod_h323.cpp:313 Capability Table:
   Table:
     G.711-ALaw-64k <1>
     UserInput/hookflash <2>
     UserInput/basicString <3>
     UserInput/dtmf <4>
     UserInput/RFC2833 <5>
     UserInput/Navigation <6>
     UserInput/Softkey
 <7>
     UserInput/PointDevice <8>
     UserInput/Modal <9>
   Set:
     0:
       0:
         G.711-ALaw-64k <1>
       1:
         UserInput/hookflash <2>
         UserInput/basicString <3>
         UserInput/dtmf <4>
         UserInput/RFC2833 <

Log-Func:
Log-Line: 0
User-Data:

5>
         UserInput/Navigation <6>
         UserInput/Softkey <7>
         UserInput/PointDeviINCOMING DATA [(null)]

RECV EVENT
Event-Name: SOCKET_DATA


2010-02-09 18:50:07.618229 [DEBUG] osutil.cxx:188 File handle high water
mark set: 59 PTCPSocket
2010-02-09 18:50:07.618229 [DEBUG] h323ep.cxx:1177 Started cleaner thread
2010-02-09 18:50:07.618229 [DEBUG] h323ep.cxx:2033 Started listener
Listener[ip$172.23.22.49:1720]
2010-02-09 18:50:07.618229 [DEBUG] tlibthrd.cxx:583 Thread high water mark
set: 3
2010-02-09 18:50:07.618229 [CONSOLE] mod_h323.cpp:86 Opal manager
initialized and running
2010-02-09 18:50:07.618229 [CONSOLE] switch_loadable_module.c:900
Successfully Loaded [mod_h323]
2010-02-09 18:50:07.618229 [NOTICE] switch_loadable_module.c:144 Adding
Endpoint 'h323'
2010-02-09 18:50:07.627207 [DEBUG] transports.cxx:1521 Awaiting TCP
connections on port 1720
2010-02-09 18:50:07.627207 [DEBUG] transports.cxx:1475 Waiting on socket
accept on ip$172.23.22.49:1720

fs_cli -x "show modules" should show h323 module if it was loaded...
Did you try to load module via 'load mod_h323' from fs command line?

Rgds,
Nikolay.


> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org 
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On 
> Behalf Of gamalsa
> Sent: Sunday, September 19, 2010 11:09 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] mod_h323 build fine but FS cant start
> 
> 
> After compiling and installing ptlib 2.8.1 and h323plus,
> mod_h323 compile and build fine in FS.
> 
> Now, when FS  try to load mod_h323 it failed with the following error:
> 
> 2010-09-19 00:58:12.743034 [CONSOLE] 
> switch_loadable_module.c:944 Successfully Loaded [mod_sofia]
> 2010-09-19 00:58:12.743064 [NOTICE] 
> switch_loadable_module.c:145 Adding Endpoint 'sofia'
> 2010-09-19 00:58:12.743105 [NOTICE] 
> switch_loadable_module.c:273 Adding API Function 'sofia'
> ---
> ---
> 
> module.c:422 Adding Management interface 'mod_sofia'
> OID[.1.3.6.1.4.1.27880.1]
> 2010-09-19 00:58:12.744107 [CONSOLE] 
> switch_loadable_module.c:944 Successfully Loaded 
> 
> terminate called after throwing an instance of 
> '__gnu_cxx::__concurrence_unlock_error'
>   what():  __gnu_cxx::__concurrence_unlock_error
> 
> --
> View this message in context: 
> http://freeswitch-users.2379917.n2.nabble.com/mod-h323-build-f
> ine-but-FS-cant-start-tp5547141p5547141.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freesw
> itch-users
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list