Caller ID issue using a DLINK DVG-6008 and an analog PBX

Hi everyone,

I have installed the following scenario:

Polycom SoundPoint IP 331
(local network)
FREEPBX 12.0.36 on PBX Firmware: 6.12.65-23 (PBX Service Pack: 1.0.0.0)
(local network)
D-LINK DVG-6008
connected to 702 port
(analog phone line)
connected to extension 2940
INTELBRAS Impacta 220 PBX
(E1 trunk from phone company)

The issue I am having is that the callerID does not make it to FreePBX. I cannot find any help on the web and D-LINK customer support is no help at all. I know this is NOT a FreePBX issue, but does anyone know what is wrong and why the callerID is getting lost in the DVG-6008?

The caller ID is making it to the DVG-6008. I know because I connected a device to it and when it rings, I get the caller ID on the display. But then, the DVG seems to ignore it and send the port number forward to FreePBX (702 in this case).

I have attached some screenshots of the DVG configuration. I followed a tutorial on how to configure it with Asterisk but it is in portuguese, so I don’t think it will be much help, but in short, in Freebpx I created a trunk with details like such:

Peer details:
type=peer
trunk=yes
host=[IF OF THE DVG]
user=702
secret=*********
disallow=all
allow=g729
qualify=yes

In the DVG, you create a hotline basically when someone calls one of the FXO lines, it dials your extension (in my case, 4000).

Somewhere in that mess, the callerID is not going through.

Any help would be appreciated.

Thank you

Excerpt from the log file:

