Dear all,

I have these 3 entries in the dialplan:

dpid   pr   match_exp      attr

2       50   ^38.+              porvider_A
2       50   ^3802.+          porvider_B
2       50   ^3806.+          porvider_C

with the fifo command :

kamctl fifo dp_translate 2 3806328881
Output:: 
ATTRIBUTES:: porvider_A

I would expect that the dialplan module would choose the third choice which is the correct one for this call.

From the dialplan documentation i understand that the priority is needed when the prefixes are overlaping in terms of they are the same but with different attrs like :
2       50   ^38.+              porvider_A
2       50   ^3802.+          porvider_B
2       50   ^3806.+          porvider_C
2       50   ^3806.+          porvider_D

here i understand that I should use priorities.

Does anyone knnows how this works ??

Thank you in advance
Alex