Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waj/mod_gsmopen
https://github.com/waj/mod_gsmopen
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/waj/mod_gsmopen
- Owner: waj
- Created: 2012-07-10T13:16:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-10T13:29:23.000Z (over 12 years ago)
- Last Synced: 2023-03-22T11:54:57.696Z (over 1 year ago)
- Language: C
- Size: 207 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
**************************************************************
* CHAN_CELLIAX DRIVER FOR AN EXISTING ASTERISK INSTALLATION
* (works for Asterisk 1.2.xx 1.4.xx 1.6.0.xx series)
* (do NOT works for Asterisk 1.6.1.xx series)
**************************************************************
==============================================================
1) To build celliax you need the ALSA development libraries
==============================================================To build celliax on Linux you need to install ALSA-dev libs
You can do it on Debian/Ubuntu with:
# apt-get install libasound2-devYou can do it on Fedora/CentOS with:
# yum --nogpgcheck -y install alsa-lib-devel===============================================================
2) build chan_celliax
===============================================================go into the celliax source directory, edit the Makefile,
insert the asterisk version (1.2.x or 1.4.x or 1.6.0.x,
NOT 1.6.1.x), the location of your asterisk sources, then# make clean
# makecopy chan_celliax.so in the asterisk modules directory
===============================================================
2) configure chan_celliax and asterisk
===============================================================edit and copy celliax.conf in the asterisk configuration
directorycopy ciapalo (or your program that accepts text in stdini) in
the location defined in celliax.conf (sms_receiving_program)edit modules.conf and put noload in front of *BOTH* chan_oss.so
AND chan_alsa.so AND chan_console.socopy asound.conf in /etc/asound.conf
if you enable debug in logger.conf and "set debug 100" on
Asterisk, you'll get *a lot* of info on celliax inner workings===============================================================
3) Troubleshooting
===============================================================
Check that you set the correct serial device in celliax.conf
You can check how the device is called on your platform with:
dmesg | grep ttyU
dmesg | grep ttyACheck that you set the correct audio device in celliax.conf
You can check how the device is called on your platform with:
aplay -l
it will give you the number to put on "plughw:N" in celliax.confCheck the volume for both play and capture, and that capture
is activated (press spacebar when alsamixer in capture mode)
alsamixer -c[soundcard_number] -Vplay
alsamixer -c[soundcard_number] -Vcapture
we found good results with capt(31) autogain(on) speaker(75)If you get double digits (bounces) on DTMFs, check if the capture
volume is too highThe SMSs are managed in Unicode (UTF8) for international characters
compatibility. Check that your console and/or text editor displays
UTF8 charactersIf you have bad sound, it's a timing problem. Use a 1000HZ kernel,
or add a timing device (ztdummy or zaptel interfaces)
***************************************************************
* END CHAN_CELLIAX DRIVER FOR AN EXISTING ASTERISK INSTALLATION
***************************************************************chan_celliax adds to Asterisk the DIALPLAN application:
CelliaxSendsms
You can type at the Asterisk CLI 'show application [application]'
to obtain more specific info on usage.Enjoy!
-giovanni
< gmaruzz at gmail dot com >