Help with a basic dial plan

Hi everyone,

I spent some time on the Asterisk documentation and I got a grasp of the basic configurations.
Yet, I’m failing to understand how my setup should work. My goal is to have a device used in conjunction with as VOIP provider. So far, I got working partially the inbound/outbound calls.

Outbound calls work properly. However, when I call my device from a landline, it rings once and the device answers right away. I don’t understand why it does not rings 5 times as is set into account. I would like to have it also configured so it uses the voicemail.

The default config is something like, what would be the variant?

exten => 5143605555,1,Dial(SIP/101,60) ; same => n,Voicemail(101@default,${IF($["${DIALSTATUS}" = "BUSY"]?b:u)})

In fact, I need your advice if I should use the internal Asterisk voicemail instead of one provided by They are basically identical (Comedian). What makes me hesitate using the internal voicemail is the fact that my Internet provider blocks port 25 so I cannot send email notifications.



context = inbound
defaultuser = 123456
fromuser = 123456
remotesecret = voipmspassword


context = outbound
secret = password[/quote]


exten => 5143605555,1,Dial(SIP/101,60)

exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@voipms,60)
exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@voipms,60)[/quote]