Hi all,
I am trying to use * feature where a caller calls my asterisk server via x100p-PSTN line and inputs a particular extensions for the person he/she is trying to reach. I am not getting this feature to work right in the manner I would like. For instance, because i have it connected with openser/asterisk or because I only have one X100P, when the caller calls and enters the extension of the party he/she is trying to reach, (i.e. 31005) they are then transferred to voicemail. All of the extensions that i use have openser as front-end and asterisk as backend. Below is a snippet of my extensions.conf file and my zapata.conf file has a context=default.
extensions.conf file
[incoming]
exten => s,1,Answer()
exten => s,2,Background(enter-ext-of-person)
exten => s,3,WaitExten(10)
exten => 31005,1,Dial(Zap/1,10)
exten => 31005,2,Playback(vm-nobodyavail)
exten => 31005,3,Hangup
exten => 1,1,Playback(digits/1)
exten => 1,2,Goto(incoming,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,Goto(incoming,s,2)
exten => i,1,Playback(pbx-invalid)
exten => i,2,Goto(default,s,1)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup()
[default]
exten => 31005,1,Dial(SIP/31005@${OPENSERADDRESS},10,r)
exten => 31005,2,Voicemail(31005@default)
exten => 31005,3,Hangup
How can I accomplish callers calling into the x100p phone line getting transferred to their extensions after entering the desired extension without destroying the current plan of openser’s callers leaving voicemails when users are unavailable/busy. I notice that the call can be transfer to voicemail, so in essence could not it also somehow be transferred to their extensions even with one x100p?
if so, please advise me on how to do so.
TIA