· 10 years ago · Jun 09, 2016, 08:54 AM
1[23:23] <tunibbles> php editor ?
2[23:25] *** saratogga (~saratogga@107.72.99.27) joined
3[23:26] *** DigiDazOut quit (Quit: Connection closed for inactivity)
4[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
5[23:30] <MafooUK> short format ?
6[23:33] <DigiDaz> tunibbles: Advanced/sip profiles
7[23:34] <DigiDaz> MafooUK: I think the tone streams were added later to allow standard ringback tones
8[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
9[23:35] <DigiDaz> But all my clients like ringback tones
10[23:36] <DigiDaz> I'm guessing that is why they were originally not in
11[23:37] <DigiDaz> I don't think it really matters as long as they work whether it is long or short
12[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
13[23:38] <blackc2004> mcrane: https://help.github.com/articles/checking-out-pull-requests-locally/
14[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}' ?
15[23:39] <MafooUK> that way i don't have to add more support code
16[23:39] <DigiDaz> MafooUK: Definitely not, thats why the tone stream was added I think it needs something like loops = blah too
17[23:40] <MafooUK> ok so it needs the full form, okies i will add teh full form supprot in
18[23:40] <DigiDaz> MafooUK: ....
19[23:41] *** FreeMe (55d330d7@gateway/web/freenode/ip.85.211.48.215) joined
20[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
21[23:42] <MafooUK> it would as we already have a lua function to do it on teh fly
22[23:42] <MafooUK> do you know what lua i need to look at i couldn't find call_center as a app
23[23:43] <MafooUK> ohh i see it is in teh xml_handler section as it gets config
24[23:43] <MafooUK> hah looks like we already added some of teh new function support
25[23:43] <MafooUK> hmm just cheked looks like i must have already caught that file when we implemented it
26[23:45] *** jasonwert quit (Remote host closed the connection)
27[23:45] <DigiDaz> MafooUK: This is the kindo of thing that ends up int he XML, here's two different queues:
28[23:45] <DigiDaz> <param name="moh-sound" value="tone_stream://$${uk-ring};loops=-1"/>
29[23:45] <DigiDaz> <param name="moh-sound" value="local_stream://T2S-Technical"/>
30[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
31[23:46] <MafooUK> it was just teh php page that hadn't been converted over to use teh ringbacks class for tidier code
32[23:46] *** saratogga quit (Quit: saratogga)
33[23:47] *** jasonwert (~wert@75-134-81-98.static.aldl.mi.charter.com) joined
34[23:47] *** jasonwert quit (Client Quit)
35[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
36[23:47] *** jasonwert (~wert@75-134-81-98.static.aldl.mi.charter.com) joined
37[23:49] <MafooUK> hmm i included the fixes for somethign else in that oups
38[23:51] <tunibbles> removed the pix from behind nat
39[23:51] <tunibbles> and now works
40[23:51] <tunibbles> less or more
41[23:54] <neteng> on the sip status page, state show running (#) What does that # mean? External =0 internal = 2
42[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)
43[23:59] *** TylerP quit (Ping timeout: 244 seconds)
44[23:59] *** level7 quit (Read error: Connection reset by peer)
45[23:59] *** johanbr quit (Ping timeout: 240 seconds)
46[00:00] *** level7 (~quassel@31.44.17.250) joined
47[00:02] *** astan24 (~kvirc@28.74.59.108.express.oricom.ca) joined
48[00:06] *** jasonwert quit (Ping timeout: 250 seconds)
49[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?
50[00:09] *** aecardeg (~chatzilla@24-197-144-29.dhcp.gwnt.ga.charter.com) joined
51[00:11] <MafooUK> neteng you cannot have teh internal and external profile on teh same port
52[00:14] <MafooUK> neteng the (0) i think is the interger value of teh RUNNING state it comes directly from freeswitch as 'sofia status'
53[00:15] <neteng> Thanks MafooUK
54[00:15] *** saratogga (~saratogga@ip70-162-103-74.ph.ph.cox.net) joined
55[00:15] <DigiDaz> neteng: The point is why are you wanting the external profile on 5060??
56[00:15] *** saratogga quit (Client Quit)
57[00:16] *** johanbr (~jbr@vps.nullinfinity.org) joined
58[00:17] <DigiDaz> MafooUK: Do you have a branch on your github I can check out to test this PR?
59[00:18] <neteng> DigiDaz: sip inspection on the ASA …
60[00:18] <neteng> I guess I nee a new service policy for port 5080
61[00:19] <neteng> DigiDaz: picked up the http://www.bladehelis.com/VortexPro/
62[00:20] <mcrane> blackc2004: thanks for the link
63[00:23] <MafooUK> DigiDaz yes but it is conflicted atm, fixing it then will give you teh link
64[00:24] <DigiDaz> k
65[00:25] <MafooUK> ouu will have to bookmark taht link blackc2004 that will make testing PR's easier
66[00:28] *** r3ply` (~r3ply@207.228.113.178) joined
67[00:28] <r3ply`> Hello, just wondering what the recommended setup is? LinuxDistro, Webserver etc... Thanks!
68[00:29] <neteng> r3ply`: https://www.fusionpbx.com/app/www/download.php
69[00:30] <DigiDaz> Where are all these welcome, newbies coming from?
70[00:30] *** sz (~sz@188.133.26.93.rev.sfr.net) joined
71[00:30] *** sz quit (Remote host closed the connection)
72[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..
73[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
74[00:31] <DigiDaz> r3ply`: What issues?
75[00:31] <MafooUK> PR-1637 fixed for conflicts now
76[00:31] <MafooUK> DigiDaz the source branch is - https://github.com/mafoo/fusionpbx/tree/BugFix-Convert-call_center-to-ringbacks-class
77[00:32] <MafooUK> and you can vierw PR1637 for what was changed
78[00:33] <MrNato_home> morning!
79[00:33] <MafooUK> Good eveing Mr Nato
80[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
81[00:34] <r3ply`> mod_sofia.so...
82[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
83[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
84[00:34] <MrNato_home> got any ideas how to do that with someone that has like 5 phone registered?
85[00:34] <MrNato_home> maybe check 3 phones are are not reg then divert?
86[00:35] <MafooUK> r3ply` when did you perform your initial install ?
87[00:35] <r3ply`> about 4 hrs ago
88[00:36] <MrNato_home> thats like 10 years ago in MafooUK's world
89[00:36] <MrNato_home> :)
90[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"
91[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
92[00:37] <MafooUK> hmm that doesn't sound good r3ply`
93[00:38] <blackc2004> MrNato_home, do you mean that they have 5 phones registered to same ext or just 5 phones in general?
94[00:38] <MafooUK> Len_ are you still updating docs, got a PR for you - https://github.com/fusionpbx/fusionpbx-docs/pull/44
95[00:38] <MrNato_home> general
96[00:38] <blackc2004> Because under extensions->call control there's a "not registered" forward option
97[00:38] <MrNato_home> not in my version :)
98[00:38] <blackc2004> upgrade ;)
99[00:38] <MrNato_home> 3.6.4 I think
100[00:38] <blackc2004> ouch. old!
101[00:39] <neteng> lol
102[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
103[00:39] <MrNato_home> yes I promise next release I will get mcrane to upgrade me
104[00:40] <MafooUK> r3ply` if you can might be worth blowing away the machine encase somethign got messed up on install?
105[00:43] *** astan24 quit (Ping timeout: 260 seconds)
106[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
107[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...
108[00:47] <MafooUK> strange i installed a system about 6 hours ago from that script and it worked
109[00:47] <tunibbles> guys .... it works
110[00:48] <tunibbles> thanks a lot
111[00:49] <tunibbles> now my last question ... if possible
112[00:49] <tunibbles> what about setting up a firewall ?
113[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..
114[00:50] *** FreeMe quit (Ping timeout: 250 seconds)
115[00:51] <DigiDaz> r3ply`: You using 32-bit?
116[00:51] <r3ply`> yes, 32 bit!
117[00:52] <DigiDaz> Thats probably the problem
118[00:52] <DigiDaz> Freeswich may not be building for that anymore
119[00:52] <DigiDaz> defintely exists in 64-bit: http://files.freeswitch.org/repo/deb/freeswitch-1.6/pool/main/f/freeswitch/
120[00:52] <r3ply`> yep, i just checked the same url i posted early and saw it under amd64
121[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.
122[00:53] <MafooUK> DigiDaz do we need the bootstrapper to also check os bits (except when arm and unoffical) ?
123[00:53] *** FreeMe (55d330d7@gateway/web/freenode/ip.85.211.48.215) joined
124[00:53] <MafooUK> pankid do you have a lot of recordings ?
125[00:53] <pankid> where should I be looking for errors? I am not seeing anything obvious in nginx/postgres/freeswitch/php5-fpm logs
126[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
127[00:53] <r3ply`> freeswitch package versions
128[00:53] <MafooUK> r3ply` yes because 1.4 was teh last they built for 32bit
129[00:54] <DigiDaz> MafooUK: Maybe it just doesn't work any more on i386, the video deps etc
130[00:54] <MafooUK> DigiDaz isn't your arm image 32bit ?
131[00:54] <DigiDaz> r3ply`: Why are you using 32-bit?
132[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?
133[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..
134[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
135[00:55] <r3ply`> DigiDaz, my test machine. its a few yrs old
136[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
137[00:55] <DigiDaz> r3ply`: But it is 64 bit CPU?
138[00:56] <r3ply`> i don't think so..
139[00:56] <r3ply`> its a nano
140[00:56] <r3ply`> 1.1 or 1.6ghz
141[00:56] <DigiDaz> lol, then its more than a 'few' years old
142[00:56] <r3ply`> sorry atom
143[00:57] <DigiDaz> r3ply`: what does cat /proc/cpuinfo give?
144[00:57] <r3ply`> Intel Atom Z510 (Silverthorne)
145[00:57] <r3ply`> permission denied...?
146[00:57] <DigiDaz> wow, that is ancient
147[00:58] <r3ply`> oh i din't see the cat...
148[00:58] <r3ply`> i think this is the relevant information: address sizes : 32 bits physical, 32 bits virtual
149[00:59] <DigiDaz> yep, just checked the ark, its definitely 32bit
150[00:59] *** teknoprep (~teknoprep@70.44.171.153.res-cmts.brd.ptd.net) joined
151[00:59] <DigiDaz> I think the only option you have is a source compile which is gonna take an age
152[01:00] <r3ply`> so how good/bad is it if i just installed freeswitch, then i installed nginx, then fusionpbx?
153[01:00] <r3ply`> do i have to use nginx, will it run on apache?
154[01:00] <MafooUK> install.sh --use-switch-source
155[01:00] <r3ply`> yes that's what i was thinking just source compile freeswitch
156[01:01] <MafooUK> r3ply` you can use httpd if you want to but you will need to configure it up yourself
157[01:01] <MafooUK> DigiDaz i gotta go, late here i will catch up tomorrow about putting some architecture detects for when it shodul complain
158[01:02] <DigiDaz> K
159[01:02] *** MafooUK quit ( )
160[01:03] <DigiDaz> r3ply`: The last thing you want to do is add apache to such a processor
161[01:03] <DigiDaz> r3ply`: How much RAM does it have?
162[01:03] <r3ply`> DigiDaz, hehe.. or maybe this pbx is for my nemesis....
163[01:04] <r3ply`> oh its bad, 1GB i think?
164[01:04] *** mafoo quit ( )
165[01:04] <DigiDaz> Thats OK, why not get a $5 vps that would be better
166[01:04] <r3ply`> but compiling freeswitch myself from source and adding fusionpbx on top, no issues?
167[01:05] <DigiDaz> Yes, pleanty of issues, do it the way mafoouk said
168[01:05] <r3ply`> this is an experimental unit, get familiar with fusion and debian. i generally run freeswitch alone in text-only centos.
169[01:06] <r3ply`> DigiDaz, good to know, yes i've taken to using MafooUK's suggestion
170[01:07] *** TylerP (~TylerP@ool-44c6d75a.dyn.optonline.net) joined
171[01:08] *** RB2 (~Rb2@c-73-178-160-56.hsd1.nj.comcast.net) joined
172[01:12] <TylerP> Hi guys, is it possible to change the path for just cisco phones to a different directory?
173[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.
174[01:15] *** rj22 (2640aa78@gateway/web/cgi-irc/kiwiirc.com/ip.38.64.170.120) joined
175[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 :)
176[01:30] <tunibbles> ok, thanks to everyone
177[01:31] <tunibbles> here it's time to sleep
178[01:32] *** tunibbles quit (Quit: Page closed)
179[01:34] <FreeMe> Tyler_P : what are you referring to?
180[01:34] <FreeMe> Oh sorry didn't read.. and yeah just switch up the profile rule
181[01:35] *** FreeMe quit (Quit: Page closed)
182[01:44] <BigggRobbb> DigiDaz: Where are all these welcome, newbies coming from? Probably saw mcrane on cluecon weekly
183[01:45] <DigiDaz> TylerP: Cisco 7960 only uses TFTP for provisioning which is insecure so you need it in LAN
184[01:45] <DigiDaz> BigggRobbb: I doubt it, these guys are not freeswitch people
185[01:46] <mcrane> or maybe saw on youtube
186[01:46] <r3ply`> DigiDaz, no http://whatever profile rule on the 7960?
187[01:47] <BigggRobbb> mcrane: your like a fly on the wallpaper :)
188[01:48] <BigggRobbb> mcrane: youtube is what i meant, you made the install look pretty easy
189[01:48] <mcrane> still teaching the class today
190[01:49] <mcrane> the install is easy now
191[01:49] <mcrane> multiple people helping with making it easier
192[01:54] *** jessetn quit (Ping timeout: 250 seconds)
193[01:56] *** wei__ quit (Quit: Connection closed for inactivity)
194[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
195[02:02] <kismetg17> Good evening folks - hope you're all well?
196[02:02] <DigiDaz> hi kismetg17
197[02:02] <Len_> hello kismetg17
198[02:03] *** teknoprep quit (Ping timeout: 260 seconds)
199[02:03] <kismetg17> hi DigiDaz ......... just getting home from work, still messing with the Pi 3
200[02:03] *** rj22 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
201[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?
202[02:07] <DigiDaz> quicker question... Why would you want a global gateway on a single tenant system?
203[02:07] *** teknoprep (~teknoprep@70.44.171.153.res-cmts.brd.ptd.net) joined
204[02:08] <kismetg17> DigiDaz my curiosity got the best of me...........lol
205[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
206[02:09] <kismetg17> thanks for the hint......I'll just add a second domain and see if it rears it's head.......lol
207[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.
208[02:10] <DigiDaz> kismetg17: I don't know if its still the case but before, the moment you added a second domain, 'stuff' happened :)
209[02:10] <TylerP> Basically I just open the port in iptables when the phones need initial provisioning
210[02:11] <mcrane> kismetg17: don't use the domain setting on the gateway
211[02:11] <kismetg17> haha mcrane .... I know now!
212[02:11] <mcrane> its for moving the gateway to another tenant
213[02:12] <mcrane> superadmin group can use them from any tenant
214[02:12] *** teknoprep quit (Ping timeout: 260 seconds)
215[02:12] <DigiDaz> lol, yep, they were global outbound routes? Not gateways
216[02:12] <mcrane> don't use the hostname
217[02:12] <mcrane> either its for assigning a gateway to a specific server by its hostname
218[02:12] <mcrane> for a multi-server setup
219[02:12] *** Lodperera (~Lodperera@ppp219-151.static.internode.on.net) joined
220[02:13] <kismetg17> yeah, I've been following your warnings here about the hostname variable
221[02:15] <kismetg17> DigiDaz it didn't work.......:(
222[02:16] <mcrane> what didn't work?
223[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....
224[02:20] <DigiDaz> kismetg17: It was never global gateways, it was outbound routes
225[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
226[02:20] <kismetg17> aaaah DigiDaz
227[02:21] <DigiDaz> mcrane just explained it
228[02:21] <DigiDaz> kismetg17: The user is not www-data its fusionpbx
229[02:22] <DigiDaz> You need get to that fusionpbx school mcrane is running ;-)
230[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
231[02:23] <kismetg17> DigiDaz yes that is my plan soon.
232[02:23] <DigiDaz> did you put localhost in tha adminer?
233[02:24] <kismetg17> yes sir
234[02:24] <Len_> it looks there but its not
235[02:25] <DigiDaz> kismetg17: You actually typoed it in as opposed to just leaving in the grey prompt?
236[02:25] <kismetg17> yes sir
237[02:25] <kismetg17> I remember having that issue on another system, so I always type the localhost in
238[02:26] <Len_> hmm
239[02:26] <Len_> Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
240[02:27] <Len_> wasnt there a recent change in adminer?
241[02:28] <kismetg17> I don't know Len_ guess I need to find out
242[02:28] <DigiDaz> kismetg17: pastebin your: pg_hba.conf
243[02:28] <Len_> is this on a recent git pull?
244[02:28] <kismetg17> I did notice when I updated the server via apt-get dist-upgrade that there was a postgresql update
245[02:28] <kismetg17> okay DigiDaz give me a sec
246[02:29] <DigiDaz> I'm thinking socket vs port here
247[02:30] <Len_> should the role be fusionpbx and not www-data?
248[02:30] <DigiDaz> I think its the auth type hence why I'm asking for the contents of that file
249[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
250[02:31] <kismetg17> DigiDaz here it is http://pastebin.com/6bz1yDKH
251[02:34] <DigiDaz> That looks good, so neither of you can log in using adminer?
252[02:34] <Len_> nope
253[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
254[02:35] <mcrane> Len_> should the role be fusionpbx and not www-data? yes
255[02:35] <mcrane> www-data is the web server user
256[02:35] <mcrane> not the database user by default
257[02:35] <DigiDaz> what version of adminer is this with?
258[02:36] <mcrane> the host shows as localhost
259[02:36] <Len_> the error on login to adminer mcrane is Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
260[02:36] <mcrane> by default but its in the background
261[02:36] <DigiDaz> Mine is 4.2.1
262[02:36] <kismetg17> v4.2.1 DigiDaz
263[02:36] <mcrane> make sure you specify the adminer host
264[02:37] <Len_> are you able to login to adminer on that install from today mcrane?
265[02:39] <kismetg17> just for kicks, y'all think I should restart PostgreSQL?
266[02:39] <kismetg17> to see if that resolves anything from the update?
267[02:40] <DigiDaz> I'm trying to replicate this and am having difficulty
268[02:40] *** blackc2004 quit (Quit: Leaving.)
269[02:40] <DigiDaz> I've just upgraded and it did include a postgres update but I can still get in via adminer
270[02:41] <kismetg17> that definitely is strange
271[02:41] <kismetg17> I'm gonna restart the service on one box and see what happens
272[02:41] <DigiDaz> did you update your fusionpbx or something too?
273[02:42] <kismetg17> yes, on all those boxes.
274[02:42] <Len_> im trying on a new install from today
275[02:44] <DigiDaz> Yep, I can verify this: Unable to connect to PostgreSQL server: FATAL: role "www-data" does not exist
276[02:44] <DigiDaz> When I updated source the very first change was to adminer
277[02:45] <mcrane> install earlier today doesn't use role www-dasta
278[02:45] <mcrane> www-data
279[02:45] <mcrane> doing something special to force it to www-data?
280[02:45] <mcrane> it uses fusionpbx role (postgres user)
281[02:45] <mcrane> by default
282[02:46] <mcrane> that hasn't changed unless you forced it too
283[02:46] <mcrane> this only come up when trying to use adminer?
284[02:46] <Len_> right
285[02:47] <kismetg17> yes
286[02:47] <mcrane> I know reliberate worked on adminer
287[02:47] <mcrane> I just put fusionpbx authentication on it
288[02:47] <mcrane> so you have to be logged in to use it
289[02:47] *** wil_syd (~wil_syd@c110-20-159-70.rivrw10.nsw.optusnet.com.au) joined
290[02:47] <mcrane> but he was doing more to it
291[02:48] <mcrane> he wanted autologin
292[02:48] <mcrane> when authenticated with fusionpbx
293[02:48] *** aecardeg quit (Ping timeout: 250 seconds)
294[02:52] <DigiDaz> Just literally did a regular fusionpbx update
295[02:54] *** dalbaech quit (Ping timeout: 250 seconds)
296[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
297[03:09] <mcrane> its not well tested yet BigggRobbb
298[03:09] <mcrane> that is a new script created today
299[03:09] <BigggRobbb> sounds good. trying to play with it
300[03:10] <mcrane> https://fusionpbx.com/app/www/download.php
301[03:10] <mcrane> run first line
302[03:10] <mcrane> then can copy and run the others
303[03:10] <mcrane> today the new install.sh pre-install script blocked me because it said debian 8.5
304[03:10] <mcrane> was not supported
305[03:11] <mcrane> so the OS check wasn't working right
306[03:12] <BigggRobbb> ok. when I paste that it started loading everything, should i reload os
307[03:12] <mcrane> so I haven't updated the website to use the new pre-install script until its OS check works better
308[03:12] <mcrane> if it finishes then it worked for you
309[03:12] <mcrane> and that is fine
310[03:12] <mcrane> no need to reload
311[03:13] <BigggRobbb> thanks. i will do a reload when you are ready for the final install, thanks
312[03:14] <DigiDaz> I'm back in my adminer
313[03:15] <Len_> did you add www-data to the fusionpbx role?
314[03:18] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
315[03:19] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
316[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
317[03:21] <Len_> XD
318[03:25] <mcrane> DigiDaz: you want the check_auth.php changes
319[03:25] <mcrane> at the top of adminer.php
320[03:25] <mcrane> security risk if you don't
321[03:25] <mcrane> the other changes that were worked on adminer I don't really see as very useful
322[03:26] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
323[03:26] <mcrane> I will look at backing them out for now
324[03:26] <mcrane> as the other dev should make it work better before committing it
325[03:26] <Len_> or work :)
326[03:27] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
327[03:28] <mcrane> DigiDaz: did you find what change caused the problem?
328[03:31] <DigiDaz> mcrane: it looks like its the stuff done to index.php
329[03:32] <mcrane> okay I just updated Adminer to the latest version
330[03:37] *** jasonwert (~wert@198.167.245.16) joined
331[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
332[03:37] <mcrane> yep I saw it
333[03:37] <mcrane> fixing it now
334[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 :)
335[03:38] <mcrane> sweet
336[03:39] <DigiDaz> brb, bed
337[03:39] <mcrane> will keep working on it
338[03:40] <mcrane> my change failed but will get it fixed
339[03:40] <kismetg17> i'm here to continue testing mcrane .... I can confirm the same error
340[03:42] <mcrane> thanks
341[03:42] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
342[03:43] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
343[03:44] *** Lodperera1 (~Lodperera@ppp219-151.static.internode.on.net) joined
344[03:44] *** TylerP quit (Ping timeout: 276 seconds)
345[03:46] *** Lodperera quit (Ping timeout: 240 seconds)
346[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
347[03:47] <BigggRobbb> and then followed the rest of the instructions. Seems to be working
348[03:49] <BigggRobbb> I am afraid to use it, in case something isn't right with security
349[03:55] *** almostworking quit (Quit: Textual IRC Client: www.textualapp.com)
350[03:58] *** almostworking (~almostwor@unaffiliated/almostworking) joined
351[04:01] *** Scarthas quit (Quit: Connection closed for inactivity)
352[04:04] *** astan24 (~kvirc@206-248-138-147.dsl.teksavvy.com) joined
353[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
354[04:05] <mcrane> not loading right for me yet
355[04:05] <mcrane> showing numbers only for the labels
356[04:05] <mcrane> BigggRobbb: iptables -L
357[04:05] <mcrane> script installs it for you
358[04:10] <mcrane> looks like it was cached for me
359[04:15] <mcrane> kismetg17: update and try again
360[04:16] <mcrane> its working on my server now
361[04:17] <mcrane> with the latest version of adminer
362[04:27] *** miroesq quit (Ping timeout: 260 seconds)
363[04:30] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
364[04:34] <kismetg17> okay mcrane trying now
365[04:37] <kismetg17> okay mcrane , it works on for me one server
366[04:37] <kismetg17> I'm trying the others now, will advice shortly
367[04:38] <mcrane> Ok
368[04:41] <kismetg17> thanks
369[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
370[04:50] *** miroesq quit (Quit: No Ping reply in 180 seconds.)
371[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?
372[04:51] *** miroesq (~quassel@c-174-48-76-66.hsd1.fl.comcast.net) joined
373[05:02] *** [Echelon] quit (Read error: Connection reset by peer)
374[05:02] *** [Echelon] (~ryan@kimiko.fuzzyconcepts.net) joined
375[05:15] *** gr8liquor quit (Remote host closed the connection)
376[05:17] <neteng> anyone here run this behind an ASA with a 1 to 1 NAT?
377[05:24] *** astan24 quit (Ping timeout: 260 seconds)
378[05:25] *** gr8liquor (~christoph@ip68-228-203-174.ph.ph.cox.net) joined
379[05:33] *** r3ply` quit (Ping timeout: 260 seconds)
380[05:45] <BigggRobbb> mcrane: in iptables, would you include optional rules?
381[06:10] <Len_> im able to login to adminer now also mcrane
382[06:14] <thefinn93> is there anything special i need to do when transferring calls across domains?
383[06:14] <thefinn93> I'm trying to get 611 to route to me
384[06:15] <thefinn93> well, a ring group on my domain
385[06:15] <thefinn93> 611 globally on the PBX
386[06:15] <thefinn93> i tried transfer: 1251 XML <domain>
387[06:15] <thefinn93> (1251 is the ring group)
388[06:15] <thefinn93> and it works... sometimes
389[06:16] <thefinn93> other times it gives the caller a 404 error
390[06:16] <thefinn93> and the log indicates that it's only looking at the outbound routes for how to route it
391[06:21] <thefinn93> i have not yet been able to work out a pattern for when it does and doesn't work
392[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
393[06:23] <thefinn93> https://ncry.pt/p/KgCn#QVfhnWvj60dP3JQmf_3SKdpl7G2PMrFSXmzcZJRA_b0
394[06:36] *** CTvoip (~Thunderbi@197.106.250.161) joined
395[06:40] *** CTvoip quit (Ping timeout: 240 seconds)
396[06:41] *** totus quit (Quit: Leaving.)
397[06:44] <gr8liquor> thefinn93, I haven't tried it myself, but I've I seen Mark give the following hint.
398[06:45] <gr8liquor> "Calls to another domain is transfer to that domains context and maybe set domain_name and domain_uuid before the transfer"
399[06:45] <thefinn93> hrmmmm
400[06:45] <thefinn93> interesting
401[06:45] <thefinn93> will try
402[06:45] <thefinn93> thx
403[06:45] <gr8liquor> domain_name=otherdomainname domain_uuid=otherdomainuuid
404[06:46] <thefinn93> yeah
405[06:46] <thefinn93> action | set | domain_name=otherdomainname
406[06:46] <thefinn93> etc?
407[06:46] <gr8liquor> yes
408[06:46] <thefinn93> cool
409[06:47] <thefinn93> sometimes i find setting variables before a call transfer does things im not expecting, so i like to check
410[06:47] <thefinn93> or, rather, doesn't do something i am expecting usually
411[06:47] <gr8liquor> I know. sometimes it breaks things. :)
412[07:01] *** blackc2004 (~blackc200@66-191-42-226.static.snfr.nc.charter.com) joined
413[07:01] *** ss-citadel quit (Ping timeout: 260 seconds)
414[07:04] *** OpenSpace quit (Ping timeout: 258 seconds)
415[07:17] *** OpenSpace (~OpenSpace@109-93-146-223.dynamic.isp.telekom.rs) joined
416[07:49] *** smrdoshi (~samir@182.70.116.47) joined
417[07:56] *** smrdoshi quit (Read error: Connection reset by peer)
418[08:13] <wil_syd> With all sip profiles stopped what in Freeswitch/FusionPBX could still be listening on 5080?
419[08:15] *** bhavik6812 (~bhavik@182.70.116.47) joined
420[08:15] *** smrdoshi (~samir@182.70.116.47) joined
421[08:15] *** bhavik6812 changed nick to fs_rocks
422[08:18] <mcrane> wil_syd: disable the sip profile
423[08:18] <mcrane> Restart freeswitch
424[08:19] <mcrane> Or mod sofia
425[08:23] *** m6lpi quit (Ping timeout: 250 seconds)
426[08:23] *** mskenderian quit (Ping timeout: 250 seconds)
427[08:23] *** oblak quit (Ping timeout: 250 seconds)
428[08:23] *** mavroudis_ quit (Ping timeout: 272 seconds)
429[08:23] *** mcrane quit (Ping timeout: 272 seconds)
430[08:24] *** gtrott quit (Ping timeout: 272 seconds)
431[08:24] *** lorsungcu quit (Ping timeout: 260 seconds)
432[08:24] *** tfitts quit (Ping timeout: 260 seconds)
433[08:24] *** BigggRobbb quit (Ping timeout: 250 seconds)
434[08:25] *** eric9603 quit (Ping timeout: 272 seconds)
435[08:25] *** hacks quit (Ping timeout: 272 seconds)
436[08:25] *** iaoakes_ quit (Ping timeout: 272 seconds)
437[08:25] *** esamuels quit (Ping timeout: 260 seconds)
438[08:25] *** nivaldomjunior quit (Ping timeout: 272 seconds)
439[08:25] *** cords__ quit (Ping timeout: 272 seconds)
440[08:26] *** blackc2004 quit (Quit: Leaving.)
441[08:27] *** gtrott (sid78444@gateway/web/irccloud.com/x-ajnopqozenwistdw) joined
442[08:27] *** mavroudis_ (sid15231@gateway/web/irccloud.com/x-fwjnhyjukqskdwjq) joined
443[08:28] *** hacks (sid34209@gateway/web/irccloud.com/x-ldzsfemhrkyjfhhp) joined
444[08:29] *** tfitts (uid158900@gateway/web/irccloud.com/x-gyvxutkkwbxlpfsx) joined
445[08:30] *** m6lpi (sid19617@gateway/web/irccloud.com/x-bpctthpflbfttopm) joined
446[08:30] *** iaoakes_ (sid64782@gateway/web/irccloud.com/x-gmsovhrqylnjgbbn) joined
447[08:31] *** eric9603 (sid110845@gateway/web/irccloud.com/x-jpzihgjqcdahbsxu) joined
448[08:32] *** esamuels (sid35972@gateway/web/irccloud.com/x-lplngyqpqlpvynvw) joined
449[08:32] *** nivaldomjunior (sid98438@gateway/web/irccloud.com/x-gbnabsdovhfnqxhu) joined
450[08:33] *** lorsungcu (sid65806@gateway/web/irccloud.com/x-feaqhrxtzftsltbj) joined
451[08:33] *** mcrane (sid38959@gateway/web/irccloud.com/x-jfnevktfeugjauim) joined
452[08:33] *** mskenderian (uid158360@gateway/web/irccloud.com/x-xsbtzjaniqmoqgzn) joined
453[08:34] *** cords__ (sid101023@gateway/web/irccloud.com/x-qqjwmigeqvuhacfu) joined
454[08:34] *** oblak (sid64851@gateway/web/irccloud.com/x-elnjcijpwummrxbo) joined
455[08:36] *** BigggRobbb (sid163625@gateway/web/irccloud.com/x-fwbqrrugtyyilesc) joined
456[09:02] *** USoff (~usoff@91.222.112.154) joined
457[09:03] *** USoff quit (Remote host closed the connection)
458[09:03] *** USoff (~usoff@91.222.112.154) joined
459[09:06] *** BigggRobbb quit (Ping timeout: 272 seconds)
460[09:08] *** BigggRobbb (sid163625@gateway/web/irccloud.com/x-wwrxnnohqvxwfiah) joined
461[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?
462[09:24] *** kristiankarlsson (~kristiank@194.9.75.136) joined
463[09:33] *** OpenSpace quit (Ping timeout: 276 seconds)
464[09:35] *** Luffy_ (69e96a75@gateway/web/freenode/ip.105.233.106.117) joined
465[09:37] *** CTvoip (~Thunderbi@197.106.121.76) joined
466[09:45] *** OpenSpace (~OpenSpace@91-150-106-11.dynamic.isp.telekom.rs) joined
467[09:57] *** level7_ (~quassel@31.44.16.132) joined
468[09:57] *** level7 quit (Ping timeout: 276 seconds)
469[09:59] *** raspberrypifan quit (Remote host closed the connection)
470[09:59] *** raspberrypifan (~raspberry@2604:2000:6016:be00:6355:b61:14e7:dbba) joined
471[10:02] *** abnoy quit (Remote host closed the connection)
472[10:04] *** BillyNoNames (~BillyNoNa@178.156.5.27) joined
473[10:16] *** CTvoip quit (Ping timeout: 240 seconds)
474[10:21] *** Avenger07 (32443ef0@gateway/web/freenode/ip.50.68.62.240) joined
475[10:22] *** MafooUK (~MafooUK@5.80.93.15) joined
476[10:22] <MafooUK> Good Mornign Folks
477[10:25] *** Avenger07 quit (Ping timeout: 250 seconds)
478[10:29] *** smrdoshi quit (Ping timeout: 246 seconds)
479[10:29] <kristiankarlsson> Morning
480[10:31] *** smrdoshi (~samir@182.70.116.47) joined
481[10:44] *** Lodperera1 quit (Ping timeout: 240 seconds)
482[10:46] *** juned (~juned@202.131.119.122) joined
483[10:59] *** ghenry (~ghenry@pdpc/supporter/monthlybyte/ghenry) joined
484[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
485[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?
486[11:37] <kristiankarlsson> MafooUK, vultr?
487[11:37] <MafooUK> it is a VPS hosting provider
488[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
489[11:38] <kristiankarlsson> Ok, then i cant help you...
490[11:38] <MafooUK> np, thank you thou
491[11:39] <MafooUK> I coudl sign up for vultr but that is goign to cost me moneies to just run a one liner
492[11:40] <kristiankarlsson> Ok
493[11:46] <moteus> good morning
494[11:46] <MafooUK> Mornign moteus
495[11:46] <moteus> MafooUK, I see you had busy night :)
496[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
497[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
498[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
499[11:49] <MafooUK> moteus do you use irccloud?
500[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