Help setting called id

Hi guys,

Need help in setting a caller id for my queue. Were using a virtual sip from our pabx going to our asterisk server. I have also enable our phone from our telco to have it enabled. how can i set it to have in our asterisk?

exten => _8177,1,Answer()
exten => _8177,n,Playback(welcome)
exten => _8177,n,NoOp(${CALLERID(all)})
exten => _8177,n,Set(CALLERID(all)=NOC)
exten => _8177,n,NoOp(${CALLERID(all)})
exten => _8177,n,Set(tension=NOC)
exten => _8177,n,Macro(selfrec,${tension})
exten => _8177,n,Set(CDR(userfield)=NOC)
exten => _8177,n,Queue(noc_queue,dntr,20)
exten => _8177,n,Voicemail(801@asterisk-mnl)
exten => _8177,n,Hangup

thanks

from the logs…

Executing [8177@asterisk-mnl:1] Answer(“SIP/8010-0e7ae8f8”, “”) in new stack
– Executing [8177@asterisk-mnl:2] Playback(“SIP/8010-0e7ae8f8”, “welcome”) in new stack
– <SIP/8010-0e7ae8f8> Playing ‘welcome.slin’ (language ‘en’)
– Executing [8177@asterisk-mnl:3] NoOp(“SIP/8010-0e7ae8f8”, ““ASTERISK” <8010>”) in new stack
– Executing [8177@asterisk-mnl:4] Set(“SIP/8010-0e7ae8f8”, “CALLERID(all)=NOC”) in new stack
– Executing [8177@asterisk-mnl:5] NoOp(“SIP/8010-0e7ae8f8”, ““NOC” <>”) in new stack
– Executing [8177@asterisk-mnl:6] Set(“SIP/8010-0e7ae8f8”, “tension=NOC”) in new stack
– Executing [8177@asterisk-mnl:7] Macro(“SIP/8010-0e7ae8f8”, “selfrec,NOC”) in new stack
– Executing [s@macro-selfrec:1] Set(“SIP/8010-0e7ae8f8”, “CALLFILENAME=NOC-20101215-084542”) in new stack
– Executing [s@macro-selfrec:2] MixMonitor(“SIP/8010-0e7ae8f8”, “/raid/var/spool/asterisk/monitor/Today/NOC-20101215-084542.wav,W(3)”) in new stack
– Executing [s@macro-selfrec:3] NoOp(“SIP/8010-0e7ae8f8”, “”) in new stack
– Executing [8177@asterisk-mnl:8] Set(“SIP/8010-0e7ae8f8”, “CDR(userfield)=NOC”) in new stack
– Executing [8177@asterisk-mnl:9] Queue(“SIP/8010-0e7ae8f8”, “noc_queue,dntr,20”) in new stack