Hi all,
I’ve a problem with my outside rules dialing. I’ll try to explain it. I’ve 6 dialing rules with 6 differents trunks associated (physically 6 lines). I want to use all the lines, but in a priority order. If the first line is busy, I want to pass the call to the next no busy line automatically. I attach my actual dial plan for outgoing calls.
[numberplan-custom-1]
include = default
plancomment = DialPlan1
exten = _XXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:0},${trunk_1_cid})
comment = _XXXX!,1,9,standard
exten = _XXXX!,2,Macro(trunkdial,${trunk_2}/${EXTEN:0},${trunk_2_cid})
comment = _XXXX!,2,9,standard
exten = _XXXX!,3,Macro(trunkdial,${trunk_8}/${EXTEN:0},${trunk_8_cid})
comment = _XXXX!,3,9,standard
exten = _XXXX!,4,Macro(trunkdial,${trunk_9}/${EXTEN:0},${trunk_9_cid})
comment = _XXXX!,4,9,standard
exten = _XXXX!,5,Macro(trunkdial,${trunk_7}/${EXTEN:0},${trunk_7_cid})
comment = _XXXX!,5,9,standard
exten = _XXXX!,6,Macro(trunkdial,${trunk_10}/${EXTEN:0},${trunk_10_cid})
comment = _XXXX!,6,9,standard
This configuration, has many problem, but I don’t know why.
Anybody can help me??
Thank you in advance.