I have a external SIP account with a number assigned to it. I am trying to make is so that when someone calls in they are prompted for the extension and when they enter it, it calls the internal line. It currently asks me for the extension but no matter what I enter on my phone it does not go through. My extensions.conf is shown below. Can anyone help?
[inbound]
include => internal
;free speech
exten => 076XXXXXX,1,Answer
exten => 076XXXXXX,n,Background(vm-enter-num-to-call)
exten => 076XXXXXX,n,WaitExten
[internal]
exten => 7000,1,Macro(voicemail,SIP/bryan)
exten => 7001,1,Macro(voicemail,SIP/mary)
exten => 7002,1,Macro(voicemail,SIP/robert)
exten => 7003,1,Macro(voicemail,IAX2/denis)