IRC log for #asterisk on 20200522

00:26.49*** join/#asterisk cp- (~cp-@b157153.ppp.asahi-net.or.jp)
00:32.28*** join/#asterisk gavlee (~gav@unaffiliated/gavlee)
00:34.03*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
01:14.34*** join/#asterisk robink (~quassel@unaffilated/robink)
01:34.58*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
03:20.08*** join/#asterisk joako_ (~joako@opensuse/member/joak0)
04:03.48*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
04:59.51*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:05.05*** join/#asterisk matrix1233 (~matrix123@78.250.197.172)
05:18.09*** join/#asterisk Corydon76 (~quassel@96.69.98.139)
05:18.09*** mode/#asterisk [+o Corydon76] by ChanServ
05:19.59*** join/#asterisk pchero (~pchero@2a02:a210:2241:6480:a1ec:c26e:cf2a:8872)
05:40.34*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
06:00.50*** join/#asterisk FH_thecat (~FH_thecat@75.11.25.212.ftth.as8758.net)
06:12.20*** join/#asterisk miralin (~Thunderbi@195.209.246.194)
06:28.19*** join/#asterisk tsal (~tsal@i59F4A0F4.versanet.de)
06:39.08*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
06:43.25*** join/#asterisk nickvsnetworking (~nickvsnet@203.176.184.10)
06:49.29*** join/#asterisk Corydon76 (~quassel@96.69.98.139)
06:49.29*** mode/#asterisk [+o Corydon76] by ChanServ
07:33.16*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
07:34.10*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:b1cd:db87:eb86:5d37)
07:38.11*** join/#asterisk opal (~wowaname@volatile/founder/wowaname)
07:40.56*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
07:45.47*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:b1cd:db87:eb86:5d37)
07:45.56*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)
08:48.00*** join/#asterisk [NC] (~NC@208.94.241.140)
09:11.30*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:07.47*** join/#asterisk nickvsnetworking (~nickvsnet@103.31.113.82)
10:39.29*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
10:53.48*** join/#asterisk joako (~joako@opensuse/member/joak0)
10:54.05*** join/#asterisk forgotmynick (uid24625@gateway/web/irccloud.com/x-ijkyhdhljbzucspp)
11:25.33*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
11:42.10*** join/#asterisk jkroon (~jkroon@165.16.203.102)
11:51.52*** join/#asterisk netman (~netman@185.94.249.222)
12:01.21*** join/#asterisk jkroon (~jkroon@165.16.203.102)
12:10.14*** join/#asterisk dacod (~dacod@191.243.8.184)
12:17.32*** join/#asterisk matrix1233 (~matrix123@78.250.206.209)
12:55.59*** join/#asterisk thansen (~thansen@192.74.130.86)
12:58.02*** join/#asterisk tafa2 (~tafa2@185.115.101.208)
13:14.14*** join/#asterisk guerby (~guerby@april/board/guerby)
13:19.58*** join/#asterisk waldo323 (~waldo323@d149-67-45-83.clv.wideopenwest.com)
13:21.12*** join/#asterisk waldo323_ (~waldo323@12.239.4.120)
13:21.35*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
13:37.42*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:b1cd:db87:eb86:5d37)
13:41.56*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
13:51.20*** join/#asterisk chandoo (~chandoo@pool-100-1-166-161.nwrknj.fios.verizon.net)
14:03.25*** join/#asterisk lbazan (~lbazan@fedora/LoKoMurdoK)
14:13.24*** join/#asterisk irrgit (~ch33se@192.241.175.183)
14:31.11*** join/#asterisk adeel (~adeel@2602:ffc1:1:face:5d27:7f86:dea5:6ec4)
14:45.04*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
14:47.10*** join/#asterisk irrgit (~ch33se@192.241.175.183)
14:59.35*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:b1cd:db87:eb86:5d37)
15:24.26*** join/#asterisk pchero_work (~pchero@2a02:a210:2241:6480:b1cd:db87:eb86:5d37)
15:25.12*** join/#asterisk hfb (~hfb@47.139.18.84)
15:26.21*** join/#asterisk DannyA (~DannyA@cpe-74-64-125-9.nyc.res.rr.com)
15:26.41DannyAhey all.  how do i define a variable in pjsip.conf and use that value in the various sections?
15:26.49DannyAlike, im using the same IP address value over and over
15:37.21adeelDannyA: pretty sure that's not possible
15:37.56adeelDannyA: actually, sorry, i mis read that...i think you want the templates feature of pjsip
15:38.18sibiriayou can apply templates to your stanzas
15:38.32sibiriait's not the same as macro variables, but it works for a lot of things
15:39.43sibiriaif you absolutely need or prefer variables of that kind, consider doing it through your deployment process instead
15:40.33sibiriae.g. ansible/octopus/puppet/etc.
15:45.02*** join/#asterisk sa02irc (~mbax@155-079-043-212.ip-addr.inexio.net)
16:08.08*** join/#asterisk AviationAtom (a2f8ea02@162.248.234.2)
16:08.52AviationAtomWhat would be the best process to account for differences in dialing requirements for two different SIP trunk providers?
16:09.05AviationAtomTwo different contexts and two different sets of dialplans?
16:13.22sibiriawithout knowing more of your problem, if it's just about the dialing requirement, i'd keep different contexts for each trunk but with identical interface (i.e. you mainly feed them the recipient number you want to dial)
16:14.45AviationAtomIt's that one provider requires a country code (1-XXX-XXX-XXXX) be prefixed on the number passed to the trunk, while the other needs a country code not prefixed (XXX-XXX-XXX)
16:15.12jsmithAviationAtom: It could be done with contexts, or it could be done with GOSUBS.
16:15.20jsmithAviationAtom: There are a lot of ways to skin that particular cat
16:15.33sibiriayes and you probably want to keep a single uniform format in your application, so you do what i say and let each context manage the difference
16:15.57AviationAtomWhat would one search for in documentation to find how to go about that? As my Googling was coming up with non-related cases
16:16.08sibiriawhether it's about the country prefix, or that some trunk wants "+e.164" and another wants regular e.164 etc.
16:17.43jsmithAviationAtom: I'm not sure that's documented anywhere...
16:20.45AviationAtomOof. How can I go about learning the process to get it functional?
16:21.43drmessanoAll you're doing is manipulation of the dialed number.  I don't think you're going to find it spelled out every specific way
16:22.34drmessanohttps://lastcallmedia.com/blog/asterisk-dial-plan-adding-prefixes-dialed-numbers
16:26.04AviationAtomWould it be possible to have the dialplan evaluate a variable to see whether a country code should be prefixed or not, based on the value of the variable? i.e. provider=1 means the dialplan uses no countrycode to dial, but if provider=2 then it adds the country code prefix?
16:26.32drmessanoOf course
16:34.12*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
16:39.43SamotAviationAtom: What dictates which provider a call routes to?
16:40.18AviationAtomIt's just wanting to have a manual failover, so no condition other than making the call to failover to it
16:40.46AviationAtomBut having that process be as simple as possible, with as little replication of configuration as possible
16:40.50SamotAnd how is this manual failover done?
16:40.58SamotDo you have two trunks setup?
16:41.40AviationAtomI'm thinking have both providers configured in the sip.conf, then just change a single variable to say start using provider A, instead of provider B
16:42.20AviationAtomThe only issue comes down to provider A requiring a country code prefix to complete the dialing, with provider B needing a country code not used
16:42.27SamotWell if provider B is only backup then you have it Dial() provider A, if it comes back with a status that requires failover, you send it to the next trunk.
16:42.33SamotIt's not that hard.
16:42.40SamotHow are you making your users dial?
16:43.09SamotDo they need to dial 10 or 11 digits?
16:43.53AviationAtomThe dialplan accounts for call combination of users dialing 011, 1, 9, 7-digit dialing, 10-digit dialing, etc, it just needs to do the actual dialing with the proper country code appended, or just the 10-digit number
16:44.02*** join/#asterisk samwierema (~samwierem@195.240.143.134)
16:44.05SamotWAit.
16:44.12AviationAtom(provider dependent)
16:44.18SamotIf they do 7, how do you get the area code in there?
16:44.45AviationAtomThe dialing plans all format the dialed number to include it
16:45.04AviationAtomThe wild card is the two providers requiring different dialing, either with or without country code
16:45.06SamotOK so you're already matching and manipluating varables.
16:45.11AviationAtomYep
17:00.36SamotSo this is an extension of that.
17:00.56SamotLike I said, if provider B is the backup, you do all your setup for Provider A.
17:01.41SamotSo if A requires 11 digits, you send them 11 digits. If the dialstatus comes back as an error or something that warrants failing over, you send the call out Provider B by stripping the 1
17:15.33AviationAtomSounds good. Thanks for the insight.
17:27.52*** join/#asterisk samwierema (~samwierem@195.240.143.134)
17:33.06*** join/#asterisk matrix1233 (~matrix123@78.250.200.15)
17:40.43*** join/#asterisk samwierema (~samwierem@195.240.143.134)
17:50.07*** join/#asterisk joako (~joako@opensuse/member/joak0)
17:55.03*** part/#asterisk AviationAtom (a2f8ea02@162.248.234.2)
17:57.55*** join/#asterisk gavlee_ (~gav@unaffiliated/gavlee)
18:04.44igcewielingheh, the sales rep for one of our carriers has a last name of Profita, great name for a sales rep.
18:21.19*** join/#asterisk hfb (~hfb@47.139.18.84)
18:23.51*** join/#asterisk defsdoor (~Andrew@cpc120600-sutt6-2-0-cust232.19-1.cable.virginm.net)
18:40.27*** join/#asterisk mahlon (~mahlon@martini.nu)
18:41.06*** join/#asterisk Ecco (~user@unaffiliated/ecco)
18:41.30EccoHi everyone:) I'd like some advice on VoIP provider. Do you know which channel I may ask my question on?
18:44.20igcewielingI use vitelity.net for personal numbers.
18:44.32jsmithFeel free to ask in this channel -- but remember, opinions about VoIP providers are like belly-buttons.  Everyone has at least one :-)
18:44.56jsmithI mainly use SIPStation (but I'm obviously biased, as I'm employed by Sangoma)
18:45.38jsmithEcco: It might be helpful to let us know what part of the world you're in, and whether you're more interested in per-minute pricing, or "all you can eat" style pricing...
18:58.37*** join/#asterisk robink (~quassel@unaffilated/robink)
19:11.41*** join/#asterisk waldo323__ (~waldo323@d149-67-45-83.clv.wideopenwest.com)
19:17.39*** join/#asterisk mahlon (~mahlon@martini.nu)
19:18.42*** join/#asterisk retentiveboy (~retentive@c-73-43-121-243.hsd1.ga.comcast.net)
20:07.35EccoGreat :) So I'm in western Europe. I'd rather have an "all you can eat" price, but in practice I won't call that much. Also I would like to have local phone numbers in a few countries (namely, Italy, Portugal, US, and Netherland)
20:08.42igcewielingvitelity.net has DID/DDI numbers in many countries.
20:12.12EccoWhat's the difference between DID an DDI?
20:14.03EccoI'm browsing vitelity.net, and I can't find their prices nor the countries they support
20:16.37drmessanoDID is the same thing as a DDI
20:17.10Eccook :)
20:17.56igcewielingdifferent terms for the same thing.
20:20.59Eccofor some reason vitelity/voyant doesn't have any publicly available info on their prices or numbers
20:22.37EccoI just tried to call them but nobody was available
20:23.35sibiriaSinch (sinch.com) serves most of Europe with good rates
20:23.43SamotBecause they are not a consumer level provider.
20:23.47sibiriathey always publish up-to-date reach and pricing
20:26.44Eccook :)
20:27.30igcewielingEcco: what country?
20:27.47SamotEco: I'm not sure what the conversion will be in your part of the world but Vitelity is like $0.014 for US if you're not wholesale.
20:27.58SamotEcco: ^^
20:28.50Eccook :)
20:29.11EccoSinch don't seem to offer numbers in Portugal
20:29.17igcewielingNetherlands / Amsterdam ($?) 7.50/month, unlimited, 2 channels
20:30.01EccoOr italy, too
20:30.24Eccoigcewieling: with which provider?
20:31.04igcewielingneither does vitelity.   That means to me, the local telecom isn't unregulated enough to be open to other carriers.
20:31.10igcewielingEcco: vitelity
20:31.24Eccook :)
20:31.35EccoI've found one online called Zadarma
20:31.43EccoSupposedly they do have numbers in Portugal
20:31.53Eccobut their website looks… I don't know… weird
20:31.55drmessanoSounds legit
20:32.14EccoHave you guys ever heard of them / used them?
20:32.45drmessanoNope
20:33.06igcewielinghere is vitelitys list, without pricing https://pastebin.com/C0h0cYxF  it will auto-delete in a week.
20:33.17Eccothanks igcewieling
20:33.35SamotI found it. http://angelfire.com/~zadarma
20:33.55EccoSamot: I don't get it :)
20:34.02drmessanorofl
20:34.06EccoWhat's the deal with zadarma? Is it like a known scam?
20:34.06SamotThen you're not old enough.
20:34.10igcewielingA real company has their own domain.
20:34.26Eccowell they do? zadarma
20:34.30Eccohttps://zadarma.com/en/
20:34.52drmessanoPortgual pricing should be nearly the same as Spain, since Portugal is "Spain Lite"
20:34.57Ecco:-D
20:35.06EccoYeah, actually I'm not going to call that much anyway
20:35.16EccoI'm more concerned about the availability of a local phone number
20:35.23Eccowhich apparently few providers offer
20:35.31EccoTwilio only has national phone numbers for Portugal
20:35.42drmessanoThat should say it all
20:35.46Ecco(which portuguese people really dislike)
20:36.02drmessanoDo you have a relative there
20:36.16Eccoactually yes. Why?
20:36.20drmessanoMaybe get a copper line, put an ATA on it.  Unless they chop your hands off for doing so
20:36.56drmessanoSome countries are hand choppers, so be careful
20:37.01Ecco:-D
20:37.14EccoWell, it's Portugal, not UAE
20:37.27drmessanoHey
20:37.28EccoI'm pretty sure *some* provider should offer local VoIP numbers
20:38.02drmessanoJust because Dubai, Vietnam, and Tunisia chop off hands for illegal phone stuff, doesn't make them savages
20:38.12drmessanoDon't judge
20:38.17Samothttps://miro.medium.com/max/1190/1*0UcPEJrnK35bFMVrC4Pm9A.png
20:39.02drmessanoThank god those countries implemented touch tone dial
20:39.11drmessanoRotary dial is rough with just a stub
20:41.21SamotThat's what a pencil is for.
20:41.32SamotMulti-use.
20:41.46SamotDial a rotary phone, re-spool your cassette.
20:42.00EccoThose guys for example : https://www.avoxi.com/portugal-virtual-phone-numbers/
20:49.32EccoI just figured AWS offered SIP trunking
20:49.32Eccohttps://aws.amazon.com/chime/pricing/#Voice_Connector
20:51.39EccoThey only offer US phone numbers apparently though
20:54.08drmessanoSamot: Grab a pencil with a stump after getting your hands chopped off.  I dare you.
20:54.27SamotDude, mouth.
20:54.40SamotHaven't you watched old movies and TV shows
20:55.02SamotBound up in the chair, get the phone off hook, get pencil in mouth, make the big circle for the 0
20:56.10sibiriaEcco: avoid Avoxi
20:57.07drmessanoDon't be an Avoxi Moron
20:57.11drmessanoGet it
20:57.19sibiriawe tried them for a couple of destinations some time ago, and it was overall a lengthy back-and-forth type of mess to get their trunks to work and even dial, and when they did dial caller id was broken, and inward dial was broken, and they only supported g.729 which should be avoided like the plague
20:57.36drmessanoOnly supported G.729?
20:57.40drmessanoSOUNDS LEGIT TO ME
20:57.52drmessanoNot shady AT ALL....
20:58.00sibiriaand when we decided to just leave them we were met by a barrage of attempts over e-mail to get us back with various offers and to give feedback on what was not right etc.
20:58.10drmessanoWas the sales guy named "Lanny"?
20:58.51sibiriapossibly one of them were, we here handed over from one to the other regularly :P
21:05.31sibiriadrmessano: what's shady about just using g.729?
21:05.44sibiriai avoid it because of how shit it sounds and how CPU hungry it is to encode
21:06.06sibiriathe bandwidth saving is just not worth it, in any volume
21:06.27sibiriai guess there's a notable license fee involved, probably still patended?
21:06.30sibiriapatented*
21:06.56drmessanoIf a provider doesn't offer ulaw or alaw and only G.729, the only reason would be bandwidth, which means reducing costs, which means 2005 mentality, which means probably some basement ITSP
21:07.29sibiriayeah that's sort of the impression i got
21:07.43sibiriaskimping on bandwidth usage just to squeeze every possible penny out of the business model
21:07.46sibiriabad mentality
21:24.22*** join/#asterisk verzo (~verzo@gateway/tor-sasl/verzo)
21:33.22Eccosibiria: ok :)
21:34.09*** join/#asterisk retentiveboy (~retentive@c-73-43-121-243.hsd1.ga.comcast.net)
21:34.34Eccosibiria: Any alternative provider you may want to suggest?
21:34.54sibiriawe're pleased with Sinch
21:34.59sibiriafor the european market
22:01.40*** join/#asterisk nickvsnetworking (~nickvsnet@103.31.113.82)
22:28.09*** join/#asterisk mahlon (~mahlon@martini.nu)
22:44.38*** join/#asterisk lbazan (~lbazan@fedora/LoKoMurdoK)
23:04.19*** join/#asterisk Janos (~Janos@201.204.94.76)
23:12.17*** join/#asterisk lambda (~xiretza@mail.xiretza.xyz)
23:57.24*** join/#asterisk drathir_tor (~drathir@gateway/tor-sasl/drathir)

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