VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

Web-MeetMe сбор конференции по адресной книге

Раздел для разработчиков для обсуждения программных и аппаратных продуктов и их реализации.

Модераторы: april22, Zavr2008

utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Повторно скачал, выложил в другую папку, результат тот же.

все что менял - Local в defines.php
и выставил логин пароль для phpagi
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Самое интересное, что казалось бы я в форме сам указываю какое имя будет у приглашенного,
но если это внутренний SIP акаунт - он отображает имя из описания сип номера в users.conf
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Включил дебаг 10

листинг дебага в момент тестового проброса в конференцию с указанием имени и номера.

Код: Выделить всё

Feb  8 15:53:11] DEBUG[24292] manager.c: Running action 'Login'
[Feb  8 15:53:11] VERBOSE[24292] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:11] DEBUG[24292] manager.c: Running action 'Originate'
[Feb  8 15:53:11] DEBUG[24293] pbx.c: Function result is 'Kris'
[Feb  8 15:53:11] DEBUG[24293] pbx.c: Function result is '6126'
[Feb  8 15:53:11] DEBUG[24293] pbx.c: Launching 'NoOp'
[Feb  8 15:53:11] VERBOSE[24293] pbx.c:     -- Executing [6126@meetme_out:1] NoOp("Local/6126@meetme_out-e1ca;2", " Kris 6126 ") in new stack
[Feb  8 15:53:11] DEBUG[24293] pbx.c: Launching 'Answer'
[Feb  8 15:53:11] VERBOSE[24293] pbx.c:     -- Executing [6126@meetme_out:2] Answer("Local/6126@meetme_out-e1ca;2", "") in new stack
[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: Newchannel
Privilege: call,all
Channel: Local/6126@meetme_out-e1ca;1
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum:
CallerIDName:
AccountCode:
Exten: 6126
Context: meetme_out
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: Newchannel
Privilege: call,all
Channel: Local/6126@meetme_out-e1ca;2
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum:
CallerIDName:
AccountCode:
Exten: 6126
Context: meetme_out
Uniqueid: 1328709191.193


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;1
Variable: VOLTX
Value: 0
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;1
Variable: VOLRX
Value: 0
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: NewAccountCode
Privilege: call,all
Channel: Local/6126@meetme_out-e1ca;1
Uniqueid: 1328709191.192
AccountCode:
OldAccountCode:


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;2
Context: meetme_out
Extension: 6126
Priority: 1
Application: NoOp
AppData:  Kris 6126
Uniqueid: 1328709191.193


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: Newexten
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;2
Context: meetme_out
Extension: 6126
Priority: 2
Application: Answer
AppData:
Uniqueid: 1328709191.193


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: Newstate
Privilege: call,all
Channel: Local/6126@meetme_out-e1ca;1
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum:
CallerIDName:
ConnectedLineNum: 6126
ConnectedLineName: Kris
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;1
Variable: VOLTX
Value: 0
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: VarSet
Privilege: dialplan,all
Channel: Local/6126@meetme_out-e1ca;1
Variable: VOLRX
Value: 0
Uniqueid: 1328709191.192


[Feb  8 15:53:11] DEBUG[24292] manager.c: Examining event:
Event: NewAccountCode
Privilege: call,all
Channel: Local/6126@meetme_out-e1ca;1
Uniqueid: 1328709191.192
AccountCode:
OldAccountCode:

[Feb  8 15:53:11] DEBUG[24292] manager.c: Running action 'Logoff'
[Feb  8 15:53:11] VERBOSE[24292] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:11] DEBUG[24294] app_meetme.c: The requested confno is '5'?
[Feb  8 15:53:11] VERBOSE[24294] config.c:   == Parsing '/etc/asterisk/meetme.conf': [Feb  8 15:53:11] DEBUG[24294] config.c: Parsing /etc/asterisk/meetme.conf
[Feb  8 15:53:11] VERBOSE[24294] config.c:   == Found
[Feb  8 15:53:11] DEBUG[24294] app_meetme.c: 5 isn't a valid conference
[Feb  8 15:53:11] DEBUG[24294] app_meetme.c: Looking for conference 5 that starts after 2012-02-08 15:53:11
[Feb  8 15:53:11] DEBUG[24294] res_config_mysql.c: MySQL RealTime: Connection okay.
[Feb  8 15:53:11] DEBUG[24294] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM booking WHERE confno = '5' AND starttime <=  '2012-02-08 15:53:11' AND endtime >=  '2012-02-08 15:53:11'
[Feb  8 15:53:11] DEBUG[24294] chan_dahdi.c: Using channel -2
[Feb  8 15:53:11] DEBUG[24294] channel.c: Set channel DAHDI/pseudo-439942607 to read format slin
[Feb  8 15:53:11] DEBUG[24294] channel.c: Set channel DAHDI/pseudo-439942607 to write format slin
[Feb  8 15:53:11] VERBOSE[24294] app_meetme.c:     -- Created MeetMe conference 1023 for conference '5'
[Feb  8 15:53:11] DEBUG[24294] devicestate.c: device 'meetme:5' state '2'
[Feb  8 15:53:11] DEBUG[16011] app_queue.c: Device 'meetme:5' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Feb  8 15:53:11] DEBUG[24293] pbx.c: Launching 'Wait'
[Feb  8 15:53:11] VERBOSE[24293] pbx.c:     -- Executing [6126@meetme_out:3] Wait("Local/6126@meetme_out-e1ca;2", "360") in new stack
[Feb  8 15:53:11] DEBUG[24294] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Feb  8 15:53:11] VERBOSE[24294] file.c:     -- <Local/6126@meetme_out-e1ca;1> Playing 'conf-onlyperson.slin' (language 'en')
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: No provider found, checking channel drivers for Local - 6126@meetme_out
[Feb  8 15:53:11] DEBUG[15964] chan_local.c: Checking if extension 6126@meetme_out exists (devicestate)
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: Changing state for Local/6126@meetme_out - state 2 (In use)
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: device 'Local/6126@meetme_out' state '2'
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: No provider found, checking channel drivers for Local - 6126@meetme_out
[Feb  8 15:53:11] DEBUG[15964] chan_local.c: Checking if extension 6126@meetme_out exists (devicestate)
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: Changing state for Local/6126@meetme_out - state 2 (In use)
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: device 'Local/6126@meetme_out' state '2'
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: No provider found, checking channel drivers for DAHDI - pseudo
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: Changing state for DAHDI/pseudo - state 2 (In use)
[Feb  8 15:53:11] DEBUG[15964] devicestate.c: device 'DAHDI/pseudo' state '2'
[Feb  8 15:53:11] DEBUG[16011] app_queue.c: Device 'Local/6126@meetme_out' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Feb  8 15:53:11] DEBUG[16011] app_queue.c: Device 'Local/6126@meetme_out' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Feb  8 15:53:11] DEBUG[16011] app_queue.c: Device 'DAHDI/pseudo' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Feb  8 15:53:11] DEBUG[24296] manager.c: Running action 'Login'
[Feb  8 15:53:11] VERBOSE[24296] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:11] DEBUG[24296] manager.c: Running action 'Command'
[Feb  8 15:53:11] DEBUG[24296] manager.c: Running action 'Logoff'
[Feb  8 15:53:11] VERBOSE[24296] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:13] DEBUG[15979] chan_sip.c: Auto destroying SIP dialog 'c0a8646f-13c4-4f2c6335-5e2e-3ee7'
[Feb  8 15:53:13] DEBUG[15979] chan_sip.c: Destroying SIP dialog c0a8646f-13c4-4f2c6335-5e2e-3ee7
[Feb  8 15:53:13] DEBUG[24298] manager.c: Running action 'Login'
[Feb  8 15:53:13] VERBOSE[24298] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:13] DEBUG[24298] manager.c: Running action 'Command'
[Feb  8 15:53:13] DEBUG[24298] manager.c: Running action 'Logoff'
[Feb  8 15:53:13] VERBOSE[24298] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:13] DEBUG[24300] manager.c: Running action 'Login'
[Feb  8 15:53:13] VERBOSE[24300] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:13] DEBUG[24300] manager.c: Running action 'Command'
[Feb  8 15:53:13] DEBUG[24300] manager.c: Running action 'Logoff'
[Feb  8 15:53:13] VERBOSE[24300] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (63 requested / 63 actual) timer ticks per second
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Feb  8 15:53:15] DEBUG[24294] app_meetme.c: Placed channel Local/6126@meetme_out-e1ca;1 in DAHDI conf 1023
[Feb  8 15:53:15] DEBUG[24294] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[Feb  8 15:53:15] DEBUG[24294] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[Feb  8 15:53:15] VERBOSE[24294] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/6126@meetme_out-e1ca;1
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Feb  8 15:53:15] VERBOSE[24294] res_musiconhold.c:     -- Stopped music on hold on Local/6126@meetme_out-e1ca;1
[Feb  8 15:53:15] DEBUG[24294] channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second
[Feb  8 15:53:16] DEBUG[24302] manager.c: Running action 'Login'
[Feb  8 15:53:16] VERBOSE[24302] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:16] DEBUG[24302] manager.c: Running action 'Command'
[Feb  8 15:53:16] DEBUG[24302] manager.c: Running action 'Logoff'
[Feb  8 15:53:16] VERBOSE[24302] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:16] DEBUG[24304] manager.c: Running action 'Login'
[Feb  8 15:53:16] VERBOSE[24304] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:16] DEBUG[24304] manager.c: Running action 'Command'
[Feb  8 15:53:16] DEBUG[24304] manager.c: Running action 'Logoff'
[Feb  8 15:53:16] VERBOSE[24304] manager.c:   == Manager 'admin' logged off from 127.0.0.1
[Feb  8 15:53:16] VERBOSE[24294] res_musiconhold.c:     -- Started music on hold, class 'default', on Local/6126@meetme_out-e1ca;1
[Feb  8 15:53:16] DEBUG[24294] channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second
[Feb  8 15:53:16] DEBUG[24294] res_musiconhold.c: Local/6126@meetme_out-e1ca;1 Opened file 0 '/var/lib/asterisk/moh/macroform-cold_day'
[Feb  8 15:53:17] DEBUG[24306] manager.c: Running action 'Login'
[Feb  8 15:53:17] VERBOSE[24306] manager.c:   == Manager 'admin' logged on from 127.0.0.1
[Feb  8 15:53:17] DEBUG[24306] manager.c: Running action 'Command'
[Feb  8 15:53:17] DEBUG[24306] manager.c: Running action 'Logoff'
[Feb  8 15:53:17] VERBOSE[24306] manager.c:   == Manager 'admin' logged off from 127.0.0.1

Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение Vlad1983 »

