My goal is dialing an external number via a .call file to play a recording, and I am getting the message
pbx_spool.c463 attempt_thread: Call completed to SIPfirstname.lastname@example.org
voip.ms being my SIP trunking provider, however my phone never rings.
This is the callfile I am using:
Channel: SIPemail@example.com MaxRetries: 1 Context: voicebroadcast Extension: 777
added this into extensions.conf
[voicebroadcast] exten => 777,1,Answer() exten => 777,n,Wait(1) exten => 777,n,Playback(hello-world) exten => 777,n,Wait(1) exten => 777,n,Hangup()
I am a bit confused on the Channel variable within callfiles so I am not sure if the error is relating to that or something else. I did register my Asterisk server using the login provided by my SIP trunking provider and when I do “sip show registry” It is showing there as well.
I am still fairly new to Asterisk so bare with me if this question is a bit redundant.
Any information will help! Thank you.