IRC log for #asterisk on 20190802

08:40.10*** join/#asterisk infobot (ibot@c-174-52-60-165.hsd1.ut.comcast.net)
08:40.10*** topic/#asterisk is Take the March 2019 Asterisk User Survey! https://goo.gl/forms/xL1VUHRsf95saly13 -- #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.28.0 (2019/7/25) 16.5.0 (2019/7/25), Security Only: 15.7.3 (2019/7/11); DAHDI: 3.0.0 (2018/11/15); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22
09:09.39*** join/#asterisk techquila (~techquila@2407:7000:9125:e400:a453:6053:e9c0:bace)
09:44.56*** join/#asterisk wraythe (~wraythe@41.175.148.17)
09:48.06*** join/#asterisk wraythe (~wraythe@41.175.148.17)
09:51.45*** join/#asterisk Oatmeal (~Suzeanne@2600:8802:1500:66b:5157:6f8c:8ffe:6614)
09:58.53*** join/#asterisk forgotmynick (uid24625@gateway/web/irccloud.com/x-qathcstepynyqxui)
10:06.55*** join/#asterisk twanny796 (~user@antazzo.com)
10:11.09*** part/#asterisk twanny796 (~user@antazzo.com)
10:41.55*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
11:08.22*** join/#asterisk emsjessec (~emsjessec@96.56.225.51)
11:09.20*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
11:21.05*** join/#asterisk jazper- (~blah@pdpc/supporter/active/jazper)
11:24.37*** join/#asterisk Oatmeal (~Suzeanne@2600:8802:1500:66b:5157:6f8c:8ffe:6614)
12:34.10*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:54.52*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
13:04.34*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:50.39*** join/#asterisk lagzilla (lagzilla@2600:3c03::f03c:91ff:fe6e:5ed9)
13:55.24lagzillaI don't know all the terminology but is it possible to do something like exten => s,1,Page(SIP/${SIPACCOUNT}@{$SERVER}@members)
13:56.47fileto accomplish what?
13:59.49[TK]D-FenderYou pass Tech just like you would in a DIal
14:01.08SamotExcept that would be an improper Dial() string.
14:01.32SamotSIP/${EXTEN}@${SERVER}@members is invalid.
14:01.34lagzillaWe have a HA setup and currently the dial string is Local/',username,'@page-members2, So members on the 2nd server don't get called. So I'm trying to figure out how to have it as SIP/account@server
14:02.03SamotIf you have HA why would the members on the second server get called?
14:02.06SamotThat's not how HA works.
14:02.30lagzillasoory meant load balanced
14:02.38lagzillaand we're not using an SBC to manage it
14:02.46SamotThat's even worse.
14:03.11lagzillalol yeah but that's how it is
14:03.57SamotI'm pretty sure it doesn't have to be.
14:04.05SamotIt's an inadequate solution.
14:05.04lagzillaMaybe but I'm a junior employee I can't change anything I just need to make it work lol
14:05.19lagzillaThough I have no idea what I'm doing to begin with lol
14:05.44SamotWell that Page() string isn't going to work.
14:06.19lagzillayeah I'm trying to read around but I'm too dumb to figure it out lol
14:06.35lagzillawhat's the '@page-members2 part of the dial string called?
14:06.53SamotIt's the context.
14:07.34*** join/#asterisk yoavz (~yoavz@82.166.176.37)
14:07.47SamotLocal/100@page-members2 will  go to [page-members2] context looking for a match for 100
14:08.00SamotTo execute the dialplan.
14:08.14lagzillaCan I do that with SIP/account@IP
14:08.27SamotThat will dial out of the system
14:08.31SamotTo account@ip
14:09.26lagzillaCan I just do page(SIP/account@ip) then?
14:09.37SamotWhere is it going to go?
14:10.08lagzillaext 100,101,102 on server a, and 200,201,203 on server b
14:10.35SamotSo you have the routing setup on server b to accept these calls?
14:10.44SamotAnd then actually PAGE the devices at Server B?
14:10.55SamotYou can't do this just across servers like that
14:11.36SamotThis is why this is a poor setup solution for this.
14:11.46SamotYou really can't cross system somethings.
14:11.52SamotPaging is going to be one of them.
14:13.06[TK]D-FenderHe can't hit the peers direct, but if his dialplan is set for it the calls can go through right.
14:13.07lagzillaYeah it works for extensions/queues
14:13.14[TK]D-FenderBut the receiving end has to do everything extra
14:13.22[TK]D-FenderCAN hit*
14:13.25[TK]D-Fenderoops
14:13.33[TK]D-FenderI double misread that
14:13.38[TK]D-Fenderyeah, first was right
14:16.20SamotExcept it's a page.
14:16.37SamotSo now it has the Channel on PBX B and then another Channel for the device off PBX B.
14:16.42SamotWhat's answering that page?
14:16.49SamotHow is that going to get through?
14:16.55SamotAre there Auto Answer headers?
14:16.59[TK]D-FenderThat'ws up to the dialplan on the server clearly
14:17.06SamotSee there is a lot to go through for this.
14:17.07[TK]D-Fenderbut nothing has to implicitly get in the way
14:17.16SamotWhat about the Auto Answer headers?!
14:17.31SamotHow do those go from PBX A to PBX B to the device?
14:17.34[TK]D-Fenderas I said if he wan't that its on B's dialplan for handling it
14:17.49SamotHow about load balancing a PBX between two system is a bad idea.
14:17.59SamotWhere User A can end up on either PBX
14:18.06Samotwhile User B can also end up on either PBX
14:18.16[TK]D-FenderThat's another matter your experience can cover..
14:18.23[TK]D-Fenderthe basic page is possible if he controls it all
14:18.32SamotI know.
14:18.39SamotIt's all the extra BS work to make it happen.
14:18.41[TK]D-FenderHis other complications you've chimed in on already...
14:18.42SamotJust like anything else.
14:19.12lagzillaIt looks like I can jam in exten => *,1,SIPAddHeader(Call-Info: <sip:10.1.1.171>\;answer-after=0)
14:19.31Samotlagzilla: Where are you jamming that in?
14:19.57lagzillain the [page] context in my dialplan
14:20.04lagzillaGoing off of https://www.voip-info.org/asterisk-howto-dial-plan/
14:20.05SamotOn PBX A?
14:20.10lagzillayeah
14:20.12SamotOK
14:20.18SamotSo how will PBX B know about it?
14:20.20[TK]D-Fenderthat has to be on B for those calls
14:20.27SamotThat was my original question.
14:20.28lagzillaoh
14:20.41SamotYou have to do all this again on PBX B
14:20.42[TK]D-Fenderit doesn'tmagically carry on when B gets the call and dials out again
14:21.02lagzillaOh I would of thought the SIP header just get's passed along
14:21.09lagzillaguess I'm wrong
14:21.10Samotlagzilla: All your users should be on the same system.
14:21.20SamotThey should not be split between the two
14:21.37*** join/#asterisk NWATechSupport (~NWARSciGu@wsip-72-204-193-12.ks.ks.cox.net)
14:22.31lagzillaI'm not management though I can't change what's in place regardless of being a bad setup, from everything I've read we should be handling this tough a load balancer but it seems that wasn't the solution implemented.
14:22.43SamotEven then that's still not the answer.
14:22.48SamotWhat are you load balancing?
14:22.55SamotHow many users are on this system?
14:23.09lagzilla300ish
14:23.16SamotFor a single company?
14:23.22lagzillayeah
14:23.37SamotWell this is the wrong solution.
14:23.46SamotAnd it's going to make supporting it more of a job than it needs to be.
14:23.54*** join/#asterisk kharwell (uid358942@gateway/web/irccloud.com/x-szssuvqqiuhzambo)
14:23.54*** mode/#asterisk [+o kharwell] by ChanServ
14:24.00SamotIt's going to raise more support problems than it's solving.
14:24.09lagzillalol justifies my paycheck I guess
14:24.24SamotProblems that are beyond your scope.
14:25.04lagzillaAnd my knowledge base *cries*
14:27.17SamotSo the bosses want you to solve this issue but at the same time you're saying you can't change what is being done...
14:27.30SamotWhat is solving the issue requires changes to what is currently in place?
14:27.39SamotWhat then?
14:27.40lagzillaThey want it solved while maintaining the current deployment
14:27.53SamotThen they need to step back and look at it overall.
14:28.04SamotBecause the communications between the two systems needs to be addressed.
14:28.23SamotThings like Paging, Parking, Conferences, Queues...
14:28.31SamotThose are things that really can't be a "shared systems" like this.
14:29.28lagzillaMost of those work somehow, it's just paging and remote pickup that are broken
14:29.43SamotWhat remote pickup?
14:29.59SamotYou mean someone on  PBX B getting the page from PBX A?
14:30.05lagzillaWe have like **exten and you can pickup a ringing ext
14:30.16SamotCall Pickup isn't going to work either.
14:30.21SamotBecause you have calls on TWO SYSTEMS.
14:30.36SamotYou can't Call Pickup a call from PBX A on PBX B.
14:30.40SamotJust not going to happen.
14:31.36SamotPBX A and PBX B have no clue on each others calls.
14:31.41SamotChannels or anything.
14:31.55SamotEverything is based on the channels in the PBX.
14:32.25SamotThis deployment setup is causing these issues.
14:32.37SamotThese are all issues that exist due to this setup.
14:32.38lagzillaThat's all in the DB which is usually how we manage channels in exten.conf
14:32.46SamotThat doesn't matter.
14:32.46*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-mdihfcqsldinkuoh)
14:32.46*** mode/#asterisk [+o bford] by ChanServ
14:33.00SamotPBX B would need to know the channel on PBX A to pick it up.
14:33.16SamotAnd even then, that still might not work.
14:33.56SamotBecause user on PBX B will do a Pickup, that will dial PBX B then it has to dial PBX A to get to it and then grab that channel.
14:34.01SamotIt's a complete mess.
14:35.56SamotYou cannot treat load balancing in SIP the same way your do with HTTP/S or other TCP based services.
15:51.11*** join/#asterisk Oatmeal (~Suzeanne@2600:8802:1500:66b:5157:6f8c:8ffe:6614)
16:12.03craigifyI designed a multi tenant PBX system in Asterisk and NodeJS for a company where I am the CTO. We have different classes of Asterisk servers. The customer facing SIP servers that interact with SIP in the field do minimal internal call logic.  For every call placed to a customer SIP server, it immediately sends that call to an internal cluster of PBX systems, which then determines what to do. If it sends it to the PSTN, it goes to another
16:12.03craigifycluster of PSTN connected Asterisk. If it goes to another SIP device, it determines what customer SIP server that device is registered to first, then goes back to the SIP server, then to the SIP device
16:13.08craigifyno out of the box PBX would do it, and just taking one and trying to load balance it probably would be equal amount of work, I'd wager a guess.
16:13.18craigifyJust some insight on what it takes to do something like that, is all
16:13.48SamotWell that is a completely different scenario.
16:14.01SamotThis is a company with 300 users and they're load balancing between two PBX systems.
16:14.51SamotIn your scenario, using Asterisk as switches/gateways like that isn't the best option either.
16:15.01SamotThat's where actual switches/SBCs would be used.
16:31.30avbhey guys. in case if you receive inbound call, and then you want to forward call to another phone number, how would you create 2 separate cdrs for those calls?
16:32.02avbi have tried forkcdrs but for some reasons im getting 2 cdrs with the same record data
16:39.50SamotThere will already be separate CDRs.
16:40.10SamotInbound Call --> Asterisk <<< Generates CDRs for what that calls does.
16:40.30SamotAsterisk --> Fwd Number <<< Generates CDRs for that that call does.
16:45.05avb(facepalm)
16:45.08avbim working too much
16:45.20avbyou are correct
16:45.31SamotWell it's still up to you to mark that call properly.
16:45.41SamotAsterisk doesn't really have a concept of "call forwarding"
16:45.54SamotYour inbound call is going to hit the PBX.
16:46.17SamotYou are going to decide then if you're calling the endpoint or "call forwarding" the call.
16:46.51SamotIf you call the endpoint first, then that Dial() is the call.
16:47.14SamotIf it's CFU, then a NO ANSWER is just going to tell Asterisk to Dial() again.
16:47.29SamotBased on your dialplan. So it's two separate calls overall.
16:48.04SamotSo now you'll need something to link the CDRs for the inbound call, then call to the endpoint and then then call to the CF destination.
16:48.23Samotthen=the
16:53.33*** join/#asterisk miralin (~Thunderbi@81.177.58.137)
16:54.22avbstill beautiful
16:54.27avbuniqueid is the same
16:54.32avbdst is the same
16:54.56avbif I will call Set(CDR(xyz)=123) it will update both records
16:56.57SamotYeah, I just use the initial From Tag for that.
16:57.02SamotSame concept.
17:27.38*** join/#asterisk Iamnacho (~Iamnacho@ip68-103-241-155.ks.ok.cox.net)
17:32.39*** join/#asterisk salviadud (~rgonzalez@187-162-213-198.static.axtel.net)
18:07.31*** join/#asterisk Oatmeal (~Suzeanne@2600:8802:1500:66b:5157:6f8c:8ffe:6614)
18:10.57avbthis is not even fun :)
18:11.13avbi wonder how that happend that i never saw this problem before
18:14.09*** join/#asterisk salviadud (~ralfalfa@187-162-213-198.static.axtel.net)
18:17.42*** join/#asterisk salviadud (~ralfalfa@187-162-213-198.static.axtel.net)
19:28.11*** join/#asterisk Oatmeal (~Suzeanne@2600:8802:1500:66b:5157:6f8c:8ffe:6614)
20:26.34*** join/#asterisk miralin (~Thunderbi@81.177.58.137)
20:30.54*** join/#asterisk salviadud (~ralfalfa@187-162-213-198.static.axtel.net)
20:33.17*** join/#asterisk salviadud (~ralfalfa@187-162-213-198.static.axtel.net)
20:43.25*** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
20:49.46*** join/#asterisk lbazan (~lbazan@fedora/LoKoMurdoK)
20:54.19*** join/#asterisk jmordica (6b4deb47@mobile-107-77-235-71.mobile.att.net)
20:56.47jmordicaHi all. Asterisk 16. What are some ways to optimize queues for more performance on
20:56.50jmordicahigh volume systems? Besides simultaneous ringing.
21:09.24*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
21:35.25*** join/#asterisk spatel (~spatel@static-71-174-102-210.bstnma.fios.verizon.net)
21:39.42*** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye)
22:09.32*** join/#asterisk pchero_work (~pchero@dhcp-077-249-058-090.chello.nl)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.