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 voip.ms 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 voip.ms account. I would like to have it also configured so it uses the voip.ms voicemail.

The default config is something like, what would be the voip.ms 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 voip.ms. 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.

sip.conf

[quote][voipms]

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

[101]

context = outbound
secret = password[/quote]

extensions.conf

[quote][inbound]
exten => 5143605555,1,Dial(SIP/101,60)

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