; Asterisk config files ; 2021/07/26 12:51am EDT ; v1 web ; 4 config files changed ; 1 of 4 ; /etc/asterisk/logger.conf ; begin file itself [general] [logfiles] ; might as well add debug, too console = verbose,notice,warning,error ;messages = notice,warning,error full = verbose,notice,warning,error,debug ;security = security ; 2 of 4 ; sip.conf [general] context=default ; transport=udp tcpenable=yes tcpbindaddr=0.0.0.0:5060 bindport=5060 ; 3 of 4 ; extensions.conf ; I did this a bunch of times because in one instance I was getting some garble ; One big track is use the phone number itself as the extension ; [from-internal] [from-external] exten = +14045551234,1,Answer() same = n,Wait(1) same = n,Playback(hello-world) same = n,Playback(hello-world) same = n,Playback(hello-world) same = n,Playback(hello-world) same = n,Playback(hello-world) same = n,Hangup() ; 4 of 4 ; pjsip.conf ; anonymous is not secure but it accomplishes hello world ; SipVicious was attacking me IMMEDIATELY, so, again, not for the long term [transport-udp] type=transport protocol=udp bind=0.0.0.0 [system-tcp] type=transport protocol=tcp bind=0.0.0.0 [anonymous] type=identify endpoint=anonymous match=0.0.0.0/0 [anonymous] type=endpoint context=from-external transport=system-tcp disallow=all allow=ulaw aors=anonymous