11-17-2016 09:34 PM - edited 03-17-2019 08:42 AM
Hi Dear,
I have a question about CUBE, How can I load sharing with per call on CUBE
For example I have two dial peer different session target I want to route to one calls different ISP one call another ISP... (First call call should be route ISP A the second call should be route ISP B )
How can proceed it ?
Thanks
11-17-2016 10:42 PM
Hi Kemal,
Please check the following post with similar query
https://supportforums.cisco.com/discussion/10644386/voip-dial-peer-load-balancing
HTH
Manish
11-17-2016 10:47 PM
Hi Manish
ı checked it before but its not answer my question.
I want to do this ,
First cal should be route ISP a, second call should be ISP B and third one is come back again ISP and A another one shoul be route ISP B.
That mean every one call should be match one by one different ISP.
If i use without preference command it will ve select randomly do it.
Thanks
11-18-2016 12:08 AM
That is correct, in this case the dialpeer selection would be random.
But you can add the below command.
dial-peer hunt 1
Which means <<1 - Longest match in phone number, explicit preference, least recent use>>
After this, the calls will match the two dial peers alternately.
So for your current requirement you can do the following.
1. Remove preference commands from both dial peers
2. And then add the dial-peer hunt 1, this should make the call to match both dial peers alternately
You may test this and let us know if it works.
Manish
11-18-2016 12:21 AM
In my scenerio , what should it do ?
Is following configuration correct ? Firs cal should be match dp 2 second call should match dp 3
I checked that but dial-peer hunt is different thing as my question.
http://www.cisco.com/en/US/docs/ios/12_3/vvf_r/vrg_d1_ps1839_TSD_Products_Command_Reference_Chapter.html#wp1100737
dial-peer voice 2 voip
destination-pattern 55555
session protocol sipv2
session target ipv4:2.2.2.2
voice-class codec 2
dtmf-relay rtp-nte
dial-peer voice 3 voip
destination-pattern 55555
session protocol sipv2
session target ipv4:1.1.1.1
voice-class codec 1
dtmf-relay rtp-nte
11-19-2016 10:40 PM
Hi Kemal
You can do this with voice class server-group with round-robin hunt scheme.
For example
!
voice class server-group 1
ipv4 <ip ISP A> preference 1
ipv4 <ip ISP B> preference 2
hunt-scheme round-robin
!
dial-peer voice 2 voip
destination-pattern 55555
session protocol sipv2
session server-group 1
voice-class codec 2
dtmf-relay rtp-nte
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/dialpeer/configuration/15-mt/vd-15-mt-book/multiple-outBound-dial-peer.html
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide