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

Dial peer hunting !

Jonn cos
Level 4
Level 4

Hi all.

Lets say i have 2 dial peers

dial-peer voice 1001 voip

preference 0

destination-pattern 1001

session-target ipv4:x.x.x.x

dial-peer voice 1002 voip

preference 1

destination-pattern 1001

session-target ipv4:x.x.x.x

Now according to my understanding, following shall happen (pls correct me if any step is wrong)

1) When the call comes in with DNIS 1001, first dial-peer 1001 will be selected.

2) If the dial peer is already busy, 1002 will be checked

3) (this is my confusion) what if 1002 is also busy ? will it revert back to 1001 or try to match some other dial peer  ?

Is there any timeout value that can be configured as to for how long the dial peer hunting shall continue ?

1 Reply 1

Marcel Ammann
Level 3
Level 3

Hello,

you can use the following configuration:

max-con 2

After 2 connections the first dial-peer is busy, and the second dial-peer would be used.

If you add max-con 2 to the second dial-peer you can make 4 calls with the obove dial-peers.

After all dial-peers a busy the logic trys again the first dial-peer. You can use a huntstop command to stop the hunt process.

Kinde regards,

Marcel Ammann