On 1/09/10 11:27 AM, Jaap Winius wrote:
> exten =>  jw,1,Verbose(    -- CID is<${CALLERID(num)}>)
> exten =>  jw,n,GotoIf($[${CALLERID(num)}=anonymous]?true:false)
> exten =>  jw,n(true),Set(CALLERID(num)=)
> exten =>  jw,n(false),NoOp()
> exten =>  jw,n,Verbose(    -- CID is<${CALLERID(num)}>)
> exten =>  jw,n,PrivacyManager(3,10)
> exten =>  jw,n,GotoIf($[${PRIVACYMGRSTATUS}=FAILED]?bad)
> exten =>  jw,n,Verbose(    -- CID is<${CALLERID(num)}>)
> exten =>  jw,n,Dial(SIP/1000,60,w)

Maybe you could do:

Set(CDR(userfield)=${CALLERID(num)})

Before dialing SIP/1000

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to