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 ------------------------------------- _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@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