Calling to listening voicemail

Inbound number with voicemail: 390872xxxxxx

I can correctly call this number and after 20 second register my message.

Is it possible configure to call this number and digit something to listen the recorded messages ?

Thanks
Valerio

You can do what I do. I have my number that I call in on, if no one answers the call, voicemail plays. Then I can either leave a message or I can press * and actually check my messages.

exten => s,1,Dial(${INCOMING},20,i)
exten => s,2,Voicemail(522,u)
exten => a,1,VoicemailMain()
exten => a,2,Hangup()

[quote=“riddlebox”]You can do what I do. I have my number that I call in on, if no one answers the call, voicemail plays. Then I can either leave a message or I can press * and actually check my messages.

exten => s,1,Dial(${INCOMING},20,i)
exten => s,2,Voicemail(522,u)
exten => a,1,VoicemailMain()
exten => a,2,Hangup()[/quote]

Hi, thank you.

I adapt your suggestion in

exten =>100,1,Dial(sip/100,23,i)
exten => 100,2,Voicemail(100,u)
exten => 100,102,Voicemail(100,b)
exten => a,1,VoicemailMain(100)
exten => a,2,Hangup()

Ii seems all goes: what do you think ?
I don’t know what “exten => a” does it mean: can you explain ?
Thanks

‘a’ is just theidentifier for what star will do during the playing of voicemail message greeting. Like here we say if someone presses * go to voicemail main. You can set it to do whatever you want.

Thanks a lot,

I wold like to permit this feature in a generic context, like

exten =>_X.,1,Dial(sip/${EXTEN},23,i)
exten => _X.,2,Voicemail(${EXTEN},23,i,u)
exten => _X.,102,Voicemail(${EXTEN},23,i,b)
exten => a,1,VoicemailMain(${EXTEN})
exten => a,2,Hangup()

Like above, it doesn’t work (I understood because in 4th line ${EXTEN} = a).
Can you suggest me how configure to permit in this kind of context to press * managing the voicebox without entering the number of voicebox ?

Thanks

[quote=“valeriodimarino”]
I wold like to permit this feature in a generic context, like…
Thanks[/quote]

using
exten =>_X.,1,Dial(sip/${EXTEN},23,i)
exten => _X.,2,Voicemail(${EXTEN},23,i,u)
exten => _X.,102,Voicemail(${EXTEN},23,i,b)
exten => a,1,VoicemailMain(${CALLERID(dnid)})
exten => a,2,Hangup()

seems to work correctly.

in CALLERID() documentation:
dnid: dialed number (digits only in the POTS/ISDN world), don’t confuse with DNIS

then I think it will not work colling from a sip phone…

If you have suggestions…
Thanks once again.

[quote=“valeriodimarino”]
… in CALLERID() documentation:
dnid: dialed number (digits only in the POTS/ISDN world)
then I think it will not work calling from a sip phone…
Thanks once again.[/quote]
Sorry for autoquoting…

It works from sip phones too.
Do you know if in this configuration should be possible to enable/disable voicemail service ?

Thanks