Jump to content

mc_

2600Hz Employees
  • Posts

    1,766
  • Joined

  • Days Won

    4

Everything posted by mc_

  1. The "Request" username is normalized to e164 if possible from the get-go. Depending on your e164_converters, they may correct the request to something not accounted for in your dial_plan. The classifiers are in the number_manager config. You use the classifier name as a key into the call_restriction object to allow/deny/inherit. The classifier key is used (so in the example "tollfree_us", "unknown", etc would be the values to use in the call_restriction object. Pretty print is only used for display purposes in the UI; unrelated to call processing You have to escape the backslash to make it literal to make the regex be valid. See here for example
  2. I can't think of an easy way to encode this in the callflow JSON structure, personally. You can create an account-wide restriction using the "no_match" callflow and the time-of-day callflow action. You can always send the call to Pivot and create a script that controls outbound dialing rules there, of course.
  3. 1. You could use Pivot and maintain the list of device->allowed_numbers in a db. Then you can create a UI where you/the facility can manage what numbers a device can dial. 2. You could create a "dial_plan" object on the device that whitelists the allowed numbers and rewrites all others to a "can't dial this number" recording (like adding a prefix "BARRED" and having a callflow pattern for "BARRED{\\d+}") Those are two quick thoughts with no testing so buyer beware
  4. Probably though I find the docs site comes up using duckduckgo. I don't think we've tuned it much and should probably add redirects from the wiki somehow. The big push is getting content moved over; making it discoverable to the search engines hasn't been prioritized yet.
  5. I will throw in doing similar things on the server side (never hurts to have redundancy!): 1. Classifiers can be used to restrict/allow dialing numbers. In your example, a classifier for "\\+?1900\\d+" could be added to deny access to these numbers 2. Dial plans can convert "local" dials to appropriate representations. You can prepend area codes, country codes, add access codes, whatever is needed. These will operate independent of the phone manufacturer which is nice in case a phone is misconfigured, tampered with, credentials stolen, etc. Good security is built in layers (just like ogres and cakes)!
  6. @Andreas Mueller you might want to use CentOS 7 and the install instructions here: https://docs.2600hz.com/sysadmin/doc/install/install_via_centos7/ In any case, walking through those steps might help you figure out what is wrong in your existing system as well.
  7. I don't think this is currently possible. I know there's work done to make conference profile generation more flexible but don't immediately recall if that includes account-specific overrides.
  8. I believe this is controlled in the conference profile config in the conference system_config doc. "moh-sound" for the default profile is "$${hold_music}"
  9. The wiki is in the process of being deprecated. Some of the pages were "auto-imported" into the docs site but require refreshing and updating to render properly. For instance, the SUP page can be found here. It needs love though; want to make the updates and issue a pull request? There's an edit link on the page if you're signed into Github.
  10. Hi @Luigi and welcome! You will want to check out our Global Infrastructure program. You can also reach out to the sales team to talk through your requirements, hopes, and dreams. They'll walk you through your options, give you a demo of what the platform looks like, etc.
  11. And to be clear, this is changing so that the billing component is more general and less tied to braintree. Not sure on roadmap / timeline but it is an active priority.
  12. I assume base url is http://server.com:8000/v2 (v1 is deprecated and should not be used anymore).
  13. Basic SIPp scripting: https://github.com/2600hz/community-scripts/tree/master/sipp And make-busy: https://github.com/2600hz/make-busy Though make-busy is getting an overhaul to be more friendly to test writers!
  14. To add more, will your devices be doing HD audio? Video? Lots of transcoding between WebRTC (using OPUS) and PSTN (using PCMU)? Conferencing? If so, how many participants? Support for SIP over TCP/TLS/VPN/etc (basically non-UDP)? SRTP? Fax? Expected CPS and concurrent calls? Lots of presence/BLF/other features? As mentioned, you can create more zones to isolate load based on geography (typically). You can throw bigger hardware at the problem. You can buy bigger and bigger pipes. You can host and get cross-connects in the same data-centers with your upstream providers. But there's no magic formula for inputting X devices and getting Y infrastructure costs. There are best practices that get you pretty far but eventually something will crack and you'll need good monitoring to detect those cracks. So, yes, Kazoo can be (and is) deployed to support 250K+ devices. As you grow, different parts of the infrastructure will fall down and need improvement, and where those spots are tend to be unique values for each installation (esp since usage patterns tend to vary greatly). We can be your partner in that journey to 250K and anticipate a lot of the growing pains
  15. There is "max_branch_count", in the 'callflows' system_config, that defaults to 50 branches. Each time the callflow branches, it decrements its counter (starting at 50 or whatever the system_config says) until it hits 0 when it will stop the call.
  16. Sounds like the schemas haven't been loaded into the database. Try 'sup kapps_maintenance refresh system_schemas` to force a reload of schemas, then try your create command again. You probably want to remove the account db (and modb), and the account doc from the 'accounts' db.
  17. At the moment, no, its simple key/value pairs and the old value is overwritten. You can file feature requests like above so we don't lose track of them though.
  18. There's a new callflow action, "set_variables", that you can use in Kazoo 4.2+ to set key/value pairs on the call. These will then exist on call events and the CDR under "custom_application_vars". This is probably the saner way to accomplish your goals.
  19. @Josh Robbins sorry! PR is a pull request - when a developer wants to change something in Kazoo, they issue a PR to be reviewed by the team then merged into the project. I'll issue a PR to change the schema, get a team member to review, and then the next upgrade of the platform will change the schema's restriction. So it will be delayed a bit from being realized on the hosted platform but will make its way there eventually. Does that clarify things?
  20. @Josh Robbins Ah, we can relax the schema to be 128 chars instead. I'll get a PR up today for that. If you're running your own system, you can edit the 'system_schemas / menus' document. Look under the "media" object for maxLength and change it to 128 (although, since technically you can put URLs there but of course RFC 2616 and 7230 say there's no defined limit - it is server-dependent - so...pick a value. It seems like 2048 is probably "big enough").
  21. Try referencing the media as "/RESELLER_ACCOUNT_ID/RESELLER_MEDIA_ID".
  22. https://docs.2600hz.com/dev/applications/crossbar/doc/accounts/#move-an-account Should get you what you want.
  23. Do you mean put all devices/users/callflows/etc from one account into another? Or move the child account to have a new parent account?
  24. Is there a reason not to use the "user" callflow and assign/unassign devices from there as appropriate? Then you can have children of the user callflow action that branch based on the SIP response. {"module":"user" ,"data":{"id":"{USER_ID}" ,"children":{ "sip:404":{ "module":"resources" ,"data":{"to_did":"{FORWARD_NUMBER}"} ,"children":{"_":{"module":"voicemail",...}} } ,"sip:486":{...} ,"_":{ "module":"voicemail" ,"data":{"id":"{VMBOX_ID}" } } } I think this would be more robust that managing a ring group (unless you have many users involved?).
×
×
  • Create New...