Jump to content

Dmitry S

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Dmitry S

  1. Hello to everyone! We could not use the strategy weighted_random in the ring_group in the Kazoo. It returns always error. The example of scheme: kz_json_schema_extensions:58(<0.23897.340>) extra for <<"callflows.action.data">> : {[{<<"timeout">>,300},{<<"strategy">>,<<"weighted_random">>},{<<"repeats">>,1},{<<"ignore_forward">>,true},{<<"name">>,<<"scen569">>},{<<"endpoints">>,[{[{<<"id">>,<<"771e8fabdcbc8c746fc206d585ea63d4">>},{<<"endpoint_type">>,<<"device">>},{<<"delay">>,0},{<<"timeout">>,300},{<<"weight">>,1}]},{[{<<"id">>,<<"ed32f61d3ab5fdb5d0b44e145aee986c">>},{<<"endpoint_type">>,<<"device">>},{<<"delay">>,0},{<<"timeout">>,300},{<<"weight">>,2}]}]}]} Everything look like taken and lasted correct, until come to ring_group's module. The log of the module ring_group: - cf_ring_group:272(<0.23906.340>) resolved device ed32f61d3ab5fdb5d0b44e145aee986c - cf_ring_group:272(<0.23906.340>) resolved device 771e8fabdcbc8c746fc206d585ea63d4 - cf_ring_group:167(<0.23906.340>) builder <0.23902.340> exited abnormally: {badarg,[{kz_json,get_value1,3,[{file,"src/kz_json.erl"},{line,1132}]},{kz_json,is_true,3,[{file,"src/kz_json.erl"},{line,976}]},{kz_endpoint,maybe_owner_called_self,4,[{file,"src/kz_endpoint.erl"},{line,773}]},{kz_endpoint,should_create_endpoint_fold,2,[{file,"src/kz_endpoint.erl"},{line,742}]},{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},{kz_endpoint,should_create_endpoint,3,[{file,"src/kz_endpoint.erl"},{line,715}]},{kz_endpoint,build_endpoint,3,[{file,"src/kz_endpoint.erl"},{line,707}]},{cf_ring_group,builder,4,[{file,"src/module/cf_ring_group.erl"},{line,186}]}]} - cf_ring_group:167(<0.23906.340>) builder <0.23912.340> exited abnormally: {badarg,[{kz_json,get_value1,3,[{file,"src/kz_json.erl"},{line,1132}]},{kz_json,is_true,3,[{file,"src/kz_json.erl"},{line,976}]},{kz_endpoint,maybe_owner_called_self,4,[{file,"src/kz_endpoint.erl"},{line,773}]},{kz_endpoint,should_create_endpoint_fold,2,[{file,"src/kz_endpoint.erl"},{line,742}]},{lists,foldl,3,[{file,"lists.erl"},{line,1263}]},{kz_endpoint,should_create_endpoint,3,[{file,"src/kz_endpoint.erl"},{line,715}]},{kz_endpoint,build_endpoint,3,[{file,"src/kz_endpoint.erl"},{line,707}]},{cf_ring_group,builder,4,[{file,"src/module/cf_ring_group.erl"},{line,186}]}]} - cf_ring_group:79(<0.23906.340>) ring group has no endpoints, moving to next callflow element So, it return always abnormally exit and told about badarg, but I could not understand what is wrong there. And if this will be changed to strategy single or simultaneous - with the same scheme and parameters - everything is going on correct. Did anyone face the same? What could be the problem? Thank you in advance for help! I can give additional info if it could help resolve this.
  2. Good day! We are facing an issue with diversion. Everything was correct earlier, when we had Kazoo version 4.3.34, but after update to 4.3.105, we are facing the issue with diversion. Nothing was changed, we have "should_add_diversion_header"true in 'system_config/kazoo_endpoint' . But in the final we do not have diversion header. Did somebody face the same? Or maybe somebody know what to check additionally?
×
×
  • Create New...