Wrong display name

We have 2 internal FreePBX servers: A and B, and here’s the issue we recently found:

  1. Issue:
    If we updated an extension name on FreePBX A, extensions under FreePBX B couldn’t get the updated name when received calls from FreePBX A, but extensions under FreePBX A could show the updated name. But we don’t have this issue when updated extension name on FreePBX B. Here’s the example:

  2. Background:
    PBX Version: 15.0.16.75
    Asterisk Version: 13.36.0
    Extension A-301 we created on FreePBX A, and the name was changed from Tammy to Sunny.
    Extension B-101 we created on FreePBX B,

B-101 received a call from A-301, and the name showed Michael(should be Michael). It alwasy showed Michael even I deleted the extension A-301 and recreated.

  1. Troubleshooting:
    I checked the information in CLI and here’s the results:

*Under FreePBX A: /AMPUSER/301/cidname : Sunny
*Under FreePBX B: /AMPUSER/301/cidname : Tammy

I tried to use command “database del AMPUSER 301” to delete the extension under FreePBX A, and no data returned under AMPUSER301. But I still could find AMPUSER301 under FreePBX B.

Would you please let me know what I can do to fix this issue?

Start by sharing a call trace via pastebin link. See wiki: https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

You may also consider upgrading to 16 or 18.

Hi PitzKey,

Thanks for your reply and here’s some logs I could found.

