[cisco-voip] hairpin IP traffic to other router
Timothy Medley
medley at mac.com
Tue Nov 8 06:48:45 EST 2005
Maybe I'm missing something here, but why not just
send the SIP traffic directly to the second AS5400?
tm
--- Richard Bennett <richard.bennett at skynet.be> wrote:
> Hi,
> On an AS5400 ios 12.4(1) I'm trying to forward some
> SIP traffic to another
> gateway.
> For the forwarding I setup these dial peers:
>
> dial-peer voice 1 pots
> description catch 2021 and reroute
> incoming called-number 2021
> direct-inward-dial
> !
> dial-peer voice 2 voip
> description send 2021 to router 2
> destination-pattern 2021
> session target ipv4:10.0.0.2
> !
>
> The idea being that incoming SIP traffic starting
> with 2021 would be sent on
> to an AS5400 on 10.0.0.2 .
>
> When I look at 'debug voip dialpeer all' I see this:
>
> Calling Number=, Called Number=2021031234567,
> Peer Info
> Type=DIALPEER_INFO_SPEECH
> 06:45:08: //-1/2810714F8C70/DPM/dpMatchPeersCore:
> Match Rule=DP_MATCH_DEST; Called
> Number=2021031234567
> 06:45:08: //-1/2810714F8C70/DPM/dpMatchCore:
> Dial String=2021031234567, Expanded
> String=2021031234567, Calling Number=
> Timeout=TRUE, Is Incoming=FALSE, Peer Info
> Type=DIALPEER_INFO_SPEECH
> 06:45:08: //-1/2810714F8C70/DPM/MatchNextPeer:
> Result=Success(0); Outgoing Dial-peer=2 Is
> Matched
> 06:45:08: //-1/2810714F8C70/DPM/dpMatchPeersCore:
> Result=Success(0) after DP_MATCH_DEST
> 06:45:08: //-1/2810714F8C70/DPM/dpMatchPeersMoreArg:
> Result=SUCCESS(0)
> List of Matched Outgoing Dial-peer(s):
> 1: Dial-peer Tag=2
>
> So it looks as if the dialpeer is found correctly,
> yet nothing is sent to the
> other router.
> Is this the correct way to forward SIP/h323 traffic
> to another router?
> Is the dial-peer voice 1 pots actually needed when
> using SIP in SIP out?
> Any idea why the calls are not being forwarded?
>
> Thanks a lot.
> Richard.
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
More information about the cisco-voip
mailing list