Add info regarding Google TTS

This commit is contained in:
Doug Masiero 2024-11-06 18:17:46 -05:00
parent 1e93357033
commit 3ef9ab49df

View File

@ -39,7 +39,7 @@ With Asterisk installed, you can now set up its user and group permissions:
## Configuring Asterisk ## Configuring Asterisk
Editing the main configuration file is the next step. Open it using your favorite text editor: Editing the main configuration file is the next step. Open it using your favorite text editor:
`sudo nano /etc/asterisk/asterisk.conf` `sudo vim /etc/asterisk/asterisk.conf`
Make the necessary changes according to your setup, then start and enable Asterisk at boot: Make the necessary changes according to your setup, then start and enable Asterisk at boot:
@ -50,10 +50,20 @@ Ensure that Asterisk is running without issues:
`sudo asterisk -vvvr` `sudo asterisk -vvvr`
## Setting Up SIP Accounts ## Setting Up PJSIP Accounts
To handle VoIP calls, you need to set up SIP accounts. Edit the sip.conf and extensions.conf files: To handle VoIP calls, you need to set up PJSIP accounts. Edit the pjsip.conf and extensions.conf files:
`sudo nano /etc/asterisk/sip.conf` `sudo vim /etc/asterisk/pjsip.conf`
`sudo nano /etc/asterisk/extensions.conf` `sudo vim /etc/asterisk/extensions.conf`
Add your SIP users in sip.conf and dial plan in extensions.conf. Add your SIP users in pjsip.conf and dial plan in extensions.conf.
## Google TTS script for Asterisk
You'll need to install the following dependencies:
`sudo apt install perl libwww-perl liblwp-protocol-https-perl sox mpg123`
Then download the script from the Google TTS repository and place it in the appropriate directory:
https://github.com/zaf/asterisk-googletts