Добрый день! Есть две АТС Asterisk 13.9.1 на которые прикручен FreePBX 13. На каждом из астеров настроены очереди с одинаковыми параметрами.На обеих настроен транк Задарма, и Inbound route который ведёт тупо на очередь. Возникла такая проблема - при звонке на одну АТС вывод core show channel SIP/zadarma-000007b5
Name: SIP/zadarma-000007b5
Type: SIP
UniqueID: 1473165006.6677
LinkedID: 1473165006.6677
Caller ID: +380*********
Caller ID Name: (asd)+380*********
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
DNID Digits: 4357**
Language: ru
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: slin
ReadFormat: gsm
WriteTranscode: Yes (slin@8000)->(ulaw@8000)
ReadTranscode: Yes (ulaw@8000)->(slin@8000)->(gsm@8000)
Time to Hangup: 0
Elapsed Time: 0h0m25s
Bridge ID: (Not bridged)
-- PBX --
Context: ext-queues
Extension: 9301
Priority: 41
Call Group: 0
Pickup Group: 0
Application: Queue
Data: 9301,tr,,,,,,,,
Call Identifer: [C-0000045e]
Variables:
QUEUEJOINTIME=1473165007
QUEUENUM=9301
VQ_MAXWAIT=
QMAXWAIT=
VQ_MOH=
QMOH=
VQ_AANNOUNCE=
QAANNOUNCE=
FORWARD_CONTEXT=block-cf
CFIGNORE=TRUE
CWIGNORE=TRUE
GOSUB_RETVAL=
REC_POLICY_MODE_SAVE=
VQ_POSITION=
QPOSITION=
VQ_RULE=
QRULE=
VQ_AGI=
QAGI=
VQ_GOSUB=
QGOSUB=
VQ_OPTIONS=
QOPTIONS=tr
VQ_RETRY=
QRETRY=
QRINGOPTS=r
VQ_JOINMSG=
QJOINMSG=
VQ_AINFO=
QAINFO=
MACRO_DEPTH=0
RGPREFIX=(asd)
VQ_CIDPP=
QCIDPP=(asd)
NODEST=9301
TTL=64
AMPUSERCIDNAME=
AMPUSER=
REALCALLERIDNUM=+380*********
TOUCH_MONITOR=1473165006.6677
CALLINGNUMPRES_SV=allowed_not_screened
CALLINGNAMEPRES_SV=allowed_not_screened
REVERSAL_REJECT=FALSE
MOHCLASS=
FROM_DID=4357**
CALLED_BLACKLIST=1
FROMEXTEN=+380*********
MON_FMT=wav
TIMESTR=20160906-153006
YEAR=2016
MONTH=09
DAY=06
NOW=1473165006
REC_STATUS=INITIALIZED
DIRECTION=INBOUND
SIPCALLID=6e084fbb3657163f241d082266636656@185.45.152.137:5060
SIPDOMAIN=92.12.188.93
SIPURI=sip:+380*********@185.45.152.137:5060
CDR Variables:
level 1: calledsubaddr=
level 1: callingsubaddr=
level 1: dnid=4357**
level 1: cnam=+380*********
level 1: cnum=+380*********
level 1: did=4357**
level 1: clid="(asd)+380*********" <+380*********>
level 1: src=+380*********
level 1: dst=9301
level 1: dcontext=ext-queues
level 1: channel=SIP/zadarma-000007b5
level 1: dstchannel=Local/541@from-queue-000004bb;1
level 1: lastapp=Queue
level 1: lastdata=9301,tr,,,,,,,,
level 1: start=1473165006.941785
level 1: answer=1473165006.950307
level 1: end=1473165022.465610
level 1: duration=15
level 1: billsec=15
level 1: disposition=0
level 1: amaflags=3
level 1: uniqueid=1473165006.6677
level 1: linkedid=1473165006.6677
level 1: sequence=5634
level 2: calledsubaddr=
level 2: callingsubaddr=
level 2: dnid=4357**
level 2: did=4357**
level 2: cnum=+380*********
level 2: cnam=+380*********
level 2: clid="(asd)+380*********" <+380*********>
level 2: src=+380*********
level 2: dst=9301
level 2: dcontext=ext-queues
level 2: channel=SIP/zadarma-000007b5
level 2: dstchannel=Local/201@from-queue-000004c3;1
level 2: lastapp=Queue
level 2: lastdata=9301,tr,,,,,,,,
level 2: start=1473165027.468586
level 2: answer=1473165027.468587
level 2: end=1473165027.625463
level 2: duration=0
level 2: billsec=0
level 2: disposition=0
level 2: amaflags=3
level 2: uniqueid=1473165006.6677
level 2: linkedid=1473165006.6677
level 2: sequence=5669
level 3: calledsubaddr=
level 3: callingsubaddr=
level 3: dnid=4357**
level 3: cnam=+380*********
level 3: cnum=+380*********
level 3: did=4357**
level 3: clid="(asd)+380*********" <+380*********>
level 3: src=+380*********
level 3: dst=9301
level 3: dcontext=ext-queues
level 3: channel=SIP/zadarma-000007b5
level 3: dstchannel=Local/541@from-queue-000004c4;1
level 3: lastapp=Queue
level 3: lastdata=9301,tr,,,,,,,,
level 3: start=1473165027.625522
level 3: answer=1473165027.625522
level 3: end=0.000000
level 3: duration=3
level 3: billsec=3
level 3: disposition=1
level 3: amaflags=3
level 3: uniqueid=1473165006.6677
level 3: linkedid=1473165006.6677
level 3: sequence=5672
Здесь звонок пришёл на 541, он не ответил. далее звонок пошёл на 201, который отключен, и вернулся опять на 541. При этом Connected Line ID: (N/A) Connected Line ID Name: (N/A) Eff. Connected Line ID: (N/A) Eff. Connected Line ID Name: (N/A)
При звонке по идентичному транку на другую АТС
Name: SIP/zadarma-00004394
Type: SIP
UniqueID: 1473150812.33921
LinkedID: 1473150812.33921
Caller ID: +380*********
Caller ID Name: (asd)+380*********
Connected Line ID: 541
Connected Line ID Name: Vasya Pupkin
Eff. Connected Line ID: 541
Eff. Connected Line ID Name: Vasya Pupkin
DNID Digits: 4357**
Language: ru
State: Up (6)
NativeFormats: (ulaw)
WriteFormat: slin
ReadFormat: gsm
WriteTranscode: Yes (slin@8000)->(ulaw@8000)
ReadTranscode: Yes (ulaw@8000)->(slin@8000)->(gsm@8000)
Time to Hangup: 0
Elapsed Time: 0h0m17s
Bridge ID: (Not bridged)
-- PBX --
Context: ext-queues
Extension: 8020
Priority: 41
Call Group: 0
Pickup Group: 0
Application: Queue
Data: 8020,tr,,,,,,,,
Call Identifer: [C-000025d2]
Variables:
QUEUEJOINTIME=1473150813
QUEUENUM=8020
VQ_MAXWAIT=
QMAXWAIT=
VQ_MOH=
QMOH=
VQ_AANNOUNCE=
QAANNOUNCE=
FORWARD_CONTEXT=block-cf
CFIGNORE=TRUE
CWIGNORE=TRUE
GOSUB_RETVAL=
REC_POLICY_MODE_SAVE=
VQ_POSITION=
QPOSITION=
VQ_RULE=
QRULE=
VQ_AGI=
QAGI=
VQ_GOSUB=
QGOSUB=
VQ_OPTIONS=
QOPTIONS=tr
VQ_RETRY=
QRETRY=
QRINGOPTS=r
VQ_JOINMSG=
QJOINMSG=
VQ_AINFO=
QAINFO=
MACRO_DEPTH=0
RGPREFIX=(asd)
VQ_CIDPP=
QCIDPP=(asd)
NODEST=8020
TTL=64
AMPUSERCIDNAME=
AMPUSER=
REALCALLERIDNUM=+380*********
TOUCH_MONITOR=1473150812.33921
CALLINGNUMPRES_SV=allowed_not_screened
CALLINGNAMEPRES_SV=allowed_not_screened
REVERSAL_REJECT=FALSE
MOHCLASS=
FROM_DID=435710
CALLED_BLACKLIST=1
FROMEXTEN=+380*********
MON_FMT=wav
TIMESTR=20160906-113332
YEAR=2016
MONTH=09
DAY=06
NOW=1473150812
REC_STATUS=INITIALIZED
DIRECTION=
SIPCALLID=54aab3b75b8c78d66e4a9fb20431eeb2@185.45.152.136:5060
SIPDOMAIN=92.12.188.17
SIPURI=sip:+380*********@185.45.152.136:5060
CDR Variables:
level 1: calledsubaddr=
level 1: callingsubaddr=
level 1: dnid=4357**
level 1: cnam=+380*********
level 1: cnum=+380*********
level 1: did=435710
level 1: clid="(asd)+380*********" <+380*********>
level 1: src=+380*********
level 1: dst=8020
level 1: dcontext=ext-queues
level 1: channel=SIP/zadarma-00004394
level 1: dstchannel=Local/201@from-queue-000007ec;1
level 1: lastapp=Queue
level 1: lastdata=8020,tr,,,,,,,,
level 1: start=1473150812.604104
level 1: answer=1473150812.610007
level 1: end=1473150826.243590
level 1: duration=13
level 1: billsec=13
level 1: disposition=0
level 1: amaflags=3
level 1: uniqueid=1473150812.33921
level 1: linkedid=1473150812.33921
level 1: sequence=25504
level 2: calledsubaddr=
level 2: callingsubaddr=
level 2: dnid=4357**
level 2: did=4357**
level 2: cnum=+380*********
level 2: cnam=+380*********
level 2: clid="(asd)+380*********" <+380*********>
level 2: src=+380*********
level 2: dst=8020
level 2: dcontext=ext-queues
level 2: channel=SIP/zadarma-00004394
level 2: dstchannel=Local/541@from-queue-000007ed;1
level 2: lastapp=Queue
level 2: lastdata=8020,tr,,,,,,,,
level 2: start=1473150826.243785
level 2: answer=1473150826.243785
level 2: end=1473150828.114633
level 2: duration=1
level 2: billsec=1
level 2: disposition=0
level 2: amaflags=3
level 2: uniqueid=1473150812.33921
level 2: linkedid=1473150812.33921
level 2: sequence=25511
В данном звонке
Connected Line ID: 541 Connected Line ID Name: Vasya Pupkin Eff. Connected Line ID: 541 Eff. Connected Line ID Name: Vasya Pupkin
Настройки перепроверял, вроде идентичные Подскажите плз на какие настройки стоит обратить отдельное пристальное внимание?
Ваши простыни врядли ктотто будет читать(у меня например это 10 страниц текста).
Если вы не в состоянии выделить важные параметры, то добавляйте тег бизнес и ищите когото, кто это сделает правильно.
По теме - вы можете воспользоватся функцией MASTER_CHANNEL(конечно, только в случае когда такой канал есть, а не у вас transfer через отдельный канал как в циско)
pro-sip.net*CLI> core show function MASTER_CHANNEL
-= Info about function 'MASTER_CHANNEL' =-
[Synopsis]
Gets or sets variables on the master channel
[Description]
Allows access to the channel which created the current channel, if any. If
the channel is already a master channel, then accesses local channel
variables.
[Syntax]
Not available
[Arguments]
Not available
[See Also]
Not available
demo*CLI>
Задан: 2016-09-07 12:49:41 +0400
Просмотрен: 1,082 раз
Обновлен: Sep 07 '16
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.