In a voice network setup we have a SPA9000 PBX which is connected via SIP to a Cisco 2801, which has 4 ISDN BRI interfaces to the PSTN.
The 2801 ISR is shared with another company, which have Cisco IP Phones (not Linksys ... by Cisco ... whatever it is called now ;) ). They own the router and gracefully let us share it with them. All this is located in Switzerland.
On the Cisco 2801 I've configured a dial peer (for outgoing calls) like that:
dial-peer voice 1 pots
port 0/2/0 <-- this is "our" bri interface
I've configured the dial plan of the SPA9000 to append a 7 to all outgoing calls. So "our" (company2) telephone network doesn't overlap with the "other" company's phone network. The dial-peer then removes this leading 7 because of the destination-pattern.
This all works great but here comes the question:
How can I "mangle" the outgoing caller id if someone places a call from the VoIP network to the PSTN (over ISDN)? In the documentation of the SPA9000 the only case mentioned is with the presence of a SIP trunk and a SIP provider (which doesn't exist yet within the national provider Swisscom).
Should I even do this on the SPA9000? Any help appreciated.
Very seldom do PSTN providers let you manipulate the CLID arbitrarily, but let's give it a shot. This is the config. Here "AAAA" is the original calling number, which is replaced by "BBBB" or "CCCC" depending on the dial pattern:
voice translation-rule 100
rule 1 /AAAA/ /BBBB/
voice translation-profile Dial0
translate calling 100
voice translation-rule 200
rule 1 /AAAA/ /CCCC/
voice translation-profile Dial9
translate calling 200
dial-peer voice 100 pots
translation-profile outgoing Dial0
dial-peer voice 200 pots
translation-profile outgoing Dial9
In their graciousness, the 2800 owners might let you add a few commands to the ISR that could do the trick. With translation rules, you can modify the caller id and present it to the PSTN in any way you want. Now, it has to be something that they expect and understand, since most ISDN circuits will rewrite CLID if it is not (to avoid toll fraud, CLID spoofing, etc.).
What exactly do you want to do with the CLID? I can send you a sample config.
Technical Marketing Engineer
Cisco Systems, Inc.