Thanks for replying!
I changed the extension 9999 in extensions.conf to exten => 9999,1,VoicemailMain() and refreshed/restarted but I am still getting the same thing in the cli:
== Using SIP RTP CoS mark 5
== Spawn extension (devices, 9999, 1) exited non-zero on 'SIP/200-00000000'
I don't understand what you mean by mapping the Voicemailmain context in sip.conf?
For the 200 user I have the following in sip.conf:
I don't know if this is possible but the only thing I can think of that could be causing this is that in the artice I followed to install asterisk said that we would be using our providers voicemail. I also was told to paste the following into modules.conf so maybe there is a voicemail module that is not being loaded??
autoload=no ; Only load explicitely declared modules
load => format_pcm.so ; Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.711
load => codec_ulaw.so ; mu-Law Coder/Decoder
load => app_dial.so ; Dialing Application
load => app_macro.so ; Extension Macros
load => app_playback.so ; Sound File Playback Application
load => app_mixmonitor.so ; Record calls
load => app_setcallerid.so ; Set CallerID Presentation Application
load => app_disa.so ; DISA - used for calling card-type projects
load => app_transfer.so ; Transfer calls - good for use with DISA so that you don't proxy audio
load => func_timeout.so ; Adjust timeout; handy for use with DISA. But not essential if you can dial quickly.
load => func_callerid.so ; Caller ID related dialplan functions
load => func_logic.so ; GotoIf() and friends
load => func_strings.so ; String handling functions
load => pbx_config.so ; This loads your dialplan
load => pbx_spool.so ; This is needed to make call files work
load => chan_sip.so ; SIP
load => res_musiconhold.so ; Music-on-Hold
load => func_shell.so ; Execute shell commands and use the output in the dialplan. (Useful for formatting things with gnu-sed.)
load => func_channel.so ; Find information about the channel. (Used with our implementation of DISA.)
; We do not use the following modules but mention them because they are common.
;load => format_wav.so ; Microsoft WAV format
;load => app_echo.so ; Simple Echo Application
;load => res_features.so ; Call parking
Thanks for your time, Vinod :)