
That means the number is already in the system assigned to another account, or was at some point assigned to another account. It won't allow you to assign it again to a different account unless you clear it out.
Go into your database, port 5984, in the numbers/+1805 database. Find the +1805203xxxx doc. Delete it. Then try to add it again.
If you go on the wiki and search for "Number Lifecycle" you'll see what we're working to implement. It's not complete. It will allow master accounts to hold numbers and sub-accounts to be assigned said numbers, and prevent people from adding numbers who aren't authorized. All the back-end code is actually there but the front-end is not.
There is a separate wiki document for the API calls to do this yourself which I believe do work, in full, and allow the behavior you desire. But the documentation is currently lacking on that, so I'm going to call that incomplete for now as well (unless you can read the Erlang code and figure it out, in which case, feel free to contribute to the docs so that we can get this wrapped up)
--<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[17].png>


Oh, and to find the errors is simple – open the developer tools in your browser (like in Chrome) and look at the network requests. There will be a Request-ID header in the logs. You can grep that request-id in your server-side logs to find out what the error really was.
--<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[24].png>

{
"_id": "96fa9c45a8a060f4b371274b1214b11f",
"_rev": "5-36b669f20948d39edab8836cbe785639",
"available_apps": [
"voip",
"pbxs",
"numbers",
"accounts",
"developer"
],
"pvt_superduper_admin": true,
"name": "altered",
"realm": "altered",
"timezone": "America/Los_Angeles",
"caller_id": {
},
"caller_id_options": {
},
"notifications": {
},
"media": {
"bypass_media": "auto"
},
"music_on_hold": {
},
"pvt_type": "account",
"pvt_api_key": "altered",
"pvt_tree": [
],
"pvt_wnm_numbers": [
],
"pvt_vsn": "1",
"pvt_created": 63518252856,
"pvt_modified": 63518252856,
"pvt_account_db": "altered",
"pvt_account_id": "altered",
"pvt_wnm_allow_additions": true
}
You have not properly added the flag to your account that allows you to add numbers.
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: false
Also don't post your auth-token in the future please :-)
--<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[28].png>
pvt_wnm_allow_additions must be added to the account doc in the "accounts" db and in the account's database
-Jon

Hello guys and thank you for perfect stuff !
I think that I have same issue. I can add DID manually (according your instructions below) and add them to callflow but ... when I try to make inbound call to new DID, I recieve '503' sip message. System ask login\password for inbound INVITE but it should not I think. Also I can add DID numbers of USA only. How can I add any DID of other country as well ?
Please advice.Thanks.
Thanks for your continued help in posting Kirill!!! This is fantastic.

