First do this:
cd /var/lib/asterisk/keys
wget
http://connect.voicepulse.com/keys/voicepulse01.pub
Then setup the following files as such:
iax.conf
register => USERNAME:PASSWORD@gwiax-in-01.voicepulse.com
; This is the VoicePulse user for incoming calls to your
; Asterisk server:
;
[voicepulse-in-01] ; <-- Name must be [voicepulse-in-01]
type=user
context=voicepulse-incoming
auth=rsa
inkeys=voicepulse01
extensions.conf
[voicepulse-incoming] ; change 239 to your VP area code
exten => _239NXXXXXX,1,DigitTimeout(5)
exten => _239NXXXXXX,2,ResponseTimeout(10)
exten => _239NXXXXXX,3,Wait(1)
exten => _239NXXXXXX,4,Background(custom/ivr-greeting)
then connect to asterisk by typing the following from the /usr/src/asterisk directory ./asterisk -vvvvvvvgrc
That will give you access to the CLI for debugging what happens when you call your DID