Freepbx 13 /Google Voice CID = DID ?! WHY?

Hi Guys

i just could work on google voice after long of pain .

now for the incoming calls all the CID if the incoming calls is the same as My DID ??!!!

souldnt the CID be correct when using Google voice with freepbx 13 ???

anyway here are the setting below .

[root@ip-172-30-0-188 ~]# cat /etc/asterisk/motif.conf
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. ;
;--------------------------------------------------------------------------------;
; For information on adding additional paramaters to this file, please visit the ;
; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ;
; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ;
; is totally deliberate. ;
;--------------------------------------------------------------------------------;
[xxxxx]
context=ixxxxx
disallow=all
allow=ulaw
connection=gthesignstore1gmailcom

#include motif_custom.conf

here is form the dial plan
[imxxxore1gmailcom]
include => im-xxxgmailcom-custom
exten => s,1(1),Noop(Receiving GoogleVoice on DID: xxx3078673)
exten => s,n,Noop(${EXTEN})
exten => s,n,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
exten => s,n,GotoIf($[“${CALLERID(name):0:2}” != “+1”]?nextstop)
exten => s,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => s,n(nextstop),GotoIf($[“${CALLERID(name):0:1}” != “+”]?notrim)
exten => s,n,Set(CALLERID(name)=${CALLERID(name):1})
exten => s,n,Set(CDR(did)=xx3078673)
exten => s,n(notrim),Set(CALLERID(number)=${CALLERID(name)})
exten => s,n,Set(DIAL_OPTIONS=${DIAL_OPTIONS}aD(:1))
exten => s,n,Goto(from-trunk,xx3078673,1)

exten => h,1,Hangup

here is the debug for incoming call

=========
ip-172-30-0-188*CLI>
== Spawn extension (macro-dial-one, s, 48) exited non-zero on ‘Motif/+19563078673-9b01’ in macro ‘dial-one’
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on ‘Motif/+19563078673-9b01’ in macro ‘exten-vm’
== Spawn extension (from-did-direct, 102, 2) exited non-zero on ‘Motif/+19563078673-9b01’
– Executing [h@from-did-direct:1] Macro(“Motif/+19563078673-9b01”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“Motif/+19563078673-9b01”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“Motif/+19563078673-9b01”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“Motif/+19563078673-9b01”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘Motif/+19563078673-9b01’ in macro ‘hangupcall’
== Spawn extension (from-did-direct, h, 1) exited non-zero on ‘Motif/+19563078673-9b01’
– Executing [s@im-thesignstore1gmailcom:1] NoOp(“Motif/+19563078673-5939”, “Receiving GoogleVoice on DID: 9563078673”) in new stack
– Executing [s@im-thesignstore1gmailcom:2] NoOp(“Motif/+19563078673-5939”, “s”) in new stack
– Executing [s@im-thesignstore1gmailcom:3] NoOp(“Motif/+19563078673-5939”, "hey what the hell is going on ??? [email protected]/srvenc-VtGrlqsftb0sK4tXrJCtmrbSw8f67nRR ") in new stack
– Executing [s@im-thesignstore1gmailcom:4] Set(“Motif/+19563078673-5939”, “CALLERID(name)=+19563078673”) in new stack
– Executing [s@im-thesignstore1gmailcom:5] GotoIf(“Motif/+19563078673-5939”, “0?nextstop”) in new stack
– Executing [s@im-thesignstore1gmailcom:6] Set(“Motif/+19563078673-5939”, “CALLERID(name)=9563078673”) in new stack
– Executing [s@im-thesignstore1gmailcom:7] GotoIf(“Motif/+19563078673-5939”, “1?notrim”) in new stack
– Goto (im-thesignstore1gmailcom,s,10)
– Executing [s@im-thesignstore1gmailcom:10] Set(“Motif/+19563078673-5939”, “CALLERID(number)=9563078673”) in new stack
– Executing [s@im-thesignstore1gmailcom:11] Set(“Motif/+19563078673-5939”, “DIAL_OPTIONS=TtraD(:1)”) in new stack
– Executing [s@im-thesignstore1gmailcom:12] Goto(“Motif/+19563078673-5939”, “from-trunk,9563078673,1”) in new stack
– Goto (from-trunk,9563078673,1)
– Executing [9563078673@from-trunk:1] NoOp(“Motif/+19563078673-5939”, “Catch-All DID Match - Found 9563078673 - You probably want a DID for this.”) in new stack
[2016-08-29 14:49:19] WARNING[2724][C-0000000a]: chan_sip.c:22795 func_header_read: This function can only be used on SIP channels.
– Executing [9563078673@from-trunk:2] Log(“Motif/+19563078673-5939”, "WARNING,Friendly Scanner from ") in new stack
[2016-08-29 14:49:19] WARNING[2724][C-0000000a]: Ext. 9563078673:2 @ from-trunk: Friendly Scanner from
– Executing [9563078673@from-trunk:3] Set(“Motif/+19563078673-5939”, “__FROM_DID=9563078673”) in new stack
– Executing [9563078673@from-trunk:4] Goto(“Motif/+19563078673-5939”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] Set(“Motif/+19563078673-5939”, “__DIRECTION=INBOUND”) in new stack
– Executing [s@ext-did:2] ExecIf(“Motif/+19563078673-5939”, “0?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:3] Set(“Motif/+19563078673-5939”, “CDR(did)=9563078673”) in new stack
– Executing [s@ext-did:4] ExecIf(“Motif/+19563078673-5939”, “0 ?Set(CALLERID(name)=9563078673)”) in new stack
– Executing [s@ext-did:5] Set(“Motif/+19563078673-5939”, “__MOHCLASS=”) in new stack
– Executing [s@ext-did:6] Set(“Motif/+19563078673-5939”, “__REVERSAL_REJECT=FALSE”) in new stack
– Executing [s@ext-did:7] GotoIf(“Motif/+19563078673-5939”, “1?post-reverse-charge”) in new stack
– Goto (ext-did,s,9)
– Executing [s@ext-did:9] NoOp(“Motif/+19563078673-5939”, “”) in new stack
– Executing [s@ext-did:10] Set(“Motif/+19563078673-5939”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:11] Set(“Motif/+19563078673-5939”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:12] Set(“Motif/+19563078673-5939”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:13] Set(“Motif/+19563078673-5939”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
– Executing [s@ext-did:14] NoOp(“Motif/+19563078673-5939”, “CallerID Entry Point”) in new stack
– Executing [s@ext-did:15] Goto(“Motif/+19563078673-5939”, “from-did-direct,102,1”) in new stack
– Goto (from-did-direct,102,1)
– Executing [102@from-did-direct:1] Set(“Motif/+19563078673-5939”, “__RINGTIMER=15”) in new stack
– Executing [102@from-did-direct:2] Macro(“Motif/+19563078673-5939”, “exten-vm,novm,102,0,0,0”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“Motif/+19563078673-5939”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“Motif/+19563078673-5939”, “TOUCH_MONITOR=1472482159.17”) in new stack
– Executing [s@macro-user-callerid:2] Set(“Motif/+19563078673-5939”, “AMPUSER=9563078673”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“Motif/+19563078673-5939”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“Motif/+19563078673-5939”, “1?Set(REALCALLERIDNUM=9563078673)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“Motif/+19563078673-5939”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“Motif/+19563078673-5939”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“Motif/+19563078673-5939”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“Motif/+19563078673-5939”, “1?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [s@macro-user-callerid:15] GotoIf(“Motif/+19563078673-5939”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:16] Set(“Motif/+19563078673-5939”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:17] GotoIf(“Motif/+19563078673-5939”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“Motif/+19563078673-5939”, “CALLERID(number)=9563078673”) in new stack
– Executing [s@macro-user-callerid:29] Set(“Motif/+19563078673-5939”, “CALLERID(name)=9563078673”) in new stack
– Executing [s@macro-user-callerid:30] Set(“Motif/+19563078673-5939”, “CDR(cnum)=9563078673”) in new stack
– Executing [s@macro-user-callerid:31] Set(“Motif/+19563078673-5939”, “CDR(cnam)=9563078673”) in new stack
– Executing [s@macro-user-callerid:32] Set(“Motif/+19563078673-5939”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-exten-vm:2] Set(“Motif/+19563078673-5939”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“Motif/+19563078673-5939”, “__EXTTOCALL=102”) in new stack
– Executing [s@macro-exten-vm:4] Set(“Motif/+19563078673-5939”, “__PICKUPMARK=102”) in new stack
– Executing [s@macro-exten-vm:5] Set(“Motif/+19563078673-5939”, “RT=”) in new stack
– Executing [s@macro-exten-vm:6] Gosub(“Motif/+19563078673-5939”, “sub-record-check,s,1(exten,102,dontcare)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“Motif/+19563078673-5939”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“Motif/+19563078673-5939”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“Motif/+19563078673-5939”, “NOW=1472482159”) in new stack
– Executing [s@sub-record-check:4] Set(“Motif/+19563078673-5939”, “__DAY=29”) in new stack
– Executing [s@sub-record-check:5] Set(“Motif/+19563078673-5939”, “__MONTH=08”) in new stack
– Executing [s@sub-record-check:6] Set(“Motif/+19563078673-5939”, “__YEAR=2016”) in new stack
– Executing [s@sub-record-check:7] Set(“Motif/+19563078673-5939”, “__TIMESTR=20160829-144919”) in new stack
– Executing [s@sub-record-check:8] Set(“Motif/+19563078673-5939”, “__FROMEXTEN=9563078673”) in new stack
– Executing [s@sub-record-check:9] Set(“Motif/+19563078673-5939”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“Motif/+19563078673-5939”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“Motif/+19563078673-5939”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“Motif/+19563078673-5939”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“Motif/+19563078673-5939”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“Motif/+19563078673-5939”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“Motif/+19563078673-5939”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“Motif/+19563078673-5939”, “Exten Recording Check between 9563078673 and 102”) in new stack
– Executing [exten@sub-record-check:2] Set(“Motif/+19563078673-5939”, “CALLTYPE=external”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“Motif/+19563078673-5939”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“Motif/+19563078673-5939”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“Motif/+19563078673-5939”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“Motif/+19563078673-5939”, “1?callee”) in new stack
– Goto (sub-record-check,exten,11)
– Executing [exten@sub-record-check:11] Gosub(“Motif/+19563078673-5939”, “recordcheck,1(dontcare,external,102)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“Motif/+19563078673-5939”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“Motif/+19563078673-5939”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“Motif/+19563078673-5939”, “”) in new stack
– Executing [exten@sub-record-check:12] Return(“Motif/+19563078673-5939”, “”) in new stack
– Executing [s@macro-exten-vm:7] GotoIf(“Motif/+19563078673-5939”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,13)
– Executing [s@macro-exten-vm:13] GosubIf(“Motif/+19563078673-5939”, “0?clrheader,1()”) in new stack
– Executing [s@macro-exten-vm:14] Macro(“Motif/+19563078673-5939”, “dial-one,TtraD(:1),102”) in new stack
– Executing [s@macro-dial-one:1] Set(“Motif/+19563078673-5939”, “DEXTEN=102”) in new stack
– Executing [s@macro-dial-one:2] Set(“Motif/+19563078673-5939”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:3] GosubIf(“Motif/+19563078673-5939”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:4] GosubIf(“Motif/+19563078673-5939”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:5] GotoIf(“Motif/+19563078673-5939”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,8)
– Executing [s@macro-dial-one:8] GotoIf(“Motif/+19563078673-5939”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:9] GotoIf(“Motif/+19563078673-5939”, “0?continue”) in new stack
– Executing [s@macro-dial-one:10] Set(“Motif/+19563078673-5939”, “EXTHASCW=ENABLED”) in new stack
– Executing [s@macro-dial-one:11] GotoIf(“Motif/+19563078673-5939”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,23)
– Executing [s@macro-dial-one:23] GotoIf(“Motif/+19563078673-5939”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,25)
– Executing [s@macro-dial-one:25] GotoIf(“Motif/+19563078673-5939”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:26] GosubIf(“Motif/+19563078673-5939”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [dstring@macro-dial-one:1] Set(“Motif/+19563078673-5939”, “DSTRING=”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“Motif/+19563078673-5939”, “DEVICES=102”) in new stack
– Executing [dstring@macro-dial-one:3] ExecIf(“Motif/+19563078673-5939”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:4] ExecIf(“Motif/+19563078673-5939”, “0?Set(DEVICES=02)”) in new stack
– Executing [dstring@macro-dial-one:5] Set(“Motif/+19563078673-5939”, “LOOPCNT=1”) in new stack
– Executing [dstring@macro-dial-one:6] Set(“Motif/+19563078673-5939”, “ITER=1”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“Motif/+19563078673-5939”, “THISDIAL=SIP/102”) in new stack
– Executing [dstring@macro-dial-one:8] GosubIf(“Motif/+19563078673-5939”, “1?zap2dahdi,1()”) in new stack
– Executing [zap2dahdi@macro-dial-one:1] ExecIf(“Motif/+19563078673-5939”, “0?Return()”) in new stack
– Executing [zap2dahdi@macro-dial-one:2] Set(“Motif/+19563078673-5939”, “NEWDIAL=”) in new stack
– Executing [zap2dahdi@macro-dial-one:3] Set(“Motif/+19563078673-5939”, “LOOPCNT2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:4] Set(“Motif/+19563078673-5939”, “ITER2=1”) in new stack
– Executing [zap2dahdi@macro-dial-one:5] Set(“Motif/+19563078673-5939”, “THISPART2=SIP/102”) in new stack
– Executing [zap2dahdi@macro-dial-one:6] ExecIf(“Motif/+19563078673-5939”, “0?Set(THISPART2=DAHDI/102)”) in new stack
– Executing [zap2dahdi@macro-dial-one:7] Set(“Motif/+19563078673-5939”, “NEWDIAL=SIP/102&”) in new stack
– Executing [zap2dahdi@macro-dial-one:8] Set(“Motif/+19563078673-5939”, “ITER2=2”) in new stack
– Executing [zap2dahdi@macro-dial-one:9] GotoIf(“Motif/+19563078673-5939”, “0?begin2”) in new stack
– Executing [zap2dahdi@macro-dial-one:10] Set(“Motif/+19563078673-5939”, “THISDIAL=SIP/102”) in new stack
– Executing [zap2dahdi@macro-dial-one:11] Return(“Motif/+19563078673-5939”, “”) in new stack
– Executing [dstring@macro-dial-one:9] GotoIf(“Motif/+19563078673-5939”, “1?docheck”) in new stack
– Goto (macro-dial-one,dstring,12)
– Executing [dstring@macro-dial-one:12] GotoIf(“Motif/+19563078673-5939”, “0?skipset”) in new stack
– Executing [dstring@macro-dial-one:13] Set(“Motif/+19563078673-5939”, “DSTRING=SIP/102&”) in new stack
– Executing [dstring@macro-dial-one:14] Set(“Motif/+19563078673-5939”, “ITER=2”) in new stack
– Executing [dstring@macro-dial-one:15] GotoIf(“Motif/+19563078673-5939”, “0?begin”) in new stack
– Executing [dstring@macro-dial-one:16] ExecIf(“Motif/+19563078673-5939”, “0?Return()”) in new stack
– Executing [dstring@macro-dial-one:17] Set(“Motif/+19563078673-5939”, “DSTRING=SIP/102”) in new stack
– Executing [dstring@macro-dial-one:18] Return(“Motif/+19563078673-5939”, “”) in new stack
– Executing [s@macro-dial-one:27] GotoIf(“Motif/+19563078673-5939”, “0?nodial”) in new stack
– Executing [s@macro-dial-one:28] GotoIf(“Motif/+19563078673-5939”, “0?skiptrace”) in new stack
– Executing [s@macro-dial-one:29] GosubIf(“Motif/+19563078673-5939”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“Motif/+19563078673-5939”, “DB(CALLTRACE/102)=9563078673”) in new stack
– Executing [ctset@macro-dial-one:2] Return(“Motif/+19563078673-5939”, “”) in new stack
– Executing [s@macro-dial-one:30] Set(“Motif/+19563078673-5939”, “D_OPTIONS=TtraD(:1)”) in new stack
– Executing [s@macro-dial-one:31] NoOp(“Motif/+19563078673-5939”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
– Executing [s@macro-dial-one:32] ExecIf(“Motif/+19563078673-5939”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:33] ExecIf(“Motif/+19563078673-5939”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:34] ExecIf(“Motif/+19563078673-5939”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial-one:35] GosubIf(“Motif/+19563078673-5939”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [s@macro-dial-one:36] ExecIf(“Motif/+19563078673-5939”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial-one:37] GosubIf(“Motif/+19563078673-5939”, “0?qwait,1()”) in new stack
– Executing [s@macro-dial-one:38] Set(“Motif/+19563078673-5939”, “__CWIGNORE=”) in new stack
– Executing [s@macro-dial-one:39] Set(“Motif/+19563078673-5939”, “__KEEPCID=TRUE”) in new stack
– Executing [s@macro-dial-one:40] GotoIf(“Motif/+19563078673-5939”, “0?usegoto,1”) in new stack
– Executing [s@macro-dial-one:41] GotoIf(“Motif/+19563078673-5939”, “1?godial”) in new stack
– Goto (macro-dial-one,s,46)
– Executing [s@macro-dial-one:46] Macro(“Motif/+19563078673-5939”, “dialout-one-predial-hook,”) in new stack
– Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“Motif/+19563078673-5939”, “”) in new stack
– Executing [s@macro-dial-one:47] ExecIf(“Motif/+19563078673-5939”, “1?Set(D_OPTIONS=traD(:1)I)”) in new stack
– Executing [s@macro-dial-one:48] Dial(“Motif/+19563078673-5939”, “SIP/102,traD(:1)Ib(func-apply-sipheaders^s^1)”) in new stack
== Using SIP RTP CoS mark 5
– SIP/102-0000000b Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“SIP/102-0000000b”, “Applying SIP Headers to channel”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“SIP/102-0000000b”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:3] While(“SIP/102-0000000b”, “0”) in new stack
– Jumping to priority 7
– Executing [s@func-apply-sipheaders:8] Return(“SIP/102-0000000b”, “”) in new stack
== Spawn extension (from-internal, 102, 1) exited non-zero on ‘SIP/102-0000000b’
– SIP/102-0000000b Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called SIP/102
– Connected line update to Motif/+19563078673-5939 prevented.
– SIP/102-0000000b is ringing
– SIP/102-0000000b is ringing