Securing Asterisk – Part 1
Being woken up several times throughout the night from anonymous calls is not fun. Here is a screencast (shot with my shiny new MacBook) that explains how to delimit these annoying calls while still being able to route incoming SIP calls from Gizmo and IPKall to their appropriate destinations.
Here is the code I used to allow IPKall incoming SIP connections :
[ipkall]
disallow=all
host=66.54.140.46
context=from-trunk
insecure=port,invite
qualify=yes
type=peer
dtmfmode=rfc2833
allow=ulaw
nat=no
[ipkall2]
disallow=all
host=66.54.140.47
context=from-trunk
insecure=port,invite
qualify=yes
type=peer
dtmfmode=rfc2833
allow=ulaw
nat=no




Thanks for the great tip! Wasn’t sure how to stop those annoying calls without blocking everything else out.