Search the Community
Showing results for tags 'ring group'.
-
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.
-
Hi, I am using the feature find me follow me. I want to have the users main device ring and if its not picked up for 45 seconds then to go to an external number. i am using a pivot script to input an external number through a feature code and then the subsequent creation of a ring group and callflow modification. This gives the user the impression that they set call forward on no answer and call forward on busy. Currently i have to create a new device for the forwarded number and create a new ring group with strategy single, the new device and users own device. Then I add it to users callflow with the call delays set. if a user with the same extension number exists i have to instead find that user and add that user's device id into the ring group. is there a way i can have the ring group endpoint type be "extension" and add a number (onnet or offnet) instead of linking to a device with the number in it.
- 3 replies
-
- ring group
- remote
-
(and 1 more)
Tagged with: