Jump to content

Gagan

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Gagan

  1. On 10/6/2017 at 7:17 AM, Uzair Mahmud said:

    CGRates is a great piece of software!

    I am wondering if something could be setup where you could post  things that need sponsoring and people could donate however much they could through that.  There could be a bar for each task that would show how much is collected and how much left to get to the goal.  You could also integrate that with polling or surveys on what features people want the most and the list could grow organically that way.

    Hello, Did you implement Cgrates with kazoo?

  2. On 10/20/2020 at 10:07 AM, AlanE said:

    FYI : I have an SMPP Gateway KAZOO app which I'm hoping to make available in the App Exchange when it's available. It also hooks into the Kazoo notifications to forward the inbound SMS via email.

    SMPP is the defacto standard for exchanging SMS over a TCP/IP link.

    Hello    ... have you made it available?

     

  3. I have noticed one thing  that []   i.e ( Brackets are missing)

     

    it shows for example {<<" caller_id_numbers">>,<<"^\\+?852.+$">>}

    and not

    {<<" caller_id_numbers">>,[<<"^\\+?852.+$">>]}

     

     

    if i add simply as 852 in excel file in caller_id_numbers table     in that case it shows as {<<" caller_id_numbers">>,"852">>}

    if i add as \+?852.+$   in caller_id_numbers  in excel file it shows up as  {<<" caller_id_numbers">>,<<"^\\+?852.+$">>}  without bracket

    Looks like conversion is not taking place correctly,  so when billing it is not picking  correct rate based on caller id

    Can you suggest a way to fix it..

  4. On 11/10/2023 at 4:31 AM, mc_ said:

    This is controlled by the limits doc of the account: https://docs.2600hz.com/dev/applications/crossbar/doc/limits/

    Hello, Yes, thats API we use to set limits...  but strangely US Calls are billed Flat_rate and not charged

    "data": {
            "inbound_trunks"0,
            "twoway_trunks"0,
            "outbound_trunks"7,
            "ui_metadata": {
                "version""4.3-91",
                "ui""monster-ui",
                "origin""myaccount"
            },
            "allow_prepay"true,
            "authz_resource_types": [],
            "burst_trunks"0,
            "enabled"true,
            "max_postpay_ammount"0,
            "reserve_ammount"0,
            "soft_limit_inbound"false,
            "soft_limit_outbound"false,
            "call_restriction": {
                "tollfree_us": {
                    "action""inherit"
                },
                "toll_us": {
                    "action""inherit"
                },
                "emergency": {
                    "action""inherit"
                },
                "caribbean": {
                    "action""inherit"
                },
                "did_us": {
                    "action""inherit"
                },
                "international": {
                    "action""inherit"
                },
                "unknown": {
                    "action""inherit"
                }
            },
            "allow_postpay"false,
            "id""limits",
            "max_postpay_amount"0
        },
        "revision""47-c7bec12f2e0c11b2668727d4ea37403c",
        "timestamp""2023-11-10T09:40:18Z",
        "version""4.3.93",
        "node""rmeTwFsfDz5RDAUc7aSEAQ",
        "request_id""971130c693a508053a1336fa27c0b1a7",
        "status""success",
        "auth_token" REMOVED
  5. 10 hours ago, mc_ said:

    This is controlled by the limits doc of the account: https://docs.2600hz.com/dev/applications/crossbar/doc/limits/

    Hello, Yes, thats API we use to set limits...  but strangely US Calls are billed Flat_rate and not charged

    "data": {
            "inbound_trunks"0,
            "twoway_trunks"0,
            "outbound_trunks"7,
            "ui_metadata": {
                "version""4.3-91",
                "ui""monster-ui",
                "origin""myaccount"
            },
            "allow_prepay"true,
            "authz_resource_types": [],
            "burst_trunks"0,
            "enabled"true,
            "max_postpay_ammount"0,
            "reserve_ammount"0,
            "soft_limit_inbound"false,
            "soft_limit_outbound"false,
            "call_restriction": {
                "tollfree_us": {
                    "action""inherit"
                },
                "toll_us": {
                    "action""inherit"
                },
                "emergency": {
                    "action""inherit"
                },
                "caribbean": {
                    "action""inherit"
                },
                "did_us": {
                    "action""inherit"
                },
                "international": {
                    "action""inherit"
                },
                "unknown": {
                    "action""inherit"
                }
            },
            "allow_postpay"false,
            "id""limits",
            "max_postpay_amount"0
        },
        "revision""47-c7bec12f2e0c11b2668727d4ea37403c",
        "timestamp""2023-11-10T09:40:18Z",
        "version""4.3.93",
        "node""rmeTwFsfDz5RDAUc7aSEAQ",
        "request_id""971130c693a508053a1336fa27c0b1a7",
        "status""success",
        "auth_token" REMOVED
  6. We are not using ANY Monthly fixed billing for any monthly plan  of kazoo to user.
    Only thing we do in kazoo is billing clients for inbound and outbound calls , for which we assign ratedeck to a client.
    We add outbound trunks ( number of trunks) based on requirement of client , but again no billing or Flat rate plan is created in kazoo or charged to client.
    So, billing is very simple for each client for only calls they make based on rate deck . IF client makes just 1 call, he pays for 1 call , based on rate in ratedeck assigned to him.   Strangely USA Calls are only not being billed as    "account_billing": "per_minute",
     and are instead being billed as "account_billing": "flat_rate"  and thereby not being charged, while in ratedeck , rate is assigned .   
    All other countries are being billed correctly with         "account_billing": "per_minute",

     

    What is causing Flat_rate  and how to disable it   , change it to 0 minutes free?

    Another strange thing  noticed on SOME accounts , if i change OUTBOUND_Trunks from 0 to a value like 2 , calls to USA are billed as Flat_rate , when changing it to 0 , calls are billed as Per_minute..

    This is strange behavior... 

    Can someone help about this FLAT_rate thing

  7. On 11/3/2023 at 11:19 PM, mc_ said:

    Check in your `system_config/hotornot` doc, the `filter_list` key (or run `sup kapps_config get hotornot filter_list`) and see if there is an entry in that list for "caller_id_numbers". If not, you'll need to add it to the list of filter options

    It is there

     "default_rate_cost": 0,
                "default_rate_increment": 60,
                "default_rate_internal_cost": 0,
                "default_rate_minimum": 60,
                "default_rate_nocharge_time": 0,
                "default_rate_surcharge": 0,
                "default_ratedeck": "ratedeck",
                "filter_list": [
                    "direction",
                    "route_options",
                    "routes",
                    "caller_id_numbers"
                ],
                "sort_by_weight": true,
                "trie_build_timeout_ms": 60000,
                "trie_lru_expires_s": 86400,
                "trie_module": "hon_trie",
                "use_trie": false,
                "filter_by_resource_id": false,
                "should_publish_system_alert": {
                    "inbound": true,
                    "outbound": true,
                    "both": true
                }
            }

  8. Hello

    Setup version  version: 4.3.93

    https://docs.2600hz.com/supported/applications/crossbar/doc/rates/

    to test Added 3 different Call rates for India   with  outgoing calls  from  +44 , second rate for  caller id +852  and third rate  ( without caller id , i.e any other caller id)   as per caller_id_numbers , Rates of  0.05 , 0.06, 0.04

     

    But even when calling from +44 Caller id or +852 caller ID or any other, it always pics first in que  rate of   - IN-919-UKCLI"

    Though calls arrive on phone with callers IDs that i selected and also see them correctly in CDR

     

            I am pasting CDR , by hiding digits

    2023-11-01 02:55 PDT   +8525XXXXXXX                       91921XXXXX                                    1 min    $-0.05  

    2023-11-01 03:01 PDT  +13156XXXXX                91921XXXXXXX         1 min            $-     0.05

    2023-11-01 03:00 PDT  +4474XXXXXXX           91921XXXXXXX                1 min                                             $-0.05

    ---------

    Rates as fetched are below

    {[{<<"caller_id_numbers">>,<<"^\\+?44.+$">>}, {<<"weight">>,30}, {<<"routes">>,[<<"^\\+?919.+$">>]}, {<<"rate_surcharge">>,<<"0">>}, {<<"rate_suffix">>,<<"UKCLI">>}, {<<"rate_name">>,<<"outbound_IN_919">>}, {<<"rate_minimum">>,<<"60">>}, {<<"rate_increment">>,<<"60">>}, {<<"rate_cost">>,<<"0.05">>}, {<<"prefix">>,<<"919">>}, {<<"iso_country_code">>,<<"IN">>}, {<<"direction">>,[<<"outbound">>]}, {<<"description">>,<<"India Mobile">>}, {<<"id">>,<<"IN-919-UKCLI">>}]}

    ---------------

    {[{<<"weight">>,30},   {<<"routes">>,[<<"^\\+?919.+$">>]},   {<<"rate_surcharge">>,<<"0">>},   {<<"rate_suffix">>,<<"NOCLI">>},   {<<"rate_name">>,<<"outbound_IN_919">>},   {<<"rate_minimum">>,<<"60">>},   {<<"rate_increment">>,<<"60">>},   {<<"rate_cost">>,<<"0.06">>},   {<<"prefix">>,<<"919">>},   {<<"iso_country_code">>,<<"IN">>},   {<<"direction">>,[<<"outbound">>]},   {<<"description">>,<<"India Mobile">>},   {<<"id">>,<<"IN-919-NOCLI">>}]}

    ---------------------------------------------

    {[{<<" caller_id_numbers">>,<<"^\\+?852.+$">>},   {<<"weight">>,30},   {<<"routes">>,[<<"^\\+?919.+$">>]},   {<<"rate_surcharge">>,<<"0">>},   {<<"rate_suffix">>,<<"HKCLI">>},   {<<"rate_name">>,<<"outbound_IN_919">>},   {<<"rate_minimum">>,<<"60">>},   {<<"rate_increment">>,<<"60">>},   {<<"rate_cost">>,<<"0.04">>},   {<<"prefix">>,<<"919">>},   {<<"iso_country_code">>,<<"IN">>},   {<<"direction">>,[<<"outbound">>]},   {<<"description">>,<<"India Mobile">>},   {<<"id">>,<<"IN-919-HKCLI">>}]}

     

     

     

     
  9. Hello,

    Just need to be more clear .. will this IP API work for solution i am looking to achieve.

     

    a user account on kazoo , if adds his Asterisk IP in account.

    Now , he wishes to place Outbound calls from his asterisk via his kazoo account, so he sets up a trunk for our kazoo ip and calls are auto routed based on call routing by kazoo and his account billed ( as he has authenticated his ip in account).

     

    Thanks

     

     

     

  10. Hello,

    i just sent part of response..

    Complete response

    {
        "data": {
            "ips%2E0": {
                "not_found": {
                    "message""ip not found",
                    "value""85.215.197.153"
                }
            }
        },
        "error""400",
        "message""validation error",
        "status""error",
        "timestamp""2023-10-30T17:39:00Z",
        "version""4.3.140",
        "node""k0ktGBIJ38vMxQeOH7Q1cQ",
        "request_id""45e2bffb1b17d996adceb1500d95aa4a",
     
  11. Hello

    Have been trying to add single//multiple ips in account   but post/put all  give error

     

    "data": {
            "ips%2E0": {
                "not_found": {
                    "message""ip not found",
                    "value""85.215.197.153"
                }

     

    Can others shed more light..

     

    Thanks

     

     

     

  12. Does anyone have idea about this one?

    1)  setting maximum  duration of an outbound //incoming call.

    2)  Auto dropping Zombie incoming calls  that are actually  disconnected from original  Softswitch  but continue to show running on kazoo and keep consuming resources of that account. IF we have some maximum active call duration , to much extend this issue can be resolved.

  13. Hello

    I have below questions

    1) How to setup Maximum Inbound//outbound call duration on a specific account/number?

    2) How to setup maximum Inbound//outbound call duration on kazoo cluster?

    3)  Currently i see many Incoming  calls that get struck in system for days with " other_leg "  field missing ( as they are not connected) . such calls consume resources of account and  leading to future calls failing with SIP Error " Limit_reached". so, need a solution where  we can set maximum active call duration, so such calls are auto cleared.

     

     

     

     

    call example.png

  14. Sir,

     

    IF  we are a carrier , with numbers from 2-3  vendors and need to use different outbound carrier , we have to add our signatures for calls to go through.

    All Switch providers have already made changes to add that signature..

    This is reason , i am checking here :)

     

  15. Hello,

    I can register SIP Device created in kazoo on all SIp phones, but dome how doesnt register on kazoo..

     

    Sample configuration below

    Let me know what am i missing on

     

    username=XXXX
    secret=YYYY
    host=20201126085320.sip.XXXX.com
    port=5060
    type=friend
    fromuser=XXXX
    nsecure=port,invite
    disallow=all
    allow=alaw,g729
    qualify=yes
    nat=force_rport,comedia

     

  16. Kazoo :4.3.92

     

     

    Rates uploaded for outbound with Prefix 1XXXXX and  any caller ID

    Rates uploaded for Inbound with Prefix 1XXXXX and  any caller ID

    Rates uploaded for inbound  on number 1854XXXXXX  and any caller ID

    Rates uploaded for inbound  on number 1854XXXXXX with  caller ID of incoming from 1605XXXXX

     

    When Call arrives on a number for say 1786XXXXXXX  , it picks correct rate and rate name  in CDR

     

    When call arrives on Number 1854XXXXX from a random caller ID or from Caller ID 1605XXXX      , it picks none of rate tables, even not 1XXXXX        and allows call to pass at 0.00  with no rate name picked from list.

     

    CDR , Uploaded rates  attached

     

    CDR Kazoo.png

    hotornot rates.png

    testRates20.csv

    recjx15763672detailsdocumentsrequiredformalay (3).zip

×
×
  • Create New...