Rewriting is known to cause interop issues, it is safer to store PSTN number in user profile and append it in a special-purpose header field, either Remote-Party-ID or P-Asserted-Identity. An example for the former is to be found in [PSTN] route of ser.cfg, see http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/etc/ser.cfg?rev=HEAD&content-type=text/vnd.viewcvs-markup You just need to re-"printf" the header field properly if your terminating gateway supports P-asserted-identity instead.
-jiri At 17:59 05/01/2007, Chahn Kim wrote: >> Sounds like you need to talk to the ITSP. Are you doing a >> uac_replace_from? Some SPs ignore the RPID as it never became a standard. >> /a > >Thanks for the comment. >No, what I tried so far was to append rpid header to all frames that goes >toward PSTN gateway. > >What would be the best way to rewrite "From:" header using >uac_replace_from? Rewriting both deiplay and url or just display portion? > > >> >> Chahn Kim wrote: >>> Hi, a Happy New Year to all. >>> >>> Looking for help to get our caller-id working for outging PSTN calls. >>> We have 3rd party PSTN gateway service and all our callee gets the >>> gateway >>> phone number as CID for all of our sip calls to PSTN. >>> >>> I had implemented so far sip-rpid, remote-party-id, through avp, >>> append_rpid_hf() and confirmed rpid headers on all pstn outgoing frames. >>> >>> However, callee only see the SP's PSTN gateways number as incoming >>> caller-id. Is there other way of implementing caller-id for sip calls >>> before I bring the subject to PSTN service providor? Or is it most >>> likely >>> SP's policy setup? >>> >>> Thanks in advnace. >>> >>> >>> John K >>> >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://openser.org/cgi-bin/mailman/listinfo/users >> > > >John Chahn Kim >Koreanet.us >847-564-0698 >email: [EMAIL PROTECTED] > > >_______________________________________________ >Users mailing list >[email protected] >http://openser.org/cgi-bin/mailman/listinfo/users -- Jiri Kuthan http://iptel.org/~jiri/ _______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
