Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Создание конференции на meetme

Создание конференции на meetme

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

неа, не помогает.
после появления ошибки перестало работать.

работает только после amportal restart.
при контексте default я получаю в ответ goodbye, а при from-internal - подключаюсь к конференции.
2009-10-05 10:29

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: Создание конференции на meetme

что и требовалось?
или вы не знаете что вам надо?
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2009-10-05 11:31

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

хочу от астериска получить только сервис автоматической конференц-связи, то есть
путем call-файлов осуществляются вызовы на номера будущих участников и после ответа они подключаются в созданную конференцию.

сейчас после перемещения call-файлов требуется дополнительная перезагрузка - amportal restart, которая раньше не требовалась.
возникло это после появления ошибки, исправить которую я не знаю как.
поэтому прошу помощи у более опытных.
2009-10-05 11:48

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: Создание конференции на meetme

вероятно у вас валится астер и freepbx не может к нему присоединиться
проверьте работу астера после появления ошибки
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2009-10-05 11:58

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

nsksrvasterisk*CLI> show version
Asterisk 1.4.24 built by root @ localhost.localdomain on a x86_64 running Linux on 2009-03-20 22:08:43 UTC

nsksrvasterisk*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
ccm 10.40.4.2 N 5060 OK (1 ms)
3001 (Unspecified) D N 0 UNKNOWN
3000/3000 10.40.6.25 D N 5060 OK (1 ms)

на команды откликается, телефона, зарегенные на нем, звонят нормально.
конференция meetme 3002 работает.

в консоли астериска постоянно сыпется -
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
== Manager 'admin' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
2009-10-05 12:10

Сообщений: 1573

Re: Создание конференции на meetme

Да уж ....

Покажите вывод CLI при вызове с телефона в конференцию
2009-10-05 13:10

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

погуглил, нашел, что такую ошибку фиксят с помощью -
#!/bin/bash
echo ""
echo "Fixing your trixbox appliance..."
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root, please login as root and retry."
exit 1
fi
/bin/chmod -R 1777 /tmp # fix permissions issue
echo "Done."
echo ""

запустил его, ошибки ушли.

но call-файлы выполняются только после amportal restart, а не после их перемещения в папку outgoing.
2009-10-05 13:41

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

лог после рестарта

