Initial SEMS configuration for simple scenario

Hello,

I am setting up a remote server to handle this simple scenario:

  • Configure several SIP routes with each having its own dedicated dialing prefix (vendor)
  • Add customers who shall make calls by sending SIP invite to the switch with the possibility to select routes by adding dialing prefixes in front of the dialed number
  • Depending on the prefix, calls received from a customer should be re-routed using the route/vendor behind the prefix

I have reached the SEMS node installation step and I am confused about the use of:

  • PoP & Node: I didnt understand their role from the description but I still created them from the WebUI
  • SIGNALLING_IP & MEDIA_IP: which I do not believe are relevant for my scenario, am I correct ?

Please advise should you have any comment overall.

Thank you

this is addresses of listened sockets for SIP and rtp. place address of your server here.

1 Like

Thank you @dmitry.s .

I adapted the /etc/sems/sems.conf by including:

  • <SERVER_IP> : my remote server public IP
  • <yeti_db_psw> & <cdr_db_psw>: for both DBs created from previous steps

Sadly I am getting errors when starting the switch. Below is the depug logging output sems -E -D3.

Reading it, I note that:

  • it considers the server public IP (I insterted) as local IP while the PublicIP is empty. I am not sure if that is correct LocalIP='<SERVER_IP>';local_port='5060';PublicIP=''; DSCP=0
  • RROR: AmPlugIn::loadPlugIn: /usr/lib/sems/plug-in/g729bcg.so: /usr/lib/sems/plug-in/g729bcg.so: cannot open shared object file: No such file or directory and indeed that file is missing:
$ ls -Al  /usr/lib/sems/plug-in/
total 101008
-rw-r--r-- 1 root root    89824 Okt 27 10:24 adpcm.so
-rw-r--r-- 1 root root   439512 Okt 27 10:24 di_log.so
-rw-r--r-- 1 root root   716440 Okt 27 10:24 echo.so
-rw-r--r-- 1 root root    35480 Okt 27 10:24 g722.so
-rw-r--r-- 1 root root    30952 Okt 27 10:24 gsm.so
-rw-r--r-- 1 root root  8671928 Okt 27 10:24 http_client.so
-rw-r--r-- 1 root root   306576 Okt 27 10:24 ilbc.so
-rw-r--r-- 1 root root  2289512 Okt 27 10:24 jsonrpc.so
-rw-r--r-- 1 root root    23880 Okt 27 10:24 l16.so
-rw-r--r-- 1 root root  1229536 Okt 27 10:24 monitoring.so
-rw-r--r-- 1 root root    48632 Okt 27 10:24 mp3.so
-rw-r--r-- 1 root root  2503224 Okt 27 10:24 options_prober.so
-rw-r--r-- 1 root root    37448 Okt 27 10:24 opus.so
-rw-r--r-- 1 root root   423904 Okt 27 10:24 prometheus_exporter.so
-rw-r--r-- 1 root root  1855736 Okt 27 10:24 radius_client.so
-rw-r--r-- 1 root root  2313096 Okt 27 10:24 registrar_client.so
-rw-r--r-- 1 root root  3745920 Okt 27 10:24 sctp_bus.so
-rw-r--r-- 1 root root   801864 Okt 27 10:24 session_timer.so
-rw-r--r-- 1 root root    40776 Okt 27 10:24 speex.so
-rw-r--r-- 1 root root  1224832 Okt 27 10:24 stats.so
-rw-r--r-- 1 root root  1923936 Okt 27 10:24 uac_auth.so
-rw-r--r-- 1 root root  3378064 Okt 27 10:24 voicemail.so
-rw-r--r-- 1 root root   121896 Okt 27 10:24 wav.so
-rw-r--r-- 1 root root  3642032 Okt 27 10:24 webconference.so
-rw-r--r-- 1 root root  4129040 Okt 27 10:24 xmlrpc2di.so
-rw-r--r-- 1 root root 63357464 Jul 12  2021 yeti.so
$ sems -E -D3
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'A' to 500 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'B' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'D' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'E' to 500 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'F' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'K' to 5000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'G' to 500 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'H' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'I' to 5000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'J' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'L' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'M' to 8000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'C' to 180000 ms
 [1173/1173] [core/AmLcConfig.cpp:996] DEBUG: Set SIP Timer 'BL' to 32000 ms
 [1173/1173] [core/AmLcConfig.cpp:2192] DEBUG: iface='lo';ip='127.0.0.1';flags=0x10049
 [1173/1173] [core/AmLcConfig.cpp:2192] DEBUG: iface='eno1';ip='<SERVER_IP>';flags=0x11043
 [1173/1173] [core/AmLcConfig.cpp:2192] DEBUG: iface='lo';ip='::1';flags=0x10049
