Deon,

Just wondering why you set the next hunt number twice in your else
condition??


  } else {
    #Not the 1st time, let's pull the next in order
    $avp(s:hunt_num) = $(avp(s:hunt_list){s.select,$avp(s:hunt_pos),,});
    xlog("L_NOTICE","***Trying #$avp(s:hunt_pos) of $avp(s:total_hunts) in
seq*** Number to hunt to: $avp(s:hunt_num) Call ID: $ci with Source ANI of:
$fU");
    #pull the next number to call from the set 
    $avp(s:hunt_num) = $(avp(s:hunt_list){s.select,$avp(s:hunt_pos),,});

-- 
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Hunt-Group-with-Opensips-tp5459644p5464025.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to