#2600hz

/

      • mc_
        but i would *love* to figure out a community repo/RPM/deb system that was easy to overlay on core kazoo
      • bongfrog
        I do like that approach , let people help them selfs and in the process help others....
      • mc_
        and move acdc, ananke, etc there
      • and hopefully open it up enough so people can host their own
      • like PPAs in ubuntu world
      • bongfrog
        thats pretty cool even if it was source (git) but I can see that that might make for more questions and support.
      • mc_
        well, it would be entirely community-based support
      • ie ML, IRC, forum that we're working on
      • nothing from the corp support team
      • bongfrog
        of course not the same meaning of support.... I ment in a wholeistic kind of community way
      • still interested in the VIP bit that was chatted about .....
      • mc_
        cool
      • bongfrog
        i like the tiered approach that seems to be happening, Community \ VIP \ corp Support etc makes sense coming from a small business background
      • mc_
        i'll be in SF next week
      • will bring it up again and see what we can get moving on that front
      • mrgab_ has quit
      • bongfrog
        well have a burger for me while you are in town!
      • mrgab_ joined the channel
      • mrgab_ has quit
      • mentax|home has quit
      • mentax|home joined the channel
      • danielfinke has quit
      • sashker joined the channel
      • sashker has quit
      • joewatson has quit
      • btel joined the channel
      • btel has quit
      • babak joined the channel
      • lazedo has quit
      • joewatson joined the channel
      • joewatson has quit
      • Tica2 joined the channel
      • plau has quit
      • kristiankarlsson joined the channel
      • mrgab_ joined the channel
      • mrgab_ has quit
      • mrgab__ joined the channel
      • mrgab__ has quit
      • mrgab_ joined the channel
      • mrgab_ has quit
      • Florida has quit
      • lazedo joined the channel
      • davemay1 has quit
      • davemay joined the channel
      • mark2600 joined the channel
      • mentax
        Where I can find dump of old kazoo wiki?
      • Found it
      • Can someone tell me - does service plans support maximum ammount for trunks?
      • So, basically I need to specify minimum and maximum numbers of two_way trunks for some service plan
      • minimum is 1 and maximum is 5
      • is it possible?
      • kristiankarlsson has quit
      • kristiankarlsson joined the channel
      • kristiankarlsson has quit
      • danielfinke joined the channel
      • joewatson joined the channel
      • SwK
        Hey Guys, 45 minutes until ClueCon Weekly... this week Bogdan and Crew from OpenSIPS https://conference.freeswitch.org/vc and call 888 or http://youtu.be/Fe757wdmqHA
      • mrgab_ joined the channel
      • romana
        mentax, afaik there are two ways to manipulate trunks one is to offer number of trunks at a fixed price and the other is limiting the total number of trunks an account can use at a given time and u can set according to inbound outbound differently or collectively e.g 1 trunk in an account only one inbound or outbound or specify two one for inbound and one for outbound or a single one for both inbound and outbound and so on check jonny5 for this
      • mentax
        romana: When I create service plan, I can specify minimum number, If I will add maximum will it work?
      • romana
        mentax, i guess look into cb_limits and it will need to be additional to service plan
      • rxrd joined the channel
      • mrgab_ has quit
      • kristiankarlsson joined the channel
      • plau joined the channel
      • plau has quit
      • plau joined the channel
      • kristiankarlsson has quit
      • kristiankarlsson joined the channel
      • kristiankarlsson has quit
      • Tica2 has quit
      • mentax
        I have all hosts specify in host file, but still see an error: hostname resolution is painfully slow!!! all config lookups rely on this being fast
      • Any idea why?
      • bluesandnz joined the channel
      • OutBackDingo_ joined the channel
      • MillerBoss joined the channel
      • Xenobyte_ joined the channel
      • Xenobyte1 has quit
      • OutBackDingo has quit
      • danielfinke
        mentax I have this too. It hasn't affected anything in practice, but I'm not sure it's ok
      • mc_
        do you define the local hostname in there too?
      • i seem to recall that's what its testing
      • mentax
        mc_: yes
      • mc_: it has string 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
      • mc_
        mentax: i mean the actual hostname
      • mentax
        and 64.xx.xx.242 nj2.domain.com nj2
      • mc_
        ok
      • just checking
      • mentax
        [root@nj2 mentax]# hostname
      • mc_: by the way - user NOT in sudoers ; TTY=unknown ; PWD=/opt/kazoo ; USER=kazoo ; COMMAND=/opt/kazoo/bin/kazoo pid
      • When I try to run /opt/kazoo/bin/kazoo it show me the error: vm.args needs to have either -name or -sname parameter.
      • but if I put #-name kazoo_apps to /etc/kazoo/core/vm.args kazoo-applications stop working
      • mc_
        mentax: is this an RPM install or from source?
      • and what version
      • mentax
        from rpm
      • kazoo-applications-4.0-2.el7.centos.noarch
      • mc_
        interesting, maybe try upgrading to latest 4.0 RPMs
      • you shouldn't need to change that -name stuff
      • kazoo-configs rpm should handle it i blieve
      • believe
      • mentax
        mc_: kazoo-configs-core-4.0-9.el7.centos.noarch
      • mc_: I use stable version of v4
      • mc_
        mentax: yeah, check for upgraded packaging if you can
      • mentax
        i see that upgrades only avalilable for kamailio
      • nothing else
      • mc_: Another question - bigcouch/vm.args -name parameter should be identical on all nodes?
      • mc_
        mentax: typically is set to bigcouch i think
      • shouldn't need to touch that either
      • mentax
        mc_: thanks!
      • joewatson
        Hey does anyone know how to get georgian seconds in php
      • Im trying to do filtering in CDRs
      • danielfinke
        joewatson add 62167219200 to time()
      • joewatson
        so that’s added to epoch?
      • bluesandnz has left the channel
      • danielfinke
        yup
      • joewatson
        cool
      • so will that techincally support date/time?
      • danielfinke
        as long as you convert to epoch, all the php funcs will work
      • i.e. gregorian -> epoch, subtract 62167219200 and then convert to date/time
      • joewatson
        Okay so here is an interesting issue. So I am doing this, and the API returns a page size, but no data
      • any idea why that’s happening?
      • spankym joined the channel
      • nevermind I figured it out. Thanks!
      • danielfinke
        joewatson no data in the range you supplied?
      • joewatson
        no, it was bad documentation, hahaha
      • instead of filter_created_from it needs to be created_from
      • romana
        mc_, i tried to enabled haproxy smtp and if i use send-proxy in the config it crashes gen_smtp with {error,enotconn} error it works fine with just check any other option such as check check-send-proxy or check send-proxy or check check-send-proxy send-proxy will crash it should i file a bug or u think its only with me
      • mc_
        romana: not sure off hand
      • file a ticket to be sure
      • lazedo may know too
      • if he's around
      • romana
        will do i havn't used fax before so don't know if it happened before or not :/
      • lazedo
        romana: you may want to open an issue in gen_smtp project in github
      • romana: but, it works with proper settings. you need to set what you send and expect to receive (tcp_check), i use NOOP
      • danielfinke has quit
      • romana
        lazedo, it even works with regular tcp check and just causes issues with send-proxy i have added my config in here https://2600hz.atlassian.net/browse/KAZOO-5378 if its an issue with gen_smtp should i close the ticket ?
      • lazedo
        yes, its an issue with gen_smtp, check pr 61 in gen_smtp, it was open for 2 years
      • romana
        lazedo, hahaha i guess i will issue a pr to change the config in documentation as it has send-proxy in the docs for haproxy and will close this ticket :)
      • lazedo
        there’s lots of ways to do it, i think you can use smtp_chk, or tcp_chk (send NOOP and expect OK)
      • dwv
        What time is it? Do I have to use UTC system time to get proper account time? I found the system timezone setting in the DB but changing it didn't seem to do anything.
      • romana
        lazedo, yea the default tcp check works fine without specifically mentioning to expect a specific result its just for send-proxy
      • dwv, make sure you use utc and keep server time to utc and where you want the time changed just make sure you have the timezone in account or device or user where you want the change to happen
      • dwv
        romana, yes that is what I do. My question is can I change that? There is a system timezone setting in the DB set to UTC. So I was wondering if it was possible to set that to my local timezone and have all my servers on my local timezone.
      • The reason I want my local timezone as my system time is because it makes it easier when looking at datestamps in log files.
      • romana
        dwv, i dnt knw if you could do that and i guess its not advisable to do that :/
      • mentax|home
        Can I setup allotments per account or it is only global?
      • dwv
        That's what I was afraid of.
      • mc_
        dwv: no, kazoo expects the OS timezone in UTC
      • lazedo
        romana: feel free to make the pr to remove send-proxy from doc, i think that when it was created (3.??) we had vendoring dependencies and patched gen_smtp locally