RE:Dial peer hunting

From: router0160 (router0160@sinaman.com)
Date: Wed Sep 04 2002 - 04:27:09 GMT-3


I also got same problem but worked by setting preference of dial-peer 100 to 1 and dial-peer 101 to 2.
>Hello all,
>I am working a scenario whereby I want to set up 2 VoIP target sessions
>to 2 different subnets for the same called number. In case the first
>target session is unreachable, I want to ring the same phone number
>(different physical phone) using the second target session. I thought
>preference on the VoIP dial peers would do the trick but have been unable
>to get it to work. So on the calling router R2, I have: dial-peer voice
>100 voip
> preference 2
> destination-pattern 1111
> session target ipv4:150.1.1.1
>!
>dial-peer voice 101 voip
> preference 5
> destination-pattern 1111
> session target ipv4:150.1.12.1 I intentionally cut off the route to 1st
>session target 150.1.1.1.R2#ping 150.1.1.1Type escape sequence to abort.
>Sending 5, 100-byte ICMP Echos to 150.1.1.1, timeout is 2 seconds:
>.....
>Success rate is 0 percent (0/5) The second session target 150.1.12.1 is
>still reachable:R2#ping 150.1.12.1Type escape sequence to abort.
>Sending 5, 100-byte ICMP Echos to 150.1.12.1, timeout is 2 seconds:
>!!!!!
>Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms With
>"debug voip ccapi inout" turned on, I used "csim start 1111" to simulate
>call: -R2#
>5d04h: csim: called number = 1111, loop count = 1 ping count = 05d04h:
>ccAppInitialize
>(name=CSIM
>, appHandle=0x21210B0)
>5d04h: csimSetupPeer peer type(2), destPat(1111), matched(4), target()
>5d04h: ccCallSetupRequest (Inbound call = 0xFFFFFFFF, outbound peer =100,
>dest=,
> params=0x21207E0 mode=0, *callID=0x2120B48, prog_ind = 0)
>5d04h: ccCallSetupRequest numbering_type 0x0
>5d04h: dest pattern 1111, called 1111, digit_strip 0
>5d04h: callingNumber=, calledNumber=1111, redirectNumber= display_info=
>calling_oct3a=0
>5d04h: accountNumber=, finalDestFlag=0,
>guid=0000.0000.0000.0000.0000.0000.0000.0000
>5d04h: peer_tag=100
>5d04h: ccIFCallSetupRequestPrivate: (vdbPtr=0x1DC86BC, dest=,
>callParams={called=1111,called_oct3=0x0, calling=,calling_oct3=0x0,
>calling_xlated=false, subscriber_type_str=, fdest=0,
>voice_peer_tag=100},mode=0x0) vdbPtr type = 1
>5d04h: ccIFCallSetupRequestPrivate: (vdbPtr=0x1DC86BC, dest=,
>callParams={called=1111, called_oct3 0x0, calling=,calling_oct3 0x0,
>calling_xlated=false, fdest=0, voice_peer_tag=100}, mode=0x0, xltrc=-5)
>5d04h: ccCallSetContext (callID=0x47, context=0x213AB68)
>5d04h: csim_do_test: timeout cid(71), st(0), oldst(0)
>5d04h: ccCallDisconnect (callID=0x47, cause=0x0 tag=0x0)
>5d04h: cc_api_icpif: expect factor = 0
>5d04h: cc_api_call_disconnect_done(vdbPtr=0x1DC86BC, callID=0x47, disp=0,
>tag=0x0)
>5d04h: csim_do_test: cid(71), ev(12), disp(0)
>5d04h: csimTraceSct: cid(71),st(2),oldst(0)
>5d04h: csim: loop = 1, failed = 1
>5d04h: csim: call attempted = 1, setup failed = 1, tone failed = 0
> As you can see, it's always using dial-peer 100 and never used dial-peer
>101 even though the session target for dial-peer 100 is unreachable. Any
>ideas? Thanks,
>Minh
>
>------------------------------------------------------------------------
>
>Send and receive Hotmail on your mobile device: Click Here
>_________________________________________________________________
>Commercial lab list: http://www.groupstudy.com/list/commercial.html
>Please discuss commercial lab solutions on this list.
>.
>
==================================================================
&\4L08939aAn?oA|!Ghttp://sms.sina.com.hk/ringtone/



This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:43 GMT-3