[Oct 5 16:46:21] VERBOSE[2873] logger.c: == Manager registered action UserEvent
[Oct 5 16:46:21] VERBOSE[2873] logger.c: == Manager registered action WaitEvent
[Oct 5 16:46:21] VERBOSE[2873] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:21] VERBOSE[2873] logger.c: Found
[Oct 5 16:46:21] VERBOSE[2873] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:21] VERBOSE[2873]
logger.c: Found
[Oct 5 16:46:21] VERBOSE[2873] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:21] VERBOSE[2873] logger.c:
Found
[Oct 5 16:46:21] VERBOSE[2873] logger.c: Asterisk Management interface listening
on port 5038
[Oct 5 16:46:21] VERBOSE[2873] logger.c: Asterisk Ready.
[Oct 5 16:46:21] NOTICE[2882] chan_sip.c: Peer 'ccm' is now Reachable. (1ms /
2000ms)
[Oct 5 16:46:21] NOTICE[2882] chan_sip.c: Peer '3000' is now Reachable. (1ms /
2000ms)
[Oct 5 16:46:22] VERBOSE[2900] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:22] VERBOSE[2900] logger.c: Found
[Oct 5 16:46:22] VERBOSE[2900] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:22] VERBOSE[2900]
logger.c: Found
[Oct 5 16:46:22] VERBOSE[2900] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:22] VERBOSE[2900] logger.c:
Found
[Oct 5 16:46:22] VERBOSE[2900] logger.c: == Manager 'admin' logged on from
127.0.0.1
[Oct 5 16:46:23] VERBOSE[2900] logger.c: == Manager 'admin' logged off from
127.0.0.1
[Oct 5 16:46:23] VERBOSE[2908] logger.c: -- Attempting call on SIP/3000 for
3002@from-internal:1 (Retry 1)
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:1]
Macro("SIP/3000-067c79d0", "user-callerid|") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:1]
Set("SIP/3000-067c79d0", "AMPUSER=3002") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: Set
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:2]
GotoIf("SIP/3000-067c79d0", "0?report") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:3]
ExecIf("SIP/3000-067c79d0", "1|Set|REALCALLERIDNUM=3002") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: ExecIf
[Oct 5 16:46:25] DEBUG[2908] func_db.c: DB: DEVICE/3002/user not found in
database.
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:4]
Set("SIP/3000-067c79d0", "AMPUSER=") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: Set
[Oct 5 16:46:25] DEBUG[2908] func_db.c: DB: AMPUSER//cidname not found in
database.
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:5]
Set("SIP/3000-067c79d0", "AMPUSERCIDNAME=") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: Set
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:6]
GotoIf("SIP/3000-067c79d0", "1?report") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Goto (macro-user-callerid,s,10)
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:10]
GotoIf("SIP/3000-067c79d0", "0?continue") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:11]
Set("SIP/3000-067c79d0", "__TTL=64") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: Set
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:12]
GotoIf("SIP/3000-067c79d0", "1?continue") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Goto (macro-user-callerid,s,19)
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [s@macro-user-callerid:19]
NoOp("SIP/3000-067c79d0", "Using CallerID "" <3002>") in new stack
[Oct 5 16:46:25] DEBUG[2908] app_macro.c: Executed application: Noop
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:2]
Set("SIP/3000-067c79d0", "MEETME_ROOMNUM=3002") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:3]
GotoIf("SIP/3000-067c79d0", "0?USER") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:4]
Answer("SIP/3000-067c79d0", "") in new stack
[Oct 5 16:46:25] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:5]
Wait("SIP/3000-067c79d0", "1") in new stack
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:6]
Set("SIP/3000-067c79d0", "MEETME_OPTS=") in new stack
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- Executing [3002@from-internal:7]
Goto("SIP/3000-067c79d0", "STARTMEETME|1") in new stack
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- Goto (from-internal,STARTMEETME,1)
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- Executing
[STARTMEETME@from-internal:1] MeetMe("SIP/3000-067c79d0", "3002||") in new stack
[Oct 5 16:46:26] VERBOSE[2908] logger.c: == Parsing '/etc/asterisk/meetme.conf':
[Oct 5 16:46:26] VERBOSE[2908] logger.c: Found
[Oct 5 16:46:26] VERBOSE[2908] logger.c: == Parsing
'/etc/asterisk/meetme_additional.conf': [Oct 5 16:46:26] VERBOSE[2908] logger.c:
Found
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- Created MeetMe conference 1023 for
conference '3002'
[Oct 5 16:46:26] VERBOSE[2908] logger.c: -- <SIP/3000-067c79d0> Playing
'conf-onlyperson' (language 'en')
[Oct 5 16:46:28] VERBOSE[2928] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:28] VERBOSE[2928] logger.c: Found
[Oct 5 16:46:28] VERBOSE[2928] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:28] VERBOSE[2928]
logger.c: Found
[Oct 5 16:46:28] VERBOSE[2928] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:28] VERBOSE[2928] logger.c:
Found
[Oct 5 16:46:28] VERBOSE[2928] logger.c: == Manager 'admin' logged on from
127.0.0.1
[Oct 5 16:46:29] DEBUG[2908] app_meetme.c: Placed channel SIP/3000-067c79d0 in
DAHDI conf 1023
[Oct 5 16:46:29] VERBOSE[2934] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:29] VERBOSE[2934] logger.c: Found
[Oct 5 16:46:29] VERBOSE[2934] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:29] VERBOSE[2934]
logger.c: Found
[Oct 5 16:46:29] VERBOSE[2934] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:29] VERBOSE[2934] logger.c:
Found
[Oct 5 16:46:29] VERBOSE[2934] logger.c: == Manager 'admin' logged on from
127.0.0.1
[Oct 5 16:46:29] VERBOSE[2936] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:29] VERBOSE[2936] logger.c: Found
[Oct 5 16:46:29] VERBOSE[2936] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:29] VERBOSE[2936]
logger.c: Found
[Oct 5 16:46:29] VERBOSE[2936] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:29] VERBOSE[2936] logger.c:
Found
[Oct 5 16:46:29] VERBOSE[2936] logger.c: == Manager 'admin' logged on from
127.0.0.1
[Oct 5 16:46:30] VERBOSE[2936] logger.c: == Manager 'admin' logged off from
127.0.0.1
[Oct 5 16:46:30] VERBOSE[2934] logger.c: == Manager 'admin' logged off from
127.0.0.1
[Oct 5 16:46:33] VERBOSE[2908] logger.c: == Spawn extension (from-internal,
STARTMEETME, 1) exited non-zero on 'SIP/3000-067c79d0'
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [h@from-internal:1]
Macro("SIP/3000-067c79d0", "hangupcall") in new stack
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:1]
ResetCDR("SIP/3000-067c79d0", "w") in new stack
[Oct 5 16:46:33] DEBUG[2908] app_macro.c: Executed application: ResetCDR
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:2]
NoCDR("SIP/3000-067c79d0", "") in new stack
[Oct 5 16:46:33] DEBUG[2908] app_macro.c: Executed application: NoCDR
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:3]
GotoIf("SIP/3000-067c79d0", "1?skiprg") in new stack
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Goto (macro-hangupcall,s,6)
[Oct 5 16:46:33] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:6]
GotoIf("SIP/3000-067c79d0", "1?skipblkvm") in new stack
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Goto (macro-hangupcall,s,9)
[Oct 5 16:46:33] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:9]
GotoIf("SIP/3000-067c79d0", "1?theend") in new stack
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Goto (macro-hangupcall,s,11)
[Oct 5 16:46:33] DEBUG[2908] app_macro.c: Executed application: GotoIf
[Oct 5 16:46:33] VERBOSE[2908] logger.c: -- Executing [s@macro-hangupcall:11]
Hangup("SIP/3000-067c79d0", "") in new stack
[Oct 5 16:46:33] VERBOSE[2908] logger.c: == Spawn extension (macro-hangupcall,
s, 11) exited non-zero on 'SIP/3000-067c79d0' in macro 'hangupcall'
[Oct 5 16:46:33] VERBOSE[2908] logger.c: == Spawn extension (from-internal, h,
1) exited non-zero on 'SIP/3000-067c79d0'
[Oct 5 16:46:33] NOTICE[2908] pbx_spool.c: Call completed to SIP/3000
[Oct 5 16:46:36] VERBOSE[2946] logger.c: == Parsing
'/etc/asterisk/manager.conf': [Oct 5 16:46:36] VERBOSE[2946] logger.c: Found
[Oct 5 16:46:36] VERBOSE[2946] logger.c: == Parsing
'/etc/asterisk/manager_additional.conf': [Oct 5 16:46:36] VERBOSE[2946]
logger.c: Found
[Oct 5 16:46:36] VERBOSE[2946] logger.c: == Parsing
'/etc/asterisk/manager_custom.conf': [Oct 5 16:46:36] VERBOSE[2946] logger.c:
Found
[Oct 5 16:46:36] VERBOSE[2946] logger.c: == Manager 'admin' logged on from
127.0.0.1
[Oct 5 16:46:38] VERBOSE[2946] logger.c: == Manager 'admin' logged off from
127.0.0.1
2009-10-05 13:54

Откуда: Новосибирск
Сообщений: 41

Re: Создание конференции на meetme

[Oct 5 17:07:23] WARNING[2885] pbx_spool.c: Unable to open /var/spool/asterisk/outgoing/1.call: Permission denied, deleting
[Oct 5 17:07:23] WARNING[2885] pbx_spool.c: Failed to scan service '/var/spool/asterisk/outgoing/1.call'

вот что нашел после перемещения call-файла.
получается, что нет прав на чтение call-файла.
а как дать эти права?
2009-10-05 14:10

Сообщений: 1573

Re: Создание конференции на meetme

Вы что, по второму кругу пошли? Читайте выше ...

cron333:

создайте файл в любом каталоге (например в /var/spool/asterisk/tmp). Выполните команды:

chmod 666 /var/spool/asterisk/tmp/1.call

mv /var/spool/asterisk/tmp/1.call /var/spool/asterisk/outgoing/
2009-10-05 14:30

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru