Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

dial-peer routing based on number of connections

Anyone knows a way in IOS to route based on number of calls. I want to send all incoming SIP calls to one SIP destinations, and once there are 10 calls, route to the second destination. If there's not anything native in IOS, I'd like to do this possibly with EEM (but not TCL).

1 ACCEPTED SOLUTION

Accepted Solutions
Green

dial-peer routing based on number of connections

Hi,

May be someting like this :-

!

dial-peer voice 100 voip

preference 1

desc ** TEST 1 **

destination-pattern 1234

incoming called-number .

Session protocol sipv2

session target ipv4:192.168.1.100

Dtmf-relay rtp-nte

codec g711ulaw

max-conn 10

ip qos dscp ef media

ip qos dscp cs3 sig

no vad

!

!

dial-peer voice 200 voip

preference 2

desc ** TEST 2**

destination-pattern 1234

incoming called-number .

Session protocol sipv2

session target ipv4:192.168.1.200

Dtmf-relay rtp-nte

codec g711ulaw

ip qos dscp ef media

ip qos dscp cs3 sig

no vad

!

The 1st 10 calls will route tp 192.168.1.100 as it is preference 1 after that it will use 192.168.1.200

HTH

Alex

Regards, Alex. Please rate useful posts.
2 REPLIES
Green

dial-peer routing based on number of connections

Hi,

May be someting like this :-

!

dial-peer voice 100 voip

preference 1

desc ** TEST 1 **

destination-pattern 1234

incoming called-number .

Session protocol sipv2

session target ipv4:192.168.1.100

Dtmf-relay rtp-nte

codec g711ulaw

max-conn 10

ip qos dscp ef media

ip qos dscp cs3 sig

no vad

!

!

dial-peer voice 200 voip

preference 2

desc ** TEST 2**

destination-pattern 1234

incoming called-number .

Session protocol sipv2

session target ipv4:192.168.1.200

Dtmf-relay rtp-nte

codec g711ulaw

ip qos dscp ef media

ip qos dscp cs3 sig

no vad

!

The 1st 10 calls will route tp 192.168.1.100 as it is preference 1 after that it will use 192.168.1.200

HTH

Alex

Regards, Alex. Please rate useful posts.

dial-peer routing based on number of connections

I'll have to give that a try, thanks!

288
Views
0
Helpful
2
Replies
CreatePlease to create content