itamarb
1
Hello Experts,
Need your advise on the following scenario which we need to do:
we need to execute outgoing calls for 2 different numbers.
The unique point is that we need the share the calls 50/50 between the 2 numbers.
Can you please advise how such scenario can be done (is it possible to do so only with DIAL command \ do we need to define a queue for such request)?
Will appreciate your feedback on the above
Route them usinga random numbe, or use a queue with round robin strategy, or use a globab variable to track which one you diled last.
1 Like
Maybe set a variable cidnumlist=123-456 or whatever your 2 different numbers are, then check clock while setting the caller ID number:
Dial(PJSIP/5551234@trunk,60,f(${CUT(cidnumlist,-,${MATH(${MATH(${EPOCH}%2,int)}+1,int)})}));
Then add a ; comment
in your dial plan with the OG post URL
?
system
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.