Howdy All I’m teaching my self about asterisk and I’m stuck AND confused!
I’ve added extension 7010 in extensions.conf under our main context of users;
[users]
exten => 7010,1,Answer()
same => n,AGI(myscript.sh)
same => n,Hangup()
So my extension runs an AGI script. How can I use a .call file to ring that extension and perform the actions (at the minute, call an AGI script)? Any .call file I write fails, and I’ve written a few. I’m get loads of different errors so I obviously don’t know how to write a .call file for this.
Can anyone give me some guidance?