[Asterisk-Users] add 0 (zero) to incoming callerID - how?

Michiel van Baak michiel at vanbaak.info
Wed Sep 21 11:03:58 MST 2005


On 02:57, Thu 22 Sep 05, Matt Riddell wrote:
> Tomasz Chmielewski wrote:
> > How can I manipulate the incoming callerID number (and add 0 before it)?
> 
> exten => s,1,Answer()
> exten => s,2,SetCIDNum(0${CIDNUM})
> exten => s,3,...

And when using CVS head this will become:
exten => s,1,Set(CALLERID(number)=0${CALLERIDNUM})
exten => s,2,.........

Just to be complete ;)
-- 
Michiel van Baak
http://michiel.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-users mailing list