Number manager Kazoo-UI no add number

897 views
Skip to first unread message

Eamon Garland

unread,
Mar 19, 2015, 1:28:50 PM3/19/15
to 2600hz...@googlegroups.com
Installed the latest version kazoo (3.19) UI from Github there is no option to add numbers under the Tab.

Kirill Sysoev

unread,
Mar 19, 2015, 1:43:55 PM3/19/15
to 2600hz...@googlegroups.com

Put "pvt_wnm_allow_additions": true, to superduperadmin account doc.

--
Regards,
Kirill Sysoev

четверг, 19 Март 2015г., 20:08 +03:00 от Eamon Garland <eamon....@gmail.com>:

Installed the latest version kazoo (3.19) UI from Github there is no option to add numbers under the Tab.

--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to  2600hz-users...@googlegroups.com .
For more options, visit  https://groups.google.com/d/optout .

Eamon Garland

unread,
Mar 21, 2015, 5:31:27 PM3/21/15
to 2600hz...@googlegroups.com, kirill...@gmail.com
Hi Kirill 

Thanks, that works.

Regards,
Eamon

Dave Moore

unread,
Apr 10, 2015, 10:39:07 PM4/10/15
to 2600hz...@googlegroups.com, kirill...@gmail.com

just how does one go about achieving this?

Arringar

unread,
Jun 9, 2015, 6:34:34 PM6/9/15
to 2600hz...@googlegroups.com, kirill...@gmail.com
Dave, did you figure this out?  The simplest way to do this is by using the couch futon web interface.  Just browse to the IP or hostname of your couch db and locate the master account's database and add the line Kirill mentioned manually.

If you don't know your master account you can find it by going to system_config/accounts and look for master_account_id.  Also in the futon interface.

Ebot

unread,
Aug 7, 2015, 11:59:11 PM8/7/15
to 2600hz-users, kirill...@gmail.com
Hi,
I have been having similar challenges, in my case i did add the field with its value true, but when logged in i don't get the add number button appearing. and Kirill mentioned "account" and what i am seeing on the database is "accounts" are they the same document ? or different ?


Thanks 

Ebot

stormqloud

unread,
Aug 8, 2015, 11:55:08 AM8/8/15
to 2600hz-users, kirill...@gmail.com
There is also a 'sup' command you can use to create a phone number from the command line.

Adding from Kazoo-ui does work if you have all the bits setup right as Krill mentioned above.

You should have an "Add number flag" in the number manager if you get it right.  Looking inside the kavascript to see what it uses to enable/disable the button.

You can also when creating an extension (when create a callflow) use +xxxxx number and get it "added" assuming you have the right permissions.

tx

Ebot

unread,
Aug 12, 2015, 2:26:45 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Hi please there any there place where i can read more on this, on using the sup command to add number via the shell thanks.

stormqloud

unread,
Aug 12, 2015, 5:25:24 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Actually it seems I'm wrong on this.  If there is a sup command to add a phone_number I havn;t managed to find it yet!

You need to use the HTTP API.

These docs should help you.


tx

Ebot

unread,
Aug 12, 2015, 5:29:56 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Hi, 

I did find the command:  sup wnm_managed generate_numbers superduperadmin_id +27XXXXXX 1


but a little problem when i add them it returns ok, but on the UI i can't seems to find the added numbers.

stormqloud

unread,
Aug 12, 2015, 6:50:15 PM8/12/15
to 2600hz-users, kirill...@gmail.com
I think you might be triggering something in the porting process.   Perhaps there is another function you can call to move the number into active state.

I tried it on one of my devel machines and it created the number in  the right place.

Reboot your box every once and a while to make sure the caches get flushed.  Making the caches get flushed etc can be very confusing at first!

Obviously I'm assuming you are just playing with Kazoo.

tx

stormqloud

unread,
Aug 12, 2015, 6:53:50 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Opps.

I tried it on one of my devel machines and it  *DID NOT* created the number in the right place.

Should be in numbers/+xxx

I find it in numbers/manged 

tx

Ebot

unread,
Aug 12, 2015, 7:08:19 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Yeah, after adding the number via the shell, i checked number/managed on couchdb, it shows active. but what i don't understand on the UI i search for the number manager on the UI it is not available.


Ebot

stormqloud

unread,
Aug 12, 2015, 10:00:49 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Use Kazoo UI with the superduperadmin.

Inside number manager you will see the "Add" button appear.

If you add there it will show up in Monster-ui (mostly).

Look under "spare numbers".  
 
"Buy number" means it uses the API's to try to get phone numbers from a third party.   You need an account with them etc.

Forget sup, use the HTTP API to add numbers.

tx

Ebot

unread,
Aug 12, 2015, 10:18:21 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Hi,
This is more like private setup of Kazoo on a server. how do i access both kazoo-ui and monster-ui via a url, I am kind of new to the platform and documentation doesn't seems to be a bit clear for me. 

Ebot

unread,
Aug 12, 2015, 10:18:22 PM8/12/15
to 2600hz-users, kirill...@gmail.com
Because after installation, i go to the IP address i get UI which i can login with the user credentials created during installation of the kazoo stack. So i don't know if this is the monster-ui or kazoo-ui ? a bit confusing though.

E.


On Thursday, August 13, 2015 at 2:00:49 AM UTC, stormqloud wrote:

stormqloud

unread,
Aug 13, 2015, 9:36:58 AM8/13/15
to 2600hz-users, kirill...@gmail.com
Kazoo-ui screenshot

http://farm9.staticflickr.com/8028/7462808596_16a00d8313_z.jpg

Monster-ui screenshot.


You probably have monster-ui if you installed recently.

You can install both at the same time.  IT's just a newer GUI that uses mostly but not 100% the same API's.

IE v1 and v2 API's.

tx

stormqloud

unread,
Aug 13, 2015, 8:50:29 PM8/13/15
to 2600hz-users, kirill...@gmail.com
You need to make 2 calls in sup if you want to do it.

"create_number" then "activate_number".

both in wh_number_manager

tx

stormqloud

unread,
Aug 14, 2015, 3:50:25 PM8/14/15
to 2600hz-users, kirill...@gmail.com
FYI

https://github.com/stormqloud/kazoo/commit/5a6eec6a011636cd2462a7061894015d4ddfde73

Then you can do something like this to put a number to the 4dxxx account.

sup whistle_number_manager_maintenance create_and_activate_phone_number +15149991001 4d11c1cb0e376da3ab6268fa54d95a2f

tx

Ebot

unread,
Aug 20, 2015, 11:04:43 AM8/20/15
to 2600hz-users, kirill...@gmail.com
Thanks alot for the suggestions and tips. 

:)

Ebot
Reply all
Reply to author
Forward
0 new messages