Switchvox - How do you modify the dial plan to perform actions on unauthenticated calls?
Here's an example of a dialplan that will wait 5 seconds before hanging up on unauthenticated:
[public]
;authenticated dialplan goes here
exten => _[A-Za-z].,1,Goto(xWait,1)
exten => _X.,1,Goto(xWait,1)
exten => s,1,Goto(xWait,1)
exten => xWait, 1, Wait(5)
exten => xWait, 2, HangUp()
Also in sip.conf you need to add the following configuration in the [general] settings
allowguest=yes
context=public
Please note: We don't recommend doing this for live production systems, but rather this is just an example of an action performed on an unauthenticated call.
, multiple selections available,