Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [23:23] <tunibbles> php editor ?
- [23:25] *** saratogga (~saratogga@107.72.99.27) joined
- [23:26] *** DigiDazOut quit (Quit: Connection closed for inactivity)
- [23:30] <MafooUK> hmm trying to adjust call_center_queues but it is being inconsistent in the value for queue_moh_sound for ringbacks it is storeing them in full format (so includes tone_stream:// etc but for moh it just stores Default, instead of local_stream://Default what is teh correct hing to store, i.e. do i need to update the ringbacks class to allow you to indicate values as full stream format or
- [23:30] <MafooUK> short format ?
- [23:33] <DigiDaz> tunibbles: Advanced/sip profiles
- [23:34] <DigiDaz> MafooUK: I think the tone streams were added later to allow standard ringback tones
- [23:35] <DigiDaz> MafooUK: It could be argued that it is wrong to use ringback tones at all as the caller is unaware at that point that they are in a queue and being charged for the call
- [23:35] <DigiDaz> But all my clients like ringback tones
- [23:36] <DigiDaz> I'm guessing that is why they were originally not in
- [23:37] <DigiDaz> I don't think it really matters as long as they work whether it is long or short
- [23:38] <MafooUK> DigiDaz i am trying to work out if it woudl work if it is the short format as that is teh default teh ringbacks class provides so trying to convert call_centers to use it
- [23:38] <blackc2004> mcrane: https://help.github.com/articles/checking-out-pull-requests-locally/
- [23:39] <MafooUK> I haven't used teh call_center stuff have you got a system you could manually edit teh db on to see if you can set queue_moh_sound to just be '${uk-ring}' ?
- [23:39] <MafooUK> that way i don't have to add more support code
- [23:39] <DigiDaz> MafooUK: Definitely not, thats why the tone stream was added I think it needs something like loops = blah too
- [23:40] <MafooUK> ok so it needs the full form, okies i will add teh full form supprot in
- [23:40] <DigiDaz> MafooUK: ....
- [23:41] *** FreeMe (55d330d7@gateway/web/freenode/ip.85.211.48.215) joined
- [23:41] <DigiDaz> It needs the tone stream in the xml but now it is handled in lua it may be easier to add the tome stram bit in the lua if that would make things easier for you
- [23:42] <MafooUK> it would as we already have a lua function to do it on teh fly
- [23:42] <MafooUK> do you know what lua i need to look at i couldn't find call_center as a app
- [23:43] <MafooUK> ohh i see it is in teh xml_handler section as it gets config
- [23:43] <MafooUK> hah looks like we already added some of teh new function support
- [23:43] <MafooUK> hmm just cheked looks like i must have already caught that file when we implemented it
- [23:45] *** jasonwert quit (Remote host closed the connection)
- [23:45] <DigiDaz> MafooUK: This is the kindo of thing that ends up int he XML, here's two different queues:
- [23:45] <DigiDaz> <param name="moh-sound" value="tone_stream://$${uk-ring};loops=-1"/>
- [23:45] <DigiDaz> <param name="moh-sound" value="local_stream://T2S-Technical"/>
- [23:46] <MafooUK> yeah i found the xml_handler for call_center's it looks like it alrady got converted to use teh new function that auto formats the streams out to thier full value
- [23:46] <MafooUK> it was just teh php page that hadn't been converted over to use teh ringbacks class for tidier code
- [23:46] *** saratogga quit (Quit: saratogga)
- [23:47] *** jasonwert (~wert@75-134-81-98.static.aldl.mi.charter.com) joined
- [23:47] *** jasonwert quit (Client Quit)
- [23:47] <MafooUK> i have prepared a PR but this one deffinately needs someoen who knows call_center to test it - https://github.com/fusionpbx/fusionpbx/pull/1637
- [23:47] *** jasonwert (~wert@75-134-81-98.static.aldl.mi.charter.com) joined
- [23:49] <MafooUK> hmm i included the fixes for somethign else in that oups
- [23:51] <tunibbles> removed the pix from behind nat
- [23:51] <tunibbles> and now works
- [23:51] <tunibbles> less or more
- [23:54] <neteng> on the sip status page, state show running (#) What does that # mean? External =0 internal = 2
- [23:58] *** Grend0 quit (Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day)
- [23:59] *** TylerP quit (Ping timeout: 244 seconds)
- [23:59] *** level7 quit (Read error: Connection reset by peer)
- [23:59] *** johanbr quit (Ping timeout: 240 seconds)
- [00:00] *** level7 (~quassel@31.44.17.250) joined
- [00:02] *** astan24 (~kvirc@28.74.59.108.express.oricom.ca) joined
- [00:06] *** jasonwert quit (Ping timeout: 250 seconds)
- [00:06] <neteng> and the original question, if you put the external profile on 5060 will it still show up in the sip status page?
- [00:09] *** aecardeg (~chatzilla@24-197-144-29.dhcp.gwnt.ga.charter.com) joined
- [00:11] <MafooUK> neteng you cannot have teh internal and external profile on teh same port
- [00:14] <MafooUK> neteng the (0) i think is the interger value of teh RUNNING state it comes directly from freeswitch as 'sofia status'
- [00:15] <neteng> Thanks MafooUK
- [00:15] *** saratogga (~saratogga@ip70-162-103-74.ph.ph.cox.net) joined
- [00:15] <DigiDaz> neteng: The point is why are you wanting the external profile on 5060??
- [00:15] *** saratogga quit (Client Quit)
- [00:16] *** johanbr (~jbr@vps.nullinfinity.org) joined
- [00:17] <DigiDaz> MafooUK: Do you have a branch on your github I can check out to test this PR?
- [00:18] <neteng> DigiDaz: sip inspection on the ASA …
- [00:18] <neteng> I guess I nee a new service policy for port 5080
- [00:19] <neteng> DigiDaz: picked up the http://www.bladehelis.com/VortexPro/
- [00:20] <mcrane> blackc2004: thanks for the link
- [00:23] <MafooUK> DigiDaz yes but it is conflicted atm, fixing it then will give you teh link
- [00:24] <DigiDaz> k
- [00:25] <MafooUK> ouu will have to bookmark taht link blackc2004 that will make testing PR's easier
- [00:28] *** r3ply` (~r3ply@207.228.113.178) joined
- [00:28] <r3ply`> Hello, just wondering what the recommended setup is? LinuxDistro, Webserver etc... Thanks!
- [00:29] <neteng> r3ply`: https://www.fusionpbx.com/app/www/download.php
- [00:30] <DigiDaz> Where are all these welcome, newbies coming from?
- [00:30] *** sz (~sz@188.133.26.93.rev.sfr.net) joined
- [00:30] *** sz quit (Remote host closed the connection)
- [00:31] <r3ply`> i got the latest debian, which appears to be 8.5 jessie, is that too new? I've run into a few issues so far..
- [00:31] <DigiDaz> I wonder if we have had a mention in elastix forums or something, here seem to be a few elastix users the last couple of weeks
- [00:31] <DigiDaz> r3ply`: What issues?
- [00:31] <MafooUK> PR-1637 fixed for conflicts now
- [00:31] <MafooUK> DigiDaz the source branch is - https://github.com/mafoo/fusionpbx/tree/BugFix-Convert-call_center-to-ringbacks-class
- [00:32] <MafooUK> and you can vierw PR1637 for what was changed
- [00:33] <MrNato_home> morning!
- [00:33] <MafooUK> Good eveing Mr Nato
- [00:34] <r3ply`> after running ./install.sh, i went to the web browser, and fusionpbx could not see the event socket, check and freeswitch wasn't running. called it manually, and got a complaint that /etc/freeswitch/freeswitch.xml did not exist.. i coped one from /usr/share... something, then it was complaining about other files such as /etc/freeswitch/vars.xml not existing, as well it couldn't load
- [00:34] <r3ply`> mod_sofia.so...
- [00:34] <MafooUK> r3ply` what issues are you having, We had a lot of updates that went in over the last 12 hours so it depends when you installed that some of them may have been fixed
- [00:34] <MrNato_home> anyone got any ideas on this.. reseller that registers pbxes to us wants auto failover. I have done this by action/antiaction doing a sofia contact and if ^error is returned it diverts to mobile, then antiaction is the normal call the pbx
- [00:34] <MrNato_home> got any ideas how to do that with someone that has like 5 phone registered?
- [00:34] <MrNato_home> maybe check 3 phones are are not reg then divert?
- [00:35] <MafooUK> r3ply` when did you perform your initial install ?
- [00:35] <r3ply`> about 4 hrs ago
- [00:36] <MrNato_home> thats like 10 years ago in MafooUK's world
- [00:36] <MrNato_home> :)
- [00:36] <r3ply`> at the very very beginning i was actually getting errors that packages like 'freeswitch-meta-bare' did not exist in freeswitch.list's "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main"
- [00:37] <r3ply`> i simply created a mynewlist.list file and just pointed to "...freeswitch.org/repo/deb/debian jessie main" and then it found the packages, but that's when i ran into the event socket issue
- [00:37] <MafooUK> hmm that doesn't sound good r3ply`
- [00:38] <blackc2004> MrNato_home, do you mean that they have 5 phones registered to same ext or just 5 phones in general?
- [00:38] <MafooUK> Len_ are you still updating docs, got a PR for you - https://github.com/fusionpbx/fusionpbx-docs/pull/44
- [00:38] <MrNato_home> general
- [00:38] <blackc2004> Because under extensions->call control there's a "not registered" forward option
- [00:38] <MrNato_home> not in my version :)
- [00:38] <blackc2004> upgrade ;)
- [00:38] <MrNato_home> 3.6.4 I think
- [00:38] <blackc2004> ouch. old!
- [00:39] <neteng> lol
- [00:39] <MafooUK> r3ply` i am concerned as you shoudln't need to do anything to teh system to tweak it teh install.sh shoudl take care of it
- [00:39] <MrNato_home> yes I promise next release I will get mcrane to upgrade me
- [00:40] <MafooUK> r3ply` if you can might be worth blowing away the machine encase somethign got messed up on install?
- [00:43] *** astan24 quit (Ping timeout: 260 seconds)
- [00:44] <r3ply`> MafooUK, I agree! haha.. what i do know for sure and i think you can quickly verify too, is that the ./install.sh script, eventually calls on some other scripts in ./resources/switch to actually setup freeswitch.. depending on which of these switch resource files are chosen, it adds the url http://files.freeswitch.org/repo/deb/freeswitch-1.6/ to the apt sources... well if you go to the url
- [00:44] <r3ply`> and navigate into dists > jessie > main > binary-i386, packages such as 'freeswitch-meta-bare' which the script is also trying apt-get, do not exist there...
- [00:47] <MafooUK> strange i installed a system about 6 hours ago from that script and it worked
- [00:47] <tunibbles> guys .... it works
- [00:48] <tunibbles> thanks a lot
- [00:49] <tunibbles> now my last question ... if possible
- [00:49] <tunibbles> what about setting up a firewall ?
- [00:50] <r3ply`> MafooUK, are you using 8.5 jessie? I just downloaded the netinst image, and during setup i de-selected the desktop package, and selected webserver and ssh server.. i then realized that doing so installed httpd which conflicted with nginx before i turned httpd off..
- [00:50] *** FreeMe quit (Ping timeout: 250 seconds)
- [00:51] <DigiDaz> r3ply`: You using 32-bit?
- [00:51] <r3ply`> yes, 32 bit!
- [00:52] <DigiDaz> Thats probably the problem
- [00:52] <DigiDaz> Freeswich may not be building for that anymore
- [00:52] <DigiDaz> defintely exists in 64-bit: http://files.freeswitch.org/repo/deb/freeswitch-1.6/pool/main/f/freeswitch/
- [00:52] <r3ply`> yep, i just checked the same url i posted early and saw it under amd64
- [00:52] <pankid> I am trying to figure out why the call detail records page takes a couple minutes to load. There are about 400 records in it total. It was timing out before until I increased the fastcgi_read_timeout in my nginx virtualhost.
- [00:53] <MafooUK> DigiDaz do we need the bootstrapper to also check os bits (except when arm and unoffical) ?
- [00:53] *** FreeMe (55d330d7@gateway/web/freenode/ip.85.211.48.215) joined
- [00:53] <MafooUK> pankid do you have a lot of recordings ?
- [00:53] <pankid> where should I be looking for errors? I am not seeing anything obvious in nginx/postgres/freeswitch/php5-fpm logs
- [00:53] <r3ply`> what is also interesting is that when i added my own apt sources list, i noted the package versions were 1.4 something
- [00:53] <r3ply`> freeswitch package versions
- [00:53] <MafooUK> r3ply` yes because 1.4 was teh last they built for 32bit
- [00:54] <DigiDaz> MafooUK: Maybe it just doesn't work any more on i386, the video deps etc
- [00:54] <MafooUK> DigiDaz isn't your arm image 32bit ?
- [00:54] <DigiDaz> r3ply`: Why are you using 32-bit?
- [00:55] <FreeMe> If I make a new .lua in the script editor and call that in the dialplan, that's all that's needed right?
- [00:55] <r3ply`> mhmm and by setting that and letting the ./install script run it appears that it didn't do everything fusionpbx was expecting..
- [00:55] <pankid> MafooUK: I am only seeing 10 or so recordings on the first page., so I don't think so. Would 40-100 recordings cause this? I am seeing very low usage of ram, which is odd. htop is showing under 200mB out of 16Gb
- [00:55] <r3ply`> DigiDaz, my test machine. its a few yrs old
- [00:55] <DigiDaz> MafooUK: Yes, but not necessarily sure that means its ok on i386 32 bit? I just can't figure why freeswitch would drop it
- [00:55] <DigiDaz> r3ply`: But it is 64 bit CPU?
- [00:56] <r3ply`> i don't think so..
- [00:56] <r3ply`> its a nano
- [00:56] <r3ply`> 1.1 or 1.6ghz
- [00:56] <DigiDaz> lol, then its more than a 'few' years old
- [00:56] <r3ply`> sorry atom
- [00:57] <DigiDaz> r3ply`: what does cat /proc/cpuinfo give?
- [00:57] <r3ply`> Intel Atom Z510 (Silverthorne)
- [00:57] <r3ply`> permission denied...?
- [00:57] <DigiDaz> wow, that is ancient
- [00:58] <r3ply`> oh i din't see the cat...
- [00:58] <r3ply`> i think this is the relevant information: address sizes : 32 bits physical, 32 bits virtual
- [00:59] <DigiDaz> yep, just checked the ark, its definitely 32bit
- [00:59] *** teknoprep (~teknoprep@70.44.171.153.res-cmts.brd.ptd.net) joined
- [00:59] <DigiDaz> I think the only option you have is a source compile which is gonna take an age
- [01:00] <r3ply`> so how good/bad is it if i just installed freeswitch, then i installed nginx, then fusionpbx?
- [01:00] <r3ply`> do i have to use nginx, will it run on apache?
- [01:00] <MafooUK> install.sh --use-switch-source
- [01:00] <r3ply`> yes that's what i was thinking just source compile freeswitch
- [01:01] <MafooUK> r3ply` you can use httpd if you want to but you will need to configure it up yourself
- [01:01] <MafooUK> DigiDaz i gotta go, late here i will catch up tomorrow about putting some architecture detects for when it shodul complain
- [01:02] <DigiDaz> K
- [01:02] *** MafooUK quit ( )
- [01:03] <DigiDaz> r3ply`: The last thing you want to do is add apache to such a processor
- [01:03] <DigiDaz> r3ply`: How much RAM does it have?
- [01:03] <r3ply`> DigiDaz, hehe.. or maybe this pbx is for my nemesis....
- [01:04] <r3ply`> oh its bad, 1GB i think?
- [01:04] *** mafoo quit ( )
- [01:04] <DigiDaz> Thats OK, why not get a $5 vps that would be better
- [01:04] <r3ply`> but compiling freeswitch myself from source and adding fusionpbx on top, no issues?
- [01:05] <DigiDaz> Yes, pleanty of issues, do it the way mafoouk said
- [01:05] <r3ply`> this is an experimental unit, get familiar with fusion and debian. i generally run freeswitch alone in text-only centos.
- [01:06] <r3ply`> DigiDaz, good to know, yes i've taken to using MafooUK's suggestion
- [01:07] *** TylerP (~TylerP@ool-44c6d75a.dyn.optonline.net) joined
- [01:08] *** RB2 (~Rb2@c-73-178-160-56.hsd1.nj.comcast.net) joined
- [01:12] <TylerP> Hi guys, is it possible to change the path for just cisco phones to a different directory?
- [01:12] <TylerP> What I would like to do is set up a directory for Cisco 7960 phones to provision from a cloud hosted server.
- [01:15] *** rj22 (2640aa78@gateway/web/cgi-irc/kiwiirc.com/ip.38.64.170.120) joined
- [01:17] <TylerP> right now I have a separate directory, i create the devices and download the files, then upload them back to that directory. I was hoping I could skip that step :)
- [01:30] <tunibbles> ok, thanks to everyone
- [01:31] <tunibbles> here it's time to sleep
- [01:32] *** tunibbles quit (Quit: Page closed)
- [01:34] <FreeMe> Tyler_P : what are you referring to?
- [01:34] <FreeMe> Oh sorry didn't read.. and yeah just switch up the profile rule
- [01:35] *** FreeMe quit (Quit: Page closed)
- [01:44] <BigggRobbb> DigiDaz: Where are all these welcome, newbies coming from? Probably saw mcrane on cluecon weekly
- [01:45] <DigiDaz> TylerP: Cisco 7960 only uses TFTP for provisioning which is insecure so you need it in LAN
- [01:45] <DigiDaz> BigggRobbb: I doubt it, these guys are not freeswitch people
- [01:46] <mcrane> or maybe saw on youtube
- [01:46] <r3ply`> DigiDaz, no http://whatever profile rule on the 7960?
- [01:47] <BigggRobbb> mcrane: your like a fly on the wallpaper :)
- [01:48] <BigggRobbb> mcrane: youtube is what i meant, you made the install look pretty easy
- [01:48] <mcrane> still teaching the class today
- [01:49] <mcrane> the install is easy now
- [01:49] <mcrane> multiple people helping with making it easier
- [01:54] *** jessetn quit (Ping timeout: 250 seconds)
- [01:56] *** wei__ quit (Quit: Connection closed for inactivity)
- [01:57] <DigiDaz> Yep, could be youtube, I'm more thinking a forum somewhere though, maybe somone saw the cluecon then posted in a forum or something, we have seen at least two, maybe three ex elastix guys in the past couple of weeks
- [02:02] <kismetg17> Good evening folks - hope you're all well?
- [02:02] <DigiDaz> hi kismetg17
- [02:02] <Len_> hello kismetg17
- [02:03] *** teknoprep quit (Ping timeout: 260 seconds)
- [02:03] <kismetg17> hi DigiDaz ......... just getting home from work, still messing with the Pi 3
- [02:03] *** rj22 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
- [02:05] <kismetg17> quick question anyone....... in a single tenant system, I just created a gateway and selected domain variable to "global". But after saving, that gateway is not visible in the list of gateways. However, when I go to Sip Status, I see it there. How do I make it visible?
- [02:07] <DigiDaz> quicker question... Why would you want a global gateway on a single tenant system?
- [02:07] *** teknoprep (~teknoprep@70.44.171.153.res-cmts.brd.ptd.net) joined
- [02:08] <kismetg17> DigiDaz my curiosity got the best of me...........lol
- [02:09] <DigiDaz> Possibly its one of those things that don't activate until it goes multitenant, you would have to ask mcrane or grep the code
- [02:09] <kismetg17> thanks for the hint......I'll just add a second domain and see if it rears it's head.......lol
- [02:10] <TylerP> Hi DigiDaz, I just have 1 client with about 15 of these phones that I would like to cater to. So probably the way I'm doing it now is sufficient.
- [02:10] <DigiDaz> kismetg17: I don't know if its still the case but before, the moment you added a second domain, 'stuff' happened :)
- [02:10] <TylerP> Basically I just open the port in iptables when the phones need initial provisioning
- [02:11] <mcrane> kismetg17: don't use the domain setting on the gateway
- [02:11] <kismetg17> haha mcrane .... I know now!
- [02:11] <mcrane> its for moving the gateway to another tenant
- [02:12] <mcrane> superadmin group can use them from any tenant
- [02:12] *** teknoprep quit (Ping timeout: 260 seconds)
- [02:12] <DigiDaz> lol, yep, they were global outbound routes? Not gateways
- [02:12] <mcrane> don't use the hostname
- [02:12] <mcrane> either its for assigning a gateway to a specific server by its hostname
- [02:12] <mcrane> for a multi-server setup
- [02:12] *** Lodperera (~Lodperera@ppp219-151.static.internode.on.net) joined
- [02:13] <kismetg17> yeah, I've been following your warnings here about the hostname variable
- [02:15] <kismetg17> DigiDaz it didn't work.......:(
- [02:16] <mcrane> what didn't work?
- [02:19] <kismetg17> I figured I'd add a second domain to see if that gateway will show up, but it didn't. DigiDaz had mentioned something earlier that made me want to try that....
- [02:20] <DigiDaz> kismetg17: It was never global gateways, it was outbound routes
- [02:20] <kismetg17> now I'm trying to log into Adminer to see if I can see it in the DB and I'm getting this error on the login page: "Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist" BUT the postgresql service is running
- [02:20] <kismetg17> aaaah DigiDaz
- [02:21] <DigiDaz> mcrane just explained it
- [02:21] <DigiDaz> kismetg17: The user is not www-data its fusionpbx
- [02:22] <DigiDaz> You need get to that fusionpbx school mcrane is running ;-)
- [02:22] <kismetg17> yeah, I'm using fusionpbx as both username and db name. as soon as I hit the login, I get that message in red
- [02:23] <kismetg17> DigiDaz yes that is my plan soon.
- [02:23] <DigiDaz> did you put localhost in tha adminer?
- [02:24] <kismetg17> yes sir
- [02:24] <Len_> it looks there but its not
- [02:25] <DigiDaz> kismetg17: You actually typoed it in as opposed to just leaving in the grey prompt?
- [02:25] <kismetg17> yes sir
- [02:25] <kismetg17> I remember having that issue on another system, so I always type the localhost in
- [02:26] <Len_> hmm
- [02:26] <Len_> Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
- [02:27] <Len_> wasnt there a recent change in adminer?
- [02:28] <kismetg17> I don't know Len_ guess I need to find out
- [02:28] <DigiDaz> kismetg17: pastebin your: pg_hba.conf
- [02:28] <Len_> is this on a recent git pull?
- [02:28] <kismetg17> I did notice when I updated the server via apt-get dist-upgrade that there was a postgresql update
- [02:28] <kismetg17> okay DigiDaz give me a sec
- [02:29] <DigiDaz> I'm thinking socket vs port here
- [02:30] <Len_> should the role be fusionpbx and not www-data?
- [02:30] <DigiDaz> I think its the auth type hence why I'm asking for the contents of that file
- [02:31] <Len_> this is what i was thinking but dont think it has anything to do with the problem https://github.com/fusionpbx/fusionpbx/commit/e21d344cfd533dec2f62a56f53a26ccc1522fee8
- [02:31] <kismetg17> DigiDaz here it is http://pastebin.com/6bz1yDKH
- [02:34] <DigiDaz> That looks good, so neither of you can log in using adminer?
- [02:34] <Len_> nope
- [02:34] <kismetg17> Len_ DigiDaz so I just confirmed the same error login into the db on two other fusionpbx servers (one in my home and the other on DigitalOcean) - both of which I apt-get dist-upgraded today
- [02:35] <mcrane> Len_> should the role be fusionpbx and not www-data? yes
- [02:35] <mcrane> www-data is the web server user
- [02:35] <mcrane> not the database user by default
- [02:35] <DigiDaz> what version of adminer is this with?
- [02:36] <mcrane> the host shows as localhost
- [02:36] <Len_> the error on login to adminer mcrane is Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
- [02:36] <mcrane> by default but its in the background
- [02:36] <DigiDaz> Mine is 4.2.1
- [02:36] <kismetg17> v4.2.1 DigiDaz
- [02:36] <mcrane> make sure you specify the adminer host
- [02:37] <Len_> are you able to login to adminer on that install from today mcrane?
- [02:39] <kismetg17> just for kicks, y'all think I should restart PostgreSQL?
- [02:39] <kismetg17> to see if that resolves anything from the update?
- [02:40] <DigiDaz> I'm trying to replicate this and am having difficulty
- [02:40] *** blackc2004 quit (Quit: Leaving.)
- [02:40] <DigiDaz> I've just upgraded and it did include a postgres update but I can still get in via adminer
- [02:41] <kismetg17> that definitely is strange
- [02:41] <kismetg17> I'm gonna restart the service on one box and see what happens
- [02:41] <DigiDaz> did you update your fusionpbx or something too?
- [02:42] <kismetg17> yes, on all those boxes.
- [02:42] <Len_> im trying on a new install from today
- [02:44] <DigiDaz> Yep, I can verify this: Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
- [02:44] <DigiDaz> When I updated source the very first change was to adminer
- [02:45] <mcrane> install earlier today doesn't use role www-dasta
- [02:45] <mcrane> www-data
- [02:45] <mcrane> doing something special to force it to www-data?
- [02:45] <mcrane> it uses fusionpbx role (postgres user)
- [02:45] <mcrane> by default
- [02:46] <mcrane> that hasn't changed unless you forced it too
- [02:46] <mcrane> this only come up when trying to use adminer?
- [02:46] <Len_> right
- [02:47] <kismetg17> yes
- [02:47] <mcrane> I know reliberate worked on adminer
- [02:47] <mcrane> I just put fusionpbx authentication on it
- [02:47] <mcrane> so you have to be logged in to use it
- [02:47] *** wil_syd (~wil_syd@c110-20-159-70.rivrw10.nsw.optusnet.com.au) joined
- [02:47] <mcrane> but he was doing more to it
- [02:48] <mcrane> he wanted autologin
- [02:48] <mcrane> when authenticated with fusionpbx
- [02:48] *** aecardeg quit (Ping timeout: 250 seconds)
- [02:52] <DigiDaz> Just literally did a regular fusionpbx update
- [02:54] *** dalbaech quit (Ping timeout: 250 seconds)
- [03:07] <BigggRobbb> DigiDaz: for a new install, after logging into root. Do i copy and paste this: wget https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/install.sh -O install.sh && bash install.sh
- [03:09] <mcrane> its not well tested yet BigggRobbb
- [03:09] <mcrane> that is a new script created today
- [03:09] <BigggRobbb> sounds good. trying to play with it
- [03:10] <mcrane> https://fusionpbx.com/app/www/download.php
- [03:10] <mcrane> run first line
- [03:10] <mcrane> then can copy and run the others
- [03:10] <mcrane> today the new install.sh pre-install script blocked me because it said debian 8.5
- [03:10] <mcrane> was not supported
- [03:11] <mcrane> so the OS check wasn't working right
- [03:12] <BigggRobbb> ok. when I paste that it started loading everything, should i reload os
- [03:12] <mcrane> so I haven't updated the website to use the new pre-install script until its OS check works better
- [03:12] <mcrane> if it finishes then it worked for you
- [03:12] <mcrane> and that is fine
- [03:12] <mcrane> no need to reload
- [03:13] <BigggRobbb> thanks. i will do a reload when you are ready for the final install, thanks
- [03:14] <DigiDaz> I'm back in my adminer
- [03:15] <Len_> did you add www-data to the fusionpbx role?
- [03:18] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
- [03:19] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
- [03:21] <DigiDaz> Len_: No, thats not the way we should be going, I just roled back the adminer stuff to the commit before last week
- [03:21] <Len_> XD
- [03:25] <mcrane> DigiDaz: you want the check_auth.php changes
- [03:25] <mcrane> at the top of adminer.php
- [03:25] <mcrane> security risk if you don't
- [03:25] <mcrane> the other changes that were worked on adminer I don't really see as very useful
- [03:26] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
- [03:26] <mcrane> I will look at backing them out for now
- [03:26] <mcrane> as the other dev should make it work better before committing it
- [03:26] <Len_> or work :)
- [03:27] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
- [03:28] <mcrane> DigiDaz: did you find what change caused the problem?
- [03:31] <DigiDaz> mcrane: it looks like its the stuff done to index.php
- [03:32] <mcrane> okay I just updated Adminer to the latest version
- [03:37] *** jasonwert (~wert@198.167.245.16) joined
- [03:37] <DigiDaz> Now mines broken :) Cannot redeclare html_select() (previously declared in /var/www/fusionpbx/resources/functions.php:372) in /var/www/fusionpbx/app/adminer/adminer.php on line 51
- [03:37] <mcrane> yep I saw it
- [03:37] <mcrane> fixing it now
- [03:38] <DigiDaz> It actually very cool that its so long since I have used adminer, forgot it was there, pure postgres cli dude now :)
- [03:38] <mcrane> sweet
- [03:39] <DigiDaz> brb, bed
- [03:39] <mcrane> will keep working on it
- [03:40] <mcrane> my change failed but will get it fixed
- [03:40] <kismetg17> i'm here to continue testing mcrane .... I can confirm the same error
- [03:42] <mcrane> thanks
- [03:42] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
- [03:43] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
- [03:44] *** Lodperera1 (~Lodperera@ppp219-151.static.internode.on.net) joined
- [03:44] *** TylerP quit (Ping timeout: 276 seconds)
- [03:46] *** Lodperera quit (Ping timeout: 240 seconds)
- [03:46] <BigggRobbb> mcrane: probably wasn't the correct way. At root: I pasted: wget https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/install.sh -O install.sh && bash install.sh
- [03:47] <BigggRobbb> and then followed the rest of the instructions. Seems to be working
- [03:49] <BigggRobbb> I am afraid to use it, in case something isn't right with security
- [03:55] *** almostworking quit (Quit: Textual IRC Client: www.textualapp.com)
- [03:58] *** almostworking (~almostwor@unaffiliated/almostworking) joined
- [04:01] *** Scarthas quit (Quit: Connection closed for inactivity)
- [04:04] *** astan24 (~kvirc@206-248-138-147.dsl.teksavvy.com) joined
- [04:04] <kismetg17> UPDATE: mcrane I just updated fusionpbx, the adminer page now loads, but we're back to the original error message about the www-data role not existing
- [04:05] <mcrane> not loading right for me yet
- [04:05] <mcrane> showing numbers only for the labels
- [04:05] <mcrane> BigggRobbb: iptables -L
- [04:05] <mcrane> script installs it for you
- [04:10] <mcrane> looks like it was cached for me
- [04:15] <mcrane> kismetg17: update and try again
- [04:16] <mcrane> its working on my server now
- [04:17] <mcrane> with the latest version of adminer
- [04:27] *** miroesq quit (Ping timeout: 260 seconds)
- [04:30] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
- [04:34] <kismetg17> okay mcrane trying now
- [04:37] <kismetg17> okay mcrane , it works on for me one server
- [04:37] <kismetg17> I'm trying the others now, will advice shortly
- [04:38] <mcrane> Ok
- [04:41] <kismetg17> thanks
- [04:42] <kismetg17> my original issue is now resolved. I simply went into the v_gateways table and noticed that the domain_uuid column had a NULL value. so I populated it with the domain_uuid from the v_domains table, and now that gateway is visible
- [04:50] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
- [04:51] <kismetg17> QUESTION - upon adding a gateway, I'm getting the following error in the fs_cli: "Failed Registration with status Service Unavailable [503]". What could be wrong here?
- [04:51] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
- [05:02] *** [Echelon] quit (Read error: Connection reset by peer)
- [05:02] *** [Echelon] (~ryan@kimiko.fuzzyconcepts.net) joined
- [05:15] *** gr8liquor quit (Remote host closed the connection)
- [05:17] <neteng> anyone here run this behind an ASA with a 1 to 1 NAT?
- [05:24] *** astan24 quit (Ping timeout: 260 seconds)
- [05:25] *** gr8liquor (~christoph@ip68-228-203-174.ph.ph.cox.net) joined
- [05:33] *** r3ply` quit (Ping timeout: 260 seconds)
- [05:45] <BigggRobbb> mcrane: in iptables, would you include optional rules?
- [06:10] <Len_> im able to login to adminer now also mcrane
- [06:14] <thefinn93> is there anything special i need to do when transferring calls across domains?
- [06:14] <thefinn93> I'm trying to get 611 to route to me
- [06:15] <thefinn93> well, a ring group on my domain
- [06:15] <thefinn93> 611 globally on the PBX
- [06:15] <thefinn93> i tried transfer: 1251 XML <domain>
- [06:15] <thefinn93> (1251 is the ring group)
- [06:15] <thefinn93> and it works... sometimes
- [06:16] <thefinn93> other times it gives the caller a 404 error
- [06:16] <thefinn93> and the log indicates that it's only looking at the outbound routes for how to route it
- [06:21] <thefinn93> i have not yet been able to work out a pattern for when it does and doesn't work
- [06:23] <thefinn93> here's what i think is the relevant section of the log. 1000 is on a customer domain, 1251 is on our internal domain
- [06:23] <thefinn93> https://ncry.pt/p/KgCn#QVfhnWvj60dP3JQmf_3SKdpl7G2PMrFSXmzcZJRA_b0
- [06:36] *** CTvoip (~Thunderbi@197.106.250.161) joined
- [06:40] *** CTvoip quit (Ping timeout: 240 seconds)
- [06:41] *** totus quit (Quit: Leaving.)
- [06:44] <gr8liquor> thefinn93, I haven't tried it myself, but I've I seen Mark give the following hint.
- [06:45] <gr8liquor> "Calls to another domain is transfer to that domains context and maybe set domain_name and domain_uuid before the transfer"
- [06:45] <thefinn93> hrmmmm
- [06:45] <thefinn93> interesting
- [06:45] <thefinn93> will try
- [06:45] <thefinn93> thx
- [06:45] <gr8liquor> domain_name=otherdomainname domain_uuid=otherdomainuuid
- [06:46] <thefinn93> yeah
- [06:46] <thefinn93> action | set | domain_name=otherdomainname
- [06:46] <thefinn93> etc?
- [06:46] <gr8liquor> yes
- [06:46] <thefinn93> cool
- [06:47] <thefinn93> sometimes i find setting variables before a call transfer does things im not expecting, so i like to check
- [06:47] <thefinn93> or, rather, doesn't do something i am expecting usually
- [06:47] <gr8liquor> I know. sometimes it breaks things. :)
- [07:01] *** blackc2004 (~blackc200@66-191-42-226.static.snfr.nc.charter.com) joined
- [07:01] *** ss-citadel quit (Ping timeout: 260 seconds)
- [07:04] *** OpenSpace quit (Ping timeout: 258 seconds)
- [07:17] *** OpenSpace (~OpenSpace@109-93-146-223.dynamic.isp.telekom.rs) joined
- [07:49] *** smrdoshi (~samir@182.70.116.47) joined
- [07:56] *** smrdoshi quit (Read error: Connection reset by peer)
- [08:13] <wil_syd> With all sip profiles stopped what in Freeswitch/FusionPBX could still be listening on 5080?
- [08:15] *** bhavik6812 (~bhavik@182.70.116.47) joined
- [08:15] *** smrdoshi (~samir@182.70.116.47) joined
- [08:15] *** bhavik6812 changed nick to fs_rocks
- [08:18] <mcrane> wil_syd: disable the sip profile
- [08:18] <mcrane> Restart freeswitch
- [08:19] <mcrane> Or mod sofia
- [08:23] *** m6lpi quit (Ping timeout: 250 seconds)
- [08:23] *** mskenderian quit (Ping timeout: 250 seconds)
- [08:23] *** oblak quit (Ping timeout: 250 seconds)
- [08:23] *** mavroudis_ quit (Ping timeout: 272 seconds)
- [08:23] *** mcrane quit (Ping timeout: 272 seconds)
- [08:24] *** gtrott quit (Ping timeout: 272 seconds)
- [08:24] *** lorsungcu quit (Ping timeout: 260 seconds)
- [08:24] *** tfitts quit (Ping timeout: 260 seconds)
- [08:24] *** BigggRobbb quit (Ping timeout: 250 seconds)
- [08:25] *** eric9603 quit (Ping timeout: 272 seconds)
- [08:25] *** hacks quit (Ping timeout: 272 seconds)
- [08:25] *** iaoakes_ quit (Ping timeout: 272 seconds)
- [08:25] *** esamuels quit (Ping timeout: 260 seconds)
- [08:25] *** nivaldomjunior quit (Ping timeout: 272 seconds)
- [08:25] *** cords__ quit (Ping timeout: 272 seconds)
- [08:26] *** blackc2004 quit (Quit: Leaving.)
- [08:27] *** gtrott (sid78444@gateway/web/irccloud.com/x-ajnopqozenwistdw) joined
- [08:27] *** mavroudis_ (sid15231@gateway/web/irccloud.com/x-fwjnhyjukqskdwjq) joined
- [08:28] *** hacks (sid34209@gateway/web/irccloud.com/x-ldzsfemhrkyjfhhp) joined
- [08:29] *** tfitts (uid158900@gateway/web/irccloud.com/x-gyvxutkkwbxlpfsx) joined
- [08:30] *** m6lpi (sid19617@gateway/web/irccloud.com/x-bpctthpflbfttopm) joined
- [08:30] *** iaoakes_ (sid64782@gateway/web/irccloud.com/x-gmsovhrqylnjgbbn) joined
- [08:31] *** eric9603 (sid110845@gateway/web/irccloud.com/x-jpzihgjqcdahbsxu) joined
- [08:32] *** esamuels (sid35972@gateway/web/irccloud.com/x-lplngyqpqlpvynvw) joined
- [08:32] *** nivaldomjunior (sid98438@gateway/web/irccloud.com/x-gbnabsdovhfnqxhu) joined
- [08:33] *** lorsungcu (sid65806@gateway/web/irccloud.com/x-feaqhrxtzftsltbj) joined
- [08:33] *** mcrane (sid38959@gateway/web/irccloud.com/x-jfnevktfeugjauim) joined
- [08:33] *** mskenderian (uid158360@gateway/web/irccloud.com/x-xsbtzjaniqmoqgzn) joined
- [08:34] *** cords__ (sid101023@gateway/web/irccloud.com/x-qqjwmigeqvuhacfu) joined
- [08:34] *** oblak (sid64851@gateway/web/irccloud.com/x-elnjcijpwummrxbo) joined
- [08:36] *** BigggRobbb (sid163625@gateway/web/irccloud.com/x-fwbqrrugtyyilesc) joined
- [09:02] *** USoff (~usoff@91.222.112.154) joined
- [09:03] *** USoff quit (Remote host closed the connection)
- [09:03] *** USoff (~usoff@91.222.112.154) joined
- [09:06] *** BigggRobbb quit (Ping timeout: 272 seconds)
- [09:08] *** BigggRobbb (sid163625@gateway/web/irccloud.com/x-wwrxnnohqvxwfiah) joined
- [09:15] <kismetg17> upon adding a gateway, I'm getting the following error in the fs_cli: "Failed Registration with status Service Unavailable [503]". What could be wrong here?
- [09:24] *** kristiankarlsson (~kristiank@194.9.75.136) joined
- [09:33] *** OpenSpace quit (Ping timeout: 276 seconds)
- [09:35] *** Luffy_ (69e96a75@gateway/web/freenode/ip.105.233.106.117) joined
- [09:37] *** CTvoip (~Thunderbi@197.106.121.76) joined
- [09:45] *** OpenSpace (~OpenSpace@91-150-106-11.dynamic.isp.telekom.rs) joined
- [09:57] *** level7_ (~quassel@31.44.16.132) joined
- [09:57] *** level7 quit (Ping timeout: 276 seconds)
- [09:59] *** raspberrypifan quit (Remote host closed the connection)
- [09:59] *** raspberrypifan (~raspberry@2604:2000:6016:be00:6355:b61:14e7:dbba) joined
- [10:02] *** abnoy quit (Remote host closed the connection)
- [10:04] *** BillyNoNames (~BillyNoNa@178.156.5.27) joined
- [10:16] *** CTvoip quit (Ping timeout: 240 seconds)
- [10:21] *** Avenger07 (32443ef0@gateway/web/freenode/ip.50.68.62.240) joined
- [10:22] *** MafooUK (~MafooUK@5.80.93.15) joined
- [10:22] <MafooUK> Good Mornign Folks
- [10:25] *** Avenger07 quit (Ping timeout: 250 seconds)
- [10:29] *** smrdoshi quit (Ping timeout: 246 seconds)
- [10:29] <kristiankarlsson> Morning
- [10:31] *** smrdoshi (~samir@182.70.116.47) joined
- [10:44] *** Lodperera1 quit (Ping timeout: 240 seconds)
- [10:46] *** juned (~juned@202.131.119.122) joined
- [10:59] *** ghenry (~ghenry@pdpc/supporter/monthlybyte/ghenry) joined
- [11:23] <MafooUK> DigiDaz what was teh result of r3play's problems last night i got some feedback from Mcrane saying teh OS detect on debian 8.5 on vuultr failed
- [11:33] <MafooUK> Anyone awake that has a vultr instance that woudln't mind helping me check some information to fix teh install.sh for fusion?
- [11:37] <kristiankarlsson> MafooUK, vultr?
- [11:37] <MafooUK> it is a VPS hosting provider
- [11:38] <MafooUK> i got a report last night while i was asleep that the install.sh os check failed to work correctly on a vultr Debian 8.5 instance
- [11:38] <kristiankarlsson> Ok, then i cant help you...
- [11:38] <MafooUK> np, thank you thou
- [11:39] <MafooUK> I coudl sign up for vultr but that is goign to cost me moneies to just run a one liner
- [11:40] <kristiankarlsson> Ok
- [11:46] <moteus> good morning
- [11:46] <MafooUK> Mornign moteus
- [11:46] <moteus> MafooUK, I see you had busy night :)
- [11:46] <MafooUK> yeah! worked though a number og unfortunate bugs i had introduced, but all in all was worth it for what went in
- [11:47] <MafooUK> i just need someoen with a vultr instance to give me the output of lsb_release -a and i shoudl beable to address teh last outstandign one
- [11:49] <MafooUK> although i would like to speak to mcrane to see if we can get some way we can collect lsb_release when the installer doesn't like the os that way i can review them without needing to be perminantly on irc
- [11:49] <MafooUK> moteus do you use irccloud?
- [11:50] <MafooUK> or do you have a way that could show me the chat history for the last 10 hours, hoping i can read up exactly what went wrong after i left
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement