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

Bruno De Luca bdeluca at fgasoftware.com
Thu Sep 22 03:16:08 MST 2005


Correct: Use ${DNID} to get the number. I'm sorry.
Bruno.

Bruno De Luca wrote:

> Use
>
>*${CHANNEL} *to get the number
>  
>
> then
>
>*SetCIDNum() *to set the new number w/ zero.
>  
>
>
>
> 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)?
>>
>>
>
>
>-- 
>____________________________________________________________________
>
> BRUNO DE LUCA
> Tel. +39 02 9350 4780 (102)
> 
> FG&A Software
> 20017 Rho - Via Puccini, 8
>
> E-Mail :
>bdeluca at fgasoftware.com
> Internet:
>http://www.fgasoftware.com
>
>------------------------------------------------------------------------
>
>_______________________________________________
>--Bandwidth and Colocation sponsored by Easynews.com --
>
>Asterisk-Users mailing list
>Asterisk-Users at 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
>


-- 
____________________________________________________________________

 BRUNO DE LUCA
 Tel. +39 02 9350 4780 (102)
 
 FG&A Software
 20017 Rho - Via Puccini, 8

 E-Mail :
bdeluca at fgasoftware.com
 Internet:
http://www.fgasoftware.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050922/9ea26775/attachment.htm


More information about the asterisk-users mailing list