cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
2
Replies

selecting dial peer based on the ip address of the incoming leg

vignesh_b
Level 1
Level 1

hello all

i have configured 2 dial peers. i want to select dial peer 1 one the call comes from 1.2.3.4 and select dial peer 2 when the call comes from 3.4.5.6 i am not sure how to search for the same on the internet. please can anyone help me out with this..

2 Replies 2

thomas.chen
Level 6
Level 6

isahonen
Level 1
Level 1

HI

You can use voice source group feature with ACL and some prefixes, Below is an example of such an configuration..

access-list 1 permit 1.2.3.4 0.0.0.255

access-list 2 permit 3.4.5.6 0.0.0.255

voice source-group 1234

access-list 1

disconnect-cause invalid-number

translation-profile incoming 1

voice source-group 3456

access-list 2

disconnect-cause invalid-number

translation-profile incoming 2

voice translation-profile 1

translate called 1

voice translation-profile 2

translate called 2

voice translation-rule 1

rule 1 /^1\(.*\)/ /81\1/ type any subscriber plan any isdn

voice translation-rule 2

rule 1 /^1\(.*\)/ /71\1/ type any subscriber plan any isdn

dial-peer voice 1 voip

destination-pattern 8T

dial-peer voice 2 voip

destination-pattern 7T

rgds,

Ismo