[Asterisk-Users] Re: Prefix to CALLING Number ?

Tony Mountifield tony at softins.clara.co.uk
Fri Apr 29 01:58:30 MST 2005


I wrote:
> 
> I haven't tried this, but the first thing I would try is this (replace
> xxxx with the extension pattern you are using):
> 
> exten => xxxx,1,SetCIDNum(${PREFIX}${CALLERIDNUM})
> exten => xxxx,2,Dial(.....)
> 
> where PREFIX is a global variable containing the prefix you want to prepend.

of course, you could just put the prefix digits in directly if you want:

exten => xxxx,1,SetCIDNum(12345${CALLERIDNUM})

etc

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list