Author Topic: Problem Implementing call fork rotate  (Read 3775 times)


  • Newbie
  • *
  • Posts: 12
    • View Profile
Problem Implementing call fork rotate
« on: April 07, 2013, 03:32:55 AM »
Dear All,

I am facing problem to implementing "fork rotate" funcation in register.conf file.Here is my sql statement how do i implement

SELECT 'fork rotate sip/sip:1@host1 h323/2@host2 | sip/sip:3@host3' AS location

is i do any mistake



  • Administrator
  • Newbie
  • *****
  • Posts: 47
    • View Profile
Re: Problem Implementing call fork rotate
« Reply #1 on: April 19, 2013, 05:39:26 AM »
As mentioned in you should try

^.*$=fork $(rotate,$idx001,| sip/\0@fwd,| sip/\0@other,| ...)

Something like that


query=SELECT 'fork (rotate,$idx001,| sip/sip:1@host1,| h323/2@host2, | sip/sip:3@host3)' AS location

anyway, I'd prefer to use the new callto.X syntax and to not late yate rotate but to specifiy the destinations in my own order so that I can influence it based on ASR/ACD

SELECT 'fork' as location, 'sip/sip:1@host1' as callto.1, 'next=5000' as callto.2, 'h323/2@host2' as callto.3, 'next=5000' as callto.4 ....etc.

next=5000 specifies the time to wait until the next target is called (connections to targets called before are still open then so yate will try them concurrently)