Configuration:
       configuration file:  /etc/sems/sems.conf
       plug-in path:        /usr/lib/sems/plug-in
       daemon mode:         no
       daemon UID:          <not set>
       daemon GID:          <not set>

 [1173/1173] [core/AmLcConfig.cpp:1866] INFO: Signaling interfaces:
 [1173/1173] [core/AmLcConfig.cpp:1869] INFO: 	(0) name='internal'
 [1173/1173] [core/AmLcConfig.cpp:1933] INFO: 		UDP
 [1173/1173] [core/AmLcConfig.cpp:1941] INFO: 		LocalIP='<SERVER_IP>';local_port='5060';PublicIP=''; DSCP=0
 [1173/1173] [core/AmLcConfig.cpp:1876] INFO: 		TCP 2000/900000
 [1173/1173] [core/AmLcConfig.cpp:1941] INFO: 		LocalIP='<SERVER_IP>';local_port='5060';PublicIP=''; DSCP=0
 [1173/1173] [core/AmLcConfig.cpp:1945] INFO: Signaling address map:
 [1173/1173] [core/AmLcConfig.cpp:1953] INFO: 	<SERVER_IP> -> internal
 [1173/1173] [core/AmLcConfig.cpp:1957] INFO: Media interfaces:
 [1173/1173] [core/AmLcConfig.cpp:1961] INFO: 	(0) name='internal'
 [1173/1173] [core/AmLcConfig.cpp:1965] INFO: 		RTP
 [1173/1173] [core/AmLcConfig.cpp:1977] INFO: 		LocalIP='<SERVER_IP>';Ports=[16384;32768];MediaCapacity=8192;PublicIP=''; DSCP=46
-----BEGIN CFG DUMP-----

