logs archiveBotHelp.net / Freenode / #2600hz / 2015 / August / 20 / 1
hmmhesays
I need to figure out to integrate my standalone number provisioning system
stormqloud_
need to get somebody to write you some code then most likely
hmmhesays
Oh I can write it myself
I'm thinking I need to replace the number manager api's
stormqloud_
there are number manager api to call third party
hmmhesays
is that documented somewhere?
stormqloud_
you always have your code create the numbers in kazoo also
with the kazoo api
push the numbers to kazoo instead of pull them in
hmmhesays
most likely I will need it the opposite because I'd like to control it from with the UI
I have looked at this https://2600hz.atlassian.net/wiki/display/APIs/Phone+Number+APIs
stormqloud_
https://github.com/2600hz/kazoo/blob/f8485e59dbd338839dd4d20def708f80b500d306/core/whistle_number_manager-1.0.0/src/carriers/wnm_vitelity.erl
you need to write a "carrier adapter" (not sure what it's called) for your own platform
hmmhesays
hmm how do I go about installing that
bongfrog
stormqloud_: Hay bro, I want to say thanks for writing the patch and updating the cf_dynamic_cid module. That has been poking me in the eye for some time now!!!
stormqloud_
glad somebody else can use it, I have a couple more things I want to do to it
including change the number of digits that it matches on in thte json
AnGrYfUrBy
Macpie: GIF SAVER !!!!!
Macpie
?
AnGrYfUrBy
How can I save my high quality gifs
its aweful
so many bookmarks
http://i.imgur.com/bv7W2x3.gif
Macpie
you mean does not work with the extension ?
hmmhesays
stormqloud_, should that number manager be in a default install or is that something I have to manually add
AnGrYfUrBy
Macpie: .gifv bro
contemplating donating to the church of pertetual exemption to make it happen
Macpie
so it works then
AnGrYfUrBy
.gifv no
Macpie
AnGrYfUrBy: come to http://kazoocon.com will talk about it :p
AnGrYfUrBy
Macpie: thats the plan
i dont know what to know if MrFrenchyPants isnt around
hmmhesays
is your api key shown in either UI anywhere?
stormqloud_
hmmhesays: the number manager is installed by default
but the carrier modules are not
you need to have an account with the specific carrier and setup.
I don;t have an account with any of these companies, so I've never tried their API integrations
hmmhesays
stormqloud_, so the carrier modules have to be installed manually?
JR^
hmmhesays: no we don't expose the api key in the UI
hmmhesays
JR^," You can reset your API Key at any time in the Winkstart GUI if you feel your token has been compromised." That can probably be changed then
where do you get your api key at?
saratogga
instead of writing your own carrier module you can just use Vitelity, for example, change the api_url to your own API url handler and simply reply to kazoo with the same format Vitelity uses
http://apihelp.vitelity.net/
JR^
hmmhesays: where was that text? The Winkstart GUI name tells me this is really old
we have been referring to the old UI as Kazoo UI for at least 2-3 years now!
hmmhesays
https://2600hz.atlassian.net/wiki/display/APIs/Generating+an+Authentication+Token
is that the right place to be looking for api usage etc?
saratogga, yeah that's exactly what I'm thinking
JR^
yeah this document should be fine
hmmhesays
JR^, where is your api key located then?
JR^
there's an API key located in the account database in couchdb
hmmhesays
JR^, okay thanks
now how do I go about activating the vitelity carrier module in number manager
stormqloud
look for the sup command to start a whapp
hmmhesays
hmm looks like you have to change it in couch
stormqloud_
not necessarily
you can use a sup command to start it
that will also add it to couchdb in one action
hmmhesays
hmm I must be missing something here
not seeing anywhere a sup command can change that
stormqloud_
sec
sup whapps_controller running_apps
sup whapss_controller start_app xxxx
I oknow it says start but it does more then that
hmmhesays
yeah whistle number manager looks to be a core app though
and it's running in the gui but the sup command doesn't list it
stormqloud_
number manager is core really
but the api's to the carriers isn;t
you can add numbers manually through the api
if you don;t have number manager I don;t think you can add numbers through the api even
but that's outside my knowledge
think o this as number manager extensions
hmmhesays
I was asking how to enable vitelity for the number manager and it looks like you have to edit couch directly
stormqloud_
to put inthe api kety etc yes
personally I find it easier to dig in couchdb then make up curl api from the command line
but obvisoulys the api is safer when available
hmmhesays
yeah I don't see anything you can do on the command line to activate that
stormqloud_
adding this is not common tho
it's very far from an end user experience
btracht
will running the DB clone tool affect service at all?
stormqloud: do you know if running DB clone tool will affect service at all
stormqloud
I don;t think it will
it's just another db operation
btracht
do i need to remove dbs before i run it or will it overwrite existing dbs
by default when creating bigcouch cluster it automatically creates some dbs
stormqloud_
updates
hmmhesays
I just had my kamailio start sending back this log|failed to query Kazoo for authentication credentials
I haven't changed anything
What should I be looking for here?
mc_
is rabbit up, is the registrar app running and connected to the same broker
bongfrog
/var/log/2600hz/kazoo.log should give you the hint as to what is failing.
mc_
yeah, take the callid and check for reg_ logs in kazoo.log
bongfrog
mc_: good to see you spending more time the the channel. you presence is always appreciated
hmmhesays
couch is returning this 503 Service Unavailable</h1>\nNo server is available to handle this request.
mc_
bongfrog: yeah, trying to get it going again
hmmhesays: did you update rpm packages?
check for haproxy.cfg.rpmnew ?
are you couch servers up?
hmmhesays
I touched nothing
mc_
check haproxy's logs
« prev 1 2 next »