[asterisk-users] set(CALLERID(name) not working

Doug Lytle support at drdos.info
Mon Nov 10 06:21:15 CST 2008


sean darcy wrote:
>
> [set-callerid-name]
> exten => 0,1,NoOp( no CALLERID num set)
> exten => 02025462677,1,Set(CALLERID(name) = "Fred" )
> ................
>   

Try adding the following to your subroutine:

SetCallerPres(allowed)

I would also suggest that you put the name/number groups in either the 
internal database or mysql and then query against incoming number to 
name settings.  It's quite simple.

Doug



-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list