cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1849
Views
5
Helpful
5
Replies

How to configure dial-peer redundancy

Hello all,

i am configuring a voip dial-peer and i have two servers which will be the session target but while i am putting the configuration its not allowing me to give two IPV4 Targets , so how i can give both of them in the config?

dial-peer voice 139 voip

description ****test dial-peer****

service session

destination-pattern 8390

voice-class codec 1

session protocol sipv2

session target ipv4:10.10.11.235

session target ipv4:10.10.11.233 ***Suppose to be secondary

incoming called-number 8390

dtmf-relay h245-signal h245-alphanumeric rtp-nte

no vad

1 Accepted Solution

Accepted Solutions

nascoentr
Level 1
Level 1

create two dial-peers with the same destination pattern and add the prefernce command to the dial-peer, the lower the preference the higher the priority

ex:

dial-peer voice 1 voip

destination-target 1...

preference 1

session-tartget ipv4: 192.168.1.1

dial-peer voice 2 voip

destination-target 1...

preference 2

session-target ipv4: 192..168.1.2

here, dial-peer 1 will be used first and then dial-peer 2 as a failover/redundancy

View solution in original post

5 Replies 5

nascoentr
Level 1
Level 1

create two dial-peers with the same destination pattern and add the prefernce command to the dial-peer, the lower the preference the higher the priority

ex:

dial-peer voice 1 voip

destination-target 1...

preference 1

session-tartget ipv4: 192.168.1.1

dial-peer voice 2 voip

destination-target 1...

preference 2

session-target ipv4: 192..168.1.2

here, dial-peer 1 will be used first and then dial-peer 2 as a failover/redundancy

I chaked

the same and its working

thanks.

mind rating my reply, thanks

how is it now

great thanx.