ладно пойдем другим путем

подключится
что выводит
CLI> meetme list номер_конференции concise

CLI> meetme list 81087 concise
1!83534270000!Иван Иваныч Иванов!Local/83534270000@meetme_out-ce12;1!!!!!-1!00:00:28
ЛС: @rostel
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Когда человек в конференции, вот

Код: Выделить всё

voip*CLI> meetme list 5
User #: 01    <unknown> <no name>            Channel: Local/6126@meetme_out-11df;1     (unmonitored) 00:00:18
1 users in that conference.
voip*CLI>

voip*CLI> meetme list 5 concise
1!!!Local/6126@meetme_out-11df;1!!!!!-1!00:01:03
Может действительно Originate ?

Щас попробую сделать тестовый скрипт с Originate одного номера, в который статически передам все параметры.
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение Vlad1983 »

какая у вас версия астериска?
ЛС: @rostel
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Asterisk SVN-branch-1.8-r352029,
Vlad1983
Сообщения: 4251
Зарегистрирован: 09 авг 2011, 11:51

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение Vlad1983 »

у мну есть для тестов более ранняя, но вроде все тоже самое
CLI> core show version
Asterisk SVN-trunk-r341487M built by
CLI> manager show command Originate
[Syntax]
Action: Originate
[ActionID:] <value>
Channel: <value>
[Exten:] <value>
[Context:] <value>
[Priority:] <value>
[Application:] <value>
[Data:] <value>
[Timeout:] <value>
[CallerID:] <value>
[Variable:] <value>
[Account:] <value>
[Async:] <value>
[Codecs:] <value>
ЛС: @rostel
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