-----END CFG DUMP-----
 [1173/1173] [core/sems.cpp:471] INFO: Open FDs limit has been raised to 1048576
 [1173/1175] [core/AmThread.cpp:92] INFO: Thread 140305105610496 is starting
 [1173/1173] [core/AmPlugIn.cpp:867] DEBUG: DI Interface 'core' registered.
 [1173/1173] [core/sems.cpp:792] INFO: Starting application timer scheduler
 [1173/1173] [core/AmThread.cpp:264] DEBUG: trying to add thread 0 to thread watcher
 [1173/1173] [core/AmThread.cpp:270] DEBUG: added thread 0 to thread watcher
 [1173/1173] [core/sems.cpp:796] INFO: Starting session container
 [1173/1176] [core/AmThread.cpp:92] INFO: Thread 140305104557824 is starting
 [1173/1177] [core/AmThread.cpp:92] INFO: Thread 140305103505152 is starting
 [1173/1173] [core/sems.cpp:800] INFO: Starting session processor threads
 [1173/1173] [core/AmSessionProcessor.cpp:69] DEBUG: starting 20 session processor threads
 [1173/1178] [core/AmThread.cpp:92] INFO: Thread 140305102452480 is starting
 [1173/1179] [core/AmThread.cpp:92] INFO: Thread 140305101399808 is starting
 [1173/1180] [core/AmThread.cpp:92] INFO: Thread 140305100347136 is starting
 [1173/1181] [core/AmThread.cpp:92] INFO: Thread 140304971724544 is starting
 [1173/1182] [core/AmThread.cpp:92] INFO: Thread 140305099294464 is starting
 [1173/1183] [core/AmThread.cpp:92] INFO: Thread 140305098241792 is starting
 [1173/1184] [core/AmThread.cpp:92] INFO: Thread 140305097189120 is starting
 [1173/1185] [core/AmThread.cpp:92] INFO: Thread 140305096136448 is starting
 [1173/1187] [core/AmThread.cpp:92] INFO: Thread 140305094031104 is starting
 [1173/1186] [core/AmThread.cpp:92] INFO: Thread 140305095083776 is starting
 [1173/1189] [core/AmThread.cpp:92] INFO: Thread 140305091925760 is starting
 [1173/1188] [core/AmThread.cpp:92] INFO: Thread 140305092978432 is starting
 [1173/1190] [core/AmThread.cpp:92] INFO: Thread 140305090873088 is starting
 [1173/1191] [core/AmThread.cpp:92] INFO: Thread 140305089820416 is starting
 [1173/1192] [core/AmThread.cpp:92] INFO: Thread 140305088767744 is starting
 [1173/1193] [core/AmThread.cpp:92] INFO: Thread 140305087715072 is starting
 [1173/1194] [core/AmThread.cpp:92] INFO: Thread 140305086662400 is starting
 [1173/1195] [core/AmThread.cpp:92] INFO: Thread 140305085609728 is starting
 [1173/1196] [core/AmThread.cpp:92] INFO: Thread 140305084557056 is starting
 [1173/1173] [core/AmSessionProcessor.cpp:76] DEBUG: now 20 session processor threads running
 [1173/1197] [core/AmThread.cpp:92] INFO: Thread 140305083504384 is starting
 [1173/1173] [core/sems.cpp:805] INFO: Starting audio recorder
 [1173/1173] [core/sems.cpp:808] INFO: Starting pcap recorder
 [1173/1198] [core/AmThread.cpp:92] INFO: Thread 140305082451712 is starting
 [1173/1173] [core/sems.cpp:811] INFO: Starting media processor
 [1173/1199] [core/AmThread.cpp:92] INFO: Thread 140305081399040 is starting
 [1173/1173] [core/AmMediaProcessor.cpp:90] DEBUG: Starting 4 MediaProcessorThreads.
 [1173/1200] [core/AmThread.cpp:92] INFO: Thread 140305080162048 is starting
 [1173/1202] [core/AmThread.cpp:92] INFO: Thread 140305078925056 is starting
 [1173/1203] [core/AmThread.cpp:92] INFO: Thread 140305077872384 is starting
 [1173/1173] [core/sems.cpp:814] INFO: Starting stun processor
 [1173/1204] [core/AmThread.cpp:92] INFO: Thread 140305076819712 is starting
 [1173/1205] [core/AmThread.cpp:92] INFO: Thread 140305075767040 is starting
 [1173/1173] [core/sems.cpp:827] INFO: Starting RTP receiver
 [1173/1206] [core/AmThread.cpp:92] INFO: Thread 140305074153216 is starting
 [1173/1207] [core/AmThread.cpp:92] INFO: Thread 140305073100544 is starting
 [1173/1208] [core/AmThread.cpp:92] INFO: Thread 140305072047872 is starting
 [1173/1173] [core/sems.cpp:830] INFO: Starting SIP stack (control interface)
 [1173/1209] [core/AmThread.cpp:92] INFO: Thread 140305070995200 is starting
 [1173/1173] [core/sip/udp_trsp.cpp:162] DEBUG: UDP transport bound to <SERVER_IP>/5060
 [1173/1173] [core/sip/udp_trsp.cpp:509] INFO: Added SIP server UDP transport on <SERVER_IP>:5060
 [1173/1173] [core/sip/udp_trsp.cpp:509] INFO: Added SIP server UDP transport on <SERVER_IP>:5060
 [1173/1173] [core/sip/tcp_base_trsp.cpp:901] DEBUG: TCP transport bound to <SERVER_IP>/5060
 [1173/1173] [core/sip/tcp_base_trsp.cpp:932] DEBUG: 0x55686d021950 created ev_accept 0x55686d091db0 with base 0x55686d04c0d0
 [1173/1173] [core/sip/tcp_base_trsp.cpp:933] DEBUG: 0x55686d021950 add ev_accept 0x55686d091db0
 [1173/1173] [core/sip/tcp_base_trsp.cpp:1033] INFO: Added SIP server tcp transport on <SERVER_IP>:5060
 [1173/1173] [core/sems.cpp:835] INFO: Loading plug-ins
 [1173/1173] [core/AmPlugIn.cpp:160] DEBUG: adding built-in codecs...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 0 inserted
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 6 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'telephone-event/800' inserted with id 96 and order 196
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'telephone-event/800' inserted with id 97 and order 197
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'telephone-event/800' inserted with id 98 and order 198
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'telephone-event/800' inserted with id 99 and order 199
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'telephone-event/800' inserted with id 100 and order 200
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/di_log.so...
 [1173/1173] [core/AmPlugIn.cpp:607] DEBUG: component 'di_log' loaded.
 [1173/1173] [core/AmPlugIn.cpp:659] DEBUG: logging facility component 'di_log' loaded.
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/mp3.so...
 [1173/1173] [apps/mp3/mp3.c:100] DEBUG: MP3 module loaded.
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 5 inserted
 [1173/1173] [core/AmPlugIn.cpp:758] DEBUG: file format MP3 inserted
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/opus.so...
 [1173/1173] [core/AmPlugIn.cpp:675] WARNING: codec 60 does not provide bytes2samples function
 [1173/1173] [core/AmPlugIn.cpp:678] WARNING: codec 60 does not provide samples2bytes function
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 60 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'OPUS/24000' inserted with id 101 and order 201
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/wav.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 1 inserted
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 2 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'PCMU/8000' inserted with id 0 and order 100
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'PCMA/8000' inserted with id 8 and order 108
 [1173/1173] [core/AmPlugIn.cpp:758] DEBUG: file format Wav inserted
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/gsm.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 3 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'GSM/8000' inserted with id 3 and order 103
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/ilbc.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 4 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'iLBC/8000' inserted with id 102 and order 202
 [1173/1173] [core/AmPlugIn.cpp:758] DEBUG: file format iLBC inserted
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/adpcm.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 8 inserted
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 9 inserted
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 10 inserted
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 11 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'G726-32/8000' inserted with id 103 and order 203
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'G721/8000' inserted with id 2 and order 102
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'G726-24/8000' inserted with id 104 and order 204
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'G726-40/8000' inserted with id 105 and order 205
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'G726-16/8000' inserted with id 106 and order 206
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/l16.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 12 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'L16/32000' inserted with id 107 and order 207
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'L16/16000' inserted with id 108 and order 208
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'L16/8000' inserted with id 109 and order 209
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/g722.so...
 [1173/1173] [core/AmPlugIn.cpp:680] DEBUG: codec id 13 inserted
 [1173/1173] [core/AmPlugIn.cpp:720] DEBUG: payload 'g722/16000' inserted with id 9 and order 109
 [1173/1173] [core/AmPlugIn.cpp:191] DEBUG: loading /usr/lib/sems/plug-in/g729bcg.so...
 [1173/1173] [core/AmPlugIn.cpp:243] ERROR: AmPlugIn::loadPlugIn: /usr/lib/sems/plug-in/g729bcg.so: /usr/lib/sems/plug-in/g729bcg.so: cannot open shared object file: No such file or directory
 [1173/1173] [core/AmPlugIn.cpp:193] ERROR: while loading plug-in '/usr/lib/sems/plug-in/g729bcg.so'
 [1173/1173] [core/sems.cpp:890] INFO: Disposing session container
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread session-cleaner 140305103505152 (140305103505152)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmSessionContainer.cpp:173] DEBUG: brodcasting ServerShutdown system event to 0 sessions...
 [1173/1173] [core/AmSessionContainer.cpp:187] DEBUG: waiting for active event queues to stop...
 [1173/1199] [core/PcapFileRecorder.cpp:75] DEBUG: 0 unprocessed events on stop
 [1173/1199] [core/PcapFileRecorder.cpp:83] DEBUG: pcap recorder stopped
 [1173/1199] [core/AmThread.cpp:99] INFO: Thread pcap recorder 140305081399040 is ending
 [1173/1173] [core/AmSessionContainer.cpp:199] DEBUG: cleaning sessions...
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread session-cleaner 140305103505152 (140305103505152) finished detach
 [1173/1177] [core/AmSessionContainer.cpp:168] DEBUG: Session cleaner terminating
 [1173/1177] [core/AmThread.cpp:99] INFO: Thread session-cleaner 140305103505152 is ending
 [1173/1173] [core/sems.cpp:896] DEBUG: ** Transaction table dump: **
 [1173/1173] [core/sems.cpp:898] DEBUG: *****************************
 [1173/1173] [core/sems.cpp:907] INFO: Disposing RTP receiver
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread rtp-rx 140305074153216 (140305074153216)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmRtpReceiver.cpp:115] INFO: requesting RTP receiver to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread rtp-rx 140305074153216 (140305074153216) finished detach
 [1173/1206] [core/AmThread.cpp:99] INFO: Thread rtp-rx 140305074153216 is ending
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread rtp-rx 140305073100544 (140305073100544)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmRtpReceiver.cpp:115] INFO: requesting RTP receiver to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread rtp-rx 140305073100544 (140305073100544) finished detach
 [1173/1207] [core/AmThread.cpp:99] INFO: Thread rtp-rx 140305073100544 is ending
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread rtp-rx 140305072047872 (140305072047872)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmRtpReceiver.cpp:115] INFO: requesting RTP receiver to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread rtp-rx 140305072047872 (140305072047872) finished detach
 [1173/1208] [core/AmThread.cpp:99] INFO: Thread rtp-rx 140305072047872 is ending
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread rtp-rx 140305070995200 (140305070995200)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmRtpReceiver.cpp:115] INFO: requesting RTP receiver to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread rtp-rx 140305070995200 (140305070995200) finished detach
 [1173/1209] [core/AmThread.cpp:99] INFO: Thread rtp-rx 140305070995200 is ending
 [1173/1173] [core/AmRtpReceiver.cpp:110] INFO: RTP receiver has been recycled.
 [1173/1173] [core/AmRtpReceiver.cpp:110] INFO: RTP receiver has been recycled.
 [1173/1173] [core/AmRtpReceiver.cpp:110] INFO: RTP receiver has been recycled.
 [1173/1173] [core/AmRtpReceiver.cpp:110] INFO: RTP receiver has been recycled.
 [1173/1173] [core/sems.cpp:910] INFO: Disposing media processor
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread media-proc 140305080162048 (140305080162048)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmMediaProcessor.cpp:296] INFO: requesting media processor to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread media-proc 140305080162048 (140305080162048) finished detach
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread media-proc 140305078925056 (140305078925056)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmMediaProcessor.cpp:296] INFO: requesting media processor to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread media-proc 140305078925056 (140305078925056) finished detach
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread media-proc 140305077872384 (140305077872384)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmMediaProcessor.cpp:296] INFO: requesting media processor to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread media-proc 140305077872384 (140305077872384) finished detach
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread media-proc 140305076819712 (140305076819712)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmMediaProcessor.cpp:296] INFO: requesting media processor to stop.
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread media-proc 140305076819712 (140305076819712) finished detach
 [1173/1200] [core/AmThread.cpp:99] INFO: Thread media-proc 140305080162048 is ending
 [1173/1202] [core/AmThread.cpp:99] INFO: Thread media-proc 140305078925056 is ending
 [1173/1203] [core/AmThread.cpp:99] INFO: Thread media-proc 140305077872384 is ending
 [1173/1204] [core/AmThread.cpp:99] INFO: Thread media-proc 140305076819712 is ending
 [1173/1173] [core/AmMediaProcessor.cpp:82] INFO: Media processor has been recycled.
 [1173/1173] [core/sems.cpp:913] INFO: Disposing stun processor
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread stun-timer 140305075767040 (140305075767040)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmThread.cpp:156] DEBUG: join thread 140305075767040
 [1173/1205] [core/AmStunProcessor.cpp:52] DEBUG: stun processor stopped
 [1173/1205] [core/AmThread.cpp:99] INFO: Thread stun-timer 140305075767040 is ending
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread stun-timer 140305075767040 (140305075767040) finished detach
 [1173/1173] [core/sems.cpp:916] INFO: Disposing audio file recorder
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread recorder 140305082451712 (140305082451712)calling on_stop, give it a chance to clean up
 [1173/1198] [core/AmAudioFileRecorder.cpp:89] DEBUG: 0 unprocessed events on stop
 [1173/1198] [core/AmAudioFileRecorder.cpp:97] DEBUG: 0 mono recorders on stop
 [1173/1198] [core/AmAudioFileRecorder.cpp:101] DEBUG: 0 stereo recorders on stop
 [1173/1198] [core/AmAudioFileRecorder.cpp:105] DEBUG: Audio recorder stopped
 [1173/1198] [core/AmThread.cpp:99] INFO: Thread recorder 140305082451712 is ending
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread recorder 140305082451712 (140305082451712) finished detach
 [1173/1173] [core/sems.cpp:919] INFO: Disposing pcap file recorder
 [1173/1173] [core/sems.cpp:922] INFO: Disposing event dispatcher
 [1173/1173] [core/AmEventDispatcher.cpp:238] DEBUG: *** dumping Event dispatcher buckets ***
 [1173/1173] [core/AmEventDispatcher.cpp:256] DEBUG: *** End of Event dispatcher bucket dump ***
 [1173/1173] [core/SipCtrlInterface.cpp:825] DEBUG: Stopping SIP control interface threads
 [1173/1173] [core/SipCtrlInterface.cpp:818] DEBUG: dec_ref(0x55686d04a8a0)
 [1173/1173] [core/SipCtrlInterface.cpp:818] DEBUG: dec_ref(0x55686d021950)
 [1173/1173] [core/sip/resolver.cpp:1552] DEBUG: resolver::clear_cache() 0 entries removed
 [1173/1210] [core/AmThread.cpp:92] INFO: Thread 140305082451712 is starting
 [1173/1173] [core/AmThread.cpp:151] DEBUG: Thread sems 140305082451712 (140305082451712)calling on_stop, give it a chance to clean up
 [1173/1173] [core/AmThread.cpp:174] DEBUG: Thread sems 140305082451712 (140305082451712) finished detach
 [1173/1173] [core/SipCtrlInterface.cpp:625] INFO: ~_SipCtrlInterface
 [1173/1173] [core/AmThread.cpp:275] DEBUG: cleanup threads garbage collector
 [1173/1175] [core/AmThread.cpp:292] DEBUG: Thread watcher starting its work
 [1173/1175] [core/AmThread.cpp:305] DEBUG: thread 140305104557824 is to be processed in thread watcher
 [1173/1175] [core/AmThread.cpp:309] DEBUG: request thread 140305104557824 to stop and join it
 [1173/1175] [core/AmThread.cpp:151] DEBUG: Thread app-wheeltimer 140305104557824 (140305104557824)calling on_stop, give it a chance to clean up
 [1173/1175] [core/AmThread.cpp:156] DEBUG: join thread 140305104557824
 [1173/1176] [core/AmThread.cpp:99] INFO: Thread app-wheeltimer 140305104557824 is ending
 [1173/1175] [core/AmThread.cpp:174] DEBUG: Thread app-wheeltimer 140305104557824 (140305104557824) finished detach
 [1173/1175] [core/AmThread.cpp:315] DEBUG: thread 140305104557824 has been destroyed
 [1173/1175] [core/AmThread.cpp:331] DEBUG: Thread watcher completed
 [1173/1175] [core/AmThread.cpp:335] DEBUG: Thread watcher finished
 [1173/1175] [core/AmThread.cpp:99] INFO: Thread AmThreadWatcher 140305105610496 is ending
 [1173/1173] [core/sems.cpp:948] INFO: Disposing plug-ins

