| 1 |
I'm having the same issue. |
|---|
| 2 |
CID name Prefix is lost when receiving calls from anonymous. |
|---|
| 3 |
I'm also using FreePBX 2.4.0.0 |
|---|
| 4 |
|
|---|
| 5 |
Here is a call trace: |
|---|
| 6 |
|
|---|
| 7 |
--- snip --- |
|---|
| 8 |
-- Accepting voice call from '' to '65062012' on channel 0/1, span 1 |
|---|
| 9 |
-- Executing [65062012@from-pstn:1] Set("Zap/1-1", "__FROM_DID=65062012") in new stack |
|---|
| 10 |
-- Executing [65062012@from-pstn:2] GotoIf("Zap/1-1", "1 ?cidok") in new stack |
|---|
| 11 |
-- Goto (from-pstn,65062012,4) |
|---|
| 12 |
-- Executing [65062012@from-pstn:4] NoOp("Zap/1-1", "CallerID is "CID withheld" <>") in new stack |
|---|
| 13 |
-- Executing [65062012@from-pstn:5] Set("Zap/1-1", "_RGPREFIX=LL: ") in new stack |
|---|
| 14 |
-- Executing [65062012@from-pstn:6] Set("Zap/1-1", "CALLERID(name)=LL: CID withheld") in new stack |
|---|
| 15 |
-- Executing [65062012@from-pstn:7] Goto("Zap/1-1", "from-did-direct|4412|1") in new stack |
|---|
| 16 |
-- Goto (from-did-direct,4412,1) |
|---|
| 17 |
-- Executing [4412@from-did-direct:1] Macro("Zap/1-1", "exten-vm|novm|4412") in new stack |
|---|
| 18 |
-- Executing [s@macro-exten-vm:1] Macro("Zap/1-1", "user-callerid") in new stack |
|---|
| 19 |
-- Executing [s@macro-user-callerid:1] NoOp("Zap/1-1", "user-callerid: LL: CID withheld ") in new stack |
|---|
| 20 |
-- Executing [s@macro-user-callerid:2] Set("Zap/1-1", "AMPUSER=") in new stack |
|---|
| 21 |
-- Executing [s@macro-user-callerid:3] GotoIf("Zap/1-1", "0?report") in new stack |
|---|
| 22 |
-- Executing [s@macro-user-callerid:4] ExecIf("Zap/1-1", "1|Set|REALCALLERIDNUM=") in new stack |
|---|
| 23 |
-- Executing [s@macro-user-callerid:5] NoOp("Zap/1-1", "REALCALLERIDNUM is ") in new stack |
|---|
| 24 |
-- Executing [s@macro-user-callerid:6] Set("Zap/1-1", "AMPUSER=") in new stack |
|---|
| 25 |
-- Executing [s@macro-user-callerid:7] Set("Zap/1-1", "AMPUSERCIDNAME=") in new stack |
|---|
| 26 |
-- Executing [s@macro-user-callerid:8] GotoIf("Zap/1-1", "1?report") in new stack |
|---|
| 27 |
-- Goto (macro-user-callerid,s,13) |
|---|
| 28 |
-- Executing [s@macro-user-callerid:13] NoOp("Zap/1-1", "TTL: ARG1: novm") in new stack |
|---|
| 29 |
-- Executing [s@macro-user-callerid:14] GotoIf("Zap/1-1", "0?continue") in new stack |
|---|
| 30 |
-- Executing [s@macro-user-callerid:15] Set("Zap/1-1", "__TTL=64") in new stack |
|---|
| 31 |
-- Executing [s@macro-user-callerid:16] GotoIf("Zap/1-1", "1?continue") in new stack |
|---|
| 32 |
-- Goto (macro-user-callerid,s,23) |
|---|
| 33 |
-- Executing [s@macro-user-callerid:23] NoOp("Zap/1-1", "Using CallerID "LL: CID withheld" <>") in new stack |
|---|
| 34 |
-- Executing [s@macro-exten-vm:2] Set("Zap/1-1", "FROMCONTEXT=exten-vm") in new stack |
|---|
| 35 |
-- Executing [s@macro-exten-vm:3] Set("Zap/1-1", "VMBOX=novm") in new stack |
|---|
| 36 |
-- Executing [s@macro-exten-vm:4] Set("Zap/1-1", "EXTTOCALL=4412") in new stack |
|---|
| 37 |
-- Executing [s@macro-exten-vm:5] Set("Zap/1-1", "CFUEXT=") in new stack |
|---|
| 38 |
-- Executing [s@macro-exten-vm:6] Set("Zap/1-1", "CFBEXT=") in new stack |
|---|
| 39 |
-- Executing [s@macro-exten-vm:7] Set("Zap/1-1", "RT=""") in new stack |
|---|
| 40 |
-- Executing [s@macro-exten-vm:8] Macro("Zap/1-1", "record-enable|4412|IN") in new stack |
|---|
| 41 |
-- Executing [s@macro-record-enable:1] GotoIf("Zap/1-1", "0?2:4") in new stack |
|---|
| 42 |
-- Goto (macro-record-enable,s,4) |
|---|
| 43 |
-- Executing [s@macro-record-enable:4] AGI("Zap/1-1", "recordingcheck|20080417-171538|asterisk-1208445338.2") in new stack |
|---|
| 44 |
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck |
|---|
| 45 |
-- AGI Script recordingcheck completed, returning 0 |
|---|
| 46 |
-- Executing [s@macro-record-enable:5] NoOp("Zap/1-1", "No recording needed") in new stack |
|---|
| 47 |
-- Executing [s@macro-exten-vm:9] Macro("Zap/1-1", "dial||tr|4412") in new stack |
|---|
| 48 |
-- Executing [s@macro-dial:1] GotoIf("Zap/1-1", "1?dial") in new stack |
|---|
| 49 |
-- Goto (macro-dial,s,3) |
|---|
| 50 |
-- Executing [s@macro-dial:3] AGI("Zap/1-1", "dialparties.agi") in new stack |
|---|
| 51 |
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi |
|---|
| 52 |
dialparties.agi: Starting New Dialparties.agi |
|---|
| 53 |
== Parsing '/etc/asterisk/manager.conf': Found |
|---|
| 54 |
== Parsing '/etc/asterisk/manager_additional.conf': Found |
|---|
| 55 |
== Parsing '/etc/asterisk/manager_custom.conf': Found |
|---|
| 56 |
== Manager 'admin' logged on from 127.0.0.1 |
|---|
| 57 |
dialparties.agi: Caller ID name is 'LL: CID withheld' number is 'unknown' |
|---|
| 58 |
dialparties.agi: USE_CONFIRMATION: 'FALSE' |
|---|
| 59 |
dialparties.agi: RINGGROUP_INDEX: '' |
|---|
| 60 |
dialparties.agi: Methodology of ring is 'none' |
|---|
| 61 |
-- dialparties.agi: Added extension 4412 to extension map |
|---|
| 62 |
-- dialparties.agi: Extension 4412 cf is disabled |
|---|
| 63 |
-- dialparties.agi: Extension 4412 do not disturb is disabled |
|---|
| 64 |
> dialparties.agi: extnum 4412 has: cw: 1; hascfb: 0 [] hascfu: 0 [] |
|---|
| 65 |
> dialparties.agi: ExtensionState: 0 |
|---|
| 66 |
-- dialparties.agi: DbDel CALLTRACE/4412 - Caller ID is not defined |
|---|
| 67 |
-- dialparties.agi: Filtered ARG3: 4412 |
|---|
| 68 |
== Manager 'admin' logged off from 127.0.0.1 |
|---|
| 69 |
-- AGI Script dialparties.agi completed, returning 0 |
|---|
| 70 |
-- Executing [s@macro-dial:7] Dial("Zap/1-1", "SIP/4412||tr") in new stack |
|---|
| 71 |
Extension Changed 4412 new state Ringing for Notify User 4411 |
|---|
| 72 |
-- Called 4412 |
|---|
| 73 |
-- SIP/4412-087449b8 is ringing |
|---|
| 74 |
== Parsing '/etc/asterisk/manager.conf': Found |
|---|
| 75 |
== Parsing '/etc/asterisk/manager_additional.conf': Found |
|---|
| 76 |
== Parsing '/etc/asterisk/manager_custom.conf': Found |
|---|
| 77 |
== Manager 'admin' logged on from 127.0.0.1 |
|---|
| 78 |
== Manager 'admin' logged off from 127.0.0.1 |
|---|
| 79 |
-- Channel 0/1, span 1 got hangup request, cause 16 |
|---|
| 80 |
Extension Changed 4412 new state Idle for Notify User 4411 |
|---|
| 81 |
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1' in macro 'dial' |
|---|
| 82 |
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1' in macro 'exten-vm' |
|---|
| 83 |
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Zap/1-1' |
|---|
| 84 |
-- Executing [h@macro-dial:1] Macro("Zap/1-1", "hangupcall") in new stack |
|---|
| 85 |
-- Executing [s@macro-hangupcall:1] ResetCDR("Zap/1-1", "w") in new stack |
|---|
| 86 |
-- Executing [s@macro-hangupcall:2] NoCDR("Zap/1-1", "") in new stack |
|---|
| 87 |
-- Executing [s@macro-hangupcall:3] GotoIf("Zap/1-1", "1?skiprg") in new stack |
|---|
| 88 |
-- Goto (macro-hangupcall,s,6) |
|---|
| 89 |
-- Executing [s@macro-hangupcall:6] GotoIf("Zap/1-1", "1?skipblkvm") in new stack |
|---|
| 90 |
-- Goto (macro-hangupcall,s,9) |
|---|
| 91 |
-- Executing [s@macro-hangupcall:9] GotoIf("Zap/1-1", "1?theend") in new stack |
|---|
| 92 |
-- Goto (macro-hangupcall,s,11) |
|---|
| 93 |
-- Executing [s@macro-hangupcall:11] Hangup("Zap/1-1", "") in new stack |
|---|
| 94 |
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1' in macro 'hangupcall' |
|---|
| 95 |
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Zap/1-1' |
|---|
| 96 |
-- Hungup 'Zap/1-1' |
|---|
| 97 |
--- snap --- |
|---|
| 98 |
|
|---|
| 99 |
Thanks in advance |
|---|
| 100 |
|
|---|
| 101 |
Regards, |
|---|
| 102 |
KriS83 |
|---|