add it like below:
ok, add some pics to make it more clear :–)
Ok, now I got it
but I receive INVALID PASSWORD (I put Admin and tied also admin)
no you dont need to put in “Admin” or “admin” , you need to enter the Admin password you have there!!
I believe its this one:
Ok Ok
done that , started the addon (I started it before I stopped it and run it again), but this is not accesscible
ERR_CONNECTION_REFUSED
note status UNREGISTERED?
Checking if tables exists ...
Table found in opensips db... skipping import
Home assistant is running on: 192.168.1.12
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.30.32.1. Set the 'ServerName' directive globally to suppress this message
Restarting Apache httpd web server: apache2.
Mar 25 21:27:03 [45] INFO:core:fix_poll_method: using epoll as the IO watch method (auto detected)
Listening on
udp: 192.168.1.12 [192.168.1.12]:5060
tcp: 192.168.1.12 [192.168.1.12]:5060
Aliases:
Mar 25 21:27:03 [45] NOTICE:core:main: version: opensips 3.2.5 (x86_64/linux)
Mar 25 21:27:03 [45] NOTICE:core:main: using 32 MB of shared memory, allocator: F_MALLOC
Mar 25 21:27:03 [45] NOTICE:core:main: using 16 MB of private process memory, allocator: F_MALLOC
Mar 25 21:27:03 [45] WARNING:core:init_reactor_size: shrinking reactor size from 1048576 (autodetected via rlimit) to 41943 (limited by memory of 10% from 16Mb)
Mar 25 21:27:03 [45] WARNING:core:init_reactor_size: use 'open_files_limit' to enforce other limit or increase pkg memory
Mar 25 21:27:03 [45] INFO:core:init_reactor_size: reactor size 41943 (using up to 1.60Mb of memory per process)
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_CORE_THRESHOLD(0)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_CORE_SHM_THRESHOLD(1)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_CORE_PKG_THRESHOLD(2)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_CORE_PROC_AUTO_SCALE(3)>
Mar 25 21:27:03 [45] INFO:tm:mod_init: TM - initializing...
Mar 25 21:27:03 [45] INFO:sl:mod_init: Initializing StateLess engine
Mar 25 21:27:03 [45] NOTICE:signaling:mod_init: initializing module ...
Mar 25 21:27:03 [45] INFO:uac_registrant:load_reg_info_from_db: loading [0] records from db
Mar 25 21:27:03 [45] INFO:rr:mod_init: rr - initializing
Mar 25 21:27:03 [45] INFO:maxfwd:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:sipmsgops:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_MYSQL_CONNECTION(4)>
Mar 25 21:27:03 [45] INFO:usrloc:ul_init_locks: locks array size 512
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_AOR_INSERT(5)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_AOR_DELETE(6)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_CONTACT_INSERT(7)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_CONTACT_UPDATE(8)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_CONTACT_DELETE(9)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_CONTACT_REFRESH(10)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_UL_LATENCY_UPDATE(11)>
Mar 25 21:27:03 [45] INFO:registrar:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:acc:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_ACC_EVENT(12)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_ACC_CDR(13)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_ACC_MISSED_EVENT(14)>
Mar 25 21:27:03 [45] INFO:auth:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:auth_db:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:alias_db:mod_init: initializing...
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_PRESENCE_PUBLISH(15)>
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_PRESENCE_EXPOSED(16)>
Mar 25 21:27:03 [45] INFO:dialplan:mod_init: initializing module...
Mar 25 21:27:03 [45] INFO:drouting:dr_init: dynamic routing - initializing
Mar 25 21:27:03 [45] INFO:drouting:init_prefix_tree: counted 10 possible chars under a node
Mar 25 21:27:03 [45] INFO:core:evi_publish_event: Registered event <E_DROUTING_STATUS(17)>
Mar 25 21:27:03 [45] INFO:core:mod_init: initializing UDP-plain protocol
Mar 25 21:27:03 [45] INFO:core:mod_init: initializing TCP-plain protocol
Failed to bind to port 8888: Address already in use
Mar 25 21:27:03 [46] ERROR:httpd:httpd_proc: unable to start http daemon
Mar 25 21:27:03 [50] WARNING:dialplan:dp_load_db: no data in the db
Mar 25 21:27:03 [50] INFO:drouting:dr_reload_data_head: loading drouting data!
Mar 25 21:27:03 [50] NOTICE:drouting:dr_load_routing_info: loaded 0 gateways in partition 'Default'
Mar 25 21:27:03 [50] NOTICE:drouting:dr_load_routing_info: loaded 0 carriers in partition 'Default'
Mar 25 21:27:03 [50] NOTICE:drouting:dr_load_routing_info: loaded 0 rules in partition 'Default'
Mar 25 21:27:03 [45] INFO:core:handle_sigs: child process 46 exited normally, status=0
Mar 25 21:27:03 [45] INFO:core:handle_sigs: terminating due to SIGCHLD
Mar 25 21:27:03 [48] INFO:core:sig_usr: signal 15 received
Mar 25 21:27:03 [49] INFO:core:sig_usr: signal 15 received
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 3(48) [time_keeper] terminated, still waiting for 16 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 4(49) [timer] terminated, still waiting for 15 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 5(50) [SIP receiver udp:192.168.1.12:5060] terminated, still waiting for 14 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 8(53) [SIP receiver udp:192.168.1.12:5060] terminated, still waiting for 13 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 12(57) [TCP receiver] terminated, still waiting for 12 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 13(58) [TCP receiver] terminated, still waiting for 11 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 10(55) [TCP receiver] terminated, still waiting for 10 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 7(52) [SIP receiver udp:192.168.1.12:5060] terminated, still waiting for 9 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 11(56) [TCP receiver] terminated, still waiting for 8 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 6(51) [SIP receiver udp:192.168.1.12:5060] terminated, still waiting for 7 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 9(54) [TCP receiver] terminated, still waiting for 6 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 17(62) [Timer handler] terminated, still waiting for 5 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 16(61) [TCP receiver] terminated, still waiting for 4 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 18(63) [TCP main] terminated, still waiting for 3 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 14(59) [TCP receiver] terminated, still waiting for 2 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 15(60) [TCP receiver] terminated, still waiting for 1 more
Mar 25 21:27:03 [45] INFO:core:shutdown_opensips: process 2(47) [MI FIFO] terminated, still waiting for 0 more
Mar 25 21:27:03 [45] INFO:core:cleanup: cleanup
Mar 25 21:27:03 [45] NOTICE:presence:destroy: destroy module ...
Thank you for running opensips
thats not normal, you have something else running on HA with that port
thats why the addon doesnt start
ah yes i saw that now, yes I do and I use it …
What is it? can you try stopping that service? just as a test
Limited guest access addon
I will change its port use to other
ok, i can also change it in the addon, seems some httpd process, but i dont know whats the impact if i change it… gonna leave it like it is for now
this is still early beta
#### HTTPD module
loadmodule "httpd.so"
modparam("httpd", "port", 8888)
sure no problem. Ok, now I did all and awaiting the REGISTERED status (awaiting) like what 5 minutes?
check with sngrep tool
or if you see this error; thats normal, then its OK! you can just ignore that error, there is just no contact header
normally its about 2-3 min max
still unregistered.
Just to check, what is this?
- Auth password: the “admin” / “Registration” password of your device
Mar 25 21:46:59 [62] ERROR:tm:relay_reply: no more share memory
Mar 25 21:46:59 [62] WARNING:core:fm_malloc: not enough contiguous free shm memory (467232 bytes left, need 23008), attempting defragmentation... please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:core:fm_malloc: not enough free shm memory (467232 bytes left, need 23008), please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:tm:_reply_light: failed to allocate shmem buffer
Mar 25 21:46:59 [62] WARNING:core:fm_malloc: not enough contiguous free shm memory (467232 bytes left, need 22944), attempting defragmentation... please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:core:fm_malloc: not enough free shm memory (467232 bytes left, need 22944), please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:tm:relay_reply: no more share memory
Mar 25 21:46:59 [62] WARNING:core:fm_malloc: not enough contiguous free shm memory (467232 bytes left, need 23112), attempting defragmentation... please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:core:fm_malloc: not enough free shm memory (467232 bytes left, need 23112), please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:tm:_reply_light: failed to allocate shmem buffer
Mar 25 21:46:59 [62] WARNING:core:fm_malloc: not enough contiguous free shm memory (467232 bytes left, need 23040), attempting defragmentation... please increase the "-m" command line parameter!
Mar 25 21:46:59 [62] ERROR:core:fm_malloc: not enough free shm memory (467232 bytes left, need 23040), please increase the "-m" command line parameter!
its the password you entered when you setup the indoor device, to register in on the outdoor device, i think that password must match the outdoor admin passwod, its for internal SIP registration
if you entered wrong password, you will see in in sngrep
yes thats norma too… have you created the user also? it must be present , just ignore, and check with sngrep tool!
with this addon?
Terminal & SSH
Current version: 9.3.0
(Changelog)