Ok here is my issue. I have a dialplan setup that is working very well except that it is not sending callers from my PSTN line to voicemail. After the 20 sec of ringing the customer is then disconnected without voicemail ever picking up, below is a copy of my extensions.conf:
[code][default]
exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@OOMA,20)
exten => _XXX.,1,Dial(SIP/${EXTEN}@OOMA,20)
exten => _XXX.,2,Hangup
exten => _XXX.,3,Congestion
[macro-phone] ;Macro for all phones on network
exten => s,1,Dial(SIP/${MACRO_EXTEN},20)
exten => s,n,Goto(${DIALSTATUS},1)
exten => ANSWER,1,Hangup
exten => CANCEL,1,Hangup
exten => NOANSWER,1,Voicemail(${MACRO_EXTEN}@default,u)
exten => BUSY,1,Voicemail(${MACRO_EXTEN}@default,b)
exten => CONGESTION,1,Voicemail(${MACRO_EXTEN}@default,b)
exten => CHANUNAVAIL,1,Voicemail(${MACRO_EXTEN}@default,u)
exten => a,1,VoicemailMain(${MACRO_EXTEN}@default)
[stations]
exten => 105,1,Macro(phone)
exten => 110,1,Macro(phone)
exten => 444,1,VoicemailMain(default) ;setup voicemail box
[users]
include => default
include => stations
include => ooma-in
[ooma-in] ;Incoming call context for OOMA
exten = s,1,Answer
exten = s,n,Wait(1)
exten = s,n,Dial(SIP/105,&SIP/110,20) ;Call from OOMA ring these phones
exten = s,n,Hangup[/code]
Now I know that I need to make the changes to the ooma-in context in this file, however I don’t know exactly how to do it as all the changes I have made so far result in OOMA not being passed to *. Voicemail is working perfectly for calls that are initiated on * (ext 105 and 110) however it does not working for incoming calls from OOMA. So here is what I would like to do if anyone can help me.
I would like calls to come in on my OOMA, if the call is a specific number I would like it to ring for the allotted time (20 seconds in this case) and then hang up. If it is from any other number I would like it to ring for the allotted time and then send the user to the voicemail box for my ext 105, even though it will ring all of my phones on every call. Does this make sense? Is this possible? If so can someone please point me in the right direction, please and thank you in advance.