Infactum / tg2sip

Telegram <-> SIP voice gateway
GNU General Public License v2.0
273 stars 104 forks source link

[Question] White list for incoming Telegram calls? #62

Open sergei-mironov opened 2 years ago

sergei-mironov commented 2 years ago

I use tg2sip with Asterisk to forward mobile calls. The Telegram account which I set for tg2sip is also operated by a common Android Telegram client. I want to introduce a white list of peer telegram accounts and make Asterisk handle only calls coming from the listed accounts, but ignore calls from other accounts to let me answer from Android. Is it possible? How would you approach this task?

sergei-mironov commented 2 years ago

Asterisk handle only calls coming from the listed accounts

what does tg2sip have to do with it? the latest versions of telegram apk from > 8.6.0 do not work with libtgvoip and therefore with tg2sip better let's rewrite tg2sip to tgcalls

This problem is not related to apk versions. In my setuptg2sip is not connected with anything besides Asterisk.