You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute ./run.sh I get an error: "TDLib api settings must be set!"
But I have no idea where what should be. Also "<WS Waiting for socket" repeats, I dont know what the next steps should be
admin@srv-Lit-01:/srv/asterisk-dongle-setup$ ./run.sh
+ nix-build -A sox -o result-sox
/nix/store/w0cakvp7c5mnl3a7fkq7qf8fwf5xgq2a-sox-14.4.2
+ readlink ./result-sox
+ export PATH=/nix/store/w0cakvp7c5mnl3a7fkq7qf8fwf5xgq2a-sox-14.4.2/bin/:/home/admin/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ sox --version
sox: SoX v14.4.2
+ nix-build -A asterisk -o result-asterisk -K
/nix/store/yka01vcbdipz864lrnbyp2bl9bk5w7ag-asterisk+opus-16.19.1
+ nix-build -A asterisk-conf -o result-conf
/nix/store/yrxylb2f8jafp1yycln1q8wg0d33q1ks-asterisk-conf
+ nix-build -A python-scripts -o result-python
/nix/store/041r220sp8pfiv9i0pmymyg0j845zd8q-python-scripts-1.0
+ nix-build -A tg2sip -o result-tg2sip
/nix/store/af20qkclgjpjn796yf4zr1npd04ggba8-tg2sip
+ nix-build -A dongle-monitor -o result-dongle-monitor
/nix/store/r697fjcj83cyygvd7bqq1d72zwv3qfx2-dongle-monitor
+ /srv/asterisk-dongle-setup/result-python/bin/telegram_check.py
+ /srv/asterisk-dongle-setup/result-dongle-monitor/bin/dongle-monitor
Going to standby mode
[DEBUG/2022-01-11 13:48:53,889] asyncio: Using selector: EpollSelector
[ INFO/2022-01-11 13:48:53,959] telethon.network.mtprotosender: Connecting to 149.154.175.59:443/TcpFull...
[DEBUG/2022-01-11 13:48:53,960] telethon.network.mtprotosender: Connection attempt 1...
[DEBUG/2022-01-11 13:48:54,281] telethon.network.mtprotosender: Connection success!
[DEBUG/2022-01-11 13:48:54,281] telethon.network.mtprotosender: Starting send loop
[DEBUG/2022-01-11 13:48:54,281] telethon.network.mtprotosender: Starting receive loop
[ INFO/2022-01-11 13:48:54,281] telethon.network.mtprotosender: Connection to 149.154.175.59:443/TcpFull complete!
[DEBUG/2022-01-11 13:48:54,318] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:54,318] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to InvokeWithLayerRequest (7fb135016850)
[DEBUG/2022-01-11 13:48:54,318] telethon.network.mtprotosender: Encrypting 1 message(s) in 80 bytes for sending
[DEBUG/2022-01-11 13:48:54,319] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:54,319] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:54,319] telethon.network.mtprotosender: Receiving items from the network...
[DEBUG/2022-01-11 13:48:54,640] telethon.network.mtprotosender: Handling bad salt for message [REDACTED]
[DEBUG/2022-01-11 13:48:54,640] telethon.network.mtprotosender: 1 message(s) will be resent
[DEBUG/2022-01-11 13:48:54,640] telethon.network.mtprotosender: Receiving items from the network...
[DEBUG/2022-01-11 13:48:54,640] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to InvokeWithLayerRequest (7fb135016850)
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Encrypting 1 message(s) in 80 bytes for sending
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:54,641] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to MsgsAck (7fb135016970)
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Encrypting 1 message(s) in 36 bytes for sending
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:54,641] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:54,961] telethon.network.mtprotosender: Handling container
[DEBUG/2022-01-11 13:48:54,961] telethon.network.mtprotosender: Handling new session created
[DEBUG/2022-01-11 13:48:54,962] telethon.network.mtprotosender: Handling acknowledge for [[REDACTED]]
[DEBUG/2022-01-11 13:48:54,962] telethon.network.mtprotosender: Receiving items from the network...
[DEBUG/2022-01-11 13:48:54,968] telethon.network.mtprotosender: Handling RPC result for message [REDACTED]
[DEBUG/2022-01-11 13:48:54,969] telethon.network.mtprotosender: Receiving items from the network...
[DEBUG/2022-01-11 13:48:54,969] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to GetUsersRequest (7fb135016850)
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Encrypting 1 message(s) in 32 bytes for sending
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:54,970] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to MsgsAck (7fb135016ca0)
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Encrypting 1 message(s) in 60 bytes for sending
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:54,970] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:55,305] telethon.network.mtprotosender: Handling RPC result for message [REDACTED]
[DEBUG/2022-01-11 13:48:55,305] telethon.network.mtprotosender: Receiving items from the network...
[DEBUG/2022-01-11 13:48:55,306] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to GetDialogsRequest (7fb134fb00a0)
[DEBUG/2022-01-11 13:48:55,306] telethon.network.mtprotosender: Encrypting 1 message(s) in 48 bytes for sending
[DEBUG/2022-01-11 13:48:55,306] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:55,306] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:55,306] telethon.extensions.messagepacker: Assigned msg_id = [REDACTED] to MsgsAck (7fb135016c10)
[DEBUG/2022-01-11 13:48:55,306] telethon.network.mtprotosender: Encrypting 1 message(s) in 36 bytes for sending
[DEBUG/2022-01-11 13:48:55,307] telethon.network.mtprotosender: Encrypted messages put in a queue to be sent
[DEBUG/2022-01-11 13:48:55,307] telethon.network.mtprotosender: Waiting for messages to send...
[DEBUG/2022-01-11 13:48:55,662] telethon.network.mtprotosender: Handling RPC result for message [REDACTED]
[DEBUG/2022-01-11 13:48:55,664] telethon.network.mtprotosender: Receiving items from the network...
Dialogs
-1001109067682: Chch Reddit Group
[TELEGRAM channel Info REDACTED]
OK
+ /srv/asterisk-dongle-setup/result-python/bin/dongleman_daemon.py --check
Asterisk-dongleman-daemon script syntax OK
+ /srv/asterisk-dongle-setup/result-python/bin/dongleman_spool.py
+ mkdir /tmp/tg2sip
+ true
+ /srv/asterisk-dongle-setup/result-python/bin/dongleman_daemon.py
+ cp -f /srv/asterisk-dongle-setup/result-tg2sip-conf/etc/settings.ini /tmp/tg2sip/settings.ini
+ cd /tmp/tg2sip
+ /srv/asterisk-dongle-setup/result-tg2sip/bin/gen_db
TDLib api settings must be set!
�]0;admin@srv-Lit-01: /srv/asterisk-dongle-setup�admin@srv-Lit-01:/srv/asterisk-dongle-setup$ Starting dongleman_daemon
<WS Waiting for socket
<WS Waiting for socket
<WS Waiting for socket
<WS Waiting for socket
<WS Waiting for socket
The text was updated successfully, but these errors were encountered:
Regarding the WS Waiting for socket - it is expected, but maybe a little noisy. This message indicates that the Asterisk ARI client is waiting for the Asterisk server to start. That is, dongleman_daemon is already running, but asterisk (the last line of run.sh) didn't open it's ARI port. Likely it is because it had no chance to start at all.
I am see I am almost there...
When I execute ./run.sh I get an error: "TDLib api settings must be set!"
But I have no idea where what should be. Also "<WS Waiting for socket" repeats, I dont know what the next steps should be
The text was updated successfully, but these errors were encountered: