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

Помогите с определением причины транзитного звонка

Новичком считается только что прочитавший «Астериск - будущее телефонии»
http://asterisk.ru/knowledgebase/books
и пытающийся сделать большее

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

Ответить
mbat27
Сообщения: 1
Зарегистрирован: 09 сен 2016, 16:09

Помогите с определением причины транзитного звонка

Сообщение mbat27 »

Приветствую!
Прошу прощения за поверхностные познания.

Можете пояснить лог? Как я понял, прошёл транзитный звонок.
А что именно за что отвечает, не совсем понимаю.
Заранее благодарен!

"","166","166","dialplan_in_2","166","Local/166@dialplan_in_2-c8c6;2","Local/166@dialplan_2-9dc4;1","Dial","Local/166@dialplan_2,,gtTM(notify^Local:1:166:166:2015-12-12-14-51-26:Local/166","2015-12-12 09:51:26","2015-12-12 09:51:30","2015-12-12 09:51:30",4,0,"ANSWERED","DOCUMENTATION","1449913886.436113",""

"","166","166","dialplan_2","166","Local/166@dialplan_2-9dc4;2","SIP/166-00027143","Dial","SIP/166,60","2015-12-12 09:51:26","2015-12-12 09:51:30","2015-12-12 09:51:31",5,1,"ANSWERED","DOCUMENTATION","1449913886.436115",""

"","","s","peer_income_translator_31","","SIP/89014421622-00027110","","Wait","600","2015-12-12 09:47:02","2015-12-12 09:47:04","2015-12-12 09:51:51",289,287,"ANSWERED","DOCUMENTATION","1449913622.436005",""

"","166","9174477566","ololo","166","SIP/166-00027143","SIP/89014423469-00027144","Dial","SIP/89014423469/79174477566,40","2015-12-12 09:51:31","2015-12-12 09:51:40","2015-12-12 09:52:25",54,45,"ANSWERED","DOCUMENTATION","1449913886.436116",""

"","","s","peer_income_translator_31","","SIP/89014421622-000270c8","","Wait","600","2015-12-12 09:42:38","2015-12-12 09:42:40","2015-12-12 09:52:55",617,615,"ANSWERED","DOCUMENTATION","1449913358.435857",""


Сейчас extensions.conf:
[ololo]
exten => _X.,1,Set(fname=${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-${CALLERID(number)}-${EXTEN})
exten => _X.,2,MixMonitor(/var/www/call/record/${fname}.wav)
exten => _X.,3,Dial(SIP/702/7${EXTEN},40)
exten => _X.,n,Hangup

Было на момент звонка extensions.conf.backup:
[ololo]
exten => _X.,1,Set(fname=${STRFTIME(${EPOCH},,%Y%m%d%H%M)}-${CALLERID(number)}-${EXTEN})
exten => _X.,2,MixMonitor(/var/www/call/record/${fname}.wav)
exten => _X.,3,Dial(SIP/702/7${EXTEN},40)
exten => _X.,4,Dial(SIP/901/8${EXTEN},30)
exten => _X.,5,Dial(SIP/902/8${EXTEN},30)
exten => _X.,6,Dial(SIP/903/8${EXTEN},30)
exten => _X.,7,Dial(SIP/904/8${EXTEN},30)
exten => _X.,8,Dial(SIP/905/8${EXTEN},30)
exten => _X.,9,Dial(SIP/906/8${EXTEN},30)
exten => _X.,10,Dial(SIP/907/8${EXTEN},30)
exten => _X.,n,Hangup

[907] ; gate7
type=peer
host=dynamic
secret=sip907sip
context=peer_income_translator_23
username=907
fromuser=907
insecure=port,invite

[dialplan_in_2]
include => call_features
exten => _X.,1,AGI(agi://127.0.0.1/expand/short?${EXTEN})
exten => _X.,n,Set(SRC=${CALLERID(num)})
exten => _X.,n,Set(DST=${DIALNUMBER})
exten => _X.,n,Set(STAMP=${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)})
exten => _X.,n,AGI(agi://127.0.0.1/util/set_monitor?${STAMP}:${SRC}:${DST})
exten => _X.,n,GotoIf($[ ${LEN(${BLINDTRANSFER})} >0 ]?btrf:call)
exten => _X.,n(btrf),AGI(agi://127.0.0.1/notify/blind?Local:${SRC}:${BLINDTRANSFER})
exten => _X.,n(btrf),Goto(call)
exten => _X.,n(call),Set(__BTRNF=${BLINDTRANSFER})
exten => _X.,n(call),Set(__TRNF=${TRANSFERERNAME})
exten => _X.,n(call),AGI(agi://127.0.0.1/notify/dial?Local:${SRC}:${DST}:${STAMP}:${CHANNEL}:${INCOMEPEER}:${INCOMENUMBER})
exten => _X.,n(call),Dial(Local/${DST}@dialplan_2,,gtTM(notify^Local:${MONITOR_ON}:${SRC}:${DST}:${STAMP}:${CHANNEL}))
exten => _X.,n(call),AGI(agi://127.0.0.1/notify/hangup?Local:${SRC}:${DST}:${DIALSTATUS}:${CHANNEL})
exten => _X.,n(call),Hangup
exten => h,1,AGI(agi://127.0.0.1/notify/hangup?Local:${SRC}:${DST}:${DIALSTATUS}:${CHANNEL})

[166]
context=dialplan_in_2
type=friend
host=dynamic
callerid="166" <166>
secret=25051963
disallow=all
allow=alaw
mailbox=166@default
allowtransfer=yes
call-limit=1
subscribecontext=local_phone
Samael28
Сообщения: 1057
Зарегистрирован: 08 янв 2011, 18:32
Откуда: Киев
Контактная информация:

Re: Помогите с определением причины транзитного звонка

Сообщение Samael28 »

Спросите у того, кто писал Dialplan
Мой профайл на Upwork
Ответить
© 2008 — 2025 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH