[cisco-voip] hairpin IP traffic to other router

Richard Bennett richard.bennett at skynet.be
Tue Nov 8 06:17:49 EST 2005


On Tuesday 08 November 2005 01:27, Andrew Dignan wrote:
> Believe your config should look like this:
>
> voice service voip
>  allow-connections h323 to sip
> !
> 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 protocol sipv2
>  session target ipv4:10.0.0.2
>  dtmf-relay sip-notify
>  codec g711ulaw
>  no vad
>
> the first pots dial-peer is only needed if you don't have another pots
> dial-peerr with the "direct-inward-dial" command on it.

Thanks a lot. At least i know my config is more or less correct. The debug 
message:   
Result=SUCCESS(0)
   List of Matched Outgoing Dial-peer(s):
     1: Dial-peer Tag=2

makes me think the re-routing is actually working, although for some reason 
there is no sign of the call on the second router.
debug isdn q931 shows no activity at all on either switch.
If I send a test-call from ISDN instead of from SIP, it IS sent to the second 
router, and terminated just fine, which leads me to think the problem is in 
the SIP to H323 conversion, but so far adding 'session protocol sipv2' to the 
dial-peer, or adding :
 voice service voip
  allow-connections h323 to sip
   allow-connections sip to h323
hasn't resolved the problem.
Normal h323 and SIP terminations work fine on both routers.

Any additional ideas anyone has are appreciated, and thanks for the pointers 
so far.

Richard.
















More information about the cisco-voip mailing list