Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / TrixBox, Elastix, FreePbx / Помогите настроить Elastix

Помогите настроить Elastix

Ранее с IP-телефонией дела не имел
Сообщений: 7

Помогите настроить Elastix

Есть два офиса. Один - "пустой", но там наши телефонные линии. Другой - основной, там телефонов нет. Пробуем пробросить линии через IP-телефонию по обычным интернет-каналам(понимаем риск). В "пустом" офисе трафик будет упаковываться Linksys SPA400, в основном будут Asterisk и Linksys SPA8000.

Сейчас собрал это все "на кленке" в основном офисе в одной подсети. Пытаюсь хотя бы заставить работать добавочные номера, но что-то не так то ли с диалпланом, то ли еще с чем. К SPA8000 подключил 2 телефонных аппарата, которые зарегистрировались на номера 8001 и 8002. При попытке позвонить с одного на другой, звонка нет, а Elastix говорит "I'm sorry. An error has occured".
Вот что в логе Elastix:

[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [8001@office:1] Macro("SIP/8002-b6d089b8", "exten-vm|SIP/8001||2001") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/8002-b6d089b8", "user-callerid") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/8002-b6d089b8", "AMPUSER=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/8002-b6d089b8", "0?report") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/8002-b6d089b8", "1|Set|REALCALLERIDNUM=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: ExecIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/8002-b6d089b8", "AMPUSER=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/8002-b6d089b8", "AMPUSERCIDNAME=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/8002-b6d089b8", "0?report") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/8002-b6d089b8", "AMPUSERCID=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/8002-b6d089b8", "CALLERID(all)="8002" <8002>") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/8002-b6d089b8", "0|Set|CHANNEL(language)=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: ExecIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/8002-b6d089b8", "0?continue") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:11] Set("SIP/8002-b6d089b8", "__TTL=64") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:12] GotoIf("SIP/8002-b6d089b8", "1?continue") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-user-callerid,s,19)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/8002-b6d089b8", "Using CallerID "8002" <8002>") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Noop
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Macro
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:2] Set("SIP/8002-b6d089b8", "RingGroupMethod=none") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:3] Set("SIP/8002-b6d089b8", "VMBOX=SIP/8001") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:4] Set("SIP/8002-b6d089b8", "EXTTOCALL=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] DEBUG[3326] func_db.c: DB: CFU/ not found in database.
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:5] Set("SIP/8002-b6d089b8", "CFUEXT=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] DEBUG[3326] func_db.c: DB: CFB/ not found in database.
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:6] Set("SIP/8002-b6d089b8", "CFBEXT=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:7] Set("SIP/8002-b6d089b8", "RT=15") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:8] Macro("SIP/8002-b6d089b8", "record-enable||IN") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/8002-b6d089b8", "1?check") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-record-enable,s,4)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/8002-b6d089b8", "recordingcheck|20091202-154451|1259757891.5") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Dec 2 15:44:51] VERBOSE[3326] logger.c: recordingcheck|20091202-154451|1259757891.5: No AMPUSER db entry for . Not recording
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- AGI Script recordingcheck completed, returning 0
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: AGI
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/8002-b6d089b8", "") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Macro
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:9] Macro("SIP/8002-b6d089b8", "dial|15|tr|") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-dial:1] GotoIf("SIP/8002-b6d089b8", "1?dial") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-dial,s,3)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-dial:3] AGI("SIP/8002-b6d089b8", "dialparties.agi") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Dec 2 15:44:51] VERBOSE[3326] logger.c: dialparties.agi: Starting New Dialparties.agi
[Dec 2 15:44:51] VERBOSE[3329] logger.c: == Parsing '/etc/asterisk/manager.conf': [Dec 2 15:44:51] VERBOSE[3329] logger.c: Found
[Dec 2 15:44:51] VERBOSE[3329] logger.c: == Parsing '/etc/asterisk/manager_additional.conf': [Dec 2 15:44:51] VERBOSE[3329] logger.c: Found
[Dec 2 15:44:51] VERBOSE[3329] logger.c: == Parsing '/etc/asterisk/manager_custom.conf': [Dec 2 15:44:51] VERBOSE[3329] logger.c: Found
[Dec 2 15:44:51] WARNING[3329] config.c: Unknown directive '#permit=192.168.1.0/255.255.255.0' at line 18 of /etc/asterisk/manager_custom.conf
[Dec 2 15:44:51] VERBOSE[3329] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Dec 2 15:44:51] VERBOSE[3326] logger.c: dialparties.agi: Caller ID name is '8002' number is '8002'
[Dec 2 15:44:51] VERBOSE[3326] logger.c: dialparties.agi: Methodology of ring is 'none'
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- dialparties.agi: Filtered ARG3:
[Dec 2 15:44:51] VERBOSE[3326] logger.c: dialparties.agi: Setting default NOANSWER DIALSTATUS since no extensions available
[Dec 2 15:44:51] VERBOSE[3329] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: AGI
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-dial:4] NoOp("SIP/8002-b6d089b8", "Returned from dialparties with no extensions to call and DIALSTATUS: NOANSWER") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: NoOp
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Macro
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:10] GotoIf("SIP/8002-b6d089b8", "0?exit|return") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:11] Set("SIP/8002-b6d089b8", "SV_DIALSTATUS=NOANSWER") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:12] GosubIf("SIP/8002-b6d089b8", "0?docfu|1") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GosubIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:13] GosubIf("SIP/8002-b6d089b8", "0?docfb|1") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GosubIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:14] Set("SIP/8002-b6d089b8", "DIALSTATUS=NOANSWER") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:15] NoOp("SIP/8002-b6d089b8", "Voicemail is SIP/8001") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: NoOp
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:16] GotoIf("SIP/8002-b6d089b8", "0?s-NOANSWER|1") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:17] NoOp("SIP/8002-b6d089b8", "Sending to Voicemail box ") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: NoOp
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-exten-vm:18] Macro("SIP/8002-b6d089b8", "vm|SIP/8001|NOANSWER|") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-vm:1] Macro("SIP/8002-b6d089b8", "user-callerid|SKIPTTL") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/8002-b6d089b8", "AMPUSER=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/8002-b6d089b8", "0?report") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/8002-b6d089b8", "0|Set|REALCALLERIDNUM=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: ExecIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/8002-b6d089b8", "AMPUSER=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/8002-b6d089b8", "AMPUSERCIDNAME=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/8002-b6d089b8", "0?report") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/8002-b6d089b8", "AMPUSERCID=8002") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/8002-b6d089b8", "CALLERID(all)="8002" <8002>") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/8002-b6d089b8", "0|Set|CHANNEL(language)=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: ExecIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/8002-b6d089b8", "1?continue") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-user-callerid,s,19)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-user-callerid:19] NoOp("SIP/8002-b6d089b8", "Using CallerID "8002" <8002>") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Noop
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Macro
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-vm:2] Set("SIP/8002-b6d089b8", "VMGAIN=""") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] WARNING[3326] func_db.c: DB requires an argument, DB(<family>/<key>)
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-vm:3] GotoIf("SIP/8002-b6d089b8", "1?vmx|1") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-vm,vmx,1)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [vmx@macro-vm:1] GotoIf("SIP/8002-b6d089b8", "0?s-NOANSWER|1") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [vmx@macro-vm:2] Set("SIP/8002-b6d089b8", "MODE=unavail") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [vmx@macro-vm:3] GotoIf("SIP/8002-b6d089b8", "1?notdirect") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-vm,vmx,5)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] DEBUG[3326] func_db.c: DB: AMPUSER/SIP/8001/vmx/unavail/state not found in database.
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [vmx@macro-vm:5] NoOp("SIP/8002-b6d089b8", "Checking if ext SIP/8001 is enabled: ") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Noop
[Dec 2 15:44:51] DEBUG[3326] func_db.c: DB: AMPUSER/SIP/8001/vmx/unavail/state not found in database.
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [vmx@macro-vm:6] GotoIf("SIP/8002-b6d089b8", "1?s-NOANSWER|1") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-vm,s-NOANSWER,1)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/8002-b6d089b8", "get-vmcontext|SIP/8001") in new stack
[Dec 2 15:44:51] DEBUG[3326] func_db.c: DB: AMPUSER/SIP/8001/voicemail not found in database.
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-get-vmcontext:1] Set("SIP/8002-b6d089b8", "VMCONTEXT=") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/8002-b6d089b8", "1?200:300") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-get-vmcontext,s,200)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s@macro-get-vmcontext:200] Set("SIP/8002-b6d089b8", "VMCONTEXT=default") in new stack
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Set
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Macro
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/8002-b6d089b8", "SIP/8001@default|u") in new stack
[Dec 2 15:44:51] WARNING[3326] app_voicemail.c: No entry in voicemail config file for 'SIP/8001'
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: VoiceMail
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [s-NOANSWER@macro-vm:3] Goto("SIP/8002-b6d089b8", "exit-FAILED|1") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Goto (macro-vm,exit-FAILED,1)
[Dec 2 15:44:51] DEBUG[3326] app_macro.c: Executed application: Goto
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- Executing [exit-FAILED@macro-vm:1] Playback("SIP/8002-b6d089b8", "im-sorry&an-error-has-occured") in new stack
[Dec 2 15:44:51] VERBOSE[3326] logger.c: -- <SIP/8002-b6d089b8> Playing 'im-sorry' (language 'en')
[Dec 2 15:44:52] VERBOSE[3326] logger.c: -- <SIP/8002-b6d089b8> Playing 'an-error-has-occured' (language 'en')
[Dec 2 15:44:54] DEBUG[3326] app_macro.c: Executed application: Playback
[Dec 2 15:44:54] VERBOSE[3326] logger.c: -- Executing [exit-FAILED@macro-vm:2] GotoIf("SIP/8002-b6d089b8", "0?exit-RETURN|1") in new stack
[Dec 2 15:44:54] DEBUG[3326] app_macro.c: Executed application: GotoIf
[Dec 2 15:44:54] VERBOSE[3326] logger.c: -- Executing [exit-FAILED@macro-vm:3] Hangup("SIP/8002-b6d089b8", "") in new stack
[Dec 2 15:44:54] VERBOSE[3326] logger.c: == Spawn extension (macro-vm, exit-FAILED, 3) exited non-zero on 'SIP/8002-b6d089b8' in macro 'vm'
[Dec 2 15:44:54] VERBOSE[3326] logger.c: == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/8002-b6d089b8' in macro 'exten-vm'
[Dec 2 15:44:54] VERBOSE[3326] logger.c: == Spawn extension (office, 8001, 1) exited non-zero on 'SIP/8002-b6d089b8'
[Dec 2 15:44:54] VERBOSE[3326] logger.c: -- Executing [h@office:1] Hangup("SIP/8002-b6d089b8", "") in new stack
[Dec 2 15:44:54] VERBOSE[3326] logger.c: == Spawn extension (office, h, 1) exited non-zero on 'SIP/8002-b6d089b8'

Что я делаю не так? Почему он не может найти номера в БД?
2009-12-02 16:26

Avatara of line24
Откуда: Санкт-Петербург
Сообщений: 568

Re: Помогите настроить Elastix

[Dec 2 15:44:51] WARNING[3329] config.c: Unknown directive '#permit=192.168.1.0/255.255.255.0' at line 18 of /etc/asterisk/manager_custom.conf

Это вы руками что-то делали, или разработчики эластика не знаю формат комментариев в конфигах Asterisk? :)
http://www.line24.ru - системы массового телефонного обслуживания.
2009-12-02 19:13

Сообщений: 7

Re: Помогите настроить Elastix

не, это не я писал 100%

Еще раз посмотрел конфиги, похоже проблема где-то тут:
Extentions_custom.conf:

exten => 8001,1,Macro(exten-vm,SIP/${EXTEN},${VM_DELAY},2${EXTEN:1})
exten => 8002,1,Macro(exten-vm,SIP/${EXTEN},${VM_DELAY},2${EXTEN:1})

Я брал инструкцию по настройке тут:
http://forum.voxilla.com/voip-wiki/using-linksys-spa8000-asterisk-24277.html
2009-12-03 10:03

Добавить страницу в закладки:  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