install sems-modules-g729-bcg package or remove g729bcg module from configuration

1 Like

Thank you @dmitry.s for the answer.

Now I am stuck at LoadBalancer installation step:

  • I added repo sources for buster
  • I installed kamailio only apt install kamailio, I am not sure which other packages must be installed ?
  • Kamalio config dir has kamailio.cfg only and whose structure is very different than the one in the repo: yeti-lb/src at master · yeti-switch/yeti-lb · GitHub. I am not sure how to adapt the config here ?
  • I already registered the Load balancer through the WebUI
$ sudo tee /etc/apt/sources.list.d/kamailio.list<<EOF
deb     http://deb.kamailio.org/kamailio55 buster main
deb-src http://deb.kamailio.org/kamailio55 buster main
EOF

$ ls -Al /etc/kamailio
total 64
-rw-r--r-- 1 root root 25960 Nov 25 02:24 kamailio.cfg
-rw-r--r-- 1 root root  4260 Nov 25 02:24 kamctlrc

Kamailio may be used for different purposes and it default configuration is not designed for load balancing. So we are providing configuration example to make kamailio work as load balancer.

If you are not familiar with kamailio or you have only one SEMS node - better not use load balancer.

1 Like

if are you familiar with ansible I could share my playbooks which I used to install all-in-one

hey friend, where is your playbooks?

1 Like

i found it on my computer and upload to gitlab