Jump to content

Avneet Singh

Members
  • Content count

    58
  • Joined

  • Last visited

Everything posted by Avneet Singh

  1. Avneet Singh

    phone number

    Hello All, Is there any phone number's api to differentiate "spare numbers" and "number in use" . Also is there any api to describe that phone number is assigned to which user . Thanks
  2. Avneet Singh

    Credit api

    Hello everyone, I have installed kazoo 4.3-12 version. The credit/debit api is not working also sup commands not working sup kazoo_services_maintenance credit {ACCOUNT_ID} 5.0 sup kazoo_services_maintenance debit {ACCOUNT_ID} 5.0 Is there change in api and sup command in new version
  3. Avneet Singh

    Credit api

    Does this ledgers api works on billing means on call rates it gets debits according to rates
  4. Avneet Singh

    Kazoo Billing

    Hello everyone, I have kazoo version 4.3-12 and the calls are not being correctly billed. have created ratedeck { "_id": "IN-918708", "prefix": "918708", "weight": 50, "description": "INDIA STATES AND POI-REG", "direction": "outbound", "rate_name": "IN-91870", "iso_country_code": "IN", "pvt_rate_cost": 0.90001, "pvt_carrier": "default", "pvt_type": "rate", "rate_increment": 60, "rate_minimum": 60, "rate_cost": 0.90219, "routes": [ "^\\+91870(\\d*)$" ], "OPTIONS": [ ], "pvt_vsn": "1", "pvt_account_db": "ratedeck" } and running sup command sup hotornot_maintenance rates_for_did 918708 Candidates: RATE NAME | COST | INCREMENT | MINIMUM | SURCHARGE | WEIGHT | PREFIX | RATEDECK NAME | VERSION | IN-91870 | 0.9021 | 60 | 60 | 0.0 | 50 | 918708 | ratedeck | | no rates matched ok hotornot app is running but no per-minute rates logs in tail -f /var/log/kazoo/kazoo.log and also per-minute rates in cdrs https://pastebin.com/Yz0qKFPp. Is am missing something?
  5. Avneet Singh

    Kazoo Billing

    @mc_ Any updates?
  6. Avneet Singh

    Kazoo Billing

    Now jonny5 and hotornot app are running WhApps : blackhole(3h35m47s) callflow(3h35m46s) cdr(3h35m45s) conference(3h35m45s) crossbar(3h35m45s) fax(3h35m43s) hangups(3h35m22s) hotornot(3h35m7s) jonny5(3h35m21s) media_mgr(3h35m22s) milliwatt(3h35m22s) omnipresence(3h35m22s) pivot(3h35m22s) registrar(3h35m22s) reorder(3h35m22s) stepswitch(3h35m22s) sysconf(3h35m48s) tasks(3h35m22s) teletype(3h34m21s) trunkstore(3h34m16s) webhooks(3h34m16s) still balance is not deducted and not showing in cdrs, attaching logs tail -f /var/log/kazoo/kazoo.log https://pastebin.com/5e9B88nB
  7. Avneet Singh

    Kazoo Billing

    On running kazoo-applications status Node : kazoo_apps@sip.veloice.com md5 : fhp325X-PuQLN-tHO-DOxw Version : 4.3.15 - 19 Memory Usage : 87.76MB Processes : 1798 Ports : 19 Zone : local Broker : amqp://127.0.0.1:5672 Globals : local (4) Node Info : kz_amqp_pool: 150/0/0 (ready) WhApps : blackhole(5d20h29m10s) callflow(5d20h29m9s) cdr(5d20h29m9s) conference(5d20h29m8s) crossbar(5d20h29m8s) fax(5d20h29m6s) hangups(5d20h28m46s) hotornot(5d20h10m45s) media_mgr(5d20h28m46s) milliwatt(5d20h28m46s) omnipresence(5d20h28m46s)pivot(5d20h28m46s) registrar(5d20h28m46s) reorder(5d20h28m46s) stepswitch(5d20h28m45s) sysconf(5d20h29m10s) tasks(5d20h28m45s) teletype(5d20h27m45s) trunkstore(5d20h27m40s) webhooks(5d20h27m40s) Node : kamailio@sip.veloice.com Version : 5.1.5 Memory Usage : 16.05MB Zone : local Broker : amqp://127.0.0.1:5672 WhApps : kamailio(5d20h29m32s) Roles : Dispatcher Presence Proxy Registrar Dispatcher 1 : sip:139.59.57.47:11000 (AP) Subscribers : presence (2) message-summary (4) Subscriptions : presence (2) message-summary (13) Presentities : presence (0) dialog (0) message-summary (0) Listening on : 0.0.0.0 tcp (5060 7000) udp (5060 7000) Registrations : 0 Node : ecallmgr@sip.veloice.com md5 : _Zxc1iK3ShlPA0urSxpcaQ Version : 4.3.15 - 19 Memory Usage : 57.09MB Processes : 1171 Ports : 26 Zone : local Broker : amqp://127.0.0.1:5672 Globals : remote (4) Node Info : kz_amqp_pool: 150/0/0 (ready) WhApps : ecallmgr(5d20h29m11s) Channels : 0 Conferences : 0 Registrations : 0 Media Servers : freeswitch@sip.veloice.com (5d20h28m4s) ok the sup command is not working "sup kapps_controller start_app jonny5" {error,not_found}
  8. Avneet Singh

    Media file

    Hello everyone, I want to ask Where play media upload files are stored in database and it's stored in which file format. I am trying to send base64 data using POST api - http://{SERVER}:8000/v2/accounts/{ACCOUNT_ID}/media/{MEDIA_ID}/raw but it is not the right format as in kazoo .
  9. Avneet Singh

    Media file

    Hi @mc_ I am trying to upload audio file using postman through node js as middleware server "http://192.168.1.123:8080" is node server address and in response I am receiving data like this - { dataString: { name: '1kHz.mp3', data: <Buffer ff fa 93 cc 26 8b 00 00 12 54 ef 33 35 97 80 02 33 1a ea 37 3b 10 02 64 45 56 6a aa 8b c0 ae 23 2b 0e d7 e8 e5 0f 89 8a 69 c4 f0 09 46 ba 05 0c 1c 1b ... >, encoding: '7bit', truncated: false, mimetype: 'audio/mpeg', md5: [Function: md5], mv: [Function: mv] } } I have to convert the data into encoded form and node supports - ascii base64 binary hex ucs2/ucs-2/utf16le/utf-16le utf8/utf-8 which I have tried . I am trying to get media file from kazoo which I have directly uploaded from monster-ui using request and in response I get https://pastebin.com/dzchSF7u . I want to know which file format is this which I have uploaded in pastebin.
  10. Avneet Singh

    Media file

    Hi @mc_ In which file format audio is saved , is it base64 and path of database in which file is stored
  11. Avneet Singh

    phone number

    I havn't assigned phone number to callflow but still it reamains "in_service" and filter_state=avaialble not responds any data
  12. Avneet Singh

    phone number

    what here states "aging", "available", "in_service", "port_in", "reserved" means in the document https://docs.2600hz.com/supported/applications/crossbar/doc/phone_numbers/ Can we differentiate "spare numbers" and "numbers in use" using this filter_state.
  13. Avneet Singh

    Registration

    Hello everyone, How to register ip phones from only specific ip or register device using mac address Thanks
  14. Avneet Singh

    Registration

    not working in my case , In Ui adding credentials like this Realm - sip.user.com Authentication Method - Ip IP Address - 192.168.1.131 Invite Format - E. 164
  15. Avneet Singh

    Registration

    which config file to be changed ,and what changes are to be made in the file please explain
  16. Avneet Singh

    Registration

    what credentials to pass,I am using cisco SPA504G Ip phone
×