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