Jump to content

abuzooz

Members
  • Posts

    97
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by abuzooz

  1. @Karl Stallknecht Yes, the media you will hear while ringing on a ring group. for internal calls, call backs option is working just fine, I want to know what is the option to be used to have the same for incoming calls coming from external sources.

    But not the media in the call flow, as if you put a media in call flow before ringgroup, you will listen to the media before ringing the members in this ringgroup, it is like holdon music. 

  2. Hi All

    I am trying to play a media file when someone calls a ring group, I noticed an option called 'Ring Back' but this only works if the call was received from internal caller, my target is to be able to set a media for each source, to play a media when receiving an internal call and to play a different media in case of external call.

    I read here that there is something called ringroups ringtone external/internal but it is not working with me to set it up via API.

    This is a sample callflow create API to create a ringgroup with ringbank, any advise?

    {"data":
    {"patterns":[],
    "numbers":["+XXXXXXXXX","222"],
    "flow":{"data":{"name":"TestRing",
    "endpoints":[{"endpoint_type":"user","id":"0520f33ca5ecc05a172f984e2d41f7f0","delay":0,"timeout":20}
                ,{"endpoint_type":"user","id":"ab92015ffc8f7ee722c68fa9a66d5ef5","delay":0,"timeout":20}],
                "strategy":"simultaneous",
                "timeout":20,
                "repeats":2,
                "ringback":"d9df631bc2abc6b83a3629e44b5d6bff",
                "ignore_forward":true},
                "module":"ring_group","children":{}}},
                "auth_token":"{AUTH_TOKEN}"}



     

  3. So this is how my Pivot looks like, I want to change it to override caller_id number with value '+115500000' for example:

     "{\"module\":\"set_variables\", \"data\":{\"custom_application_vars\":{\"XD\":\"$xdf\",\"XD-EXTENSION\":\"$xdf_extension\",\"XD_CALLER_ID\":\"$caller_id\"}},
     \"children\":{\"_\":{\"module\":\"resources\", 
     \"data\":{
       \"use_local_resources\":false,
          \"custom_sip_headers\":{
                    \"user_caller_id_number\":\"{caller_id_number}\",
                    \"user_caller_id_name\":\"{caller_id_name}\",
                    \"X-account-id\":\"{account_id}\",
                    \"X-Member\":\"{caller_id_name}\",
                    \"X-XD\":\"$xdf\",
                    \"X-XD_EXTENSION\":\"$xdf_extension\",
                    \"X-XD_CALLER_ID\":\"$caller_id\"
       
    }}}}}"

    Any ideas?

  4. As you can see in screenshot below, I want to set these variables to be passed in the sip header on run_time, this is important so our billing system will log these info in its CDRs

    I using API by patching the resource API, I was able to send user_caller_id_number for example using {caller_id_number}, but I cant figure out the dynamic variables names for the highlighted variables (user_id, cav_team_id, and most important real name (not IP))

    Any advise?

     

    Capture2.PNG

  5. On 3/24/2020 at 1:24 PM, lazedo said:

    assuming you're running 4.3 releases, if you install kazoo-freeswitch >= 4.3.16 without change, it should work oob.

    make sure to look into freeswitch logs for kazoo initiated commands to set the cav variable

     

    don't do this, this is a developer setting, it will degrade your system

    Thank you, I was advised that send-all-headers is used for development purpose, is that correct?

    Beside, where can I find a list of kazoo dynamic variables, like (account_id), (caller_id_number) ..etc that can be set on runtime, I want it to pass the realm of the customer who is making the call (realm name not IP), I tried to use {realm) and it is received as is not its value. same if I want to user {user_id}..etc

    is this list of dynamic variables published anywhere?

  6. On 3/23/2020 at 3:18 AM, safarov said:

    This may be related to https://freeswitch.org/jira/browse/FS-11490

     

    I added this line <param name="send-all-headers" value="true" /> into Kazoo-freeswitch kazoo.conf file and I added set-cav manual value in outbound callflow with now luck.

    beside, I dont want to set a static value, I want to use a custom value (team_id) which I added while creating this user to be used in the CDRs

    Sorry guys, I am not Kazoo Guru

    Any advise?

  7. 40 minutes ago, Eugene Taradayko said:

    There is only way to upgrade bigcouch to CouchDB 2.3.1. Firstly you should create a new cluster of CouchDB 2.3.1 then replicate all data from Bigcouch to new CouchDB cluster with using some utility from Kazoo repository. As far as I remember its  clonedb. You can use even curl for this.

    Wonderful! thank you so much

  8. Hi Community

    I want to configure Couchdb HA on my 3 node cluster so if one of the nodes fails the other 2 still supporting the system. CouchDB team told me that it is a built-in feature starting CouchDB  V2, which is unfortunate as Kazoo is using CouchDB V1.1.1 and I cant find any article how to upgrade Kazoo-BigCouch to higher versions so I can support HA. Currently if I turned off one of the 3 nodes, the system collapse and start throwing errors.

    How have you overcame this issue using Kazoo V4.3?

     

  9. You Rock! Yes it worked to add team_id in the member creation request!

    Now for the CDR part, I want to enforce adding team_id custom field in each CDR record for historical trail reason, consider the following scenario:

     team X has 5 members and they made 10 calls on March 19, 2020, now if we relocated one of these team members (lets say member 123)  to team Y, then we generated a report for team X to see all calls made on March 19, we will notice that the number of calls are different as we are not counting the calls made by (member 123) as Member 123 is part of a new team now, which will yield in a wrong reporting.

    Is there anyway to customize the fields written in the CDR document to include this new field? as the other option to solve this problem is to save CDRs data into another warehouse and add the team_id manually for each record as written which is a complicated and long process

  10. Hi All

    I want to ask if I can add a custom field in users schema, so I can use it  when creating a new user via API, I want to add "team_id" to users so I can easily map this user to his team in other databases when fetching his data.

    Moreover, I was wondering if we can also include this custom field in the CDR response (in addition to the normal fields returned)

     

×
×
  • Create New...