Hi there,
This is an update for the Caller ID with Telco Carrier. The reason that Caller ID did not work on Verizon's mobile phone is because I only change the Display Name in the From Field. After I changed the From-URI (the field after the Displan Name which is <sip: XXXXXXXXXX@ip>), then Caller ID is displayed on Verizons mobile phone without any problem.
Thanks for all that replied to this question.
Best Regards,
Larry
lawrence k.y. lin wrote:
Steve,
Thanks for your email and your solutions.
I tried the first method as follws:
replace ("^From:(.*)<", "From: "XXXXXXXXXX" <")
before I sent it to another SIP device and PSTN gateway. I did see the new Caller ID XXXXXXXXXX in another SIP device but the Caller ID to Verison Mobile phone showed "Unavailable No". I will check with Telco carrier to see if we did send the Caller ID to them or not. Also I will try your second method and update to the list later.
Thanks again.
Larry
From: Steve Blair blairs@isc.upenn.edu To: "lawrence k.y. lin" lawlin888@hotmail.com CC: serusers@lists.iptel.org Subject: Re: [Serusers] Re: How to change Caller ID in FROM field ? Date: Tue, 24 Oct 2006 18:57:42 -0400
You can do this several ways. I use to just completely replace the From header but this screwed up call accounting (for callers with caller ID blocking enabled) which we do in our Cisco gateways. Now I append an Remote-Party-ID header leaving the Fromheader intact for accounting purposes. Try one of the following:
- replace("^From:(.*)>" , "From: "Anonymous"
sip:anonymous@invalid.nowhere");
Where the second string contains whatever you want the caller ID info to be. This example is for caller ID blocking.
if (append_rpid_hf("Anonymous sip:","@upenn.edu;party=calling;id-type=subscriber;screen=yes")) { } else { log(1, "RPID not found\n"); };
Of course this requires other configuration items. You may also want to add the following:
modparam("auth", "rpid_prefix", "<sip:") modparam("auth", "rpid_suffix", "@upenn.edu;user=phone>;party=calling;screen=no;id-type=subscriber;privacy=off")
#
-Steve
lawrence k.y. lin wrote:
Hi all,
Appreciate if someone can give me a suggestion or even an answer. Since the call from SIP device to PSTN phone did not have Caller ID and our Telco carriers request for the Caller ID, we have to set a number before the calls are routed to PSTN gateway. I did it in Asterisk before with the function calls SetCallerID(CLID) or Set(CALLERID(number)=CLID) (depends on the Asterisk version) and these function calls worked. But because of the scalabliity issue, I changed to SER and would like to do the similar thing as in Asterisk. I read the SER document and awared SIP_HF_FROM has the data for the entired FROM field. Is there any other variables for Caller ID only ? I searched the mailing list for SER and did not find any related topic (only found one with title: caller-id with raius using sip-rpid, but it is irrelevant).
Thanks in advance.
Larry
_________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&sour...