[Asterisk-Users] add 0 (zero) to incoming callerID - how?
Nathan Pralle
tarsi at binhost.com
Wed Sep 21 07:52:28 MST 2005
Pretty easy stuff.
Something like this:
exten => s,1,Wait(1)
exten => s,2,Answer
exten => s,3,SetCIDNum(0${CALLERIDNUM})
exten => s,4,Dial(Local/105)
Nathan
Tomasz Chmielewski wrote:
> I have an asterisk box and SIP / IAX2 phones.
>
> To call out, users have to add 0 (zero) before a real telephone number.
>
> That means, that if they want to call someone that has a number 123456,
> they have to call 0-123456.
>
> Simple, right?
>
> This has a serious drawback though - when someone calls us from the
> number 123456, we see the callerID 123456, and we're unable to use the
> callback/redial feature in the telephone (because the phone doesn't know
> that it should add 0 before the number).
>
>
> So the idea is to manipulate the incoming callerID number, and to add a
> 0 before it.
>
> This way the telephone user will be able to callback/redial.
>
> How can I manipulate the incoming callerID number (and add 0 before it)?
>
>
--
-------------------------------------
Nathan E. Pralle
Give the Director a Serpent Deflector
www.nathanpralle.com
-------------------------------------
More information about the asterisk-users
mailing list