[2015-01-21 14:40:48] VERBOSE[1715][C-00002511] netsock2.c: == Using SIP RTP TOS bits 184
[2015-01-21 14:40:48] VERBOSE[1715][C-00002511] netsock2.c: == Using SIP RTP CoS mark 5
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [4000@from-trunk:1] GotoIf(“SIP/702-0000011f”, “1?ext-local,4000,1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (ext-local,4000,1)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [4000@ext-local:1] Set(“SIP/702-0000011f”, “__RINGTIMER=40”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [4000@ext-local:2] Macro(“SIP/702-0000011f”, “exten-vm,4000,4000,1,0,0”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:1] Macro(“SIP/702-0000011f”, “user-callerid,”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/702-0000011f”, “TOUCH_MONITOR=1421858448.287”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/702-0000011f”, “AMPUSER=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/702-0000011f”, “0?report”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/702-0000011f”, “1?Set(REALCALLERIDNUM=702)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/702-0000011f”, “AMPUSER=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/702-0000011f”, “0?limit”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/702-0000011f”, “AMPUSERCIDNAME=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/702-0000011f”, “1?report”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-user-callerid,s,16)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:16] GotoIf(“SIP/702-0000011f”, “0?continue”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:17] ExecIf(“SIP/702-0000011f”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:18] Set(“SIP/702-0000011f”, “__TTL=64”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:19] GotoIf(“SIP/702-0000011f”, “1?continue”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-user-callerid,s,30)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/702-0000011f”, “CALLERID(number)=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:31] Set(“SIP/702-0000011f”, “CALLERID(name)=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/702-0000011f”, “CDR(cnum)=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/702-0000011f”, “CDR(cnam)=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/702-0000011f”, “CHANNEL(language)=pt_BR”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:2] Set(“SIP/702-0000011f”, “RingGroupMethod=none”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:3] Set(“SIP/702-0000011f”, “__EXTTOCALL=4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:4] Set(“SIP/702-0000011f”, “__PICKUPMARK=4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:5] Set(“SIP/702-0000011f”, “RT=40”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:6] ExecIf(“SIP/702-0000011f”, “0?Macro(vm,4000,DIRECTDIAL,)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:7] ExecIf(“SIP/702-0000011f”, “0?MacroExit()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:8] Gosub(“SIP/702-0000011f”, “sub-record-check,s,1(exten,4000,)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:1] GotoIf(“SIP/702-0000011f”, “0?initialized”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:2] Set(“SIP/702-0000011f”, “__REC_STATUS=INITIALIZED”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:3] Set(“SIP/702-0000011f”, “NOW=1421858448”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:4] Set(“SIP/702-0000011f”, “__DAY=21”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:5] Set(“SIP/702-0000011f”, “__MONTH=01”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:6] Set(“SIP/702-0000011f”, “__YEAR=2015”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:7] Set(“SIP/702-0000011f”, “__TIMESTR=20150121-144048”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:8] Set(“SIP/702-0000011f”, “__FROMEXTEN=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:9] Set(“SIP/702-0000011f”, “__MON_FMT=gsm”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:10] NoOp(“SIP/702-0000011f”, “Recordings initialized”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:11] ExecIf(“SIP/702-0000011f”, “0?Set(ARG3=dontcare)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:12] Set(“SIP/702-0000011f”, “REC_POLICY_MODE_SAVE=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:13] GotoIf(“SIP/702-0000011f”, “5?checkaction”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (sub-record-check,s,16)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@sub-record-check:16] GotoIf(“SIP/702-0000011f”, “1?sub-record-check,exten,1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (sub-record-check,exten,1)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:1] NoOp(“SIP/702-0000011f”, “Exten Recording Check between 702 and 4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:2] Set(“SIP/702-0000011f”, “CALLTYPE=internal”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:3] ExecIf(“SIP/702-0000011f”, “0?Set(CALLTYPE=)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:4] Set(“SIP/702-0000011f”, “CALLEE=dontcare”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:5] ExecIf(“SIP/702-0000011f”, “0?Set(CALLEE=dontcare)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:6] GotoIf(“SIP/702-0000011f”, “0?callee”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:7] GotoIf(“SIP/702-0000011f”, “1?caller”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (sub-record-check,exten,13)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:13] Set(“SIP/702-0000011f”, “RECMODE=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:14] ExecIf(“SIP/702-0000011f”, “1?Set(RECMODE=dontcare)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:15] ExecIf(“SIP/702-0000011f”, “1?Set(RECMODE=dontcare)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:16] Gosub(“SIP/702-0000011f”, “recordcheck,1(dontcare,internal,4000)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [recordcheck@sub-record-check:1] NoOp(“SIP/702-0000011f”, “Starting recording check against dontcare”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [recordcheck@sub-record-check:2] Goto(“SIP/702-0000011f”, “dontcare”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (sub-record-check,recordcheck,3)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [recordcheck@sub-record-check:3] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [exten@sub-record-check:17] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:9] GotoIf(“SIP/702-0000011f”, “1?macrodial”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-exten-vm,s,15)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:15] GosubIf(“SIP/702-0000011f”, “0?clrheader,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-exten-vm:16] Macro(“SIP/702-0000011f”, “dial-one,40,Ttr,4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:1] Set(“SIP/702-0000011f”, “DEXTEN=4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:2] Set(“SIP/702-0000011f”, “DIALSTATUS_CW=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:3] GosubIf(“SIP/702-0000011f”, “0?screen,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:4] GosubIf(“SIP/702-0000011f”, “0?cf,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:5] GotoIf(“SIP/702-0000011f”, “1?skip1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,s,8)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:8] GotoIf(“SIP/702-0000011f”, “0?nodial”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:9] GotoIf(“SIP/702-0000011f”, “0?continue”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:10] Set(“SIP/702-0000011f”, “EXTHASCW=ENABLED”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:11] GotoIf(“SIP/702-0000011f”, “0?next1:cwinusebusy”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,s,23)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:23] GotoIf(“SIP/702-0000011f”, “1?next3:continue”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,s,24)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:24] ExecIf(“SIP/702-0000011f”, “0?Set(DIALSTATUS_CW=BUSY)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:25] GotoIf(“SIP/702-0000011f”, “0?nodial”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:26] GosubIf(“SIP/702-0000011f”, “1?dstring,1():dlocal,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:1] Set(“SIP/702-0000011f”, “DSTRING=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:2] Set(“SIP/702-0000011f”, “DEVICES=4000&994000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:3] ExecIf(“SIP/702-0000011f”, “0?Return()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:4] ExecIf(“SIP/702-0000011f”, “0?Set(DEVICES=000&994000)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:5] Set(“SIP/702-0000011f”, “LOOPCNT=2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:6] Set(“SIP/702-0000011f”, “ITER=1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:7] Set(“SIP/702-0000011f”, “THISDIAL=SIP/4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:8] GosubIf(“SIP/702-0000011f”, “1?zap2dahdi,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/702-0000011f”, “0?Return()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/702-0000011f”, “NEWDIAL=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/702-0000011f”, “LOOPCNT2=1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/702-0000011f”, “ITER2=1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/702-0000011f”, “THISPART2=SIP/4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/702-0000011f”, “0?Set(THISPART2=DAHDI/4000)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/702-0000011f”, “NEWDIAL=SIP/4000&”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/702-0000011f”, “ITER2=2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/702-0000011f”, “0?begin2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/702-0000011f”, “THISDIAL=SIP/4000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:9] GotoIf(“SIP/702-0000011f”, “1?doset”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,dstring,12)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:12] Set(“SIP/702-0000011f”, “DSTRING=SIP/4000&”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:13] Set(“SIP/702-0000011f”, “ITER=2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:14] GotoIf(“SIP/702-0000011f”, “1?begin”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,dstring,7)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:7] Set(“SIP/702-0000011f”, “THISDIAL=SIP/994000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:8] GosubIf(“SIP/702-0000011f”, “1?zap2dahdi,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:1] ExecIf(“SIP/702-0000011f”, “0?Return()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:2] Set(“SIP/702-0000011f”, “NEWDIAL=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:3] Set(“SIP/702-0000011f”, “LOOPCNT2=1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:4] Set(“SIP/702-0000011f”, “ITER2=1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:5] Set(“SIP/702-0000011f”, “THISPART2=SIP/994000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:6] ExecIf(“SIP/702-0000011f”, “0?Set(THISPART2=DAHDI/994000)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:7] Set(“SIP/702-0000011f”, “NEWDIAL=SIP/994000&”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:8] Set(“SIP/702-0000011f”, “ITER2=2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] GotoIf(“SIP/702-0000011f”, “0?begin2”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] Set(“SIP/702-0000011f”, “THISDIAL=SIP/994000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:9] GotoIf(“SIP/702-0000011f”, “1?doset”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,dstring,12)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:12] Set(“SIP/702-0000011f”, “DSTRING=SIP/4000&SIP/994000&”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:13] Set(“SIP/702-0000011f”, “ITER=3”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:14] GotoIf(“SIP/702-0000011f”, “0?begin”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:15] Set(“SIP/702-0000011f”, “DSTRING=SIP/4000&SIP/994000”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [dstring@macro-dial-one:16] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:27] GotoIf(“SIP/702-0000011f”, “0?nodial”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:28] GotoIf(“SIP/702-0000011f”, “0?skiptrace”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:29] GosubIf(“SIP/702-0000011f”, “1?ctset,1():ctclear,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [ctset@macro-dial-one:1] Set(“SIP/702-0000011f”, “DB(CALLTRACE/4000)=702”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [ctset@macro-dial-one:2] Return(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:30] Set(“SIP/702-0000011f”, “D_OPTIONS=Ttr”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:31] ExecIf(“SIP/702-0000011f”, “0?SIPAddHeader(Alert-Info: )”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:32] ExecIf(“SIP/702-0000011f”, “0?SIPAddHeader()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:33] ExecIf(“SIP/702-0000011f”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:34] GosubIf(“SIP/702-0000011f”, “0?qwait,1()”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:35] Set(“SIP/702-0000011f”, “__CWIGNORE=”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:36] Set(“SIP/702-0000011f”, “__KEEPCID=TRUE”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:37] GotoIf(“SIP/702-0000011f”, “0?usegoto,1”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:38] GotoIf(“SIP/702-0000011f”, “1?godial”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Goto (macro-dial-one,s,43)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:43] Macro(“SIP/702-0000011f”, “dialout-one-predial-hook,”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“SIP/702-0000011f”, “”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] pbx.c: – Executing [s@macro-dial-one:44] Dial(“SIP/702-0000011f”, “SIP/4000&SIP/994000,40,Ttr”) in new stack
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] netsock2.c: == Using SIP RTP TOS bits 184
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] netsock2.c: == Using SIP RTP CoS mark 5
[2015-01-21 14:40:48] WARNING[37931][C-00002511] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] app_dial.c: – Called SIP/4000
[2015-01-21 14:40:48] VERBOSE[37931][C-00002511] app_dial.c: – SIP/4000-00000120 is ringing




Hi aeciolemos

Were you able to find a solution for this? I am struggling to get the caller ID passed to PBX. Any help would be appreciated. Many thanks!

KR Fasil

Hi Fasilkaks,

No, I was neither able to figure it out nor get ANY support from DLINK. NO reply whatsoever from anyone. So I tossed that DLINK and just got an onboard card. Now it works perfectly. I gave up after about a month trying and then a friend of mine, who was at the time working reparing DLINK products told me it was a firmware problem.

Sorry for the bad news.

Aecio Lemos

Hi Aeciolemos,

Thanks for the reply. I finally got a clue on the configuration. One of the Dlink support guy helped on to the right direction. As you said, the firmware needs to be updated first. The caller ID is working fine. Need a thorough test though.

KR, Fasil.