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

Звонки от одного и того же вн. номера

Звонки от одного и того же вн. номера
<1 2
Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

Sherkhan:

Alexcr:

cat /etc/dahdi/system.conf
cat /etc/asterisk/chan_dahdi.conf

это конфы астера для карт аналоговых.

tail -f /var/log/asterisk/full
запускаешь команду и делаешь вызов, потом все красиво сюда.

у тя наверное шлюз и в нем настроен АОН.
Спасибо, логи скоро будут :)
Что-то команда не идет ... я через веб интерфейс, есть разница?
tail -f /var/log/asterisk/full
2010-09-09 15:45

Откуда: AST
Сообщений: 280

Re: Звонки от одного и того же вн. номера

ну покажи с веб
2010-09-09 18:45

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

Alexcr:

ну покажи с веб
С Веб интерфейса дает вот такой ответ:
No such command 'tail -f' (type 'help' for help)

Версия: Elastix 0.9.2-4

2010-09-10 07:25

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

В logger.conf
строка full => notice,warning,error,debug,verbose раскоментирована
команда tail -f /var/log/asterisk/full не идет, в чем проблема?
2010-09-10 08:55

Откуда: AST
Сообщений: 280

Re: Звонки от одного и того же вн. номера

tail
vi
cat
nano
это все команды для просмотра/редактирования файла используй любую
можешь просто asterisk -rvvv и смотри в CLI что пишет при вызове.
2010-09-10 09:46

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

tail
vi
cat
nano
это все команды для просмотра/редактирования файла используй любую
можешь просто asterisk -rvvv и смотри в CLI что пишет при вызове.
Что то не идут команды ... их нужно где-то включить?
Есть разница между CLI в веб интерфейсе или когда напрямую набираешь команду на самом сервере?
2010-09-10 15:50

Откуда: AST
Сообщений: 280

Re: Звонки от одного и того же вн. номера

это команды для консоли линукс.
2010-09-10 15:59

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

Ребята, удалось вытащить, вот "Ivan Ivanov" от этого пользователя идут якобы все звонки, даже если они идут с города.

dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Ivan Ivanov' number is 'unknown'
dialparties.agi: Methodology of ring is 'ringallv2'
-- dialparties.agi: Added extension 28 to extension map
-- dialparties.agi: Extension 28 cf is disabled
-- dialparties.agi: Extension 28 do not disturb is disabled
dialparties.agi: Extension 28 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 28
-- dialparties.agi: DbDel CALLTRACE/28 - Caller ID is not defined
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("Zap/4-1", "SIP/28|42|trM(auto-blkvm)") in new stack
-- Called 28
-- SIP/28-083decd0 is ringing
-- SIP/28-083decd0 is ringing
-- SIP/28-083decd0 is ringing
-- SIP/28-083decd0 answered Zap/4-1
-- Executing [s@macro-auto-blkvm:1] Set("SIP/28-083decd0", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("SIP/28-083decd0", "BLKVM/28/Zap/4-1") in new stack
-- DBdel: family=BLKVM, key=28/Zap/4-1
== Parsing '/etc/asterisk/manager.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
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
2010-11-26 14:09

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

Извините за большой код, жирным выделил абонента который отображается у всех.

Подскажите как исправить, например чтобы переадресованный секретарем входящий звонок с городского номера не отображались с именем Ivan Ivanov, а было бы например с надписью GOROD


-- Starting simple switch on 'Zap/3-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/3-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/3-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/3-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/3-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/3-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/3-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/3-1", "CHAN=3-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/3-1", "CHAN=3") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/3-1", "from-zaptel-3|s|1") in new stack
-- Executing [s@macro-from-zaptel-3:1] NoOp("Zap/3-1", "Entering macro-from-zaptel-3 with DID = s") in new stack
-- Executing [s@macro-from-zaptel-3:2] Set("Zap/3-1", "__FROM_DID=s") in new stack
-- Executing [s@macro-from-zaptel-3:3] GotoIf("Zap/3-1", "0 ?cidok") in new stack
-- Executing [s@macro-from-zaptel-3:4] Set("Zap/3-1", "CALLERID(name)=") in new stack
-- Executing [s@macro-from-zaptel-3:5] NoOp("Zap/3-1", "CallerID is "" <>") in new stack
-- Executing [s@macro-from-zaptel-3:6] Goto("Zap/3-1", "from-did-direct|30|1") in new stack
-- Goto (from-did-direct,30,1)
== Channel 'Zap/3-1' jumping out of macro 'from-zaptel-3'
-- Executing [30@from-did-direct:1] Macro("Zap/3-1", "exten-vm|30|30") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Zap/3-1", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/3-1", "user-callerid: ") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/3-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/3-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/3-1", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("Zap/3-1", "REALCALLERIDNUM=") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("Zap/3-1", "REALCALLERIDNUM is ") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/3-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/3-1", "AMPUSERCIDNAME=Ivan Ivanov") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/3-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/3-1", "AMPUSERCID=") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/3-1", "CALLERID(all)="Ivan Ivanov" <>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/3-1", "REALCALLERIDNUM=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/3-1", "TTL: ARG1: 30") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/3-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("Zap/3-1", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("Zap/3-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/3-1", "Using CallerID "Ivan Ivanov" <>") in new stack
-- Executing [s@macro-exten-vm:2] Set("Zap/3-1", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("Zap/3-1", "VMBOX=30") in new stack
-- Executing [s@macro-exten-vm:4] Set("Zap/3-1", "EXTTOCALL=30") in new stack
-- Executing [s@macro-exten-vm:5] Set("Zap/3-1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("Zap/3-1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("Zap/3-1", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("Zap/3-1", "record-enable|30|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/3-1", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Zap/3-1", "recordingcheck|20101126-171631|1290770186.200") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20101126-171631|1290770186.200: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/3-1", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Zap/3-1", "dial|15|tr|30") in new stack
-- Executing [s@macro-dial:1] GotoIf("Zap/3-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Zap/3-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Ivan Ivanov' number is 'unknown'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 30 to extension map
-- dialparties.agi: Extension 30 cf is disabled
-- dialparties.agi: Extension 30 do not disturb is disabled
dialparties.agi: Extension 30 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 30
-- dialparties.agi: DbDel CALLTRACE/30 - Caller ID is not defined
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("Zap/3-1", "SIP/30|15|tr") in new stack
-- Called 30
-- SIP/30-083decd0 is ringing
-- SIP/30-083decd0 answered Zap/3-1
-- Started music on hold, class 'default', on Zap/3-1
-- Stopped music on hold on Zap/3-1
== Spawn extension (from-internal-xfer, 21, 0) exited non-zero on 'Zap/3-1' in macro 'dial'
== Spawn extension (from-internal-xfer, 21, 0) exited non-zero on 'Zap/3-1' in macro 'exten-vm'
== Spawn extension (from-internal-xfer, 21, 0) exited non-zero on 'Zap/3-1'
-- Executing [21@from-internal-xfer:1] Macro("Zap/3-1", "exten-vm|21|21") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Zap/3-1", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("Zap/3-1", "user-callerid: Ivan Ivanov ") in new stack
-- Executing [s@macro-user-callerid:2] Set("Zap/3-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/3-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] GotoIf("Zap/3-1", "0?start") in new stack
-- Executing [s@macro-user-callerid:5] Set("Zap/3-1", "REALCALLERIDNUM=") in new stack
-- Executing [s@macro-user-callerid:6] NoOp("Zap/3-1", "REALCALLERIDNUM is ") in new stack
-- Executing [s@macro-user-callerid:7] Set("Zap/3-1", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:8] Set("Zap/3-1", "AMPUSERCIDNAME=Ivan Ivanov") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("Zap/3-1", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("Zap/3-1", "AMPUSERCID=") in new stack
-- Executing [s@macro-user-callerid:11] Set("Zap/3-1", "CALLERID(all)="Ivan Ivanov" <>") in new stack
-- Executing [s@macro-user-callerid:12] Set("Zap/3-1", "REALCALLERIDNUM=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("Zap/3-1", "TTL: 64 ARG1: 21") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/3-1", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("Zap/3-1", "__TTL=63") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("Zap/3-1", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("Zap/3-1", "Using CallerID "Ivan Ivanov" <>") in new stack
-- Executing [s@macro-exten-vm:2] Set("Zap/3-1", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("Zap/3-1", "VMBOX=21") in new stack
-- Executing [s@macro-exten-vm:4] Set("Zap/3-1", "EXTTOCALL=21") in new stack
-- Executing [s@macro-exten-vm:5] Set("Zap/3-1", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("Zap/3-1", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("Zap/3-1", "RT=15") in new stack
-- Executing [s@macro-exten-vm:8] Macro("Zap/3-1", "record-enable|21|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Zap/3-1", "1?2:4") in new stack
-- Goto (macro-record-enable,s,2)
-- Executing [s@macro-record-enable:2] ResetCDR("Zap/3-1", "w") in new stack
-- Executing [s@macro-record-enable:3] StopMonitor("Zap/3-1", "") in new stack
-- Executing [s@macro-record-enable:4] AGI("Zap/3-1", "recordingcheck|20101126-171642|1290770186.200") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20101126-171642|1290770186.200: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("Zap/3-1", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Zap/3-1", "dial|15|tr|21") in new stack
-- Executing [s@macro-dial:1] GotoIf("Zap/3-1", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("Zap/3-1", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'Ivan Ivanov' number is 'unknown'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 21 to extension map
-- dialparties.agi: Extension 21 cf is disabled
-- dialparties.agi: Extension 21 do not disturb is disabled
dialparties.agi: Extension 21 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 21
-- dialparties.agi: DbDel CALLTRACE/21 - Caller ID is not defined
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("Zap/3-1", "SIP/21|15|tr") in new stack
-- Called 21
-- SIP/21-083db860 is ringing
-- SIP/21-083db860 answered Zap/3-1
2010-11-26 14:57

Avatara of Sherkhan
Откуда: KZ, Almaty
Сообщений: 16

Re: Звонки от одного и того же вн. номера

Ребята, что скажете?
Жду с нетерпением Ваших постов :)

Спасибо!
2010-11-29 14:35

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