hello:
many users are very interested with the feature(Save SMS with G400P), I plan to patch bristuff-.0.3.XX in few days. Incoming SMS will be saved into asterisk log file, users will be able to use script to get the results(PDU, date, sender ID and text). after testing, I will port here.
regards!
James.zhu
Now the patch for saving SMS with G400P have done, please download it and patch the chan_zap.c, follow these steps:
1. download chan_zap.patch
2. run command in asterisk source directory " patch channels/chan_zap.c chan_zap.patch "
3. recompile the asterisk again
The SMS will save in " /var/log/asterisk/receive_sms "
May I know what version of asterisk you are using?
i using opvx-bristuff-0.4.0-RC3h.tar.gz and install Asterisk 1.4.26.2. This asterisk verion haven't chan_zap.c.
How to receive sms opvx-bristuff-0.4.0?
We followed your post installing bristuff on ubuntu 8.04.
Now we are trying to send and receive sms but we could not send or receive sms. We followed your post “how to save SMS with brisutff”. We edited chan_dahdi.c then we compiled asterisk, and we run asterisk, asterisk can not load chan_dahdi.so and also we manually loaded chan_dahdi.so got some error:
*CLI> module load chan_dahdi.so
[Apr 18 21:05:40] WARNING[3104]: loader.c:409 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/lib/asterisk/modules/chan_dahdi.so: undefined symbol: gsm_restart
[Apr 18 21:05:40] WARNING[3104]: loader.c:721 load_resource: Module 'chan_dahdi.so' could not be loaded.
*CLI>
Even we just added new line (just pushing enter button) in chan_dahdi.c and saved it, and compiled, got same error above.