Avneet Singh
-
Posts
58 -
Joined
-
Last visited
Content Type
Profiles
Forums
Resource Library: Monster UI Apps for KAZOO
Events
Downloads
Posts posted by Avneet Singh
-
-
@mc_ Any updates?
-
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
-
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 : 0Node : 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} -
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?
-
Hello everyone,
I have installed kazoo 4.3-12 version. The credit/debit api is not working
DELETE /v2/accounts/{ACCOUNT_ID}/transactions/debit
PUT /v2/accounts/{ACCOUNT_ID}/transactions/credit
also sup commands not working
sup kazoo_services_maintenance credit {ACCOUNT_ID} 5.0
sup kazoo_services_maintenance debit {ACCOUNT_ID} 5.0Is there change in api and sup command in new version
-
Hi @mc_
I am trying to upload audio file using postman
POST /v2/accounts/{ACCOUNT_ID}/media/{MEDIA_ID}/raw
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
GET /v2/accounts/{ACCOUNT_ID}/media/{MEDIA_ID}/raw
and in response I get https://pastebin.com/dzchSF7u . I want to know which file format is this which I have uploaded in pastebin. -
Hi @mc_
In which file format audio is saved , is it base64 and path of database in which file is stored
-
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 .
-
I havn't assigned phone number to callflow but still it reamains "in_service" and filter_state=avaialble not responds any data
-
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.
-
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 hours ago, safarov said:
On client equipment may be used any password.
This will not requested when used IP auth.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
-
On 8/14/2018 at 10:37 PM, safarov said:
Thin is easiest way - update kamailio config to add ACL check on REGISTER logic.
I checked PCAP files. Yalink phones and other not send MAC during registration.
But you can check MAC at provisioning state.which config file to be changed ,and what changes are to be made in the file please explain
-
On 8/14/2018 at 10:39 PM, mc_ said:
You can setup a device to auth by IP address by setting the device's "sip.ip" and "sip.method" = "ip".
what credentials to pass,I am using cisco SPA504G Ip phone
-
Hello everyone,
How to register ip phones from only specific ip or register device using mac address
Thanks
-
yes, thanks
-
Hello everyone
I am trying to setup two pattons with in kazoo4, i want that when i dial with a particular prefix(1) it pass call through patton1 and when i dial with prefix(2) call must pass through patton2
I tried adding two gateways with different prefix in offnet doc but of no use.Can anyone suggest how to use.
Thanks
Avneet Singh
-
Thanks for the information and links I will implement it.
-
ok Thnks
-
Hello everyone,
I have cluster kazoo server in which rabbitmq is running on public server.Question is how to hide rabbitmq port so nobody can access from Ui
-
Its not falling anywhere but the documentation is missing. I think
-
Hi there,
I am also trying to setup Kazoo on two server - public and private. I have install
server 1
On public Ip-0.0.0.0
private ip-10.0.0.52
Kamailio SIP server v4server 2
private ip-10.0.0.53
On private IP-
BigCouch NoSQL database v0.4
HAProxy http load balancer v1.5
FreeSWITCH media server v1.6
Kamailio SIP server v4
RabbitMQ message broker v3
Kazoo v4.1Hi there,
I am trying to setup Kazoo to have 2 interfaces - public and private. I have install
On public Ip-
Kamailio SIP server v4On private IP-
BigCouch NoSQL database v0.4
HAProxy http load balancer v1.5
FreeSWITCH media server v1.6
Kamailio SIP server v4
RabbitMQ message broker v3
Kazoo v4.1Is I am on right track.If yes can anyone help me where to change ip address and hostname and which node is to be add. so that external sip can communicate with public ip and internal sip can communicate with private ip.
Look forward to your reply!
Avneet Singh
Credit api
in Starting Out and Training
Posted
Does this ledgers api works on billing means on call rates it gets debits according to rates