Si estás en cloud, debes asignar la up privada en el listen y usar el advertise para especificar la externa. I.e.:
listen=UDP:10.0.0.1:5060 ADVERTISE x.y.z.35:5060
Dónde x.y.z.35 es tu up pública.
Un saludo
On Thu, 9 Jan 2020 at 07:35, José Luis Verdeguer pepeluxx@gmail.com wrote:
Te da error en bind_ob
Mira esto ... http://sip-router.1086192.n5.nabble.com/Error-in-kamailio-Need-for-help-td15...
Saludos
Enviado desde mi smartphone Samsung Galaxy.
-------- Mensaje original -------- De: Vericar De Espiritu Santo soporte.ebisu@gmail.com Fecha: 9/1/20 8:11 (GMT+01:00) Para: sr-users-es@lists.kamailio.org Asunto: [SR-Users-ES] Necesito ayuda con kamailio
Buenas, estoy necesitando ayuda con kamailio, no se que error tiene, pero no inicia el servicio. Dice que el archivo .config no tiene errores, pero no se donde estoy fallando. Alguien podroa darme una mano?
Kamailio -e -E
*loading modules under config path: /usr/lib64/kamailio/modules/0(11793) INFO: tls [tls_init.c:497]: init_tls_compression(): tls: init_tls: disabling compression...0(11793) INFO: <core> [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp moduleListening onudp: 127.0.0.1:5060 http://127.0.0.1:5060udp: 35.XXX.XXX.2XX:5060tcp: 2XX.XXX.XXX.35:5060tcp: 2XX.XXX.XXX.35:8080tls: 2XX.XXX.XXX.35:5061tls: 2XX.XXX.XXX.35:4443tls: 2XX.XXX.XXX.35:9080Aliases:tls: 2XX.XXX.XXX.35.bc.googleusercontent.com:9080 http://2XX.XXX.XXX.35.bc.googleusercontent.com:9080tls: 2XX.XXX.XXX.35.bc.googleusercontent.com:4443 http://2XX.XXX.XXX.35.bc.googleusercontent.com:4443tls: 2XX.XXX.XXX.35.bc.googleusercontent.com:5061 http://2XX.XXX.XXX.35.bc.googleusercontent.com:5061tcp: 2XX.XXX.XXX.35.bc.googleusercontent.com:8080 http://2XX.XXX.XXX.35.bc.googleusercontent.com:8080tcp: 2XX.XXX.XXX.35.bc.googleusercontent.com:5060 http://2XX.XXX.XXX.35.bc.googleusercontent.com:5060udp: 2XX.XXX.XXX.35.bc.googleusercontent.com:5060 http://2XX.XXX.XXX.35.bc.googleusercontent.com:5060udp: localhost4.localdomain4:5060udp: localhost4:5060udp: localhost.localdomain:5060udp: localhost:5060: vaglxc01.goautodial.com http://vaglxc01.goautodial.com:: 2XX.XXX.XXX.35:*
*0(11793) INFO: <core> [core/tcp_main.c:4671]: init_tcp(): using epoll_lt as the io watch method (auto detected)0(11796) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded0(11796) INFO: rr [rr_mod.c:175]: mod_init(): outbound module not available0(11796) INFO: tls [tls_mod.c:365]: mod_init(): With ECDH-Support!0(11796) INFO: tls [tls_mod.c:368]: mod_init(): With Diffie Hellman0(11796) INFO: cfgutils [cfgutils.c:780]: mod_init(): no hash_file given, disable hash functionality0(11796) INFO: pike [pike.c:99]: pike_init(): PIKE - initializing0(11796) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size0(11796) INFO: tls [tls_init.c:708]: init_tls_h(): tls: _init_tls_h: compiled with openssl version "OpenSSL 1.0.2k-fips 26 Jan 2017" (0x100020bf), kerberos support: on, compression: on0(11796) INFO: tls [tls_init.c:716]: init_tls_h(): tls: init_tls_h: installed openssl library version "OpenSSL 1.0.2k-fips 26 Jan 2017" (0x100020bf), >kerberos support: on, zlib compression: oncompiler: gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -Wall -O2 >-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wa,-->noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM ->DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM0(11796) WARNING: tls [tls_init.c:773]: init_tls_h(): tls: openssl bug #1491 https://goautodial.org/issues/1491 (crash/mem leaks on low memory) workaround enabled (on low memory tls operations >will fail preemptively) with free memory thresholds 14155776 and 7077888 bytes0(11796) INFO: <core> [core/cfg/cfg_ctx.c:608]: cfg_set_now(): INFO: cfg_set_now(): tls.low_mem_threshold1 has been changed to 141557760(11796) INFO: <core> [core/cfg/cfg_ctx.c:608]: cfg_set_now(): INFO: cfg_set_now(): tls.low_mem_threshold2 has been changed to 70778880(11796) INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 2129920(11796) INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 4259840(11796) INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 2129920(11796) INFO: <core> [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 4259840(11796) ERROR: <core> [core/udp_server.c:387]: udp_init(): bind(a, 0x7f20023dd7b4, 16) on 35.222.235.228 http://35.222.235.228: Cannot assign requested address0(11796) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized*
*Systemctl status kamailio*
*kamailio.service - Kamailio (OpenSER) - the Open Source SIP ServerLoaded: loaded (/usr/lib/systemd/system/kamailio.service; enabled; vendor preset: disabled)Active: failed (Result: start-limit) since Sat 2020-01-04 00:20:27 UTC; 4 days agoProcess: 7620 ExecStart=/usr/sbin/kamailio -DD -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY (code=exited, status=255)Main PID: 7620 (code=exited, status=255)*
*Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: Unit kamailio.service entered failed state.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: kamailio.service failed.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: kamailio.service holdoff time over, scheduling restart.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: Stopped Kamailio (OpenSER) - the Open Source SIP Server.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: start request repeated too quickly for kamailio.serviceJan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: Unit kamailio.service entered failed state.Jan 04 00:20:27 voip-ebisu systemd1 https://goautodial.org/boards/20/topics/17659#fn1: kamailio.service failed.*
Enviado desde Correo https://go.microsoft.com/fwlink/?LinkId=550986 para Windows 10
sr-users-es mailing list sr-users-es@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users-es