Josh Anders
#VoIP architect specializing in #Asterisk #PBX, EAGI scripting, AI-integrated telephony. #LAMP stack, #Debian, polyglot coder (#PHP, #C, #Python). Active on #Upwork for VoIP projects, #database optimization, #email deliverability. If it involves telecommunications infrastructure, I've probably built it! #TechConsulting #Telephony
I was today years old when I learned about #Asterisk's TALK_DETECT() function.
Enable it in your dialplan (with `Set(TALK_DETECT(set)=)`, and you'll get AMI/ARI events whenever Asterisk detects a transition between silence and talking (or vice versa) on a channel.
More info here: https://docs.asterisk.org/Asterisk_23_Documentation/API_Documentation/Dialplan_Functions/TALK_DETECT/
Finally got around to upgrading my company's #Asterisk box to #PJSIP last night! So glad I did.
We now have proper SNI support, better NAT traversal, better header management, #IPv6 support in progress, and perhaps most importantly, are now using something under active development, so security issues will be fixed sooner.
Please move away from chan_sip. It's been deprecated since 2019, and completely removed from Asterisk as of 2023.
@dw0rsec@infosec.exchange There is a package for Debian 12 (Bookworm) that might work: https://download.virtualbox.org/virtualbox/7.2.0/virtualbox-7.2_7.2.0-170228~Debian~bookworm_amd64.deb
Asterisk's MASTER_CHANNEL() dialplan function is slept on. Lets a channel read variables from its master channel - super useful when you're in a local channel or an AGI subprocess and need context from the call that spawned you, without any hacky variable passing.