Closed Infactum closed 2 years ago
@Infactum у вас будет возможность сделать апдейт если tdlib обновят до Нового Года до версии 1.8.0 в которой должны внести все необходимые изменения? Сейчас на данный момент версия 1.7.9 собирается с ошибками только в модуле gateway.cpp из за некоторых разбежностей в классах, все остальное компилируется нормально.
для тех кто использует библиотеки уже проблемы,
Need new version of tg2sip !!!
./gen_db Enter phone number: +7….. Error: error { code = 406 message = «UPDATE_APP_TO_LOGIN» }
Who is able to update tg2sip to lates tdlib 1.7.9 please PM me I will pay for this. 99% of code is compiling without an issue except the gateway.cpp, there is few changes that have to be aligned with a new tdlib
@ionwerz
the best we can do - is send a donation at the bottom of the page https://github.com/Infactum/tg2sip to @Infactum to support the development of the project
+
Show me what changes have been made to gateway.cpp? Can you fork with the changes?
hi all compiled tg2sip with tdlib 1.7.9, I will try to build it under 1.7.10
calls work I wonder if it will work after 01/01/2022
Pls share your fork.
Waiting for a feedback on PR. ~It does compile but I don't even tried to run it.~ Seems to work fine.
./gen_db Authorization OK
server(centos7): ./tg2sip OK
client (phone): OK
THANKS !!!!
Outgoing calls (tg2sip -> telegram) do not work if we call by ID to the new type of ID which is staring from "5" for example "5028156719" this is my telegram ID which I use in official Telegram app, if I place the call by ID I get next warning [core][warning] [6486-1] called invalid extension 5028156719
in gateway.cpp replace: ctx.user_id = std::stoi(ext); by: ctx.user_id = std::stol(ext);
If I send DTMF using the chat (Telegram->SIP), it shows in the log as received, but the DTMF digits are not transmitted. With the old version DTMF works fine.