So... I've scoured the archives and can't find quite the answer I'm looking
for.
I'd like to do caller ID in such a way that the 'Display Name' or, in sip
terms, comment portion of the From header, isn't displayed for ALL users (or
is displayed in a particular format for ALL users). I know I can use UAC to
rewrite a particular From tag in a particular way, but I haven't figured out
how to make those changes heuristically global.
For instance, I'd like a way to say that if the From tag looked like:
From: "Jimmy the Fish" <sip:11231234567@sip.domain.com>;tag=3905520531
I'd like to rewrite it to be either:
From: <sip:11231234567@sip.domain.com>;tag=3905520531
OR
From: "1-123-123-4567" <sip:11231234567@sip.domain.com>;tag=3905520531
Or some such. I'd like to have heuristic control, in that I'd rather not have
to have a UAC rewrite entry for each number. If it has to be done via a db
query, fine, but I don't get how to do that, either.
Any ideas?
N.