IRC log for #asterisk on 20170724

00:04.00darkunderlord_isn't the PJSIP stuff the "right" way to do it?
00:04.41fileit's a way, whether it is right or not depends on the situation and deployment
00:04.46drmessanoI don't see how the XMPP way is "old and clunky"
00:07.19[TK]D-FenderPJSIP just offered another way
00:07.29[TK]D-FenderAnd didn't exist until * 12
00:08.59[TK]D-Fender(chan_pjsip that is)
00:10.09darkunderlord_if XMPP isn't considered old, I'll try that. I just want to be as future proof as possible
00:11.17[TK]D-FenderOr you could try doing it properly with JPSIP
00:11.19[TK]D-Fenderyour choice
00:11.45drmessano.....
00:11.49[TK]D-FenderFeel free to describe what makes one method more future-proof than the other....
00:12.01drmessanoI don't understand the "old" metric
00:12.19[TK]D-Fenderdrmessano, Sorry, we're devoid of qualifiers here ;)
00:12.22drmessanoAsterisk is basically "old"
00:12.40lorsungcudarkunderlord_: has anything you've done *worked*?
00:12.42fileyou can also add an anonymous endpoint and do it like you were doing with chan_sip
00:13.28drmessano"old" > "not worked"
00:15.22lorsungcusounds to me like old = widely aopted.
00:15.51lorsungcudrmessano: dream something up that uses node. thats what hes afte.r
00:16.02drmessanoOh
00:16.05drmessanoWell
00:16.18drmessanoHe could use notify.js
00:16.32drmessanoIt just takes 3 days to compile
00:16.36lorsungcuok perfect
00:16.44darkunderlord_well chan_sip was around for quite a while. Now it's not the standard going forward. Some things are only community supported and others are digium supported.
00:16.50darkunderlord_So I'm thinking in that realm
00:17.11drmessanoWrong realm
00:17.18drmessanoLets be honest
00:17.27darkunderlord_I don't think so.
00:17.36drmessanoIf you deployed a new server today with chan_sip
00:17.43drmessanono PJSIP at all
00:17.47drmessanoYour phones would work
00:17.50drmessanoin 5 years
00:17.54drmessanoYour phones would work
00:18.00drmessanoThere is no OS rot
00:18.06[TK]D-Fenderdarkunderlord_, Ok, even on that premise : my tell us between XMPP & PJSIP, which one is it?
00:18.08drmessanoThis is purely FOMO
00:18.20drmessanoor plain old FOTO
00:18.27drmessanoSorry
00:18.30drmessanoFOTU
00:18.52darkunderlord_have you ever purchased a digium support contract?
00:18.59darkunderlord_it does make a difference
00:19.00[TK]D-Fenderdarkunderlord_, Which is on the chopping block?
00:19.08drmessanoNever needed to.. I support my own boxes
00:19.17darkunderlord_lol.
00:19.39drmessanoMaybe you should just buy a SwitcVOX
00:19.44lorsungcudarkunderlord_: that is quite a change from "thats old" to "digium wont support it"
00:19.46drmessanoMaybe you should just buy a SwitchVOX
00:19.51darkunderlord_I typica,ly do to, but if you ask file about these kinds of things even he will tell you to stick to certain things
00:19.55darkunderlord_OMG, seriously?
00:20.05darkunderlord_F' switchvox
00:20.07lorsungcucall digium, ask what is best supported, or will be for the longest
00:20.08lorsungcugo with that
00:20.10drmessanoYeah or a nice Grandstream appliance
00:20.11darkunderlord_I've been using asterisk since v1
00:20.13lorsungcuasking on IRC will get you precisely this
00:20.24drmessanoGrandstream makes a nice PBX
00:20.25[TK]D-Fender<[TK]D-Fender> darkunderlord_, Ok, even on that premise : my tell us between XMPP & PJSIP, which one is it?
00:20.27darkunderlord_if you don't wan tto help someone, dont' do to linux forums or irc
00:20.31[TK]D-Fender<[TK]D-Fender> darkunderlord_, Which is on the chopping block?
00:20.33[TK]D-Fenderwell?
00:20.53darkunderlord_I'd rather do what the newer way is, because it'll be around longer most likely
00:21.09darkunderlord_and I'm using realtime, so if that helps with PJSIP, I'd rather control it in my code from the DB
00:21.10drmessanodarkunderlord_: "lack of desire to help" != "demanding rational thought"
00:21.26[TK]D-Fenderdarkunderlord_, You also don't want help.  We've kinda established that already
00:21.35darkunderlord_lol
00:21.41darkunderlord_I'll see you guys at astricon, yet again
00:22.04drmessanoNo you won't
00:22.32drmessanoI'll be busy working.. Don't have time to rub elbows and brag about what I know
00:22.33[TK]D-Fenderditto
00:22.33darkunderlord_If you aren't helping, then I'll just keep banging my head.
00:22.38darkunderlord_hahahahaha
00:22.44[TK]D-Fender[TK]D-Fender> darkunderlord_, You also don't want help.  We've kinda established that already <-
00:23.14darkunderlord_Fender, you've been a dick most of the day to anyone who needs help in here. Not just to me
00:23.23[TK]D-Fenderdarkunderlord_, Not here
00:23.28[TK]D-FenderAnd "oh please"
00:23.29drmessanolol
00:23.30darkunderlord_agreed
00:23.40[TK]D-FenderI've had my time wasted by mororn who won't ready what you tell them 5 times
00:23.45[TK]D-Fenderand can't follow instructions.
00:23.54[TK]D-FenderI am in no way an outright "dick".
00:24.06darkunderlord_you're just another RTFM guy. I've been doign that for years
00:24.07lorsungcuhe's actually very cuddly
00:24.08[TK]D-FenderI've been ticked off for people wasting my time, nothig more
00:24.17darkunderlord_Noone makes you hang out here
00:24.32darkunderlord_I'm only here because I need help
00:24.51[TK]D-Fenderdarkunderlord_, Ok, fine.  You showed NO debug.  You showed no configs. y ou asked NO details on how any of it wasa supposed to work.  You asked NOTHING about getting your shit to work
00:24.59[TK]D-FenderYOU DIDN'T GIVE ANYTHING FOR US TO HELP YOU WITH
00:25.00*** join/#asterisk bhans (~bhans@unaffiliated/bhans)
00:25.02drmessanoJust that it cant be "old"
00:25.12[TK]D-FenderSSo if you don't SHOW somethting and don't ask.. then you clearly don't want help[
00:25.38[TK]D-Fenderdarkunderlord_> I'm only here because I need help <- Where's something to LOOK at to help you?  You never gave anything
00:25.41[TK]D-FenderSo don't go bitching
00:25.43drmessanodarkunderlord_: Also, the channel is logged.. feel free to review TK's 12+ years of IRC help.  You're kind making this personal and speaking out of your ass
00:25.51drmessanokinda*
00:26.20drmessanoNo reason to pick a fight because your plans are being questioned
00:26.59[TK]D-FenderThen you topic jumped on the fact you missed tha page offering alternative.  Said it didn't.  I confirmed otherwise, then you complained about other methods being old once I proved they were even there when you didn't see them yourself
00:27.18drmessano"I want BLF/hints between servers and it cant be some old shit" <--- Thats all we know
00:27.31[TK]D-FenderIf you wanted help you'd have shown us what was failing.
00:27.35drmessanoand a whole bunch of "hahahahhaha"
00:27.57[TK]D-FenderSaying what you want to accomplish != asking for and providing something to be helped WITH
00:28.40drmessanoIf you have a Digium support contract, maybe contact them and ask them what solution will be supported in 5 years
00:28.57drmessanoBecause we're just a bunch of dumbasses that use what is available
00:29.03[TK]D-Fenderreloads res_psychic.so
00:29.12*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
00:29.19[TK]D-FenderThat sucker has been mothballed for ages!
00:33.01drmessanoI guess also going to Astricon makes you more authoritative on all things Asterisk.
00:33.39[TK]D-Fenderno, it doesn't
00:33.39drmessanoThat is some serious entitlement
00:33.45[TK]D-FenderI've NEVER been
00:33.49[TK]D-FenderI can read docs
00:33.52[TK]D-FenderI look at debug
00:34.01[TK]D-FenderI have a functioning brain
00:34.03drmessanoObviously you have never been
00:34.05drmessanoWe can tell.
00:34.12drmessanoYou're oozing with dumbass
00:34.26drmessano#sarcasm
00:34.31drmessano#notdead
00:35.02[TK]D-FenderAnd I've been using * for over 13 years now before they hit a solid integer.
00:35.15drmessanolorsungcu: please add "Have you ever been to Astricon?" to the toolkit, please
00:35.18[TK]D-FenderAnd you've still shown nothing and continue to whine
00:35.24[TK]D-Fenderas I said, you don't want help
00:35.34[TK]D-FenderOtherwise we'd have seen configs & debug ages ago
00:47.00*** join/#asterisk phix (~threat@220.240.93.167)
01:03.27[TK]D-Fender#crickets
01:06.46drmessanoProbably went to PM
01:14.57darkunderlord_I just helped with finding a bug in the configure script for corosync, having never used corosync before. I do try, I do research. So..anyone have a favorite jabber server then? Ejabberd, openfire, etc?
01:18.51drmessanoI believe Prosody implements enough of XEP-0060 to work.. and it's easy to set up
01:19.23darkunderlord_thx
01:21.50darkunderlord_sorry, I took offense. I'm a huge fan and LOVE asterisk. Used it a long time and have stickers on all my ownership, including last two cars. I'll try to ask smarter questions.
01:26.48[TK]D-FenderWell you've already abandoned the method you started with
01:26.56[TK]D-Fenderand we never got a chance to get that to work
01:28.16[TK]D-FenderSo when we've got something worth looking at I might bother to.
01:28.26[TK]D-Fenderheads off to work out for a while
01:32.56*** join/#asterisk boris_t (~boris_t@23-15-191-213.fttb.ur.ru)
01:37.38darkunderlord_I really like the way file had me going, but when identifying overrode my valid clients, and I'm trying to read up on the anonymous stuff now. I'll check back when i hopefully find enough info that I can ask a good question.
02:21.47darkunderlord_wow. Finally got it working. Thanks and sorry to all.
02:22.23*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
03:00.44*** join/#asterisk mutin-s (~s-mutin@85.234.114.134)
03:00.45*** join/#asterisk mutin-sa (~s-mutin@85.234.114.134)
04:16.29*** join/#asterisk infernix (nix@unaffiliated/infernix)
04:24.10*** join/#asterisk bhans (~bhans@unaffiliated/bhans)
04:28.51*** join/#asterisk juvenal (~juvenal@177.197.88.89)
04:30.44*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
04:37.04*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
04:53.19*** join/#asterisk juvenal (~juvenal@177.197.88.89)
06:23.47*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
06:25.56*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
07:13.12*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:15.25*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:15.53*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:27.11*** join/#asterisk jkroon (~jkroon@165.16.204.173)
07:51.18*** join/#asterisk jkroon (~jkroon@165.16.204.174)
07:54.55*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:31.57*** join/#asterisk pchero_work (~pchero@109.70.54.56)
08:39.58*** join/#asterisk phix (~threat@203.63.145.167)
08:57.31*** join/#asterisk MacroMan (~MacroMan@host213-123-31-77.in-addr.btopenworld.com)
09:08.42*** join/#asterisk DanB_ (~DanB@clt-195.192.206.41.ip-anschluss.net)
09:08.55*** join/#asterisk Kaian (~kaian@212.81.221.228)
09:09.23*** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou)
09:13.14*** join/#asterisk markusl (~markus@hodor.lindenberg.io)
09:14.41*** join/#asterisk jkroon (~jkroon@165.16.204.174)
09:26.01*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:03.17*** join/#asterisk pagios (pagios@gateway/shell/panicbnc/x-crepmhhwlrqkaxsk)
10:03.30pagioshi what is the best hardware to buy to convert my desktop into a pbx?
10:04.26Kunsiyou'll need a mainboard, a cpu, some ram and a hdd/ssd
10:04.46Kunsibonus points for some hardware to connect phones
10:07.10pagiosKunsi, i need to connect my phone line to my desktop, so what hardware can i use
10:08.43Kunsiwhat kind of line? analog, isdn, sip, $other?
10:10.50pagiosKunsi, analog
10:10.52pagiosPSTN
10:11.23pagiosi mainly want to have a automatic greeting with extensions, and skype connect integration for users to dial in and for me to dial out using my phone
10:11.26Kunsii got a linksys spa-3102 analog-to-sip converter-thingie, works fine
10:20.27pagiosit can do all the above Kunsi ?
10:21.03Kunsiit converts analog to sip. asterisk is doing some magic then
10:21.13pagiosKunsi, this?https://www.amazon.com/Cisco-SPA3102-Voice-Gateway-Router/dp/B000FKP55U
10:24.16Kunsitest is correct, but image looks wrong. should look like https://sc02.alicdn.com/kf/HTB18_52KpXXXXbSXFXXq6xXFXXXM/Linksys-SPA-3102-SPA-3102-NA-VoIP.jpg
10:27.54pagios200usd
10:27.59pagiosany cheap pci card for instance?
10:36.15*** join/#asterisk Aljone (~Aljone1@bzq-79-177-81-100.red.bezeqint.net)
10:50.45*** join/#asterisk TandyUK (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
11:34.41*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
12:24.30*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:24.56*** join/#asterisk scgm11_ (~scgm11@r186-52-142-61.dialup.adsl.anteldata.net.uy)
12:28.18[TK]D-FenderSPA-3102 is NOT 200$USD
12:35.23*** join/#asterisk sekil (~sekil@nat-73.net011.net)
12:35.52*** join/#asterisk mutin-s (~s-mutin@85.234.114.134)
12:37.55*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
13:21.41darkunderlord_pagios, I think you need to make sure whatever you get, it does FXO at least. Not a cheaper FXS only device.
13:22.00pagiosFXO and FXS
13:22.01pagios1x 1
13:22.07pagiosdo you recommend any pci chip
13:23.57[TK]D-FenderAll of those are generally pricier or flakey
13:24.34darkunderlord_I agree with getting the SPA-3102
13:24.59darkunderlord_https://www.amazon.com/GrandStream-HT503-1-FXS-Analog-Telephone/dp/B002H29TGA/ref=sr_1_1?ie=UTF8&qid=1500902684&sr=8-1&keywords=spa3102
13:25.04darkunderlord_50 bucks on amazon
13:25.53SamotYou paid 200USD for a SPA3102? You were ripped off.
13:26.02[TK]D-Fender~gs
13:26.03infobotGrandSuck phones & gateways are cheap junk which should be avoided with extreme prejudice.
13:27.19Kunsipagios: where are you from? i'm not using my spa3102 anymore, would sell it (but maybe shipping to you would be expensive)
13:29.46pagiosdarkunderlord_, so mainly asterisk would be running on that grandstream ht503 you mean or need to install asterisk on my pc?
13:30.20darkunderlord_wtf, I didn't select the grandstream. lol Not sure why amazon gave me that link. Don't get that. :D
13:30.29darkunderlord_the SPA3102
13:30.39pagiosdarkunderlord_, idea is i want to control asterisk on my desktop
13:30.43pagiosmuch more flexibility then
13:30.51pagiosi just need to get my phone line into my desktop machine
13:30.57pagiosand install asterisk on a vm
13:31.03*** join/#asterisk sekil (~sekil@nat-73.net011.net)
13:31.06darkunderlord_pagios, yeah I know. that's why you should get the 3102
13:31.21pagiosdarkunderlord_, is there like any usb thing?
13:31.32pagioswhere i can get 1fxo 1 fxs port
13:31.36darkunderlord_I've never used or heard of that.
13:31.40pagiosthat way i can link it to my VM
13:31.48pagioscoz asterisk in the vm needs to see the dongle
13:31.51pagiosor pci etc...
13:32.07darkunderlord_yeah, use the 3102 man. It's the best option.
13:32.15KunsiSIP is the way to go.
13:32.24darkunderlord_I use them for things like paging, etc too for work.
13:32.26pagioshow do you share the 3102 with the vm?
13:32.36darkunderlord_it's a SIP client/endpoint
13:32.36[TK]D-Fender<pagios> darkunderlord_, idea is i want to control asterisk on my desktop <- what does this mean?
13:32.51darkunderlord_[TK]D-Fender, agree, that sounded odd.
13:32.51Kunsiit's ethernet, just connect it to the same switch
13:32.58pagios[TK]D-Fender, it means i want to make my desktop as the asterisk server
13:33.13[TK]D-FenderWhy?
13:33.23[TK]D-FenderYou intending to leave that on 24/7?
13:33.24pagiosto get more Hardisk space, more flexibility
13:33.26pagiosyea
13:33.28pagiosexactly
13:33.40pagiosi can then integrate with some scritps on my desktop
13:33.41pagiosetc
13:33.44[TK]D-FenderHD space is practically irrelevant
13:34.02darkunderlord_pagios, so you already run Linux on your desktop? Or you'll run it in a VM or something?
13:34.06pagiosyea
13:34.13pagiosi will run it in a VM
13:34.16darkunderlord_yeah asterisk doesn't need much HD sapce
13:34.19pagiosand that vm will stay 24/7
13:34.37[TK]D-FenderI'm using 13% on an 80GB HD installed in 2012 for my company's PBX
13:35.02[TK]D-FenderYou can do it if you want, but that's a machine you'd be doing other stuff with which isn't great
13:35.05[TK]D-Fenderbut whatever
13:35.16pagiosits a powerful machine
13:35.28pagiosbut the thing is i need to share the hardware wit hthe VM
13:35.33darkunderlord_just spend the 50 bucks on the 3102. There is alot of documentation on how to get it connected to Asterisk.
13:35.35pagiosso i need a usb based hardware with fxo
13:35.56[TK]D-FenderSPA = ethernet
13:35.59darkunderlord_that's even more reason to use a separate device that talks SIP.
13:36.00[TK]D-Fenderbest option
13:36.12darkunderlord_sharing hardware wiht VM's is sketchy at best.
13:36.14pagiosdarkunderlord_, oh you mean integrate the 3102 with asterisk over ethernet
13:36.21[TK]D-Fenderthat's what it does
13:36.25darkunderlord_pagios, that's what all of us mean ;)
13:36.31pagiosi thought asterisk runs on the 3102
13:36.37[TK]D-FenderYou should have read up on it when it was first mentioned
13:36.38pagioshaha
13:36.39[TK]D-Fenderno.
13:36.40darkunderlord_nope, it's just the way of talking to the analog
13:36.43pagiosok i get it now
13:36.53*** join/#asterisk juvenal (~juvenal@177.197.88.89)
13:36.56darkunderlord_good
13:37.00[TK]D-Fenderthe SPA-3102 takes in 1 phones, and 1 line and sends them over SIP to your server
13:37.21pagiosso the flow is PSTN -> FXO -> 3102 -> LAN -> Asterisk on my Desktop -> Ibterbet
13:37.27darkunderlord_that will be your "trunk" for outbound and inbound calls.
13:37.32pagiosright?
13:37.49darkunderlord_pagios, pretty much. The 3102 IS the FXO though.
13:38.08pagiosand it can be the otherway around
13:38.14darkunderlord_yep
13:38.24pagiosinternet >- asterisk server  on my vm -> lan -> 3102 -> pstn
13:38.33pagiosthen i can bridge mode my vm with the lan
13:38.37pagiosand thats it
13:38.42darkunderlord_definitely. Now you got it.
13:38.47pagioshehe ok
13:38.48pagiosthanks :)
13:39.15pagios<PROTECTED>
13:39.26darkunderlord_where? that's way overpriced
13:39.54pagiosdarkunderlord_, https://www.amazon.com/gp/offer-listing/B000FKP55U/ref=dp_olp_0?ie=UTF8&condition=all
13:40.30Kunsipagios: where are you from? i'm not using my spa3102 anymore, would sell it (but maybe shipping to you would be expensive)
13:40.39Kunsi(asking again)
13:40.40darkunderlord_maybe something else has replaced the SPA3102?
13:40.50pagiosthanks but prefer to get a new one :/
13:41.12SamotThe SPA3102 is not worth $200USD even new
13:41.15SamotIt's OLD
13:41.18pagioswhats new
13:41.20SamotLike 10+ years.
13:41.30SamotGetting a new one is fine, will be hard, but fine
13:41.35pagiosneed a low cost one
13:41.40SamotBut even new, sealed in a box, is not worth $200USD
13:41.49pagiosi was thinking of a pci adapter or usb if available
13:41.56[TK]D-Fenderpagios, Where are you located?
13:42.01darkunderlord_50 bucks on ebay, or get it from Samot
13:42.14pagiosIreland
13:43.02[TK]D-Fendere-bay is your best bet on this so far
13:43.51pagiosi need an alternative one
13:43.53pagiosthat is pretty old
13:43.54SamotI don't have any
13:44.11Samotpagios: The SPA3102's work just fine.
13:44.22Kunsidon't know if anyone is producing devices with FXO ports anymore
13:44.26*** join/#asterisk sekil (~sekil@nat-73.net011.net)
13:44.32Kunsieverything's VoIP nowadays
13:45.11darkunderlord_the spa3102 is still your best option. FXO is hella old itself.
13:45.32darkunderlord_maybe the question is, can you port your analog number to a SIP provider?
13:45.43Kunsi(you also could just check if your router already offers SIP
13:45.48Kunsi-(
13:45.57*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
13:45.58*** mode/#asterisk [+o cresl1n] by ChanServ
13:47.57*** join/#asterisk scgm11_ (~scgm11@r186-52-72-250.dialup.adsl.anteldata.net.uy)
13:48.08darkunderlord_if you can get off analog, that's your best bet.
14:07.15*** join/#asterisk rmudgett (rmudgett@nat/digium/x-lvbkqwyhrxhqyulv)
14:07.15*** mode/#asterisk [+o rmudgett] by ChanServ
14:07.23*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
14:07.24*** mode/#asterisk [+o bford] by ChanServ
14:22.09*** join/#asterisk newtonr (newtonr@nat/digium/x-hgmmzjxepastimdf)
14:22.10*** mode/#asterisk [+o newtonr] by ChanServ
14:27.18*** join/#asterisk sh_smith (foobar@cpe-76-174-26-91.socal.res.rr.com)
14:35.06*** join/#asterisk yoink (~yoink@unaffiliated/yoink)
14:49.41*** join/#asterisk u0m3 (~u0m3@82-77-102-104.cable-modem.hdsnet.hu)
14:54.33*** join/#asterisk DanB__ (~DanB@clt-195.192.205.14.ip-anschluss.net)
15:19.14*** join/#asterisk Bordr_ (~Bordr@c-24-9-55-138.hsd1.co.comcast.net)
15:19.19*** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net)
15:21.42*** join/#asterisk juvenal (~juvenal@177.197.88.89)
15:29.50*** join/#asterisk salviadud (~ralfalfa@189-211-190-134.static.axtel.net)
15:36.23*** join/#asterisk hfb (~hfb@47.139.16.52)
15:37.57*** join/#asterisk zapata (~zapata@2a02:b18:581:10:106b:ebba:8a01:2851)
15:39.47*** join/#asterisk bl3nto (~bl3nto@cpe-109-60-14-187.st3.cable.xnet.hr)
15:40.56lvlinuxI need a bit of assistance here. I have in my pjsip.conf both a udp and tcp transport setup. I have one endpoint set to use the tcp transport, but when I do a SIP debug, it shows that Asterisk is continuing to try to talk to the endpoint with UDP, both for registration and calls (asterisk registers to the endpoint). I had it setup with UDP before and it worked fine. I have trasnport=sip-tcp (the name of
15:41.00*** join/#asterisk bl3nto (~bl3nto@cpe-109-60-14-187.st3.cable.xnet.hr)
15:41.02lvlinuxmy tcp transport) in the endpoint config.
15:42.03lvlinuxAnd of course I restarted asterisk after making the changes (pjsip reload doesn't reload transport changes).
15:51.50filethe SIP URI controls the transport used
15:52.05fileif you want to explicitly use TCP then it would be sip:bob.com\;transport=tcp
15:52.35filenot specifying a transport has it follow normal SIP server resolution, so if you give a hostname it'll do an SRV lookup and go from there
15:52.37lvlinuxah ok.
15:53.20lvlinuxOh well that makes sense I guess. But then what is the point of putting transport=tcp in the endpoint section then?
15:53.45lvlinuxor rather transport=name-of-defined-tcp-transport
15:54.30filethe transport option explicitly uses that transport, in the case of UDP it'll force it to use a specific one
15:55.01filegenerally you shouldn't need to specify it
15:55.30lvlinuxoh, so if I had different NAT parameters on different transport sections or something like that is when that is necessary to specify?
15:56.01fileif you have multiple interfaces it tries to be intelligent and use the right transport and IP address information, but it may not get it right
15:56.07fileso the transport option allows you to be explicit
15:56.14lvlinuxk
15:57.29lvlinuxNow, so I should add the \;transport=tcp to the end of all sip:whatever lines, so I need it on server_uri and client_uri parameters in the registration section, and also in the aor section on contact=   right?
15:58.45fileserver_uri you do, contact= yes
15:59.19lvlinuxbut not client_uri?
15:59.34filenot needed, probably won't hurt
15:59.38lvlinuxk
16:02.27*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
16:05.10lvlinuxThe reason I've switched this endpoint over to TCP is because when it was on UDP, and the server was down, and * tried to make a call with it, * waited quite a long time for the UDP SIP invite to timeout before going on to the next provider. So TCP seems to take care of that. Does that seem like a valid thing to do or are there some timers with UDP that can be messed with that would be preferable than
16:05.17lvlinuxmixing transport types?
16:07.32igcewielingenable qualify on the device and stop making things overly complicated
16:08.24lvlinuxaha! i totally forgot about qualify!
16:08.39lvlinuxthanks igcewieling
16:09.58lvlinuxand thanks file for the tcp help!
16:11.20*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
16:24.54lvlinuxhmmm, when I turn qualify on and kill the endpoint, asterisk reports it as being offline after 60 seconds but still tries to send calls to it. ?? What am I missing?
16:25.59*** join/#asterisk tripleslash (~triplesla@unaffiliated/imsaguy)
16:28.08*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
16:29.14igcewielingI've never seen that happen.
16:29.37igcewielingperhaps a pastebin of the cli output showing the issue?
16:29.59igcewielingYou're not doing something stupid like running FreePBX?
16:30.14lvlinuxNOOOOOOO
16:30.34lvlinuxCould it be because the "endpoint" is on localhost? Accessed via 127.0.0.2.
16:30.42igcewielingDial should immediatly return with a dialstatus of CONTESTION or CHANUNAVAIL
16:31.08lvlinuxthat's what I thought, but it goes ahead and tries the call and sends 4 invites. Then it waits for timeout.
16:31.11igcewielingAh, I've never tried running the endpoint and asterisk on the same server.
16:31.40igcewielingrunning chan_sip or chan_pjsip?
16:31.43lvlinuxpjsip
16:32.18lvlinuxthe "endpoint" is yate running on the same box as asterisk.
16:32.24igcewielingah, nevermind then.  you'll have to ask someone else how qualify works with dial when using pjsip.   on my systems (using chan_sip), dial immediatly returns if the endpoint is unreachagle or lagged.
16:32.45lvlinuxI would think it should work the same way, but idk.
16:33.18lvlinuxWhen qualify doesn't get a response it comes back with the enpoint is unreachable so it appears to be working, but it still tries the call.
16:33.28igcewielingI'd run a "sip show peer X" where X is the peer name and see what the status is shown as.
16:33.56lvlinuxin my case that would be "pjsip show endpoint X" ... lemme do that and check
16:34.50filethat was recently made so it behaves that way, older versions won't
16:35.14fileas of 13.17.0 and 14.6.0
16:35.48igcewielingfile: specific to pjsip?
16:35.52fileyes
16:36.12igcewielingGlad I didn't listen to all those people telling me to upgrade from Asterisk 11
16:36.30igcewielingHear that Samot!?
16:36.46lvlinuxigcewieling: you can still run chan_sip with 13/14, and the old commands work fine with it.
16:37.00SamotI never said "Go to PJSIP"
16:37.02lvlinuxanyway it shows the endpoint as being unavailable just like it should.
16:37.05SamotSo..
16:37.08SamotIrrelevant.
16:37.27lvlinuxAnd PJSIP rocks btw
16:37.50igcewielingI'm sure it does as long is you don't encounter something not supported or not documetned.
16:38.13lvlinuxhaha like that never happened with chan_sip?
16:38.27SamotSure.
16:38.29SamotWhen it was 5
16:38.30igcewielinglvlinux: not nearly as often
16:38.39SamotBut it's not anymore
16:39.01lvlinuxThat happens with both of them, but the neatness and features of pjsip more than make up for any small drawbacks here and there.
16:39.14SamotIn a few years PJSIP will be just like chan_sip in regards to documentation, etc
16:39.28SamotBut then the next "new' thing will be out and we'll be having this discussion again.
16:39.37lvlinuxlol i hope not
16:39.43filewe aren't replacing the SIP stack again
16:39.48SamotI know.
16:39.59fileand SIP itself isn't going away for awhile
16:40.14DanQuinneyfile sounds like he'd kill someone if they changed it again
16:40.22SamotRight. By the time PJSIP is "mature" like Chan_SIP..
16:40.30fileit'd be a waste of time
16:40.33fileSamot: define mature
16:41.07SamotMore stable development.
16:41.08lvlinuxi thought pjsip was already mature---I think Samot meant "old and universally accepted"
16:41.13SamotRight
16:41.17SamotEveryone is using it
16:41.23fileah
16:41.28SamotIt's been beaten to the ground in use cases
16:41.35SamotWell documented
16:41.38SamotSupported.
16:41.56SamotThe next new SIP stack will have this same thread.
16:43.03lvlinuxSooooo, anyone have ideas about why Asterisk is still trying to dial with my qualified/unavailable endpoint?
16:43.12filelvlinux: I believe I already answered that.
16:43.33fileas of 13.17.0 and 14.6.0 it will, if you are using older versions it won't behave that way
16:43.48fileif you are using one of those versions then it'd be a bug and an issue should be filed with configuration, console output, etc
16:44.09igcewielingpjsip itseld might be mature, pjsip integration to Asterisk is not mature.
16:44.19lvlinuxfile: oh! i thought you meant something else when you said that. Sorry
16:44.26SamotHow can it be qualified but unavailable?
16:44.32SamotDid I miss something?
16:44.45lvlinuxI meant qualify was enabled.
16:45.10lvlinuxnot that it was "qualified" as in responded to the qualify packet.
16:45.16SamotWhat do you mean, still send calls to it?
16:45.21lvlinuxyes
16:45.35SamotYou mean that is still does Dial(SIP/XX)
16:45.52SamotIt should.
16:46.02SamotThen it will return a "Subscriber Not Found"
16:46.10SamotSo you can handle the call accordingly..
16:46.13SamotLike send it to VM.
16:46.19lvlinuxYes, and then waits for timeout rather than returning something that allows the call to be handled. So I guess now I have the choice between updating to 13.17 or switching it back to TCP
16:46.19SamotOr dial a "failover"
16:46.27SamotAhhh.
16:46.30SamotThat's what I'm missing.
16:46.36salviadudIs it possible to run chan_sip and chan_pjsip at the same time?
16:46.37SamotIt still is dialing per the timeout.
16:46.42SamotYes.
16:46.47lvlinuxsalviadud: yes
16:46.48SamotThey listen on different ports.
16:47.05salviadudGood to know
16:47.24lvlinuxlol that sounds like an administrative nightmare
16:47.35SamotWhy?
16:47.50SamotChan_SIP 5060, PJSIP 5160
16:47.56SamotThey still use the same RTP
16:48.03SamotJust different signaling.
16:48.06lvlinuxjust keeping track of which you were using for what, debugging etc.
16:48.22SamotIt's not that hard.
16:48.45lvlinuxNothing technically bad about it (no different than running IAX and PJSIP simultaneously), but just keeping track of more config files/settings/etc.
16:49.06SamotOK.
16:50.25SamotI should try that approach.
16:50.35*** join/#asterisk juvenal (~juvenal@177.197.88.89)
16:50.48Samot"Sorry guys, we can't implement this. It's beyond my config count."
16:51.13Samot"Should have go to me yesterday before I installed PJSIP. That put it to the limit"
16:51.17*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
16:51.23lvlinuxLOL. I guess I'm just gonna switch my endpoint back to TCP. Simpler than upgrading right now... need to upgrade anyway but I've been kindof scared to lol. And I'd at least like to be on the premesis when I upgrade.
16:59.26*** join/#asterisk pchero (~pchero@109.70.54.56)
17:18.10*** join/#asterisk juvenal (~juvenal@177.197.88.89)
17:19.44*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
17:30.01*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
17:33.00*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
17:36.55*** join/#asterisk libardi (~libardi@179.159.11.133)
17:38.49*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
17:41.58*** join/#asterisk egassem (86237344@gateway/web/freenode/ip.134.35.115.68)
17:42.01egassemHI sir
17:42.06egassemhows everyone
17:42.59egassemi wanted to ask is it possible to run asterisk where 3 E1 connections are configured with libpri and the fourth as chan_ss7 in the same instense
17:45.00[TK]D-Fenderof course
17:45.39egassem[TK]D-Fender: really
17:45.44egassemis that possoble
17:46.07[TK]D-Fender<[TK]D-Fender> of course <-
17:46.25egassem[TK]D-Fender: you talking to me
17:46.35lorsungcuyou talking to ME?
17:46.48egassemnow Im lost
17:46.57*** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew)
17:47.17lorsungcui thought we were doing the scene from taxi driver
17:47.28darkunderlord_lorsungcu, lol I got it
17:47.32lorsungcuthx
17:47.38lorsungcu;-)
17:48.25*** join/#asterisk juvenal (~juvenal@177.197.88.89)
17:48.42egassemlooool
17:49.01egassemyou talking is somthing robert deniro said
17:50.24egassemso any one can help me
17:50.33lorsungcuegassem: you were answered
17:50.36darkunderlord_they said you can use it
17:50.54darkunderlord_should be a dahdi setting for each span of ports I'd think
17:51.11egassemshould i go with libss7 or chan_dahdi
17:51.17egassemwhich is better in this case
17:52.20egassemone sec
17:52.22egassembrb
17:52.24*** part/#asterisk egassem (86237344@gateway/web/freenode/ip.134.35.115.68)
17:52.47*** join/#asterisk egassem (~egassem@134.35.61.92)
17:52.58egassemhi
17:53.00egassemim back
17:53.21[TK]D-Fenderegassem> [TK]D-Fender: you talking to me <- YES
17:53.24[TK]D-FenderI answered twice
17:53.30[TK]D-FenderI answer RIGHT AFTER your question
17:53.40egassemthat is possible
17:53.45[TK]D-Fenderand then your SECOND  "is that possible"
17:53.46egassemis there a guide for this
17:53.52[TK]D-Fender<[TK]D-Fender> <[TK]D-Fender> of course <-
17:53.55egassemsorry i was confused
17:53.57[TK]D-FenderYES IT'S POSSIBLE
17:54.02[TK]D-Fenderwhat is hard to understand?
17:54.32egassemim not used to get an answer so quick so i got shocked
17:54.34[TK]D-Fenderegassem> is there a guide for this <- thre is no magic.  Each set of ports is configured jsut like any other
17:54.35egassemok
17:54.50[TK]D-Fenderlook at the sample settings for each and set them according to the signalling you require
17:55.03[TK]D-FenderThere are SS7 sample configs.  There are E1 PRI sample configs.
17:55.11[TK]D-FenderThere is nothing magical about having BOTH
17:55.18egassemdo you recommed using chan_ss7 or libpri
17:55.52[TK]D-Fenderif libpri does the job then that's 1 less piece required
17:55.59[TK]D-FenderI've never done SS7 personally
17:56.14egassemsorry i meant libss7 or chan_ss7
17:56.54egassemok i'll read more about it
18:10.04*** join/#asterisk juvenal (~juvenal@177.197.88.89)
18:16.53*** join/#asterisk juvenal (~juvenal@177.197.88.89)
18:29.01igcewielingdoes anyone know why I might be getting this error?  I thought I was out of licenses, but I doubled the license count and it didn't seem to help.  [2017-07-24 14:28:04] WARNING[18744][C-000034c3]: translate.c:433 ast_translator_build_path: No translator path from g729 to slin
18:35.49lorsungcui think asterisk is mocking you for using g729
18:35.59*** join/#asterisk miralin1 (~Thunderbi@195.209.246.194)
18:37.56igcewielingSometimes I wonder why I bother asking.
18:38.24lorsungcusame
18:42.16*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
18:46.40drmessanoigcewieling: Sounds like you can't transcode
18:47.16drmessanoRegardless of "License blah blah"
18:47.29drmessanoWhich asterisk version?
18:47.33drmessanoSpecifically
18:47.48igcewielingdon't bother.  you'll tell me to upgrade.
18:48.00drmessanoWhich asterisk version?
18:48.02drmessanoSpecifically
18:48.04igcewielingand I'm tired to justifying my decisions to the channel.
18:48.15drmessanoWhy dont you just tell me
18:48.20drmessanoMaybe you have the wrong module
18:48.23igcewielingAsterisk 11.21.2
18:48.27drmessanoOkay
18:48.46RovingWriterif _# matches #, does _* match * ?
18:48.47drmessanoHave you updated recently?
18:48.59drmessanoWhen did you go to 11.21.2
18:49.03*** join/#asterisk miralin (~Thunderbi@195.209.246.194)
18:49.08drmessanoWhat were you on before?
18:49.32drmessanoYou know they've updated the g729 modules
18:50.24igcewielingFeb  1 09:49 /usr/sbin/asterisk
18:50.26drmessanoYou should be running the codec_g729.so from 9/7/2016
18:50.41drmessanoYou should be running the codec_g729a.so from 9/7/2016
18:51.53igcewielingthe timestamp on my codec_g29a is the same as my install time so I don't know the date for it.
18:52.09drmessanoWas the install on feb 1/
18:52.11drmessanoWas the install on feb 1?
18:52.52igcewielingI don't know, but since the timestamp on asterisk is Feb 1, then I assume the last update was at that time.
18:53.14drmessanoHas transcoding ever worked?
18:53.36igcewielingyes.
18:53.42igcewielingIt works most mornings.
18:53.58*** join/#asterisk miralin (~Thunderbi@91.237.94.1)
18:54.29drmessano'g729 show licenses' is accurate... and 'core show translation' look fine?
18:55.23igcewielingcore show translations shows it transcodes g729
18:55.43drmessano'g729 show licenses' is accurate... ?
18:55.50drmessanoTwo questions there
18:56.58igcewielingI don't know if the show licenses is correct.   The TOTAL number if licenses is correct.   I don't know if the inuse cound it.
18:57.02igcewielingcount is.
18:57.46drmessanoWhen did this start?  Today?
18:58.19igcewielingAbout a week ago.   I've been reducing the need for licenses and on Friday I added more licenses.
18:58.42drmessanoDid you restart the instance?
18:58.58igcewielingyes.  twice last week.
18:59.24igcewielingI've not today since the customer gets upset when we droop 20ish calls.
19:00.11Samotcore show translation paths g729
19:00.19SamotWhat's that show? ^^^
19:00.56igcewielinghttps://pastebin.com/7wfD14Wf
19:01.56SamotIs it happening all the time or just when a certain amount of calls hit?
19:02.40igcewielingIt works most mornings, noonish things fall apart.  I assume it is related to call volume.
19:02.57drmessanoHow many licenses are on the server?
19:03.48*** join/#asterisk shanth (62b67ee2@gateway/web/cgi-irc/kiwiirc.com/ip.98.182.126.226)
19:04.28igcewieling"0/38 encoders/decoders of 40 licensed channels are currently in use" with 19 active channels
19:04.47shanth;exten => s,n,Set(CALLED_NUMBER=${HEADER_TO:5:10})
19:04.47shanthexten => s,n,Set(CALLED_NUMBER=${HEADER_TO:5:10}) what does the 5:10 part mean?
19:04.50shanthwhoops
19:04.55SamotHow many existed before you added more on Friday?
19:04.59SamotYou doubled it?
19:05.07igcewielingit has 20 before fridaty
19:05.27SamotAnd it seems to be about when they creep up to 20 calls it shits the bed?
19:05.48SamotBecause it's sounding like something isn't honoring your new limit.
19:06.01igcewielingSamot: yes, both before AND after the extra licenses.
19:06.06SamotAnd is still stuck at thinking there is only 20
19:07.07igcewielingI don't know.  It says I have 40 licenses.
19:07.32SamotWell that's my theory.
19:07.40SamotIt shows you have 40 but acting like you have 20
19:07.59SamotYou are the only one that can prove or disprove that theory but it's a jumping point.
19:08.22shanthasterisk project just fell in my lap. i have no idea what im doing lol
19:08.45shanthwhat kind of rope should i hang myself with?
19:09.13igcewielingshanth: your best option is to find another employer.
19:09.32shanthlol
19:10.27shanthjust trying to go line by line and figure out what stuff does, very confusing
19:11.38igcewielingshanth: read the Asterisk book, read "core show channels" and "cores show functions"
19:12.31shanththanks
19:13.59shanthdo you mean this http://the-asterisk-book.com igcewieling?
19:14.25shanthor asterisk the definitive guide?
19:15.35igcewielingThere is nothing for V12+  http://www.asteriskdocs.org/ <  1.8 and above
19:17.54shanthim running asterisk 11.25.1
19:18.10shanthyay
19:30.48RovingWriterI have a queue, where I have periodic-announce=/path/to/my/file, and periodic-announce-frequency=10, but regardless, the queue spends about 60 seconds, then just uses the generic "all agents are busy" recording of Alice... any ideas why? I put those options within my queue's direct context, not in the general
19:31.19RovingWriterits like it just doesn't recognize those options. version is 1.8.11-1
19:32.27RovingWriternevermind.
19:32.52*** join/#asterisk hfb (~hfb@47.139.21.22)
19:33.38[TK]D-Fender<shanth> exten => s,n,Set(CALLED_NUMBER=${HEADER_TO:5:10}) what does the 5:10 part mean? <- trim 1st 5, take 20 long after that
19:33.44[TK]D-Fender10 rather
19:36.05shanth'trim the first 5 and take 10 long after that' what do you mean when you say 10 long?
19:37.18*** join/#asterisk cryptic (~cryptic@67-8-35-31.res.bhn.net)
19:37.47igcewieling10 characters in length
19:39.43*** join/#asterisk miralin1 (~Thunderbi@91.237.94.1)
19:40.44[TK]D-Fenderif it's 30 long then you'll get 10 chars starting at the 6th char
19:40.59shanthgreat thanks [TK]D-Fender
19:43.54*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-170.cust.bezeqint.net)
19:55.43shanthim currently working on asterisk with a test envrionement that has a self signed ssl cert. is there a way to globally set the curlopt to ignore or bypass the cert? i was trying to do it per line like ;exten => s,n,CURLOPT(ssl_verifypeer)=0
19:56.46*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
20:01.50*** join/#asterisk jkroon_ (~jkroon@165.16.204.164)
20:02.34*** join/#asterisk pchero (~pchero@109.70.54.56)
20:11.11klowTrying to track down how I am crashing asterisk 14.3.0 , anyone mind having a look? https://pastebin.com/nycFG25n   it is happening when I apply config in freepbx UI (manually installed/compiled)
20:11.32igcewielingHere is a nice complicated one for you to parse.  lol.   CELGenUserEvent(SM_${IF($["${MASTER_CHANNEL(sm_call[${call_index}][dialstatus])}" == "ANSWER"]?HANGUP:${MASTER_CHANNEL(sm_call[${call_index}][dialstatus])})},tag='ast' hangup_source='dest' dialstatus='${MASTER_CHANNEL(sm_call[${call_index}][dialstatus])}' ... hangup_timestamp='${STRFTIME(,,%s.%3q)}');
20:21.51igcewielingklow: anyone who can help you will tell you to first upgrade to the latest Asterisk 14.x
20:27.14*** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net)
20:28.33klowfair enough i will compile 14.6 then ;)
20:31.53*** join/#asterisk Jesterboxboy (~Thunderbi@88-117-104-206.adsl.highway.telekom.at)
20:32.59*** join/#asterisk Typhon (~Typhon@dslb-084-056-176-059.084.056.pools.vodafone-ip.de)
20:50.11*** join/#asterisk jetlag (~jetlag@c-71-226-222-56.hsd1.nj.comcast.net)
20:54.01*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
20:56.40*** join/#asterisk miralin1 (~Thunderbi@195.209.246.194)
21:14.29*** join/#asterisk juvenal (~juvenal@177.197.88.89)
21:22.12*** join/#asterisk netman (~netman@185.94.249.77)
21:26.30shanthmy curl call is failing because of the self signed ssl cert http://dpaste.com/3WKJSHW - how can i make it bypass this?
21:38.28*** join/#asterisk miralin1 (~Thunderbi@91.237.94.1)
21:56.35*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
22:20.18*** join/#asterisk newtonr (~newtonr@99-104-129-136.lightspeed.brhmal.sbcglobal.net)
22:20.18*** mode/#asterisk [+o newtonr] by ChanServ
22:32.38*** join/#asterisk Typhon (~Typhon@dslb-084-056-176-059.084.056.pools.vodafone-ip.de)
22:46.39*** join/#asterisk juvenal (~juvenal@177.197.88.89)
22:50.02*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)
22:57.40*** join/#asterisk juvenal (~juvenal@177.197.88.89)
23:54.15*** join/#asterisk Dovid (~dovid@ool-4573a525.dyn.optonline.net)
23:56.38*** join/#asterisk mmlj4 (~mmlj4@47-48-196-90.static.gwnt.ga.charter.com)

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