[asterisk-users] Convert CallerID name to uppercase

David fire ddfire at gmail.com
Sat Dec 6 06:14:40 CST 2008


if asterisk can handle it use asterisk.

2008/12/5 Eric Fort <eric.fort at gmail.com>

> Would agi and perl be a good means of doing this?
>
> -Eric
>
>
> On Fri, Dec 5, 2008 at 3:06 PM, John Todd <jtodd at digium.com> wrote:
>
>>
>> On Dec 5, 2008, at 4:30 PM, Sean Dennis wrote:
>>
>> > Our legacy PBX will not accept the callerID name in anything but
>> > capital letters. (Harris 20-20)  When I send a call to the legacy PBX
>> > from asterisk I would like to have asterisk convert the callerID name
>> > to uppercase letters.  Is there a way to do this?
>> >
>> >
>> > Thanks for any input.
>> >
>> > -Sean
>>
>>
>> In TRUNK versions of Asterisk, there is a function called TOUPPER,
>> which converts strings to upper case.  I don't know when, exactly, it
>> appeared but I expect if it's not in the version you're using it may
>> be portable backwards without too much difficulty if the version
>> you're using supports functions.
>>
>> JT
>>
>> *CLI> core show function TOUPPER
>>
>>   -= Info about function 'TOUPPER' =-
>>
>> [Synopsis]
>> Convert string to all uppercase letters.
>>
>> [Description]
>> Example: ${TOUPPER(Example)} returns "EXAMPLE"
>>
>> [Syntax]
>> TOUPPER(string)
>>
>> [Arguments]
>> string
>>
>> [See Also]
>> Not available
>> *CLI>
>>
>>
>> ---
>> John Todd
>> jtodd at digium.com        +1-256-428-6083
>> Asterisk Open Source Community Director
>>
>>
>>
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081206/468f7fec/attachment.htm 


More information about the asterisk-users mailing list