I got it working with a dirty workaround:
- Announce queue position to a member in a given mod_callcenter queue.
-- Arguments are, in order: caller uuid, queue_name, interval (in milliseconds).
api = freeswitch.API()
caller_uuid = argv[1]
caller_id = tostring(argv[4])
queue_name = argv[2]...