Martin,
You don't need to do this with v3. It's old tread :)
You can add DID via admin account (button 'Add number' in 'Number Manager' appl ).
Next, you will have to open inbound carrier IP in database manually. Plus don't forget to add IP adreess of kamailio as well
Look at this manual�https://2600hz.atlassian.net/wiki/display/docs/Inbound+Calls+Fail
Date: Sun, 19 Jan 2014 15:43:45 -0800
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
where should we do it in v3??
Op dinsdag 30 oktober 2012 02:07:22 UTC+1 schreef SupermanSC:
Yuriy,
That's where I was a bit confused - Kazoo won't handle or configure the SIP registrations - you'll need to do this on each of your FreeSwitch servers. �You can do this by creating a /gateways directory in /etc/freeswitch and creating an XML file (2600.xml for example). �In there, put the following:
<include>� <gateway>� � <param name="realm" value="yoursipealm.sip.2600hz.com"/>� � <param name="username" value="youruser"/>� � <param name="password" value="yourpass"/>� � <param name="register" value="true"/>� </gateway></include>
Either restart Freeswitch, or login (cli) and reloadxml / reload mod_sofia. �Freeswitch will now maintain the connection to 2600's SIP servers and accept incoming INVITE's. �Not sure on what other country's are supported on 2600hz's platform - I'll leave that for someone else.
On Oct 29, 2012, at 6:01 PM, Yuriy Nasida <nas...@live.ru>
�wrote:
Hello guys and thank you for perfect stuff !
I think that I have same issue. I can add DID manually (according your instructions below) and add them to callflow but ... �when I try to make inbound call to new DID, �I recieve '503' sip message. System ask login\password for inbound INVITE but it should not I think. Also I can add DID numbers of USA only. How can I add any DID of other country as well ?
Please advice.Thanks.
To: 2600hz-d...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Date: Sat, 27 Oct 2012 21:20:09 +0000
Ok, that did it - now I can add numbers to the account, and in turn assign those numbers to a Call Flow. �Problem is, now that the Call Flow is built, I'm not seeing the call get to our system. �If my only reference to 2600hz is in the offnet database (not a specific carrier on any of the individual accounts) using SIP Auth (User/Pass), how does the system route that call to an account on our system?
-Mark
On Oct 27, 2012, at 2:07 PM, Mark McDonald <Ma...@siteserver.com>
So under that document as well?
-Mark
On Oct 27, 2012, at 1:57 PM, Jon Blanton <jbla...@2600hz.com>
�wrote:
pvt_wnm_allow_additions must be added to the account doc in the "accounts" db and in the account's database -JonMark McDonald wrote:
:) �I didn't think you'd like that - this is fire walled off and will be rebuilt by the end of the day.
�wrote:
You have not properly added the flag to your account that allows you to add numbers.
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: false
Also don't post your auth-token in the future please :-)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[28].png>Darren SchreiberCEO / Co-Founder
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 1:03 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
{"auth_token":"7a393d40195286551d5eadfccc015789","status":"error","message":"unauthorized","error":"500","data":{"unauthorized":"Not authorized to perform requested number operation"},"request_id":"7a96968333d3b10d127bad68d067f1a1"}
Here's the grep from the logs with the most relevant information I could see:
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|crossbar_bindings:489 (<0.15099.5>) routing v1_resource.execute.put.phone_numbers matches v1_resource.execute.put.phone_numbersOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:104 (<0.15099.5>) attempting to create number 8051231234 for account 96fa9c45a8a060f4b371274b1214b11fOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_util:82 (<0.15099.5>) number '8051231234' can be reconciled, proceedingOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:737 (<0.15099.5>) The number could not be foundOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: falseOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:707 (<0.15099.5>) Not authorized to perform requested number operationOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:134 (<0.15099.5>) create number prematurely ended: unauthorizedOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:834 (<0.15099.5>) halting execution hereOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:801 (<0.15099.5>) generating error 500 response, unauthorized
-Mark
On Oct 27, 2012, at 12:17 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
Oh, and to find the errors is simple � open the developer tools in your browser (like in Chrome) and look at the network requests. There will be a Request-ID header in the logs. You can grep that request-id in your server-side logs to find out what the error really was.
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[24].png>Darren SchreiberCEO / Co-Founder
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:14 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
There must be something as I can try to add anything (+18055551818, +18185551215, etc) and I get the same error (There was an error when trying to acquire +1xxxxxxxxxx, would you like to retry?) �I'm going to work with this a bit more and will post a more detailed response. �From what I'm able to find via Google Searches, we're also missing some offnet database updates that we need to get in place - right now we're defining a Carrier for each account which we don't want to do.
We're updating our internal wiki as we go through this process start to finish and I'll update the 2600hz wiki as soon as we're completed with the items we found to be lacking in the documentation. �There appear to be huge gaps in regards to the offnet and carrier documents (unless I'm missing something)...
-Mark
On Oct 27, 2012, at 12:04 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
That means the number is already in the system assigned to another account, or was at some point assigned to another account. It won't allow you to assign it again to a different account unless you clear it out.
Go into your database, port 5984, in the numbers/+1805 database. Find the +1805203xxxx doc. Delete it. Then try to add it again.
If you go on the wiki and search for "Number Lifecycle" you'll see what we're working to implement. It's not complete. It will allow master accounts to hold numbers and sub-accounts to be assigned said numbers, and prevent people from adding numbers who aren't authorized. All the back-end code is actually there but the front-end is not.
There is a separate wiki document for the API calls to do this yourself which I believe do work, in full, and allow the behavior you desire. But the documentation is currently lacking on that, so I'm going to call that incomplete for now as well (unless you can read the Erlang code and figure it out, in which case, feel free to contribute to the docs so that we can get this wrapped up)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[17].png>Darren SchreiberCEO / Co-Founder
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:01 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
We've added the�pvt_wnm_allow_additions to both the superduper account and the sub account (test customer), which in turn adds the "Add Number" field in the Number Manager, however when trying to add a number (+1805203xxxx), it returns:
There was an error when trying to acquire +1805203xxxx, would you like to retry? (xxxx is obviously the rest of the number)
We're unclear as to whether we should be/there is a way to add a number to the system globally and then under the sub account choose that number and assign it to a Call Flow, or if the number should be directly assigned to the customer account.
-Mark
On Oct 27, 2012, at 11:27 AM, Darren Schreiber <dar...@2600hz.com>
�wrote:
For your private install you must manually modify the the user document in
the database to grant permission to add numbers manually.
https://groups.google.com/forum/#!msg/2600hz-dev/wpHDH9I8WU0/6gzwP-waJjEJ
details how to do it (toward the bottom).
--
Darren Schreiber
CEO / Co-Founder
On 10/27/12 11:25 AM, "Mark McDonald" <Ma...@siteserver.com> wrote:
Both, technically. �It's a private install with the trunks/numbers coming
from your hosted cluster.
-Mark
On Oct 27, 2012, at 11:22 AM, Joshua Goldbard <j...@2600hz.com>
wrote:
Mark,
To be clear, this is a private install, and you are not using our
hosted cluster, correct?
Cheers,
Joshua
Sent from my iPad
On Oct 27, 2012, at 11:20 AM, "Mark McDonald" <ma...@siteserver.com>
wrote:
We've been experimenting with a new Kazoo installation and have
everything working well with the exception of adding external numbers
to an account. �Here's what we did so far:
1) Setup an account with 2600hz and purchased a couple of numbers.
2) Created PBX on the 2600hz platform (specifying FreeSwitch as the
platform type)
3) On our Kazoo Installation, we added a Carrier, specifying the same
SIP Server/Realm and User/Pass as specified in 2600hz's platform.
After doing this, we can place calls out and they seem to work fine.
What we're trying to figure out is how to add numbers to our Kazoo
installation so that the numbers can be assigned to an account. �I've
--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/rMA3Q6dTJV4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.
Martin,
You don't need to do this with v3. It's old tread :)
You can add DID via admin account (button 'Add number' in 'Number Manager' appl ).
Next, you will have to open inbound carrier IP in database manually. Plus don't forget to add IP adreess of kamailio as well
Look at this manual https://2600hz.atlassian.net/wiki/display/docs/Inbound+Calls+Fail
Date: Sun, 19 Jan 2014 15:43:45 -0800
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
where should we do it in v3??
Op dinsdag 30 oktober 2012 02:07:22 UTC+1 schreef SupermanSC:
Yuriy,
That's where I was a bit confused - Kazoo won't handle or configure the SIP registrations - you'll need to do this on each of your FreeSwitch servers. You can do this by creating a /gateways directory in /etc/freeswitch and creating an XML file (2600.xml for example). In there, put the following:
<include><gateway>
<param name="realm" value="yoursipealm.sip.2600hz.com"/>
<param name="username" value="youruser"/>
<param name="password" value="yourpass"/>
<param name="register" value="true"/>
</gateway></include>
Either restart Freeswitch, or login (cli) and reloadxml / reload mod_sofia. Freeswitch will now maintain the connection to 2600's SIP servers and accept incoming INVITE's. Not sure on what other country's are supported on 2600hz's platform - I'll leave that for someone else.
On Oct 29, 2012, at 6:01 PM, Yuriy Nasida <nas...@live.ru>
wrote:
Hello guys and thank you for perfect stuff !
I think that I have same issue. I can add DID manually (according your instructions below) and add them to callflow but ... when I try to make inbound call to new DID, I recieve '503' sip message. System ask login\password for inbound INVITE but it should not I think. Also I can add DID numbers of USA only. How can I add any DID of other country as well ?
Please advice.Thanks.
To: 2600hz-d...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Date: Sat, 27 Oct 2012 21:20:09 +0000
Ok, that did it - now I can add numbers to the account, and in turn assign those numbers to a Call Flow. Problem is, now that the Call Flow is built, I'm not seeing the call get to our system. If my only reference to 2600hz is in the offnet database (not a specific carrier on any of the individual accounts) using SIP Auth (User/Pass), how does the system route that call to an account on our system?
-Mark
On Oct 27, 2012, at 2:07 PM, Mark McDonald <Ma...@siteserver.com>
So under that document as well?
-Mark
On Oct 27, 2012, at 1:57 PM, Jon Blanton <jbla...@2600hz.com>
wrote:
pvt_wnm_allow_additions must be added to the account doc in the "accounts" db and in the account's database -JonMark McDonald wrote:
:) I didn't think you'd like that - this is fire walled off and will be rebuilt by the end of the day.
wrote:
You have not properly added the flag to your account that allows you to add numbers.
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: false
Also don't post your auth-token in the future please :-)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[28].png>Darren SchreiberCEO / Co-Founder
From: Mark McDonald <Ma...@siteserver.com>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Saturday, October 27, 2012 1:03 PM
To: "<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject: Re: Adding Numbers to Kazoo
{"auth_token":"7a393d40195286551d5eadfccc015789","status":"error","message":"unauthorized","error":"500","data":{"unauthorized":"Not authorized to perform requested number operation"},"request_id":"7a96968333d3b10d127bad68d067f1a1"}
Here's the grep from the logs with the most relevant information I could see:
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|crossbar_bindings:489 (<0.15099.5>) routing v1_resource.execute.put.phone_numbers matches v1_resource.execute.put.phone_numbersOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:104 (<0.15099.5>) attempting to create number 8051231234 for account 96fa9c45a8a060f4b371274b1214b11fOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_util:82 (<0.15099.5>) number '8051231234' can be reconciled, proceedingOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:737 (<0.15099.5>) The number could not be foundOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: falseOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:707 (<0.15099.5>) Not authorized to perform requested number operationOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:134 (<0.15099.5>) create number prematurely ended: unauthorizedOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:834 (<0.15099.5>) halting execution hereOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:801 (<0.15099.5>) generating error 500 response, unauthorized
-Mark
On Oct 27, 2012, at 12:17 PM, Darren Schreiber <dar...@2600hz.com>
wrote:
Oh, and to find the errors is simple – open the developer tools in your browser (like in Chrome) and look at the network requests. There will be a Request-ID header in the logs. You can grep that request-id in your server-side logs to find out what the error really was.
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[24].png>Darren SchreiberCEO / Co-Founder
From: Mark McDonald <Ma...@siteserver.com>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Saturday, October 27, 2012 12:14 PM
To: "<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject: Re: Adding Numbers to Kazoo
There must be something as I can try to add anything (+18055551818, +18185551215, etc) and I get the same error (There was an error when trying to acquire +1xxxxxxxxxx, would you like to retry?) I'm going to work with this a bit more and will post a more detailed response. From what I'm able to find via Google Searches, we're also missing some offnet database updates that we need to get in place - right now we're defining a Carrier for each account which we don't want to do.
We're updating our internal wiki as we go through this process start to finish and I'll update the 2600hz wiki as soon as we're completed with the items we found to be lacking in the documentation. There appear to be huge gaps in regards to the offnet and carrier documents (unless I'm missing something)...
-Mark
On Oct 27, 2012, at 12:04 PM, Darren Schreiber <dar...@2600hz.com>
wrote:
That means the number is already in the system assigned to another account, or was at some point assigned to another account. It won't allow you to assign it again to a different account unless you clear it out.
Go into your database, port 5984, in the numbers/+1805 database. Find the +1805203xxxx doc. Delete it. Then try to add it again.
If you go on the wiki and search for "Number Lifecycle" you'll see what we're working to implement. It's not complete. It will allow master accounts to hold numbers and sub-accounts to be assigned said numbers, and prevent people from adding numbers who aren't authorized. All the back-end code is actually there but the front-end is not.
There is a separate wiki document for the API calls to do this yourself which I believe do work, in full, and allow the behavior you desire. But the documentation is currently lacking on that, so I'm going to call that incomplete for now as well (unless you can read the Erlang code and figure it out, in which case, feel free to contribute to the docs so that we can get this wrapped up)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[17].png>Darren SchreiberCEO / Co-Founder
From: Mark McDonald <Ma...@siteserver.com>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Saturday, October 27, 2012 12:01 PM
To: "<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject: Re: Adding Numbers to Kazoo
We've added the pvt_wnm_allow_additions to both the superduper account and the sub account (test customer), which in turn adds the "Add Number" field in the Number Manager, however when trying to add a number (+1805203xxxx), it returns:
There was an error when trying to acquire +1805203xxxx, would you like to retry? (xxxx is obviously the rest of the number)
We're unclear as to whether we should be/there is a way to add a number to the system globally and then under the sub account choose that number and assign it to a Call Flow, or if the number should be directly assigned to the customer account.
-Mark
On Oct 27, 2012, at 11:27 AM, Darren Schreiber <dar...@2600hz.com>
wrote:
For your private install you must manually modify the the user document in
the database to grant permission to add numbers manually.
https://groups.google.com/forum/#!msg/2600hz-dev/wpHDH9I8WU0/6gzwP-waJjEJ
details how to do it (toward the bottom).
--
Darren Schreiber
CEO / Co-Founder
On 10/27/12 11:25 AM, "Mark McDonald" <Ma...@siteserver.com> wrote:
Both, technically. It's a private install with the trunks/numbers coming
from your hosted cluster.
-Mark
On Oct 27, 2012, at 11:22 AM, Joshua Goldbard <j...@2600hz.com>
wrote:
Mark,
To be clear, this is a private install, and you are not using our
hosted cluster, correct?
Cheers,
Joshua
Sent from my iPad
On Oct 27, 2012, at 11:20 AM, "Mark McDonald" <ma...@siteserver.com>
wrote:
We've been experimenting with a new Kazoo installation and have
everything working well with the exception of adding external numbers
to an account. Here's what we did so far:
1) Setup an account with 2600hz and purchased a couple of numbers.
2) Created PBX on the 2600hz platform (specifying FreeSwitch as the
platform type)
3) On our Kazoo Installation, we added a Carrier, specifying the same
SIP Server/Realm and User/Pass as specified in 2600hz's platform.
After doing this, we can place calls out and they seem to work fine.
What we're trying to figure out is how to add numbers to our Kazoo
installation so that the numbers can be assigned to an account. I've
No problems.
I think you need to add your carrier to offnet database manually.https://2600hz.atlassian.net/wiki/display/docs/Global+Resources
P.S. It is for global carriers.
Yep I also could not get button "add number" visible :) The reason here - you must to use your 1st account which was created. Only 1st account has this button.
Date: Mon, 20 Jan 2014 17:15:09 +0100
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Hi and thanks
I have two trunks and one requires registration for inbound, outbound works great but inbound not as the trunk is not registered.
I have been trying to get the add number button visible for some time now ))))) No luck yet
So inbound routing is not yet working, but ill prop get it working soon
Yuriy Nasida schreef op 20-1-2014 16:55:
Martin,
You don't need to do this with v3. It's old tread :)
You can add DID via admin account (button 'Add number' in 'Number Manager' appl ).
Next, you will have to open inbound carrier IP in database manually. Plus don't forget to add IP adreess of kamailio as well
Look at this manual�https://2600hz.atlassian.net/wiki/display/docs/Inbound+Calls+Fail
Date: Sun, 19 Jan 2014 15:43:45 -0800
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
where should we do it in v3??
Op dinsdag 30 oktober 2012 02:07:22 UTC+1 schreef SupermanSC:
Yuriy,
That's where I was a bit confused - Kazoo won't handle or configure the SIP registrations - you'll need to do this on each of your FreeSwitch servers. �You can do this by creating a /gateways directory in /etc/freeswitch and creating an XML file (2600.xml for example). �In there, put the following:
<include>� <gateway>� � <param name="realm" value="yoursipealm.sip.2600hz.com"/>� � <param name="username" value="youruser"/>� � <param name="password" value="yourpass"/>� � <param name="register" value="true"/>� </gateway></include>
Either restart Freeswitch, or login (cli) and reloadxml / reload mod_sofia. �Freeswitch will now maintain the connection to 2600's SIP servers and accept incoming INVITE's. �Not sure on what other country's are supported on 2600hz's platform - I'll leave that for someone else.
On Oct 29, 2012, at 6:01 PM, Yuriy Nasida <nas...@live.ru>
�wrote:
Hello guys and thank you for perfect stuff !
I think that I have same issue. I can add DID manually (according your instructions below) and add them to callflow but ... �when I try to make inbound call to new DID, �I recieve '503' sip message. System ask login\password for inbound INVITE but it should not I think. Also I can add DID numbers of USA only. How can I add any DID of other country as well ?
Please advice.Thanks.
To: 2600hz-d...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Date: Sat, 27 Oct 2012 21:20:09 +0000
Ok, that did it - now I can add numbers to the account, and in turn assign those numbers to a Call Flow. �Problem is, now that the Call Flow is built, I'm not seeing the call get to our system. �If my only reference to 2600hz is in the offnet database (not a specific carrier on any of the individual accounts) using SIP Auth (User/Pass), how does the system route that call to an account on our system?
-Mark
On Oct 27, 2012, at 2:07 PM, Mark McDonald <Ma...@siteserver.com>
So under that document as well?
-Mark
On Oct 27, 2012, at 1:57 PM, Jon Blanton <jbla...@2600hz.com>
�wrote:
pvt_wnm_allow_additions must be added to the account doc in the "accounts" db and in the account's database -JonMark McDonald wrote:
:) �I didn't think you'd like that - this is fire walled off and will be rebuilt by the end of the day.
�wrote:
You have not properly added the flag to your account that allows you to add numbers.
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: false
Also don't post your auth-token in the future please :-)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[28].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 1:03 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
{"auth_token":"7a393d40195286551d5eadfccc015789","status":"error","message":"unauthorized","error":"500","data":{"unauthorized":"Not authorized to perform requested number operation"},"request_id":"7a96968333d3b10d127bad68d067f1a1"}
Here's the grep from the logs with the most relevant information I could see:
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|crossbar_bindings:489 (<0.15099.5>) routing v1_resource.execute.put.phone_numbers matches v1_resource.execute.put.phone_numbersOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:104 (<0.15099.5>) attempting to create number 8051231234 for account 96fa9c45a8a060f4b371274b1214b11fOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_util:82 (<0.15099.5>) number '8051231234' can be reconciled, proceedingOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:737 (<0.15099.5>) The number could not be foundOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: falseOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:707 (<0.15099.5>) Not authorized to perform requested number operationOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:134 (<0.15099.5>) create number prematurely ended: unauthorizedOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:834 (<0.15099.5>) halting execution hereOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:801 (<0.15099.5>) generating error 500 response, unauthorized
-Mark
On Oct 27, 2012, at 12:17 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
Oh, and to find the errors is simple � open the developer tools in your browser (like in Chrome) and look at the network requests. There will be a Request-ID header in the logs. You can grep that request-id in your server-side logs to find out what the error really was.
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[24].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:14 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
There must be something as I can try to add anything (+18055551818, +18185551215, etc) and I get the same error (There was an error when trying to acquire +1xxxxxxxxxx, would you like to retry?) �I'm going to work with this a bit more and will post a more detailed response. �From what I'm able to find via Google Searches, we're also missing some offnet database updates that we need to get in place - right now we're defining a Carrier for each account which we don't want to do.
We're updating our internal wiki as we go through this process start to finish and I'll update the 2600hz wiki as soon as we're completed with the items we found to be lacking in the documentation. �There appear to be huge gaps in regards to the offnet and carrier documents (unless I'm missing something)...
-Mark
On Oct 27, 2012, at 12:04 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
That means the number is already in the system assigned to another account, or was at some point assigned to another account. It won't allow you to assign it again to a different account unless you clear it out.
Go into your database, port 5984, in the numbers/+1805 database. Find the +1805203xxxx doc. Delete it. Then try to add it again.
If you go on the wiki and search for "Number Lifecycle" you'll see what we're working to implement. It's not complete. It will allow master accounts to hold numbers and sub-accounts to be assigned said numbers, and prevent people from adding numbers who aren't authorized. All the back-end code is actually there but the front-end is not.
There is a separate wiki document for the API calls to do this yourself which I believe do work, in full, and allow the behavior you desire. But the documentation is currently lacking on that, so I'm going to call that incomplete for now as well (unless you can read the Erlang code and figure it out, in which case, feel free to contribute to the docs so that we can get this wrapped up)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[17].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:01 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
We've added the�pvt_wnm_allow_additions to both the superduper account and the sub account (test customer), which in turn adds the "Add Number" field in the Number Manager, however when trying to add a number (+1805203xxxx), it returns:
There was an error when trying to acquire +1805203xxxx, would you like to retry? (xxxx is obviously the rest of the number)
We're unclear as to whether we should be/there is a way to add a number to the system globally and then under the sub account choose that number and assign it to a Call Flow, or if the number should be directly assigned to the customer account.
-Mark
On Oct 27, 2012, at 11:27 AM, Darren Schreiber <dar...@2600hz.com>
�wrote:
For your private install you must manually modify the the user document in
the database to grant permission to add numbers manually.
https://groups.google.com/forum/#!msg/2600hz-dev/wpHDH9I8WU0/6gzwP-waJjEJ
details how to do it (toward the bottom).
--
Darren Schreiber
CEO / Co-Founder
On 10/27/12 11:25 AM, "Mark McDonald" <Ma...@siteserver.com> wrote:
Both, technically. �It's a private install with the trunks/numbers coming
from your hosted cluster.
-Mark
On Oct 27, 2012, at 11:22 AM, Joshua Goldbard <j...@2600hz.com>
wrote:
Mark,
To be clear, this is a private install, and you are not using our
hosted cluster, correct?
Cheers,
Joshua
Sent from my iPad
On Oct 27, 2012, at 11:20 AM, "Mark McDonald" <ma...@siteserver.com>
wrote:
We've been experimenting with a new Kazoo installation and have
everything working well with the exception of adding external numbers
to an account. �Here's what we did so far:
1) Setup an account with 2600hz and purchased a couple of numbers.
2) Created PBX on the 2600hz platform (specifying FreeSwitch as the
platform type)
3) On our Kazoo Installation, we added a Carrier, specifying the same
SIP Server/Realm and User/Pass as specified in 2600hz's platform.
After doing this, we can place calls out and they seem to work fine.
What we're trying to figure out is how to add numbers to our Kazoo
installation so that the numbers can be assigned to an account. �I've
No problems.
I think you need to add your carrier to offnet database manually.https://2600hz.atlassian.net/wiki/display/docs/Global+Resources
P.S. It is for global carriers.
Yep I also could not get button "add number" visible :) The reason here - you must to use your 1st account which was created. Only 1st account has this button.
Date: Mon, 20 Jan 2014 17:15:09 +0100
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Hi and thanks
I have two trunks and one requires registration for inbound, outbound works great but inbound not as the trunk is not registered.
I have been trying to get the add number button visible for some time now ))))) No luck yet
So inbound routing is not yet working, but ill prop get it working soon
Yuriy Nasida schreef op 20-1-2014 16:55:
Martin,
You don't need to do this with v3. It's old tread :)
You can add DID via admin account (button 'Add number' in 'Number Manager' appl ).
Next, you will have to open inbound carrier IP in database manually. Plus don't forget to add IP adreess of kamailio as well
Look at this manual�https://2600hz.atlassian.net/wiki/display/docs/Inbound+Calls+Fail
Date: Sun, 19 Jan 2014 15:43:45 -0800
From: in...@beltex.nl
To: 2600h...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
where should we do it in v3??
Op dinsdag 30 oktober 2012 02:07:22 UTC+1 schreef SupermanSC:
Yuriy,
That's where I was a bit confused - Kazoo won't handle or configure the SIP registrations - you'll need to do this on each of your FreeSwitch servers. �You can do this by creating a /gateways directory in /etc/freeswitch and creating an XML file (2600.xml for example). �In there, put the following:
<include>� <gateway>� � <param name="realm" value="yoursipealm.sip.2600hz.com"/>� � <param name="username" value="youruser"/>� � <param name="password" value="yourpass"/>� � <param name="register" value="true"/>� </gateway></include>
Either restart Freeswitch, or login (cli) and reloadxml / reload mod_sofia. �Freeswitch will now maintain the connection to 2600's SIP servers and accept incoming INVITE's. �Not sure on what other country's are supported on 2600hz's platform - I'll leave that for someone else.
On Oct 29, 2012, at 6:01 PM, Yuriy Nasida <nas...@live.ru>
�wrote:
Hello guys and thank you for perfect stuff !
I think that I have same issue. I can add DID manually (according your instructions below) and add them to callflow but ... �when I try to make inbound call to new DID, �I recieve '503' sip message. System ask login\password for inbound INVITE but it should not I think. Also I can add DID numbers of USA only. How can I add any DID of other country as well ?
Please advice.Thanks.
To: 2600hz-d...@googlegroups.com
Subject: Re: Adding Numbers to Kazoo
Date: Sat, 27 Oct 2012 21:20:09 +0000
Ok, that did it - now I can add numbers to the account, and in turn assign those numbers to a Call Flow. �Problem is, now that the Call Flow is built, I'm not seeing the call get to our system. �If my only reference to 2600hz is in the offnet database (not a specific carrier on any of the individual accounts) using SIP Auth (User/Pass), how does the system route that call to an account on our system?
-Mark
On Oct 27, 2012, at 2:07 PM, Mark McDonald <Ma...@siteserver.com>
So under that document as well?
-Mark
On Oct 27, 2012, at 1:57 PM, Jon Blanton <jbla...@2600hz.com>
�wrote:
pvt_wnm_allow_additions must be added to the account doc in the "accounts" db and in the account's database -JonMark McDonald wrote:
:) �I didn't think you'd like that - this is fire walled off and will be rebuilt by the end of the day.
�wrote:
You have not properly added the flag to your account that allows you to add numbers.
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: false
Also don't post your auth-token in the future please :-)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[28].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 1:03 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
{"auth_token":"7a393d40195286551d5eadfccc015789","status":"error","message":"unauthorized","error":"500","data":{"unauthorized":"Not authorized to perform requested number operation"},"request_id":"7a96968333d3b10d127bad68d067f1a1"}
Here's the grep from the logs with the most relevant information I could see:
Oct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|crossbar_bindings:489 (<0.15099.5>) routing v1_resource.execute.put.phone_numbers matches v1_resource.execute.put.phone_numbersOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:104 (<0.15099.5>) attempting to create number 8051231234 for account 96fa9c45a8a060f4b371274b1214b11fOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_util:82 (<0.15099.5>) number '8051231234' can be reconciled, proceedingOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:737 (<0.15099.5>) The number could not be foundOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:121 (<0.15099.5>) account is not authorized to create a new number: falseOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wnm_number:707 (<0.15099.5>) Not authorized to perform requested number operationOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|wh_number_manager:134 (<0.15099.5>) create number prematurely ended: unauthorizedOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:834 (<0.15099.5>) halting execution hereOct 27 19:58:43 db01 2600hz[3062]: |7a96968333d3b10d127bad68d067f1a1|v1_util:801 (<0.15099.5>) generating error 500 response, unauthorized
-Mark
On Oct 27, 2012, at 12:17 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
Oh, and to find the errors is simple � open the developer tools in your browser (like in Chrome) and look at the network requests. There will be a Request-ID header in the logs. You can grep that request-id in your server-side logs to find out what the error really was.
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[24].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:14 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
There must be something as I can try to add anything (+18055551818, +18185551215, etc) and I get the same error (There was an error when trying to acquire +1xxxxxxxxxx, would you like to retry?) �I'm going to work with this a bit more and will post a more detailed response. �From what I'm able to find via Google Searches, we're also missing some offnet database updates that we need to get in place - right now we're defining a Carrier for each account which we don't want to do.
We're updating our internal wiki as we go through this process start to finish and I'll update the 2600hz wiki as soon as we're completed with the items we found to be lacking in the documentation. �There appear to be huge gaps in regards to the offnet and carrier documents (unless I'm missing something)...
-Mark
On Oct 27, 2012, at 12:04 PM, Darren Schreiber <dar...@2600hz.com>
�wrote:
That means the number is already in the system assigned to another account, or was at some point assigned to another account. It won't allow you to assign it again to a different account unless you clear it out.
Go into your database, port 5984, in the numbers/+1805 database. Find the +1805203xxxx doc. Delete it. Then try to add it again.
If you go on the wiki and search for "Number Lifecycle" you'll see what we're working to implement. It's not complete. It will allow master accounts to hold numbers and sub-accounts to be assigned said numbers, and prevent people from adding numbers who aren't authorized. All the back-end code is actually there but the front-end is not.
There is a separate wiki document for the API calls to do this yourself which I believe do work, in full, and allow the behavior you desire. But the documentation is currently lacking on that, so I'm going to call that incomplete for now as well (unless you can read the Erlang code and figure it out, in which case, feel free to contribute to the docs so that we can get this wrapped up)
--
<773BD915-519F-42B9-8DB7-78EE7BD2EAC4[17].png>Darren SchreiberCEO / Co-Founder
�visit:�www.2600hz.com�sip:dar...@2600hz.com
From:�Mark McDonald <Ma...@siteserver.com>
Reply-To:�"2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date:�Saturday, October 27, 2012 12:01 PM
To:�"<2600h...@googlegroups.com>" <2600h...@googlegroups.com>
Subject:�Re: Adding Numbers to Kazoo
We've added the�pvt_wnm_allow_additions to both the superduper account and the sub account (test customer), which in turn adds the "Add Number" field in the Number Manager, however when trying to add a number (+1805203xxxx), it returns:
There was an error when trying to acquire +1805203xxxx, would you like to retry? (xxxx is obviously the rest of the number)
We're unclear as to whether we should be/there is a way to add a number to the system globally and then under the sub account choose that number and assign it to a Call Flow, or if the number should be directly assigned to the customer account.
-Mark
On Oct 27, 2012, at 11:27 AM, Darren Schreiber <dar...@2600hz.com>
�wrote:
For your private install you must manually modify the the user document in
the database to grant permission to add numbers manually.
https://groups.google.com/forum/#!msg/2600hz-dev/wpHDH9I8WU0/6gzwP-waJjEJ
details how to do it (toward the bottom).
--
Darren Schreiber
CEO / Co-Founder
On 10/27/12 11:25 AM, "Mark McDonald" <Ma...@siteserver.com> wrote:
Both, technically. �It's a private install with the trunks/numbers coming
from your hosted cluster.
-Mark
On Oct 27, 2012, at 11:22 AM, Joshua Goldbard <j...@2600hz.com>
wrote:
Mark,
To be clear, this is a private install, and you are not using our
hosted cluster, correct?
Cheers,
Joshua
Sent from my iPad
On Oct 27, 2012, at 11:20 AM, "Mark McDonald" <ma...@siteserver.com>
wrote:
We've been experimenting with a new Kazoo installation and have
everything working well with the exception of adding external numbers
to an account. �Here's what we did so far:
1) Setup an account with 2600hz and purchased a couple of numbers.
2) Created PBX on the 2600hz platform (specifying FreeSwitch as the
platform type)
3) On our Kazoo Installation, we added a Carrier, specifying the same
SIP Server/Realm and User/Pass as specified in 2600hz's platform.
After doing this, we can place calls out and they seem to work fine.
What we're trying to figure out is how to add numbers to our Kazoo
installation so that the numbers can be assigned to an account. �I've