cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
605
Views
0
Helpful
6
Replies

Failover

fast5658659
Level 1
Level 1

if route a call to a gatekeeper via a dial-peer voice X voip and it fails, is there a way to automatically fail it over to a dial- peer voice X pots to send it over the PSTN.. will preference work between voip and pots dial-peers?

Thanks

6 Replies 6

fast5658659
Level 1
Level 1

apology for the small fonts

if route a call to a gatekeeper via a dial-peer voice X voip and it fails, is there a way to automatically fail it over to a dial- peer voice X pots to send it over the PSTN.. will preference work between voip and pots dial-peers?

Thanks

Hi,

As long as the destination pattern is the same in both the dial-peers, the preference command will hold good. Hence you can do something like this:-

dial-peer voice 1 voip

destination-pattern 9.T

session target ipv4:X.X.X.X

dial-peer voice 2 pots

destination-pattern 9.T

port 0/1/0:23

Hope that helps

Regards

Nitesh

PS:Pl rate helpful posts

I have checked this but It didn't work

dial-peer voice 2618 pots

trunkgroup PSTN_OUT

corlist outgoing call-domestic

description ** AUDP National Pattern via PSTN **

translation-profile outgoing STRIP_0_OUTGOING

preference 2

destination-pattern 004........

no digit-strip

no sip-register

dial-peer voice 5000 voip

description ** Testing GSM Gateway**

destination-pattern 004........

b2bua

session protocol sipv2

session target ipv4:192.168.5.20

preference 1

dtmf-relay rtp-nte

codec g711ulaw

no vad

If I disconnect GSM gateway and call 04 pattern it wont dial out via PSTN.. works ok when GSM is up.

Its still picking up 5000 dial peer even if it doesnt respond

any clues???

Hi,

Post the output of the 'show dial-peer voice summary' and ' debug voip ccapi inout' when the WAN link is down and a test call is made.

Meanwhile i will try this out in my lab.

Regards

Nitesh

PS:Pl rate helpful posts

Hi,

Still waiting for your outputs. By the way i tested and found out that if the destination address (192.168.5.20) is not pingable when the gateway tries to route a call to it, then it will automatically failover to the next dial-peer(2618 in your case). The failover actually takes sometime, so we should be patient.

You said that If you disconnect GSM gateway and call 04 pattern it wont dial out via PSTN- what exactly do you hear??

Post the output of 'debug voip ccapi inout' and 'debug voip dialpeer' for a test call with the GSM gateway disconnected.

Hope that helps

Regards

Nitesh

PS: Pl rate helpful posts

skarthic
Cisco Employee
Cisco Employee

Below is the link that explains how to configure failovers in dial-peers.

http://www.cisco.com/en/US/docs/routers/access/as5350/software/feature/guide/pulcfgtm.html#wp1044055

It involves the following config:

Creating a voice class and assigning a timeout value

voice class h323 1
  h225 timeout tcp establish 10

Applying the voice class in the dial peer

   dial-peer voice 919 voip
    application session
    destination-pattern 919555....
    voice-class codec 1
    voice-class h323 1 
    session target ras


Thanks

Karthic.R.S