[c-nsp] Can an AS5350 route ISDN calls to ISDN?
Andreas Sikkema
ASikkema at office.unet.nl
Thu Jul 31 14:11:00 EDT 2008
Hi,
> > Cool! So I just match the incoming calls from a specific ISDN
interface
> > and send them out through another. Are there any caveats I should
know? I
> > can't match specific dialled or dialling numbers, currently there's
over
> > 2000 DID's in use on these lines.
>
> No other caveats.
>
> You don't have to match incoming calls on a peer based on an expression
> for "incoming called-number ..." - you can just create a peer that has
> an affinity to a voice port, although it won't work to bind it to a
> trunk-group (that only works for outgoing).
>
> But otherwise, no other things readily come to mind.
I'm trying to test this by sending calsl from a specific number from a
specific voice port, but it's not working.
We currently have a "catch all" voip dialpeer for all other calls that
come into this gateway that is matched whatever I try.
So, the basic setup is that I have a dialpeer that matches the incoming
call:
dial-peer voice 20 pots
description **** inbound from isdn, should go to isdn directly
destination-pattern some_number
translate-outgoing called 100
port 3/3:D
dial-peer voice 12 pots
trunkgroup my_trunkgroup
description *** To Trunk ***
translation-profile outgoing outgoing_profile
destination-pattern 310
forward-digits all
dial-peer voice 100 voip
description *** catchall ***
destination-pattern .
voice-class codec 100
session protocol sipv2
session target ipv4:something
voice translation-rule 100
rule 1 /^31\(.........\)/ /31031\1/
Incoming calls from the ISDN line all start with 31.
I want to send calls from isdn port 3/3 (currently only for a single test
number, but that is temporary) out on the isdn lines in trunkgroup
my_trunkgroup using dialpeer 12. I tried this by doing some digit
manupulation, but IIRC that is done only after the outgoign dialpeer is
matched, not during dialpeer matching.
How do I add 310 as a prefix to the calls from port 3/3 so that dialpeer
100 does not match and calls go to dialpeer 12 (or something functionally
similar)?
Thanks!
--
Andreas Sikkema
More information about the cisco-nsp
mailing list