[asterisk-users] Logging the CID from the Privacy Manager

Matt Riddell lists at venturevoip.com
Tue Aug 31 21:52:47 CDT 2010


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)



More information about the asterisk-users mailing list