У меня

Код: Выделить всё

voip*CLI> manager show command Originate
[Syntax]
Action: Originate
[ActionID:] <value>
Channel: <value>
[Exten:] <value>
[Context:] <value>
[Priority:] <value>
[Application:] <value>
[Data:] <value>
[Timeout:] <value>
[CallerID:] <value>
[Variable:] <value>
[Account:] <value>
[Async:] <value>
[Codecs:] <value>

[Synopsis]
Originate a call.

[Description]
Generates an outgoing call to a <Extension>/<Context>/<Priority> or <Appl
ication>/<Data>

[Arguments]
ActionID
    ActionID for this transaction. Will be returned.
Channel
    Channel name to call.
Exten
    Extension to use (requires 'Context' and 'Priority')
Context
    Context to use (requires 'Exten' and 'Priority')
Priority
    Priority to use (requires 'Exten' and 'Context')
Application
    Application to execute.
Data
    Data to use (requires 'Application').
Timeout
    How long to wait for call to be answered (in ms.).
CallerID
    Caller ID to be set on the outgoing channel.
Variable
    Channel variable to set, multiple Variable: headers are allowed.
Account
    Account code.
Async
    Set to 'true' for fast origination.
Codecs
    Comma-separated list of codecs to use for this call.

[See Also]
Not available
И на ней все работает ?
utcon
Сообщения: 60
Зарегистрирован: 19 янв 2012, 14:26

Re: Web-MeetMe сбор конференции по адресной книге

Сообщение utcon »

Вот что выловил в манагере в момент подключения через веб пользователя

Код: Выделить всё

Event: MeetmeJoin
Privilege: call,all
Channel: Local/6126@meetme_out-87c1;1
Uniqueid: 1328717471.282
Meetme: 5
Usernum: 1
CallerIDnum: <unknown>
CallerIDname: <unknown>
ConnectedLineNum: 6126
ConnectedLineName: Kris
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH