Меня Россия интересует больше. :)
Printable View
Меня Россия интересует больше. :)
По России, включая мобильные, вроде, неплохой провайдер pctel.ru . Правда тарификация поминутная.
Да, рупь всего. А абонентская плата есть там?
на всякий случай проверил ( цитирую http://pctel.ru/ru/faq ):
причем, налицо даже сдвиг в лучшую сторону:Quote:
В PCTEL отсутствует абонентская плата и срок действия платежа не ограничен.
Quote:
При всех исходящих звонках тарификация посекундная со второй минуты, первые 3 секунды бесплатно.
Почемуто у меня Asterisk "eats" swap memory после 24 часов работы:
а это после rebootCode:
$ free
total used free shared buffers
Mem: 30196 29436 760 0 1964
Swap: 130748 11912 118836
Total: 160944 41348 119596
Кто-то знает почему?Code:
$ free
total used free shared buffers
Mem: 30196 25416 4780 0 2176
Swap: 130748 2920 127828
Total: 160944 28336 132608
а можно ли refresh (почистить) swap?
Спасибо.
Спасибо djet а какие лишние?
Code:show modules like format
Module Description Use Count
format_ilbc.so Raw iLBC data 0
format_sln.so Raw Signed Linear Audio support (SLN) 0
format_pcm.so Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G. 0
format_g723.so G.723.1 Simple Timestamp File Format 0
format_g726.so Raw G.726 (16/24/32/40kbps) data 0
format_gsm.so Raw GSM data 0
format_h264.so Raw H.264 data 0
format_jpeg.so JPEG (Joint Picture Experts Group) Image 0
format_g729.so Raw G729 data 0
format_wav.so Microsoft WAV format (8000Hz Signed Line 0
format_wav_gsm.so Microsoft WAV format (Proprietary GSM) 0
format_h263.so Raw H.263 data 0
format_vox.so Dialogic VOX (ADPCM) File Format 0
13 modules loaded
The 'show modules like' command is deprecated and will be removed in a future release. Please use 'module show like' instead.
Code:show modules like codec
Module Description Use Count
codec_alaw.so A-law Coder/Decoder 0
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0
codec_gsm.so GSM Coder/Decoder 0
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0
codec_ulaw.so mu-Law Coder/Decoder 0
codec_g726.so ITU G.726-32kbps G726 Transcoder 0
6 modules loaded
У меня не работает musiconhold- причина не стоит mpg123!
http://www.faktortel.com.au/support-...iconhold.shtml
пытаюсь ставить-Code:(1) Read the README file.
(also read the JUKEBOX file if you wanna compile a player
for the sajber jukebox)
(2) Type "make" to see a list of supported hardware platforms
and operating systems, then type the make command that
best fits your system.
(3) If compilation was successful, type "make install" to
install the binary and the manual page in /usr/local.
Как установить?Code:make
make: *** No targets specified and no makefile found. Stop.
make install
make: *** No rule to make target `install'. Stop.
Quote:
Installing mpg123
You must first compile and install mpg123. Make sure that you don't previously have mpg321 installed. You can do a "whereis mpg321" and an "rpm -q mpg321" if you are using RedHat.
по поводу решения для нескольких операторов
вот оно HP iPAQ 514 ставим сип софтину, включаем вайфай и радуемся жизни. С сипнет работает и очень кучеряво.
насчет нескольких операторов --- тот же spa3102 поддерживает исходящие звонки через 5 операторов (правда для входящих --- только одна регистрация).
Снова по поводу musicon hold.
Я вот тут прочитал - http://www.orderlyq.com/asteriskqueues.html
Что версии после Asterisk 1.2.0 (у меня 1.4.17) не использует уже MP3 player а имеет свой движок...
Далее, похоже это rawplayer.Code:Note: As of Asterisk 1.2.0, Mpg123 is no longer used by Asterisk, which has its own MP3 player. However, it's still a good idea to play raw files for performance reasons, and so Asterisk 1.2.x and 1.4.x support a new files mode for playing raw files.
У Олега я rawplayer не нашел...Code:Note: If you're using Asterisk 1.2.x or 1.4.x with mode=files, each new caller will hear your on-hold music from the start (rather than where it left off from the previous call as with Asterisk 1.0.x). If this behaviour is not desired, you can use the rawplayer as described above, or compile a rawplayer from the source in /usr/src/asterisk-1.2.x/contrib/utils - see the README in that directory for more information.
тут нашел http://5sn.net/asterisk/rawplayer/ загрузил rawplayer (chmod 777) и сконфигурировал /etc/asterisk/musiconhold.conf
Загрузил fpm-calm-river.gsm, fpm-calm-river.raw и fpm-calm-river.sln в /opt/var/lib/asterisk/mohmp3/default/rawCode:[classes]
default => custom:/opt/var/lib/asterisk/mohmp3/default/raw,/opt/etc/asterisk/rawplayer
Не работает музыка выдает-
[Feb 24 06:11:33]Code:[Feb 24 06:11:33] WARNING[6678]: file.c:568 ast_openstream_full: File fpm-calm-river does not exist in any format
[Feb 24 06:11:33] WARNING[6678]: file.c:871 ast_streamfile: Unable to open fpm-calm-river (format 0x2 (gsm)): No such file or directory
[Feb 24 06:11:33] WARNING[6678]: pbx.c:5706 pbx_builtin_background: ast_streamfile failed on SIP/2000-005e8f90 for fpm-calm-river
Может кто подскажет?
Звук в формате .gsm точно работает У меня звуковые файлы лежат в
/opt/var/lib/asterisk/sounds C gsm проблем никаких, а вот mp3 действительно не идет