Decir CallerID

Saludos amigos. Quisiera saber como se puede escribir un codigo en el dialplan que cuando llamen mis extensiones a un numero, reproduzca quien los llama. Algo así

exten => 01,1,Answer()
exten => 01,2,Playback(welcome)
;exten => 01,3,SayDigits ({CALLERID}) ; Esta es la parte del codigo que no me funciona y no tengo ;idea de como hacerlo
exten => 01,4,Hangup()

Gracias

exten => 01,3,SayDigits(${CALLERID(number)})

edit - fixed with @PitzKey’s correction

1 Like

Isn’t it? :

${CALLERID(number)}
1 Like

It is ```
exten => 01,3,SayDigits(${CALLERID(number)});

Is there a possibility to “loop” this code? I mean, like 3 times at least, so that the listener could listen 3 three times?

You can adapt from this

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.