[Asterisk-Users] announcing caller id?
C F
shmaltz at gmail.com
Sun Jan 16 11:15:12 MST 2005
You can try this:
exten => 101/,1,Dial(device,options...)
exten => 101,1,Dial(device,M(acallerid))
exten => 101,2,Voicemail(u${EXTEN})
exten => 101,102,Voicemail(b${EXTEN})
[macro-acallerid]
;assuming that:
; incoming.gsm exists and says:
; You have an incming call from..
; and options.gsm exists and says:
; to accept press 1, to send to voice mail press 2.
exten => s,1,Playback(incoming)
exten => s,2,Saydigits(${CALLERIDNUM})
exten => s,3,Background(options)
exten => s,4,Read(ACCEPT|custom/screnn-accept|1)
exten => s,5,Gotoif($[${ACCEPT} = 1] ?50) ;connect
exten => s,6,Gotoif($[${ACCEPT} = 2] ?30) ;reject to vm
exten => s,30,SetVar(MACRO_RESULT=CONTINUE)
exten => s,31,Goto(50)
exten => s,50,Noop("")
You can follow the following instructions to do more:
http://lists.digium.com/pipermail/asterisk-users/2004-December/080417.html
On Sun, 16 Jan 2005 18:01:11 +0100, Dave Cotton
<dcotton at linuxautrement.com> wrote:
> On Sun, 2005-01-16 at 14:49 +0100, Robert Rozman wrote:
>
> > could you please give some more info how to do this ?
>
> Use Custom ring 1 tone with with a blank Caller ID
>
> --
> Dave Cotton <dcotton at linuxautrement.com>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list