by Weiyun » Wed Apr 03, 2013 8:57 am
Hi,
I assume you installed an Asterisk box and a Swift voice, but you don't know how to set it up.
If you've never worked with Asterisk PBX before, I suggest a book to you, "Asterisk The Definitive Guide".
Google it, and you can find the pdf to download. This book would be very helpful to you to set up the Asterisk box.
In default, you can find "sip.conf" and "extensions.conf" in the folder /etc/asterisk
In "sip.conf" is where you define users, and in "extersions.conf" is where you set up the dialplan.
So, when a user calls in, the call would be processed according to the dialplan.
For example,
In an office, there are two users, one's extension number is 1000, and the other is 2000.
Above all, you need to setup the two users on two SIP phones or two softphones (a computer program).
Then, you need to configure the network, firewall, etc.
Now, you can define these two users and their extension numbers in the "sip.conf",
and you assign each user the context "in_office".
[1000]
type=friend
host=dynamic
secret=1234
context=in_office
[2000]
type=friend
host=dynamic
secret=1234
context=in_office
Meanwhile, in the dialplan "extensions.conf", you need to have
[in_office]
exten =>2000,1,NoOp()
same =>n, Swift(This is a test of Cepstral's TTS in Asterisk)
same =>n, Dial(2000)
same =>n, Hangup()
So, when user 1000 calls number 2000, the Asterisk box would pickup the call, and first return the Swift voice, and then forward the call to user 2000's phone. If user 2000 picks up, they can talk; if not, after a while, the Asterisk box would hangup the call.
This is the simplist example. The Asterisk PBX can do much more than that. But it's beyond our scope to assist you.
However, you can always refer to that book I recommand.
Last but not the least, you should be clear what you want to achieve using the Asterisk box and Swift voice, and start from there.
--Cepstral Support