IRC log for #asterisk on 20180123

00:02.33*** join/#asterisk brettnem (~bnemeroff@207.183.229.86)
00:14.26*** join/#asterisk joako (~joako@opensuse/member/joak0)
00:29.14*** join/#asterisk rapha (~rapha@unaffiliated/rapha)
00:29.22raphahi!
00:30.22raphais it possible to use asterisk with chan_lantiq on a small router with TAE ports as an ATA connecting to another asterisk instance connected to the internet?
00:34.53*** part/#asterisk kharwell (kharwell@nat/digium/x-ezazibwuuszwvopq)
01:01.22[TK]D-FenderTAE?
01:01.33*** join/#asterisk Dovid (~dovid@ool-45738ae3.dyn.optonline.net)
01:03.15SamotGerman thing.
01:03.47SamotIt's akin to a RJ11
01:20.44*** join/#asterisk infobot (ibot@rikers.org)
01:20.44*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.19.0 (2018/01/11), Standard: 15.2.0 (2018/01/11); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
01:22.40*** join/#asterisk ddickenson (sid179041@gateway/web/irccloud.com/x-huckpxwvtqusveht)
01:26.31rapha[TK]D-Fender: looks much different though: https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/TAE-Stecker-F.jpg/250px-TAE-Stecker-F.jpg
02:27.09KNERDmust be something recent
02:58.19*** join/#asterisk brettnem (~bnemeroff@207.183.229.86)
03:10.30*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
03:45.08drmessanoKNERD: Pretty recent
03:45.12drmessano1980's
03:47.32KNERDIf you got it, Flaunt it!
03:49.41KNERDLast time I was in Germany , such connectiosn did not exist and was called  Deutsche Bundespost
03:54.07SamotSo pre-1986?
03:54.44SamotAnd there were no connectors pre TAE.
03:54.55SamotLiterally.
03:57.06SamotI had a German exchange student at our high school during 1989. She was amazed we could put a phone in any room.
03:57.29SamotBecause it still was a new thing for her.
04:06.02KNERDthereabouts
04:38.18*** join/#asterisk Penguin (~xwQ5kwYl6@our.systems.are.full.of.penguins.at.penguinsystems.net)
05:05.28*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:30.57*** join/#asterisk mlhess (~mlhess@drupal.org/user/102818/view)
06:17.03*** join/#asterisk brettnem (~bnemeroff@23.sub-174-222-4.myvzw.com)
06:37.28*** join/#asterisk miralin (~Thunderbi@91.237.94.67)
06:39.37*** join/#asterisk startledmarmot (~startledm@2601:646:c203:75d7:6cdd:b238:81a8:9138)
07:04.00*** join/#asterisk SunTsu (miyamoto@unaffiliated/suntsu)
07:36.09*** join/#asterisk jkroon (~jkroon@uls-154-73-35-201.wall.uls.co.za)
08:12.25*** join/#asterisk brettnem (~bnemeroff@72-18-226-194.static-ip.telepacific.net)
08:12.30*** join/#asterisk ghoti (~paul@75.98.206.5)
08:13.09*** join/#asterisk pchero_work (~pchero@109.70.54.56)
08:18.08*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
08:28.46*** join/#asterisk sekil (~sekil@cable-89-216-227-244.dynamic.sbb.rs)
08:35.44*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:36.10*** join/#asterisk DanB (~DanB@clt-195.192.205.75.ip-anschluss.net)
08:38.59*** join/#asterisk AndyCap (~aoy@pdpc/supporter/sustaining/AndyCap)
08:42.00*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
09:22.06*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
09:39.02*** join/#asterisk MrMojit0 (~MrMojit0@194.171.91.248)
10:19.34*** join/#asterisk startledmarmot (~startledm@2601:646:c203:75d7:4044:370b:5ad6:f5f9)
10:28.18Alblasco1702Hello is it possible for asterisk to send answered elsewhere only if it is answhered else where?
10:28.18Alblasco1702And where is it set? on the dial plan?
10:30.49*** join/#asterisk startledmarmot (~startledm@2601:646:c203:75d7:c916:99ad:216c:254f)
10:31.25*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
10:34.24*** join/#asterisk areski (~areski@37.223.2.207)
10:36.20*** join/#asterisk areski (~areski@37.223.2.207)
11:15.07*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
11:20.30*** join/#asterisk areski (~areski@37.223.2.207)
11:28.22*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
11:59.34*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
12:09.35*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
12:10.57*** join/#asterisk tuxian (~tuxian@194.12.3.67)
12:20.39SprinterfreakSamot. Me again. To my issue with pjsip. Now figured out that my sip provider does sometimes not respond with an ACK on an Status: 200 response after an INVITE
12:22.52SprinterfreakThen asterisk repeats the response a few times, re-registers , repeats the 200 response a few times more and then finally asterisk gave up with BYE.
12:23.58SprinterfreakGuess what? After this my sip provider simply replies with an 200 OK
12:24.40sekilACK on 200 OK is mandatory
12:25.01sekilto establish transaction
12:25.24SamotNo.
12:25.29SamotThat is completely wrong.
12:25.37SamotYou send them a 200 OK and they should ACK it.
12:25.45SamotIf they are not doing that get a real provider.
12:25.58SprinterfreakThey do that sometimes
12:26.09SamotIt's not a "sometimes"
12:26.12SprinterfreakWith chan_sip everytime
12:26.14SamotThere are standards.
12:26.24SamotChan_SIP and Chan_PJSIP are SIP
12:26.25SamotPeriod.
12:26.36SamotJust different stacks/drivers.
12:26.42SamotHow they do SIP is still the same.
12:27.51SprinterfreakBut with chan_sip it works 100% stable, with pjsip 10% the calls get established because my 200 after an INVITE don't get ACKed
12:28.11sekilAlblasco1702: should be sent on Cancel Reason..
12:28.30sekilAlblasco1702: and as per standards...endpoint should not mark a missed call then..
12:29.44SamotSprinterfreak: So every INVITE they send you over a chan_SIP trunk works without issue?
12:29.50filethe ACK is sent to the Contact address in the 200 OK, have you confirmed it contains the correct information?
12:29.54SamotThey always return an ACK to your 200 OK?
12:30.04SprinterfreakSamot: Yes
12:30.43SamotBut somehow with PJSIP they decide not to?
12:30.52SamotThats not how that works
12:31.21SamotThey have no clue what driver you are using.
12:32.00SamotThe otherside doesnt care if its chan_sip or chan_pjsip
12:32.22SprinterfreakRight. Thats my problem acually. It didn't work properly.
12:33.00SamotOK, who is this provider?
12:33.06Sprinterfreaksipgate
12:33.08fileSprinterfreak: my comment was to you
12:33.20sekilSprinterfreak: what file said..
12:33.41Sprinterfreakmoment pls
12:36.20Sprinterfreakfile: sekil: identical contact in both of my 200 replies. One time I get a proper ACK and the call get established, the other time I get no reply
12:36.49fileis it correct to reach the machine? is it the same as chan_sip?
12:37.28SprinterfreakIts absolutely correct. Sometimes it works...
12:37.44fileI understand sometimes it works.
12:37.59fileThe other option is to do a call from chan_sip and one from chan_pjsip and then compare the signaling.
12:42.54Sprinterfreakwait. no. There was a typo the external_signaling_address
12:43.17Sprinterfreakwich is in my case a dns name
12:44.52SprinterfreakBut why does it then sometimes work and sometimes not?
12:45.35fileI don't know what sipgate would be doing.
12:46.14fileIt's up to them to send the ACK, they should do it according to the Contact but if NAT traversal is enabled then it could go to the source IP address/port instead
12:47.44SprinterfreakWich could be the case if my correct address was still in their cache anywhere
12:49.10SprinterfreakFixed that and will see if that solves the "somtimes working" state
12:50.43Sprinterfreakbut in both cases, working and not working, my correct ip was in the contact-header of my 200 replies
12:57.30SprinterfreakNo. Still some calls don't get an ack
12:59.56SprinterfreakAbsoluty odd. Their 200 OK after the BYE due to the timeout gets through everytime
13:01.57filethen you'd need to compare the signaling between chan_sip and chan_pjsip to see if there is a difference
13:02.49Sprinterfreakwith chan_sip i use their proxy for signaling. But this should work anyway
13:03.13file...so they are configured differently?
13:03.53SprinterfreakYes they are. But pjsip sadly does not accept the sip.conf format
13:04.08fileoutbound_proxy=sip:IP address\;lr
13:04.14fileor host.
13:04.56Sprinterfreakin wich contexts?
13:05.12filethe endpoint in the case of calls.
13:06.29*** join/#asterisk k-man (~jason@unaffiliated/k-man)
13:10.16*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
13:10.45Sprinterfreakfile: even with proxy the same
13:10.58filethen you'd need to do as I said, compare
13:11.11SamotOK, show it.
13:11.23SamotShow  full attempt with SIP debug/pjsip logger/whatever.
13:11.32SamotLet's see this from the INVITE to the the end.
13:14.44*** join/#asterisk somepoortech (~somepoort@72-0-128-179.static.firstlight.net)
13:22.53SprinterfreakSamot: There is a working one https://pastebin.com/GXCV41Dp
13:23.54*** join/#asterisk miralin (~Thunderbi@194.8.128.76)
13:24.41SamotDo you have one of the actual issue?
13:24.46SamotThat's really the one I want to see.
13:33.15SprinterfreakSamot: Here is a not working one https://pastebin.com/dZnwN5RH
13:33.58filethose are the same.
13:33.59SamotHow is that not working?
13:34.23SamotYeah.
13:34.28SamotThose are the same exact call.
13:39.17*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:40.23SprinterfreakSamot: Updated the not working one. C+P-Fault
13:40.59SamotDude.
13:41.01SamotSeriously.
13:41.19SamotWe're trying to figure out why crap isn't being responded/routed properly
13:41.39SamotAnd you have sanitized these debugs.
13:41.43SamotThey are useless.
13:43.06SamotAnd are these PJSIP debugs?
13:43.12SamotBoth Chan_SIP?
13:43.24SamotThe working one Chan_SIP and the broken one PJSIP?
13:44.11SprinterfreakThis would take me more time to do because of the whole reconfiguration
13:45.07SamotI'm asking wht these are.
13:45.19SamotWhat are we looking at?
13:45.41SamotPJSIP or Chan_SIP?
13:49.17SamotSee in the working debug you have this: c=IN IP4 b.core.saenet.de
13:49.34SamotIn the non working debug you have this: c=IN IP4 b.my.address.net
13:50.03SamotNow was that because they were actually different or because you just made it that?
13:54.19*** join/#asterisk mahafyi (~chatzilla@182.65.10.214)
13:54.59SamotI mean, I see a difference but I would like some answers before giving a conclusion.
13:55.24SprinterfreakSamot the working was pjsip too
13:55.46SamotSo the SDP information was the same?
13:55.51SamotBetween the two?
13:56.00SamotAnd you just obscured them differently?
13:56.02SprinterfreakI've updated the not working one again. This time the pjsip debug output from asterisk cli
13:57.02SamotAnd this one doesn't work either?
13:57.15SamotBecause this is completely different.
13:58.13SprinterfreakSamot: This time the debug output from the asterisk cli. The prevous one where made with wireshark
13:58.27SamotOK
13:58.34SamotSo all three of these debugs...
13:58.43SamotThey are sourcing the calls from three different sources.
13:58.52SamotThe second one, the one you just updated..
13:58.59SamotHad a Diversion tag in it from them..
13:59.02SamotFor some reason.
13:59.16SamotBut the two failed calls are from two different systems.
13:59.36SamotAnd those two systems are not where the good call came from it came from a third system all together.
13:59.45SamotLook at your 4th VIA: header in their invite.
14:00.04SamotThat's where it actually came from, the other three (the ones with Record Routes) are the proxies.
14:01.00SprinterfreakOh god damed. Yes, in the original ones these addresses where all the same and correspond to my system
14:02.01SamotVia: SIP/2.0/UDP 217.116.117.8:5060;branch=z9hG4bK72a75155 <- Non working
14:02.18SamotContact: <sip:01788675631@217.116.117.8:5060> <-- Non working
14:02.19SamotNow..
14:02.40SamotVia: SIP/2.0/UDP 217.10.77.45:5060;branch=z9hG4bK1dffade2 <-- Working
14:02.53SamotContact: <sip:80.111.222.333:5061> <-- Working
14:03.17SamotSo in the working one, it sources from another IP but the Contact it claims to be from is a completely different IP.
14:03.51SamotI've come to the conclusion that Germany cannot SIP properly.
14:03.51SprinterfreakOh, yes. That could be the proxy...
14:04.23SprinterfreakWich we tried earlier without any change in behavior
14:04.38*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
14:06.37*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
14:09.12sekilprivate IPs in RR...grrr
14:10.00*** join/#asterisk chandoo (~chandoo@pool-74-105-13-92.nwrknj.fios.verizon.net)
14:11.06Sprinterfreaksekil: how to avoid this?
14:11.51sekilSprinterfreak: it's not an error per-se...it's the providers internal network..
14:16.05*** join/#asterisk rwb (~Thunderbi@74.85.159.242)
14:16.38sekilSprinterfreak: they should hide their internal topology...
14:16.46sekilSprinterfreak: nothing to do with you..
14:18.32SprinterfreakWell in my sdp is a private ip4 10.88.0.1 . Wich also was in there if I got a working one
14:19.12Sprinterfreako=- 2000795089 2000795092 IN IP4 10.88.0.1
14:19.37sekilSprinterfreak: that's wrong from your side
14:20.06SprinterfreakHow to change this?
14:20.46sekilSprinterfreak: you should advertise your public IP address
14:21.48SprinterfreakThats also done in the same packet
14:21.50Sprinterfreakv=0
14:21.50Sprinterfreako=- 2000795089 2000795092 IN IP4 10.88.0.1
14:21.50Sprinterfreaks=Asterisk
14:21.50Sprinterfreakc=IN IP4 b.core.saenet.de
14:26.20SprinterfreakThis I think is not the problem. Because its exactly the same in both cases. Working and not working
14:26.49sekilit's a not a problem...it's just wrong practice imo
14:27.26Sprinterfreakwhat does this o= stand for?
14:28.03fileorigin like, not really used, in later versions of Asterisk it is substituted for external
14:28.06fileer line
14:29.15SprinterfreakSo the important part is
14:29.22Sprinterfreakc=IN IP4 b.core.saenet.de
14:29.22Sprinterfreakm=audio 30060 RTP/AVP 8 101
14:29.39SprinterfreakWich is totally correct
14:30.06Sprinterfreakbut does only sometimes work
14:30.55sekilFQDN in c is legal I think...although uncommon..
14:31.13filelatest version of Asterisk puts an IP address there
14:31.28SamotAsterisk is sending the same details.
14:31.38SamotFor a working call and a non working call.
14:31.55sekilyeah...it's legal definitely..
14:31.55SamotWhat needs to happen now is more testing
14:32.07SamotDo all working calls come from the same server?
14:32.15*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
14:32.16SamotOr do other servees work?
14:32.30SamotDo all non working calls come from the same servers?
14:32.41SamotThree debugs..
14:32.59SamotAll three incoming calls sourced from three different places
14:33.07Samot1 worked
14:34.22SprinterfreakThat could be since we tried teh outbound_proxy
14:34.25sekilwhy is contact IP different?
14:34.30raphaso, after last nights discussion about the age of TAE connectors and how great of an invention connectors as such were...
14:34.36sekilyou are registering from different IPs?
14:34.45raphais it possible to use asterisk as an ATA connected to another asterisk?
14:35.05SamotAsterisk can support FXS/FXO cards.
14:35.09SamotBut it is not an ATA.
14:35.26Sprinterfreaksekil: No. Mangled this
14:35.29SamotIt would be a PBX with an analog card.
14:35.31raphaSamot: so it can't connect to a SIP server upstream?
14:35.39SamotSure..
14:35.43raphaoh okay
14:35.45sekilrapha: yes
14:35.47SamotI just said it supports FXS/FXO
14:35.56SamotBut it is not an ATA.
14:35.59SamotIt's a PBX
14:36.04sekilSprinterfreak: mangled how?
14:36.05raphai'm talking about a small router with analog phone ports, an ethernet port, and lantiq chipset
14:36.09SamotThose are two highly and completely different things.
14:36.19SamotNo.
14:36.24raphano to what?
14:36.37Samotrapha: If you don't know this stuff you're not going to turn some old router into a PBX
14:36.46rapha*sigh*
14:36.49SamotJust not happening.
14:36.50Sprinterfreakreplaced my ip with 111.222.333 and one time my fqdn with my.address.net
14:36.58Samot8:49:17 AM S<Samot> See in the working debug you have this: c=IN IP4 b.core.saenet.de
14:36.58Samot8:49:34 AM S<Samot> In the non working debug you have this: c=IN IP4 b.my.address.net
14:36.58Samot8:50:03 AM S<Samot> Now was that because they were actually different or because you just made it that?
14:37.04Samot^^ hence me asking that
14:37.14SamotAgain..
14:37.27sekilSprinterfreak: you should really give us clean logs/traces...
14:37.33SamotGiving us sanitized information leads to misinformed conclusions.
14:37.36sekilSprinterfreak: you're misleading us..at least me..
14:37.40SamotI already bitched.
14:38.33raphaSamot: in spite of my inadequateness as a human and all that, asterisk, if handled properly by an experienced operator such as yourself, possesses the ability to run on a lantiq chipset and connect an analog phone to an upstream sip provider?
14:39.00SprinterfreakIve verified this a few times in my wireshark captures. The addresses between working and not working are exactly identical
14:39.16sekilSprinterfreak: so I'm losing interest...
14:40.36Sprinterfreaksekil: Well. Me too. Sadly the only thing I could do now is a roolback to chan_sip
14:41.01Samotrapha: I said "IF you don't know this stuff"
14:41.04SamotIF
14:41.09SamotI never said you didn't.
14:41.30mneth1I upgraded to 13.18.3 to correct MixMonitor stereo recordings having channels out of sync but the issue is still present. This was the bug fix I thought would take care of it: https://issues.asterisk.org/jira/browse/ASTERISK-26875?jql=text%20~%20%22mixmonitor%20sync%22
14:41.31SamotI never questioned your adequacy in any of this.
14:41.53mneth1are there any other known fixes for getting MixMonitor stereo to have aligned recordings even during packet loss? I'm using the b option as well.
14:42.00SamotSo don't take that attitude when you're asking for help on a project that makes no sense or has any real viability. Especially if you don't have clue one.
14:44.42raphaAnd you might want to start thinking about your own attitude as to why it is that you want to help people at all. Because one might suspect, hammering out phrases like these, that the motivation may be to fulfill the cravings of your inadequate ego for attention and worthfulness. One of the operators may kickban me now if they so please, I'll be in the basement.
14:45.23sekilrapha: helping is above the way how does one help..
14:45.27Samotrapha: How much do you know about Asterisk?
14:45.34sekilrapha: you should be grateful in the first place
14:46.04Samotrapha: Or FXS/FXO modules? TAE connectors?
14:46.38Samotrapha: Or having to wire and/or solder chips/circuits to make this happen?
14:46.44SamotHow much of that do you know?
14:46.55[TK]D-Fender<rapha> is it possible to use asterisk as an ATA connected to another asterisk? <- if * can handle the interface on that hardware then * takes calls from/to it, and processes them however you tell it to
14:47.09[TK]D-Fenderrapha, Do you have it compiling and seeing your hardware?
14:47.36SamotReally? It's a router.
14:48.24SamotLet's make sure there is a proper knowledge/skillset in place before we start talking about how to turn an old router into a PBX
14:48.27sekilSprinterfreak: I wanted to help...but these traces are really useless
14:48.31SamotWith FXS/FXO hand offs
14:49.19[TK]D-FenderI don't care if it's a router.
14:49.26SamotActually, the request was to make it an ATA
14:49.26[TK]D-FenderHas he gotten * compiled on it?
14:49.31SamotOK
14:49.34SamotHave fun with it.
14:49.37[TK]D-FenderIf not... sit back, grab some popcorn and wait.
14:49.48SamotEncouraging bad ideas is never good.
14:50.01SamotThat's how you get PBX In a Flash
14:50.03[TK]D-FenderDon't need fun, or deep involvement just to ask if he's gotten the first few steps done
14:50.22SamotYou didn't even know what a TAE connector was.
14:50.34[TK]D-FenderYeah this is probably more effort than it's worth... just as long as I don't invest disproportionately :)
14:51.08[TK]D-Fender<Samot> That's how you get PBX In a Flash <- PBXPILAF :)
14:54.31SamotAnd now nothing.
14:54.51SamotSo the answers to my questions are 99% a "no"
14:56.34[TK]D-Fender"I'll be in the basement" <- we're in extended overtime....
15:02.19*** join/#asterisk miralin (~Thunderbi@194.8.128.76)
15:06.56*** join/#asterisk kharwell (kharwell@nat/digium/x-ezvxpewmfucfjmgt)
15:06.56*** mode/#asterisk [+o kharwell] by ChanServ
15:09.50Sprinterfreaksekil: Samot: Checked this again. The real difference is really that Asterisk with chan_sip locally looks up the ip and sends the IP in SDP und PJSIP sends the dns
15:10.31SprinterfreakIt seems sipgate doesn't like to lookup fqdn's
15:11.30SprinterfreakIf I hardcode my dynamic ip into the pjsip.conf it seems to work consistently so far
15:11.32SamotThe SDP has nothing to do with the ACK
15:11.42SamotThat's just for the media
15:11.50SamotDoes not impact signalling
15:12.05sekilSprinterfreak: ACK should be back though...but as I said FQDN in c is very uncommon...
15:12.48SamotNot really
15:12.49SprinterfreakThey seem to silently drop the sdp answer
15:12.51sekilSprinterfreak: maybe they condition on SDP body somehow...who knows..
15:13.03SamotPBX's behind NAT on DHCP WANs.
15:13.17SamotWhy?
15:13.35SamotThe SDP can be different than the source/signaling IP
15:13.59SamotAnd if they don't support FQDN's wouldn't that be in their docs?
15:14.10SamotLike in the setup docs "Please don't use FQDNs"
15:14.50sekilSamot: one uses stun client for these setups
15:15.15Sprinterfreakpjsip doesn't implement stun
15:15.22SamotNot all ISP/ITSPs run STUN clients.
15:15.39sekilSamot: pbx should use stun if under nat imo..
15:15.45sekilSamot: not itsp..
15:15.53SamotThat doesn't happen.
15:16.22sekilSprinterfreak: so check with them about FQDN
15:18.23sekilSprinterfreak: also see if you can use an STUN client on pjsip if available..
15:27.01*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
15:27.01*** mode/#asterisk [+o cresl1n] by ChanServ
15:30.01*** join/#asterisk Janos (~Janos@181.194.24.51)
15:31.17Sprinterfreaksekil: Cannot realy find any detailed informations from them
15:33.00*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
15:33.43*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
15:33.48Janoshey there, got a problem with an asterisk, trying to register with my sip provider, I have the following in my sip.conf "register => user:secret@sip.provider.com" but I see no traffic to/from the provider ip and "sip show registry" does not show anything, any ideas what I could be missing ?
15:35.23SprinterfreakJanos: Don't use chan_sip (and sip.conf) anymore. Its legacy and unsecure in some cases
15:36.00JanosSprinterfreak, yeah I'm starting to switch to pjsip but it will take some time :)
15:36.16JanosI'm guessing pjsip was your recommendation yes ?
15:36.47SprinterfreakYes. Me too. But the configuration of pjsip is really awful
15:38.05SprinterfreakIt states its more secure in NAT scenarios. Shure. It doesn't implement neccessary functionality for that
15:38.59sibiriai found it rather messy and annoying as well, compared to chan_sip. thankfully the "pjsip wizard" helped a bit
15:43.42Janossibiria, what is this pjsip wizard ?
15:43.44*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
15:43.45*** mode/#asterisk [+o bford] by ChanServ
15:44.01*** join/#asterisk aways (~aways___@unaffiliated/aways)
15:44.15filehttps://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Wizard
15:44.22Janosthanks
15:45.37*** join/#asterisk GeneralSpongebob (~Spongebob@cpc127156-mapp14-2-0-cust83.12-4.cable.virginm.net)
15:49.05SprinterfreakJanos: And pjsip doesn't resolv domainnames in external_media_address wich seems to be incompatible with some sip providers
15:49.43*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
15:50.03JanosI'm starting to think I should stay with chan_sip :P
15:50.18fileSprinterfreak: it does in the latest version.
15:51.07SprinterfreakHoping that debian maintainers shortly release this
15:51.15SprinterfreakThink not :(
15:55.41*** join/#asterisk rmudgett (rmudgett@nat/digium/x-gmxonfkmgugxxpxu)
15:55.41*** mode/#asterisk [+o rmudgett] by ChanServ
16:00.24*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
16:00.32SprinterfreakBut until that I'm stuck to a bodge where I hook a script to the ip change and sed the address parameters in pjsip.conf manually
16:21.01*** join/#asterisk Worldexe (~Worldexe@95-107-33-134.dsl.orel.ru)
16:24.46*** join/#asterisk qakhan (~qakhan@50-204-254-11-static.hfc.comcastbusiness.net)
16:28.30qakhanHi all,
16:30.22qakhanthere are 10 agents 1001-1010 in a queue, if queue receive a call from 3048931223 then send that call only to 1st 5 agents 1001-1005.
16:30.26qakhanhow can we do this
16:34.15[TK]D-FenderGo read the sample configs.
16:34.22[TK]D-FenderThey describe how to use priorities
16:35.01qakhanin dialplan?
16:36.38[TK]D-Fenderno
16:39.15qakhanin queue.conf?
16:40.26*** join/#asterisk justdave (~dave@unaffiliated/justdave)
16:50.03*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
16:50.35*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
16:52.52*** join/#asterisk dnit (673399be@gateway/web/freenode/ip.103.51.153.190)
16:53.32dnitHi
16:53.39dnitmy astreisk logs are flooded with Local/15841080-4829@tempinbound-1-ringing-0000731e;1 requested media update control 26, passing it to SIP/Xo_main-00003bb5
16:54.01dnitand users are not able to hear the ivr and other audio.
16:55.25[TK]D-FenderGo look at the SIP debug for that call
17:05.01dnit[TK]D-Fender : I have a lot of calls like that.
17:05.23dnitand how can I see the sip debug in production.
17:06.14*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
17:08.02*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
17:09.42[TK]D-Fenderplace a call.  look at it
17:09.45[TK]D-Fenderyou can't go back in time
17:22.19*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
17:26.31*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
18:35.30Worldexeyou can enable sip debug only for some ip/peer
18:35.39Worldexeso you will get limited amount of traffic
18:35.54Worldexeor just tcpdump it and investigate that dump
18:43.03*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
18:43.49jamesaxlHEllo
18:44.31jamesaxlis firewall enough to protect asterisk?
18:45.41*** join/#asterisk Dovid (~dovid@ool-45738ae3.dyn.optonline.net)
18:52.07SamotAs far as?
18:52.42SamotI mean if you have all ips blocked except for the ones you need/want, then yeah.
18:53.42SamotIf you have to let unknowns in, then you need to make some more complex rules and perhaps some extra layers since you are making compromises.
19:05.24[TK]D-Fenderjamesaxl> is firewall enough to protect asterisk? <- how?  From what?
19:08.14jamesaxl[TK]D-Fender: from hacker how wants to test default context and also from hackers who send a loop authentication
19:09.52jamesaxlSamot: I understand you, thank you very much
19:19.18*** join/#asterisk nny (ad5db800@gateway/web/cgi-irc/kiwiirc.com/ip.173.93.184.0)
19:21.08nnyFigured i'd pop in here cause this is a bit of a head scratcher. Over the weekend a client replaced their firewall with an Untangled device. Ever since I am getting tons of registration spam in the logs for all extension, with no UNREACHABLE first. Also any type of SIP phone dial out takes 10-15 seconds to establish (and hit asterisk console). Late
19:21.08nnyncy is fine, nothing has changed in the switches (which are basic/no vlan). I am gonna go do some testing tonight but any conjecture opinion or discussion is welcomed
19:21.53nnydial out includes peer to peer etc.they hit dial and it just sits there says it's dialing but nothing in console. I am gonna do some sip debugging but it feels like something is hijacking the sip traffic
19:24.32*** join/#asterisk jkroon (~jkroon@165.16.204.171)
19:25.48nnythink i found it  Correct auth, but based on stale nonce received from
19:26.06*** join/#asterisk Iamnach0 (~Iamnacho@ip72-213-56-35.om.om.cox.net)
19:35.27*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
19:35.31Janosis there a way to log the asterisk AMI communications, preferably to it's own log file ?
19:39.33Samotnny: This is 100% Untangled.
19:41.00nnyHmm wonder if touch on all config files in the tftp directory will trick the phones into reloading them/rebooting all quickly
19:41.54SamotNo.
19:42.16SamotYou have to send a NOTIFY event to tell them to resync/reboot
19:43.03SamotThe phones don't look at file timestamps.
19:43.19SamotThey pull the config and basically do a diff on that and the running config.
19:43.35SamotIf there is a difference, they take it and then reboot/resync if needed.
19:44.09HsilamotJanos: what are AMI communications?
19:44.30SamotThe devices going UNREACHABLE means that Asterisk isn't getting a response to the Keep-Alive OPTIONS sent to the devices.
19:44.37Janosall commands send/rec by the asterisk manager interface
19:44.57SamotInbound calls not working, having delays with responses for outbound calls...this is all the Untangle firewall.
19:45.13HsilamotJanos: if i wanted to log them, i would make a simple bridge, pass-trough the comms and log them myself
19:46.40Janoswell AMI allows many actions, not all of them are calls, for example remove agent from a queue, not sure your suggestion would work on those cases
19:47.47Janosone suggestion on the forums is to rise the verbose level to 10, that´s suppose to work, but I guess the log would get crazy big
19:48.00HsilamotWhy not? it's a simple bridge, basically you make a small program to listen on port x, set the AMI server (asterisk, whatever) to port x+1 on loopback interface, you forward everything that comes from port x to port x+1 and biceversa, and log whatever you want from them
19:48.55Hsilamoti have done it many times with all kind of applications, whenever i need to see the communications or log them to see whats happening
19:49.43nny@Samot close but not quite. This is all local communications, as in extension to extension for testing. Granted outbound does it too, but that's not what I am seeing. Also not going UNREACHABLE. It seems this is a nonce issue after firewall swamp out as described here http://lists.digium.com/pipermail/asterisk-users/2009-April/230435.html
19:49.49nnyswmap/swap
19:51.08SamotThat's a 9 year old issue.
19:52.15SamotAnd it's also something that happens on various SIP servers.
19:52.18SamotNot just Asterisk
19:52.28SamotIt triggers a 401 challenge.
19:52.41nnySamot: gotcha but the nonce spam is real and constant. Just gonna reboot phones first to see if it quells the spam. Going after smoking guns atm
19:53.00SamotIt's just a warning.
19:53.25SamotTo let you know, they are registering, the auth is good but the register/location is expired.
19:53.31*** join/#asterisk mbecroft (~user@ak2.becroft.co.nz)
19:53.36SamotSo it triggers a new auth
19:53.39Samotfor a new session
19:53.44Samotnew expiry time
19:54.23nnyyeah.
19:54.26SamotThey put in Untangle
19:54.32SamotEver since then X has happened.
19:54.37Samotthat's how you've stated it
19:54.43nnyYeah I disabled any SIP nonsense too.
19:54.45SamotThat means, Untangle is the cause.
19:54.50nnyI 100% agree
19:55.51SamotSo there is no need to do stuff on the Asterisk side.
19:55.53SamotIt works.
20:05.51*** join/#asterisk elcontrastador (~textual@70-90-215-98-BusName-ca.sacra.hfc.comcastbusiness.net)
20:06.55*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
20:11.55drmessanoUntangle seems very millenial
20:12.09SamotRofl.
20:13.29*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
20:16.42nnyhahaha
20:16.48nnynot my choice :D
20:17.05nnyi guess Lit Firewall 420 isn't out yet
20:21.12nnyfun fact millenial is born after like 82 and on which means half the people mocking it are technically part of it'
20:21.32drmessanoYou can add apps to NG Firewall at any time. Simply complete the purchase of the app you want, then assign it to your Untangle instance from your My Account page.
20:21.48drmessanoSounds like a Sangoma product
20:23.02Samothttp://hw-static.worldstarhiphop.com/pics/images/tp/1pyyia.jpg
20:24.02drmessanoSamot: Yeah yeah, wait until they try to sell you a cloud hosted firewall
20:36.01nnyI am not used to seeing so many channels in SIP SHOW CHANNELS, is this registration for hints or something else? https://pastebin.com/FKTS4pUn
20:38.58*** join/#asterisk areski (~areski@37.223.2.207)
20:40.05[TK]D-Fenderhints/vm subscription
20:43.32nnythanks
20:46.21*** join/#asterisk tzafrir (~tzafrir@62-90-199-247.barak.net.il)
21:08.30*** join/#asterisk Chotaire (chotaire@unaffiliated/chotaire)
21:24.03*** join/#asterisk josefig (~josefig@unaffiliated/josefig)
21:25.02josefigone question, i need to setup asterisk to place 2 calls by our predictive, but i dont know where to set the option that when they are placed 2 calls, if 1 is answered the other hangup, i remember i needed to change but i dont rememeber where
21:42.41kfifeGosub has a ${GOSUB_RETVAL}.  Very functional.  Nice. Nice.
21:42.55kfifetips his hat
21:45.48kfifeLooks like I was missing a parentesis: same=>n,ExecIf(${RECORDING}?Gosub(send-email,s,1(${DB(DN-EMAIL/${CALLERID(num)})},"Rec: ${STRFTIME(%c %Z)}","Attached.\n\nFr:${CALLERID(num)}\nTo:${OCN}\n${STRFTIME(%c %Z)}\n\",${TEMP-REC}):System(rm -I ${TEMP-REC})))
21:49.19*** join/#asterisk infobot (ibot@rikers.org)
21:49.19*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.19.0 (2018/01/11), Standard: 15.2.0 (2018/01/11); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
21:54.56*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
22:21.27*** join/#asterisk rwb (~Thunderbi@65.183.151.121)
22:26.49*** join/#asterisk elcontrastador (~textual@70-90-215-98-BusName-ca.sacra.hfc.comcastbusiness.net)
22:28.14*** join/#asterisk startledmarmot (~startledm@2602:306:8074:7a0:9e9:6d5f:93c3:5dc4)
22:50.00*** join/#asterisk qxork (~qxork@unaffiliated/qxork)
22:53.52*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
22:58.00*** join/#asterisk elcontrastador (~textual@70-90-215-98-BusName-ca.sacra.hfc.comcastbusiness.net)
23:20.10*** join/#asterisk Cory (~Cory@unaffiliated/cory)
23:27.19*** join/#asterisk startledmarmot (~startledm@2602:306:8074:7a0:4d17:e89f:cf8a:f047)
23:39.55*** join/#asterisk salviadud (~ralfalfa@200.188.129.226)
23:40.29salviadudI got a question related to P.A. systems.  Is there an easy way to incorporate one with asterisk?
23:41.04salviadudI'm at a factory right now, and they got this old Panasonic KX-POS90
23:41.48salviadudIt barely works, I dunno who programmed it, so I was wondering about replacing it with some digium cards, or an E1, depends on how many lines they use, can't say for sure.
23:41.58salviadudBut they dial an extension to make public announcements on floor.
23:42.30salviadudSo, an extension heads out to a mixer, and the mixer does the rest.
23:43.10salviadudNow, there is also a laptop they used to fire up for music.  But the supervisor got angry because of the bad taste in music.
23:43.34salviadudI could just install a softphone and auto-answer and that should go into the mixer.
23:43.45salviadudComments are welcome.
23:45.53Iamnachosalviadud: I think there are devices you can buy that are SIP to Analog-sound
23:46.30Iamnachoso you can go Astersik -> SIP -> Analog Sound -> PA Amplifier
23:51.58*** join/#asterisk Samael28 (~Samael28@176.104.56.91)
23:56.58salviadudIamnacho, any examples?
23:58.57salviadudjust googled something
23:59.03salviadudI'll keep looking, gotta go

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