diff --git a/roles/asterisk/templates/extensions.conf.j2 b/roles/asterisk/templates/extensions.conf.j2 index d015536..b6c3f34 100644 --- a/roles/asterisk/templates/extensions.conf.j2 +++ b/roles/asterisk/templates/extensions.conf.j2 @@ -13,7 +13,9 @@ exten => _XXX,1,Dial(PJSIP/${EXTEN}, 15) same = n,Hangup() ; Star plus 3-digit extensions dial their associated mailboxes -exten => _*XXX,1,VoiceMailMain(${EXTEN:1}@sailmaker) +exten => _*XXX,1,Answer() + same = n,Wait(1) + same = n,VoiceMailMain(${EXTEN:1}@sailmaker) same = n,Hangup() ; 7+ digit calls are routed outside via the PSTN