[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [1341@from-internal:1] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?ext-local,1341,1:followme-check,1341,1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (ext-local,1341,1)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [1341@ext-local:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "__RINGTIMER=35") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [1341@ext-local:2] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(__CWIGNORE=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [1341@ext-local:3] Macro("PJSIP/PJSIP-TO-JN-00005a59", "exten-vm,novm,1341,0,0,0") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:1] Macro("PJSIP/PJSIP-TO-JN-00005a59", "user-callerid,") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "TOUCH_MONITOR=1612924447.39242") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/PJSIP-TO-JN-00005a59", "AMPUSER=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:3] Set("PJSIP/PJSIP-TO-JN-00005a59", "HOTDESCKCHAN=PJSIP-TO-JN-00005a59") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:4] Set("PJSIP/PJSIP-TO-JN-00005a59", "HOTDESKEXTEN=PJSIP") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/PJSIP-TO-JN-00005a59", "HOTDESKCALL=0") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:6] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(HOTDESKCALL=1)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:7] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CALLERID(name)=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?report") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:9] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "1?Set(REALCALLERIDNUM=3364)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/PJSIP-TO-JN-00005a59", "AMPUSER=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:11] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?limit") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/PJSIP-TO-JN-00005a59", "AMPUSERCIDNAME=Tammy Liu") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?report") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:15] Set("PJSIP/PJSIP-TO-JN-00005a59", "AMPUSERCID=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:16] Set("PJSIP/PJSIP-TO-JN-00005a59", "__DIAL_OPTIONS=Ttr") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:17] Set("PJSIP/PJSIP-TO-JN-00005a59", "CALLERID(all)="Tammy Liu" <3364>") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:18] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CUSDIAL=1341)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CALLERID(all)="Tammy Liu" <3364>)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:20] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?limit") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:21] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(GROUP(concurrency_limit)=3364)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:22] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CHANNEL(language)=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:23] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Macro Depth is 2") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:24] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?report2:macroerror") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-user-callerid,s,25)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:25] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?continue") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:26] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:27] Set("PJSIP/PJSIP-TO-JN-00005a59", "__TTL=64") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:28] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?continue") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-user-callerid,s,44)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:44] Set("PJSIP/PJSIP-TO-JN-00005a59", "CALLERID(number)=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:45] Set("PJSIP/PJSIP-TO-JN-00005a59", "CALLERID(name)=Tammy Liu") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:46] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?cnum") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:47] Set("PJSIP/PJSIP-TO-JN-00005a59", "CDR(cnam)=Tammy Liu") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:48] Set("PJSIP/PJSIP-TO-JN-00005a59", "CDR(cnum)=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-user-callerid:49] Set("PJSIP/PJSIP-TO-JN-00005a59", "CHANNEL(language)=en") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:2] Set("PJSIP/PJSIP-TO-JN-00005a59", "RingGroupMethod=none") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:3] Set("PJSIP/PJSIP-TO-JN-00005a59", "__EXTTOCALL=1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:4] Set("PJSIP/PJSIP-TO-JN-00005a59", "__PICKUPMARK=1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:5] Set("PJSIP/PJSIP-TO-JN-00005a59", "RT=") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:6] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:7] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:8] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Gosub(ext-intercom,*801341,1())") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:9] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:10] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?ChanSpy(PJSIP/1341,q)") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:11] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] WARNING[52095][C-00003aea] chan_sip.c: This function can only be used on SIP channels.
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:12] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:13] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:14] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Gosub(ext-intercom,*801341,1())") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:15] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:16] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?ChanSpy(PJSIP/1341,q)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:17] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?MacroExit()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:18] Gosub("PJSIP/PJSIP-TO-JN-00005a59", "sub-record-check,s,1(exten,1341,dontcare)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:1] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?initialized") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:2] Set("PJSIP/PJSIP-TO-JN-00005a59", "__REC_STATUS=INITIALIZED") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:3] Set("PJSIP/PJSIP-TO-JN-00005a59", "NOW=1612924447") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:4] Set("PJSIP/PJSIP-TO-JN-00005a59", "__DAY=10") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:5] Set("PJSIP/PJSIP-TO-JN-00005a59", "__MONTH=02") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:6] Set("PJSIP/PJSIP-TO-JN-00005a59", "__YEAR=2021") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:7] Set("PJSIP/PJSIP-TO-JN-00005a59", "__TIMESTR=20210210-103407") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:8] Set("PJSIP/PJSIP-TO-JN-00005a59", "__FROMEXTEN=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:9] Set("PJSIP/PJSIP-TO-JN-00005a59", "__MON_FMT=wav") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:10] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Recordings initialized") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:11] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(ARG3=dontcare)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:12] Set("PJSIP/PJSIP-TO-JN-00005a59", "REC_POLICY_MODE_SAVE=") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:13] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(REC_STATUS=NO)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:14] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "5?checkaction") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (sub-record-check,s,17)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-record-check:17] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?sub-record-check,exten,1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (sub-record-check,exten,1)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:1] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Exten Recording Check between 3364 and 1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:2] Set("PJSIP/PJSIP-TO-JN-00005a59", "CALLTYPE=internal") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:3] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CALLTYPE=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:4] Set("PJSIP/PJSIP-TO-JN-00005a59", "CALLEE=dontcare") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:5] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CALLEE=dontcare)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:6] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?callee") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:7] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?caller") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (sub-record-check,exten,13)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:13] Set("PJSIP/PJSIP-TO-JN-00005a59", "RECMODE=dontcare") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:14] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(RECMODE=dontcare)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:15] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "1?Set(RECMODE=dontcare)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:16] Gosub("PJSIP/PJSIP-TO-JN-00005a59", "recordcheck,1(dontcare,internal,1341)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Starting recording check against dontcare") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("PJSIP/PJSIP-TO-JN-00005a59", "dontcare") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [recordcheck@sub-record-check:3] Return("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [exten@sub-record-check:17] Return("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:19] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?macrodial") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-exten-vm,s,25)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:25] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?clrheader,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-exten-vm:26] Macro("PJSIP/PJSIP-TO-JN-00005a59", "dial-one,Ttr,1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "DEXTEN=1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:2] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(__EXTTOCALL=1341)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:3] Set("PJSIP/PJSIP-TO-JN-00005a59", "DIALSTATUS_CW=") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:4] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?screen,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:5] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?cf,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:6] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "1?skip1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-dial-one,s,9)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:9] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?nodial") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:10] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?continue") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:11] Set("PJSIP/PJSIP-TO-JN-00005a59", "EXTHASCW=ENABLED") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:12] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?next1:cwinusebusy") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-dial-one,s,24)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:24] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?next3:continue") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (macro-dial-one,s,26)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:26] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?nodial") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:27] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "1?dstring,1():dlocal,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "DSTRING=") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:2] Set("PJSIP/PJSIP-TO-JN-00005a59", "DEVICES=1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Return()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(DEVICES=341)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:5] Set("PJSIP/PJSIP-TO-JN-00005a59", "LOOPCNT=1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:6] Set("PJSIP/PJSIP-TO-JN-00005a59", "ITER=1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:7] Set("PJSIP/PJSIP-TO-JN-00005a59", "THISDIAL=PJSIP/1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:8] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?docheck") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:9] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Debug: Found PJSIP Destination PJSIP/1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:10] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?doset") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:11] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:12] Set("PJSIP/PJSIP-TO-JN-00005a59", "THISDIAL=PJSIP/1341/sip:[email protected]:5060;registering_acc=10_1_20_189") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:13] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(DIALSTATUS=CHANUNAVAIL)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?skipset") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:15] Set("PJSIP/PJSIP-TO-JN-00005a59", "DSTRING=PJSIP/1341/sip:[email protected]:5060;registering_acc=10_1_20_189&") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:16] Set("PJSIP/PJSIP-TO-JN-00005a59", "ITER=2") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?begin") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Return()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:19] Set("PJSIP/PJSIP-TO-JN-00005a59", "DSTRING=PJSIP/1341/sip:[email protected]:5060;registering_acc=10_1_20_189") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [dstring@macro-dial-one:20] Return("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:28] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?nodial") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:29] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?skiptrace") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:30] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "1?ctset,1():ctclear,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [ctset@macro-dial-one:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "DB(CALLTRACE/1341)=3364") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [ctset@macro-dial-one:2] Return("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:31] Set("PJSIP/PJSIP-TO-JN-00005a59", "D_OPTIONS=Ttr") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:32] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:33] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "Blind Transfer: , Attended Transfer: , User: 3364, Alert Info: ") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:34] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "1?Set(ALERT_INFO=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:35] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(ALERT_INFO=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:36] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(ALERT_INFO=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:37] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:38] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:39] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:40] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CHANNEL(musicclass)=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:41] GosubIf("PJSIP/PJSIP-TO-JN-00005a59", "0?qwait,1()") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:42] Set("PJSIP/PJSIP-TO-JN-00005a59", "__CWIGNORE=") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:43] Set("PJSIP/PJSIP-TO-JN-00005a59", "__KEEPCID=TRUE") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:44] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?usegoto,1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:45] GotoIf("PJSIP/PJSIP-TO-JN-00005a59", "0?godial") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:46] Gosub("PJSIP/PJSIP-TO-JN-00005a59", "sub-presencestate-display,s,1(1341)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@sub-presencestate-display:1] Goto("PJSIP/PJSIP-TO-JN-00005a59", "state-not_set,1") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx_builtins.c: Goto (sub-presencestate-display,state-not_set,1)
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [state-not_set@sub-presencestate-display:1] Set("PJSIP/PJSIP-TO-JN-00005a59", "PRESENCESTATE_DISPLAY=") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [state-not_set@sub-presencestate-display:2] Return("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:47] Set("PJSIP/PJSIP-TO-JN-00005a59", "CONNECTEDLINE(name,i)=jacob-test2") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:48] Set("PJSIP/PJSIP-TO-JN-00005a59", "CONNECTEDLINE(num)=1341") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:49] Set("PJSIP/PJSIP-TO-JN-00005a59", "D_OPTIONS=Ttr") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:50] Macro("PJSIP/PJSIP-TO-JN-00005a59", "dialout-one-predial-hook,") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:51] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(D_OPTIONS=trI)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:52] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:53] NoOp("PJSIP/PJSIP-TO-JN-00005a59", "") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:54] ExecIf("PJSIP/PJSIP-TO-JN-00005a59", "0?Set(D_OPTIONS=Ttrg)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@macro-dial-one:55] Dial("PJSIP/PJSIP-TO-JN-00005a59", "PJSIP/1341/sip:[email protected]:5060;registering_acc=10_1_20_189,Ttrb(func-apply-sipheaders^s^1)") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] app_stack.c: PJSIP/1341-00005a5a Internal Gosub(func-apply-sipheaders,s,1) start
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/1341-00005a5a", "Applying SIP Headers to channel PJSIP/1341-00005a5a") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@func-apply-sipheaders:2] Set("PJSIP/1341-00005a5a", "TECH=PJSIP") in new stack
[2021-02-10 10:34:07] VERBOSE[52095][C-00003aea] pbx.c: Executing [s@func-apply-sipheaders:3] Set("PJSIP/1341-00005a5a", "SIPHEADERKEYS=") in new stack

Sunny is the correct name of extension 3364 on PBX-A, and Tammy is the previous display name under extension 3364.

The extensions under PBX-B will show Tammy when received the call from 3364(PBX-A).

In the future, when we ask to use pastebin, please do so. It’s much easier to read and share.

It seems like you have the same extension on both servers, so since the call comes through the from-internal context, the PBX tries to set the CID from it’s own asterisk DB.

If you have the same exact extensions on both PBXs, then they anyway won’t be able to call back to the other PBX.

You may want to prepend a digit to the CID on the Trunk level to differentiate between both servers.

Sorry about that…I’ll follow it to upload logs.

Actually, the extension was just created on the PBX-A and it wasn’t existed in the extension list on the PBX-B… It seems PBX-B stored the old information and couldn’t update it.

Thanks for your kindly help and have a good day.

If there is no such an extension on PBX-B then it wouldn’t be in the DB after deleting the DB record.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.