Connected Line ID: (N/A)

Hello!
I have a really weird question, which I need your help with. I have two absolutely identical Asterisk 13.9.1 with FreePBX 13 on it. On each asterisk system i have set up a queue with identical parameters. I have a trunk on each queue and Inbound route «ties» it to a queue directly.

I see the following problem when I do a call and see the log with the ‘core show channel SIP’ command.

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

Here’s the output from the first Asterisk:

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

As I mentioned before, both Asterisk servers/versions/trunk settings/queue settings are identical. However, i can see that in the first case the following fields all have ’N/A’ value.

Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)

And in the other case these fields are populated with a specific (and correct) data.

I tripple-checked all the settings and options. Everything looks to be the same. But the output differs and this is crucial for me.
I anyone could tell me what option/section in settings should I look at to fix this issue - i would really appreciate it.