[asterisk-users] lookup a anonymous internal caller

J. Oquendo sil at infiltrated.net
Tue Jul 3 10:15:24 CDT 2007


hdpml wrote:
> Dear list,
>
> following problem, i have some users, who are supressing their callerid. 
> This setting is adjusted at the sip phone. So if these guys are calling 
> internal persons nobody sees the callerid. I am looking for the 
> following resolution:
> User has set his phone to anonymous, user calls somebody internal, 
> Asterisk initials a lookup on the channel and generates a new callerid 
> for the calling internal user.
> Is this possible?
>
> Thank you very much,
>   
[extensions.conf_context]

exten => 200,1,Dial(SIP/200,15,tr)
exten => 200,2,Set(CALLERID(name)="Their Name Here")
exten => 200,hint,SIP/200
exten => 200,3,Voicemail(u200 at yourcontext)
exten => 200,4,Voicemail(b200 at yourcontext)
exten => 200,5,Hangup

Just make sure you re-write your outbound

-- 
====================================================
J. Oquendo
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743
echo infiltrated.net|sed 's/^/sil@/g' 

"Wise men talk because they have something to say;
fools, because they have to say something." -- Plato


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5157 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070703/356a2eed/attachment.bin 


More information about the asterisk-users mailing list