IRC log for #asterisk on 20171116

00:10.00*** part/#asterisk kharwell (kharwell@nat/digium/x-hbtdspvybzfblpfg)
00:12.18lvlinuxIf my provider supports T.38, and I start sending a fax with G.711, they should detect the fax tone and send me back a t.38 reinvite right??
00:13.31Samot4:33:16 PM D<danielyk> Why on so an old version?
00:13.31Samot4:33:24 PM V<vo1pbx> cepstral
00:13.54Samot^^ Cepstral runs fine all the way up to 13. Haven't really tested on 14 yet.
00:22.18[NC]lvlinux: They should, yes. But not all do and most do it for only some destinations.
00:23.27lvlinuxHmm, well I'm trying with Flowroute, and they are supposed to support it pretty well. I don't get a reinvite for some reason. I am able to send a fax with t.38 directly from asterisk to my ATA/fax machine, so I think I have it setup properly.
00:23.53SamotDo you have T.38 enabled on the peer?
00:25.02lvlinuxYes on the Flowoute endpoint and also the ATA
00:25.12SamotNo.
00:25.20SamotIn Asterisk.
00:25.31SamotIn your flowroute trunk, you have t38 enabled?
00:25.56lvlinuxYes that's what I mean: on the endpoint config in pjsip.conf I have t.38 enabled for both the flowroute section and the ATA.
00:26.05SamotOK.
00:27.41lvlinuxWhen I do a sip debug and send the ATA a fax directly from asterisk, the ATA gives me a reinvite and then asterisk starts sending t.38 udptl packets, as expected. But when calling from the ATA to flowroute, via Asterisk, I don't see the reinvite, and it stays ulaw for some reason.
00:27.58lvlinuxI also tried with Vitelity with the same results.
00:28.09SamotOK..
00:28.11SamotSo..
00:29.02SamotT.38 isn't a codec.
00:29.07lvlinuxyes i know
00:29.08SamotIt's an encapsulation.
00:29.10SamotOK
00:30.14lvlinuxWhen t.38 is in use, pjsip show channelstats does not show ulaw for the call.
00:30.16SamotSo when you send an outbound fax via the ATA to Asterisk, you see the call get answered and bridged..
00:30.25lvlinuxYes
00:30.28SamotBut you don't see a re-Invite after?
00:30.33lvlinuxcorrect
00:30.38SamotShow a debug.
00:31.19lvlinuxAlso, I tried sending directly from Asterisk to Flowroute, and it failed saying that ulaw faxes weren't allowed, and T.38 negotiation failed.
00:31.34*** join/#asterisk mutin-sa (~s-mutin@85.234.114.134)
00:32.28SamotShow a debug.
00:33.39lvlinuxgetting it...
00:39.06lvlinuxhttp://susepaste.org/90984463
00:43.12SamotSo the VGAFXS device, not sending T.38 in the SDP offer.
00:43.16SamotThat's 1
00:44.03SamotI see the call ACK but then I just see a BYE.
00:44.21SamotThe reason Flowroute isn't sending back T.38 is because it's not in the SDP offering.
00:44.35SamotSo as far as they are concerned, you don't want T.38.
00:44.48SamotThe other side needs to know you can support it.
00:45.02SamotThey just won't re-INVITE with t.38 if you don't tell them to.
00:45.59SamotThe call is going to answer normally
00:46.05lvlinuxah ok
00:46.07SamotUntil you send FAX tones.
00:46.19SamotThen they'll re-INVITE with t.38
00:46.22lvlinuxi wondered if it was supposed to be in the SDP but didn't know for sure.
00:46.31SamotSo 1) Your ATA needs to have T.38 support enabled.
00:47.04Samot2) You need to actually initiate FAX tones for Flowroute to send back a T.38 re-INVITE
00:47.17lvlinuxIt has it enabled, but I don't know why it isn't sending it. It's a MultiTech MultiVoIP.
00:47.27SamotDouble check.
00:47.35SamotIt's a setting that can be disabled.
00:47.36[NC]Samot: Does Flowroute really do that? I never saw a provider require udptl in the original INVITE SDP offer... and ATAs/gateways/FAX servers don't advertise udptl in the original INVITE in normal configuration (when they can at all...)
00:47.38SamotMake sure it isn't.
00:47.47SamotOK.
00:47.52SamotI just explained how it works.
00:48.07Samot1) You need to send T.38 in the SDP
00:48.13Samot2) They need to support it
00:48.35lvlinuxNow let me pb a debug from Asterisk trying to send the fax directly to Vitelity, with no ATA involved.
00:48.38Samot3) Once a FAX starts and the other side supprots it, they send back a Re-INVITE for t.38
00:48.47[NC]Samot: That's not the standard way to do it. Flowroute is not standard if they work like that.
00:48.56SamotI'm sorry what?
00:49.01SamotWhat do you think is the standard way?
00:49.03SamotPlease tell me.
00:50.12[NC]Samot: Call is established with G.711. Then receiving side sends a re-invite to T.38 to sending side. If sending side supports it, it accepts and the call continue with T.38, if it doesn't, it sends 488 response and the call continue with G.711.
00:50.39lvlinuxhttp://susepaste.org/132807
00:50.55SamotYes.
00:51.07SamotThe call is established with g711
00:51.11SamotBecause as I said
00:51.15lvlinuxThat pastebin is debug of trying to send the fax directly from Asterisk.
00:51.29Samot7:29:07 PM S<Samot> It's an encapsulation. <-- Thats what T.38 is
00:51.43SamotSo the other side needs to know you want to use T.38
00:51.52SamotAnd when they realize it's a FAX call..
00:52.06SamotSorry..
00:52.08SamotFlipped it
00:52.21[NC]There is a way to advertise support for udptl in the original INVITE (RFC 6913), but that is not often supported.
00:52.21SamotThey cause the re-INVITE but from the sending side, yes.
00:52.29SamotI just corrected myself.
00:52.50SamotBut that doesn't change that T.38 needs to be offered.
00:52.58SamotSo it can be answered.
00:53.11[NC]The standard way is for the receiving side to do the re-invite... but there are providers that require the sending side to do it.
00:53.14SamotBut yes, it makes the other side do a Re-INVITE
00:53.21SamotFFS.
00:53.27SamotOK.
00:53.42SamotIt's clear we are talking about the same process and getting wires crossed.
00:53.53SamotThe bottom line, there was no T.38 in the call
00:54.30lvlinuxSo I'm confused why they aren't sending the re-invite when I start sending fax tones?
00:54.33[NC]And there are providers that don't support T.38 for all destinations (depends on their undercarrier).
01:01.09[NC]lvlinux: They might not support T.38 for this destination... you can try different fax destinations and see if some do get Flowroute to re-invite. It's possible Flowroute (never used them, so I don't know) doesn't ever do re-invite, but accepts them if you do, you could try to configure your ATA to do the re-invite itself and see if that works. That's not the best configuration, but it sometime is the only one that works for some providers.
01:02.35[NC]lvlinux: Or you try another provider.
01:03.12lvlinuxI tried two providers, Flowroute and Vitelity (both are supposed to have excellent t.38 support).
01:03.55lvlinuxah, i tried a different destination number and it worked.
01:09.05*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
01:22.09*** join/#asterisk s-mutin (~s-mutin@85.234.114.134)
01:27.33*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
01:28.17*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
01:28.17*** join/#asterisk Marquel (~Marquel@fuchsfanclub/allerdings/marquel)
01:28.17*** join/#asterisk Cory (~Cory@unaffiliated/cory)
01:28.17*** join/#asterisk troyt (~troyt@c-73-65-211-33.hsd1.ut.comcast.net)
01:28.17*** join/#asterisk iggi (~iggi@ip69.50-31-21.static.steadfastdns.net)
01:28.17*** join/#asterisk gregs (sid160074@gateway/web/irccloud.com/x-oteogdjoeudqffhu)
01:28.17*** join/#asterisk netman (~netman@185.94.249.77)
01:28.17*** join/#asterisk stefan27 (~stefan27@static-212-247-4-149.cust.tele2.se)
01:28.17*** join/#asterisk emk (~emk@unaffiliated/emk)
01:28.17*** join/#asterisk somepoortech (~somepoort@72-0-128-109.static.firstlight.net)
01:28.17*** join/#asterisk sibiria (~sibiria@unaffiliated/sibiria)
01:35.52*** join/#asterisk Cory (~Cory@unaffiliated/cory)
02:05.20*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:06.10*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:06.56*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:07.46*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:08.36*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:09.24*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:10.08*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:10.58*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:11.48*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:12.33*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:13.23*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:14.08*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:14.58*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:15.48*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:16.35*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:17.25*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:18.10*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:19.00*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:19.52*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
02:43.53*** join/#asterisk Korolev (~Korolev@c-73-179-85-246.hsd1.fl.comcast.net)
03:09.08*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
03:36.34*** join/#asterisk jeffspeff (~Jeff@209.141.208.197)
04:05.12KorolevHi, packetization doesn't seem to be working on IAX, is there something else that needs to be set besides allow=codec:size?
04:05.17*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
04:12.58*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
04:54.06*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
05:05.50*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
05:06.11*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
06:05.45*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
06:08.46*** join/#asterisk tripleslash (~triplesla@unaffiliated/imsaguy)
06:32.13*** join/#asterisk gerhard7__ (~gerhard7@ip5657ee30.direct-adsl.nl)
07:01.56*** join/#asterisk defsdoor (~andy@cpc120600-sutt6-2-0-cust177.19-1.cable.virginm.net)
07:35.11*** part/#asterisk _ppp (Elite20382@gateway/shell/elitebnc/x-ixidbajhsqivpawj)
12:36.56*** join/#asterisk infobot (~infobot@rikers.org)
12:36.56*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.18.2 (2017/11/10), Standard: 15.1.2 (2017/11/10); 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
12:49.44*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
12:55.35*** join/#asterisk pawiecki (~pawiecki@router.dir.pl)
13:16.02*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
13:28.18*** join/#asterisk jkroon (~jkroon@165.16.204.174)
13:34.51*** join/#asterisk wim_ (~wim@ip-94-140-174-105.reverse.destiny.be)
13:36.45wim_Hello all. I have a question about the RTP stream qualifying. Could there be a bug in case there's both audio and video sent?
13:38.05wim_when i set up a video call with strictrtp = yes from behind a nat, the audio stream gets qualified, the video stream logs "qualifying new stream" but the counter never goes down. It keeps logging "Will switch to it in 3 packets"
13:41.39wim_This is a log with rtp debug on, debug 5 res_rtp_asterisk and verbose 5 https://pastebin.com/wpYsx3ke
13:46.17wim_oh, and the asterisk version is 13.18.0-rc1
14:01.50SamotWhy are you using an RC?
14:03.56*** join/#asterisk sotoz (~sotoz@095-097-255-066.static.chello.nl)
14:04.04wim_good question, it's not my choice.
14:04.35sibiriaanyone here good with EAGI?
14:06.11sibiriain the case of outgoing calls, i wonder if there's a chance that (or way to control) the incoming/them audio stream is something else than slin
14:07.09sibiriawe had a weird case of our internal answering machine detection, suddenly, from one specific provider, not being able to recognize beeps in the audio stream in real time
14:07.27sibiriabut flawless 100% accuracy when feeding the software the wav recording of the same calls
14:07.57*** join/#asterisk sekil (~sekil@nat-73.net011.net)
14:08.10*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
14:08.43sibiriaam i wrong assuming that asterisk will always feed the EAGI application slin?
14:08.57*** join/#asterisk gerhard7__ (~gerhard7@ip5657ee30.direct-adsl.nl)
14:09.56*** join/#asterisk brad_mssw (~brad@66.129.88.50)
14:10.07*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
14:15.32SamotAnd how does the provider send you DTMF?
14:15.47SamotOr what DTMF options do they support?
14:16.45wim_not sure sibiria means a dtmf beep, but rather the beep you hear to start recording the voicemail
14:17.52SamotOK
14:18.04Samot1) Your answering machine greeting is just an audio stream.
14:18.23Samot2) Unless the BEEP is an actual DTMF tone, it's just audio.
14:18.31sibiriaexactly, it's not a DTMF problem
14:18.39sibiriaalso, we catch DTMF in the audio stream
14:18.48sibiriabut again, it's not about DTMF
14:18.50SamotSo it's the beep in the audio stream from the machine?
14:18.57SamotOnly over one provider?
14:19.02sibiriayes and yes
14:19.13SamotNo matter who you call, that beep is never picked up?
14:19.23sibiriayes, from that specific provider
14:19.26wim_what codec does that provider use?
14:19.31sibiriaalaw
14:19.35sibiriathe audio recording is crisp clear
14:19.50*** join/#asterisk Da-Geek (~Da-Geek@88.98.221.152)
14:19.52sibiriaour AMD software notices the beep with 100% accuracy when it analyzes the *recording*
14:20.00sibiriabut not in the real time audio feed via EAGI
14:20.08sibiriaand only that one provider...
14:20.24SamotSo you're AMD software listens for beeps?
14:20.33sibiriathe only thing i can think of is if asterisk for some reason suddenly fed something else than SLIN over EAGI
14:20.36sibiriayes
14:20.40SamotEvery type of  beep a voicemail can prompt?
14:20.45SamotThat's odd.
14:21.04sibiriais the audio format for EAGI configurable maybe?
14:21.17sibiriait's like that specific trunk somehow messes with EAGI
14:22.15sibiriathe sip config for that trunk is no different than for the others, and the audio recording is proof that, at least internally for asteirsk, everything is alright with the audio
14:22.37sibiriamaybe asterisk never fed any audio to the EAGI application
14:22.48SamotOK
14:22.53SamotSo have you read EAGI?
14:23.14sibiriathat's our AMD software's modus operandi, yes
14:23.32sibiriastreams a message while listening to the incoming audio
14:24.13SamotAnd how it sends the audio out of band
14:24.32sibiriait sends it the EAGI way, across the outgoing file descriptor
14:24.37sibiriathe amd itself is not the problem, really
14:24.44SamotOK
14:24.45sibiriait works with 99% accuracy
14:24.55SamotWhen not sent via EAGI
14:25.03SamotOr just through this provider?
14:25.11sibiriai'm really getting the feeling that asterisk just didn't send it any audio, or that it for some reason suddenly sent something else than SLIN
14:25.21sibiriathis has only happened with this one provider
14:26.21SamotSo..
14:26.23SamotJust curious..
14:26.36SamotWhat if I play a beep in my greeting as a joke?
14:26.42SamotBefore the real beep hits?
14:26.49SamotWhat does your AMD software do then?
14:27.02sibiriadepending on how good a beep you send, our software can be fooled, obviously
14:27.13SamotThe same beep
14:27.39sibiriathen it can be fooled, if you say a few words and then beep
14:27.57SamotSo it doesn't look for actual speech patterns?
14:28.18SamotOr speaking and silence gaps?
14:28.43sibiriait wants a certain amount of words before its fourier transformation kicks in to analyze frequency spikes
14:29.02sibiriapardon, but how is this relevant? the software does a great job when it's being fed SLIN audio :)
14:29.17SamotWell
14:29.19SamotLets see.
14:29.49*** part/#asterisk wim_ (~wim@ip-94-140-174-105.reverse.destiny.be)
14:29.52*** join/#asterisk wim_ (~wim@ip-94-140-174-105.reverse.destiny.be)
14:29.57SamotYou're having an issue interrupting the DTMF/audio on a call. Understand how it does those things, helps.
14:30.13SamotOtherwise we're just guessing at what this software is doing.
14:30.36SamotHave you looked at the debugs between two calls?
14:33.24wim_sibiria, you say that it needs to detect a few words for the beep detection to work. does it log this? If so you could at least see it that's working as expected
14:33.27sibiriawe don't need to guess what the software does. it's *our* software. we developed it. the question isn't really if the software itself performs good or bad, but whether there's a chance that asterisk ocassionally might not feed audio over EAGI at all
14:33.50sibiriais it perhaps a file descriptor limit? did asterisk fail to allocate?
14:34.06sibiria(i find no warnings in asterisk's log, though)
14:34.17sibiriawim_: it works as expected
14:34.36SamotI said *we* as in the people you are asking for help.
14:34.44SamotWe don't know who this software works.
14:34.56SamotHave you looked at a debug between calls?
14:35.03sibiriaperhaps this was missed: feeding the software the final call recordings OF THE EXACT SAME CALLS yields a positive result on every single case
14:35.04SamotOne that works and one that doesn't?
14:35.04wim_so that proves that the audio actually is sent to the eagi.
14:35.09SamotAre they being sent differently?
14:35.22SamotOK.
14:35.30SamotHave you looked at the calls?
14:35.37SamotSimple question.
14:35.43sibiriathere's no discernable difference between working and failing calls
14:35.54SamotSo the debugs show nothing different
14:35.58sibiriacorrect
14:36.50sibiriasince there's no clear insight in whether or not asterisk may send something else than SLIN over EAGI, or send silence suddenly, i think the only resort is that i start tapping and dumping the incoming audio from within the EAGI application
14:37.00sibiriato compare with asterisk's own saved recording
14:37.11sibiriato see if it really is feeding silence, which seems to be the case
14:37.41wim_sibiria, you say that it detects the speech normally, so you know the eagi hears audio.
14:38.03sibiriawim_: maybe a language barrier - i said that it looks for speech as well
14:38.08sibirianot just a repeating waveform
14:39.21wim_well, maybe but you said "it wants a certain amount of words before its fourier transformation kicks in to analyze frequency spikes"
14:40.36wim_so you need to detect both speech and then a beep. the question was, when the beep is not detected, did it detect the voice? If not you could say no audio is fed to the eagi
14:41.45sibiriait doesn't seem to detect either, but i don't know if it's because silence is being fed, or "noise" is being fed (read: audio in something else than SLIN format)
14:42.08sibiriacannot find anything in the asterisk documentation regarding possibly different audio formats coming across EAGI
14:47.54wim_i guess it makes sense to dump the audio from the script and see what that gives
14:48.08*** join/#asterisk [[thufir]] (~thufir@192.157.119.2)
14:49.59*** join/#asterisk kharwell (kharwell@nat/digium/x-cyesgzrtdvusugvk)
14:50.00*** mode/#asterisk [+o kharwell] by ChanServ
14:55.16[[thufir]]what is the default login for AsteriskNOW?  from the console.   https://community.asterisk.org/t/asterisknow-login-command-line-cli/72644  user:root password:  ?
15:12.15*** join/#asterisk Dirk23 (Dirk23@diehildebrands.de)
15:13.03SamotIt's what you make it.
15:13.12SamotThere is no "default"
15:14.05*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
15:14.05*** mode/#asterisk [+o bford] by ChanServ
15:14.10SamotYou set the systems root password when you installed the ISO
15:14.23SamotAnd configured the system, like any other Linux distro install.
15:15.02*** join/#asterisk Yiota (~textual@199.33.115.187)
15:15.11SamotIf you don't have or forgot the root password for the system, you need to recover it normally based on the Linux distro you are using.
15:15.13[[thufir]]Samot: ok, thanks.  I don't recall those steps with this install.  It was with kvm.  I still would've been prompted?  weird.
15:15.23SamotYes, you would have been.
15:15.28SamotIt's a normal Linux install.
15:15.31[[thufir]]ok.  thx.
15:15.35SamotYou would have been asked for the root password.
15:15.39SamotTo set it.
15:15.47SamotWhat OS is this?
15:16.11[[thufir]]AsteriskNOW (virtual) as guest on kvm.  I'm running Ubuntu.
15:16.42[[thufir]]ubuntu as host.  AsteriskNOW as guest.  (kvm)
15:17.10*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
15:17.24[[thufir]]lol.  logged in!  guessed my password.  heh, just didn't recall that step for some reason.
15:21.54[[thufir]]AsteriskNOW is basically freePBX?
15:23.27SamotYes
15:23.54[[thufir]]is it preferable to use AsteriskNOW, or just download freepbx?  half a dozen of one, six other?
15:24.36[TK]D-FenderI'd stick with the FreePBX distro
15:24.49[TK]D-Fenderleave the GUI to the GUI people.
15:26.12[[thufir]]ok. thx.
15:26.41*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
15:29.44*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
15:30.39*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
15:33.01tzafrirHas anybody been using chan_console recently on Linux? It gives me an error about trying to write to a read-only (audio) device
15:35.09*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
15:35.09*** mode/#asterisk [+o cresl1n] by ChanServ
15:37.11wim_tzafrir, i remember i had the same issue a while ago. I think it's been 6 months to a year ago. Couldn't be bothered to find a solution, just wanted to show the feature to a colleague
15:38.23tzafrirchan_alsa would have worked, but I need to use more than a single device.
15:39.07*** join/#asterisk Stokkeland (~tstokkel@64.238.139.2)
15:48.56Stokkelandstability issue - in stress testing, about a million sip (chan_sip) calls and 800 config change/reloads done in 36 hours - segfault in chan_sip (i think).
15:48.59Stokkelandwith 13.18.2 - last log entries are astobj2.c: FRACK!, Failed assertion user_data is NULL (0). I have traces etc but dont know how to read them.
15:49.02Stokkelandit is reproducable, just takes 1-2 days, sometimes 3. uncertain where to turn for consultancy on somehting like this - digium directly?
15:50.00SamotUhm.
15:50.03SamotA million calls?
15:50.05SamotWTF?
15:50.14SamotWhat scenario will that actually be applied in?
15:50.56Stokkelandwell yes.. in a production setup - system may process 50 thousand calls a day..  we have that in production today, one site started getting segfaults, and we can reproduce with stress tests
15:51.16Samot50,000 per day?
15:51.25SamotIs this for an ITSP or something?
15:51.40Stokkelandmore or less -   12000 configured users, ~4000 online at the time
15:52.11Stokkelandlarge business - voice in an app basically
15:52.38Stokkeland(we support our app directly to CUCM also, but many dont want to pay cisco so they take our asterisk based option)
15:53.19SamotBut you're only using one server to support all this?
15:53.33Stokkelandyes - our limit is 4000 active users on a single server
15:53.57SamotSo that means 4000 users get 50,000 calls?
15:54.03SamotI'm trying to understand this.
15:54.04KorolevI get over a million attempts on a single server too, nothing rara
15:54.14Samot"attempts"
15:54.18Stokkelandyes - typical max in a day is around 50k
15:54.19SamotAs in people attacking you?
15:54.26SamotTrying to get into the system?
15:54.31SamotOr actual calls on the system?
15:54.36Korolevno, as in people trying to call, but not all are answered
15:54.38SamotThat are being processed.
15:54.43Stokkelandactual calls - there is no internex exposure
15:54.44SamotOK
15:54.46SamotSo..
15:55.22SamotWhat is this system running as resources?
15:55.23Korolevwith pjsip, chan_sip segfaults with far less than that
15:55.28Stokkelandwe stresstested a year ago for 3 weeks without issue.. issue started recently, no idea what the difference is - same kernel etc
15:55.41*** join/#asterisk rmudgett (rmudgett@nat/digium/x-icfbnszzaldhlxid)
15:55.41*** mode/#asterisk [+o rmudgett] by ChanServ
15:55.54Stokkelandduring the tests i hva 4vcpu and run no more than 1.5
15:56.09SamotHow many core?
15:56.14Stokkeland4
15:56.20SamotEach CPU
15:56.22SamotOr overall?
15:56.34SamotBecause so far this is underpowered.
15:56.34Stokkelandit is a vmware vm, it has 4 vcore
15:56.37Stokkelandtotal
15:56.46Samot4 cores is not enough
15:56.48Korolevyeah, very underpowered
15:56.56SamotAt all.
15:56.58Stokkelandthere is no transcoding
15:57.02SamotDoesn't matter.
15:57.05SamotNot enough
15:57.07SamotPeriod.
15:57.08Korolevstill,that is a lot of call setups
15:57.10SamotFor eal load.
15:57.12Samotreal
15:57.24Stokkelandload never goes above 2.0
15:57.29SamotOK
15:57.30SamotDude.
15:57.37SamotYour box is underpowered.
15:57.38SamotPeriod.
15:57.46SamotYou can tell us all the things in the world.
15:58.04Samot4 core for 50K calls and 4K users is not enough
15:58.06SamotAt all.
15:58.44Stokkelandi use 8 core at customer sites -  i purposely use 4 in my stress test to see how it pushes the limit.  regardless though, can that cuase the segfault?
15:58.55SamotYes.
15:59.06SamotAn underpowered box being hammered will do that
15:59.20Stokkelandokay - I will redo my stresstest with 24 core and see if it improves
15:59.21Korolevabout chan_sip, I'm not sure that the load is the reason
15:59.44KorolevI have had chan_sip segfault with about 100 calls, a mix of transcoding and passthrough
16:00.33Samoti haven't.
16:00.37Korolevmy impression is that is more related to calls per second than total number of calls
16:00.44Stokkelandokay
16:00.50SamotIt's a combination of both
16:00.52Stokkelandthat is an interresting thing to test
16:00.52Korolevmy solution was to switch pjsip
16:01.06Korolevswitch to*
16:01.53Korolevfor an easy example, I get a high volume of domestic calls
16:02.04Stokkelandyeah pjsip is teh long term goal - perhaps a comparison test in my lab would be worth it
16:02.32Korolevwith conference traffic, which has an acd around 20 minutes, I can push near 100 calls with chan_sip before it started to segfault randomly
16:03.29Korolevwith callcenter traffic, with an acd below 1 minute, but a much higher number of calls per second, north of 10, chan_sip dies after 40 or 50 simultaneous calls
16:04.32Stokkelandthank you for the input guys - I will do some other tests around it now, more cores as well as a pjsip test comparison
16:04.36Korolevif you could come up with more accurate numbers and publish them, that would help a lot of people plan their setups better
16:06.57SamotI push 1800 calls in 3 minutes with Chan_SIP for alert calls.
16:07.09SamotI do not have these issues.
16:07.24Korolevthat's 10 calls per second, for how long?
16:07.36SamotThis sounds more like poor or not configured right systems.
16:07.49Stokkelandspaced randomly or fixed?  I use startrinity Sip testers and randomize the calling to try make it life like
16:07.51Samot60 to 90 seconds when they connect.
16:07.59SamotYes, 10 CPS.
16:08.09Korolevno, for how long do you run the alert calls, all day long?
16:08.15SamotWhen needed.
16:08.33SamotIt's tied to the National/State Weather databases.
16:08.34Korolevchan_sip can certainly hold it's own for a short period of time
16:08.38SamotNo.
16:08.46SamotIt can hold it's own for a long period of time.
16:08.50SamotIf you do it right
16:08.51Korolevok
16:08.57SamotJust like anything else.
16:09.38SamotWhat do you think people did before 2014?
16:09.40Korolevwould you mind setting up a test machine and doing an experiment with me?
16:10.03KorolevI have been selling voip traffic since 2008
16:10.06SamotJust said "Screw it Chan_SIP can't do it, let's use IAX?"
16:10.12SamotI mean before PJSIP
16:10.26Korolevno, I said screw it, chan_sip can't do it, let's use sophia
16:10.34SamotExcept it can.
16:10.45Korolevwe can test it out
16:10.54SamotI don't need to test anything.
16:11.07KorolevI can push 200 concurrent calls to you, and you can return them to a second server of mine so that they complete
16:11.07SamotI've run providers on Asterisk networks for over 10 years.
16:11.12Korolevand see how long chan_sip lasts
16:11.17SamotI don't need to
16:11.25SamotI have networks that already do that
16:11.34SamotI don't need to test with you because you don't believe me.
16:11.43Korolevthen I must have been configuring it the wrong way
16:11.57Samot11:07:35 AM S<Samot> This sounds more like poor or not configured right systems.
16:11.57voipmonkbut its coming back to your misconfigured systems - sounds like a fail anyway
16:11.59Korolevbut now I'm interested
16:12.24Korolevwhat tweeks are out there to make chan_sip more rubust?
16:12.37Korolevi would love to change away from pjsip and back to chan_sip
16:12.45SamotThere's like 15 years of documentation all over on that
16:12.56Korolevcould you point to some?
16:12.56SamotWhy?
16:13.06SamotChan_SIP is dying.
16:13.16SamotIt will be the way of the dodo soon.
16:13.20SamotThat's what PJSIP is for.
16:13.50SamotEven next year I have plans to start the conversion.
16:15.34SamotBut again...
16:15.38SamotI do things that most don't
16:15.45Samot1) I never use Asterisk as a switch
16:15.53Samot2) I never use Asterisk as a billing system
16:16.26Korolevwhen you say asterisk as a billing system, is that even possible?
16:16.43SamotThere are a few billing software programs out there for this.
16:16.48SamotThat many providers use
16:17.43SamotPart of the problem with providers is they think an Asterisk box, some billing software and a couple upstream providers makes them an ITSP or VoIP Provider.
16:17.57Korolevdoesn't it though?
16:18.00voipmonk...
16:18.02SamotNo.
16:18.07SamotNot at all.
16:18.18Korolevwhat makes a voip provider one?
16:18.32SamotWell technically yes, it does.
16:18.37SamotDoes it mean you're doing it right?
16:18.39SamotOr well?
16:18.40SamotNo.
16:18.49voipmonkYou have to know how to read.
16:18.55SamotWell I would say understanding the basics of Telephony
16:18.56voipmonkand apply what you have read.
16:18.59SamotThe basics of SIP
16:19.07SamotBefore you even get to your system...
16:19.12SamotShould be in the wheelhouse.
16:20.54Korolevno I get it, and I tend to agree with you, most people using asterisk/freeswitch/whathaveyou with some piece of php built billing system are doing it wrong
16:20.59SamotThis is also the reason why many use FreePBX/AsteriskNOW and end up spinning up numerous boxes for 5 user accounts.
16:21.12SamotBecause they can't figure out how to make Asterisk work properly
16:21.14Korolevbut my point was, because most are doing it wrong, doesn't mean it can't be done right
16:21.27SamotRight.
16:21.30SamotMy point.
16:21.34SamotIt should be done right.
16:21.35Korolevso I disagree with *i never use asterisk as a billing system*
16:21.41SamotOK
16:21.44SamotI don't.
16:21.50SamotWhy put the load on my voice server?
16:22.02Korolevof course not
16:22.03SamotWhy does my billing need to be on the same system that does calls?
16:22.08SamotSounds kinda silly.
16:22.16SamotOh..
16:22.39SamotAnd then there is the "I'm going to push users on Box A through Box Y and then Box Z"
16:22.48SamotBecause Y is billing and Z is switching
16:22.50SamotAll Asterisk
16:23.01SamotSo you know, nine freaking channels for one call.
16:23.24Korolevheh, and call one of them session border controller
16:23.35SamotI use a softswitch
16:23.38voipmonkwhat?
16:23.38KorolevI'm talking about you adrian, if you are reading :D
16:23.41SamotI use sip proxies.
16:23.45voipmonkAsterisk != SBC
16:23.49SamotMy Asterisk servers do one thing...
16:23.52Samothandle calls.
16:24.03SamotAll the other crap is on different systems.
16:25.29Korolevwell, a routing system is really only one method with a webservice interface
16:25.33Korolevandso is a billing system
16:26.02Korolevall you need is to feed routing data/ read billign data from asterisk
16:26.03Kobazhaving a weird issue
16:26.06SamotI use Kamailio.
16:26.16SamotThere is no "web service interface" unless I write it.
16:26.19Kobazchan_sip... i don't have match_auth_username turned on
16:26.26SamotOK.
16:27.10KobazINVITE is coming in from a peer, 192.168.181.9, the peer is AudiocodesGW.... the From header: 1344
16:27.19Kobazasterisk is matching the invite to peer 1344
16:27.25SamotRight.
16:27.27SamotAs it should.
16:27.28Kobazthat does not have a registered endpoint
16:27.35SamotDoesn't matter.
16:27.36Kobazmatch_auth_username=no
16:27.39SamotDo you have a peer?
16:27.43SamotThat is FROM
16:27.44Kobazso it should match the peer ip
16:27.46SamotNot AUTH
16:27.51Kobazer, right, doh
16:28.08SamotYou have a call coming FROM 1344
16:28.13SamotWhich is a peer on that system.
16:28.17Kobazright
16:28.22SamotSo..
16:28.22Kobazhmm
16:28.26Kobazthis used to work
16:29.17SamotThe endpoints don't need to be registered.
16:29.31SamotThey just need existing peer configs.
16:29.38SamotSo Asterisk knows, it's a peer.
16:29.53SamotHow is the trunk setup?
16:30.00SamotWhat are the settings in the trunk?
16:30.09SamotAnd who is first in sip.conf?
16:30.20Kobaztrunk's pretty basic... peeer... host=
16:30.50SamotWhere is it in sip.conf
16:30.53SamotOrder matters.
16:31.06Kobazgood point
16:31.08SamotIt is before the 1344 peer?
16:31.17SamotWhich would match first if it's above the other
16:31.48Kobazright
16:31.49Kobazyeah
16:31.54Kobazthis system just got rebuild
16:31.56Kobaz*t
16:31.59Kobazthat's probably the issue
16:32.16Kobazthis is someone elses box... i never have this sort of problem because i have things in expected orders
16:32.42Kobazit's basically "our old asterisk guy went on hiatus and we can't get him to finish this"
16:33.21Kobazugh, yeah extensions is loading first
16:36.03Kobazsince our platform doesn't have this sort of issue, my troubleshooting skill for that got forgotten about
16:51.52Kobazokay
16:51.57Kobazso, the trunk is up first now
16:52.03Kobazstill matching 1344
16:52.55Kobazhttps://pastebin.com/CT1094b8
16:53.01Kobazsimple as simple can be
16:53.05tzafrirwim_, regarding my chan_console problem: see https://issues.asterisk.org/jira/browse/ASTERISK-27426
16:54.37SamotKobaz: So you're authing incoming calls?
16:54.53SamotBecause you don't have insecure there.
16:55.05Kobazit's ip based
16:55.08SamotSo it's matching and wanting to auth incoming calls on that peer.
16:55.14Kobazi tried insecure=port,invite as well
16:55.14SamotYou are still authing.
16:55.39Samothost= just means you expect them to come/go to that IP
16:55.43Kobazright
16:55.52SamotYou can still force an auth
16:55.55Kobazyou could
16:55.57Kobazbut i'm not
16:56.08Kobazyou can still invite to a peer without insecure=port,invite
16:56.14SamotNot having insecure=invite,port does that
16:56.17SamotRight
16:56.18Kobazif there's no secret specified
16:56.28SamotBut then the INVITE will be auth.
16:56.38Kobazkillin me
16:56.40Kobazi wonder if this is a bug
16:56.41SamotYou are confusing letting the IP in..
16:56.50SamotVs allowing it to do something.
16:56.51Kobazthey just updated to a new asterisk
16:57.02KobazSamot: host=  without auth, accomplishes both
16:57.48Samothost=dynamic with insecure=invite,port
16:58.00SamotMeans any IP can send a call into Asterisk and not be authed.
16:58.01SamotANY
16:58.10Kobazright, hah
16:58.11Samotwith that peer as the FROM
16:58.15Kobazthat's umm... one way
16:58.18SamotSo host=ip
16:58.34SamotMeans that incoming calls from that IP are accepted.
16:58.41Kobazright
16:58.49SamotNow whether or not you secure that invite
16:58.50Kobaz*and* it also means they are authorized if there's no secret=
16:58.58SamotOK.
16:59.08SamotI don't see debugs of this mis-match
16:59.19SamotOr how this is being handled.
16:59.35Kobazthis is more and more looking like a bug
16:59.39Kobazdoing more experiments
17:00.38[sr]hi, for network sound broadcast, which is the dev library for this? the name is a bit similar with so many
17:01.43Samot?
17:07.59*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
17:11.48Samot[sR]: The install_prereq should have this
17:12.15*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
17:12.55[sr]Samot: that file exists on the sources? dont see it
17:13.24SamotYou run it during the configuration process when you install Asterisk.
17:13.55[sr]im using menuselect to choose options
17:14.08SamotYou run it before that
17:14.29SamotIt installs any missing prereq's Asterisk needs.
17:14.52SamotNow NBS isn't something that is really needed but it does seem to be in the process.
17:15.04Samothttps://github.com/asterisk/asterisk/blob/master/contrib/scripts/install_prereq <-- It's in there.
17:15.22Samotecho "*** Installing NBS (Network Broadcast Sound) ***" <<- Even would have echoed this.
17:21.18[sr]ah cool,
17:21.22[sr]got it
17:21.29[sr]normally i install the packages on my own
17:21.39[sr]the names are normally easy to identify the -dev packages
17:29.43[sr]ahhh this script was helpfull Samot, for lua it required 5.1 version and i was installing 5.3
17:31.48*** join/#asterisk pchero (~pchero@109.70.54.56)
17:45.40[sr]Samot: i dont see much references to mysql here in the module selection
17:45.44[sr]only pgsql/sqlite
17:45.54[sr]is there any ideia to remove mysql from here?
17:46.21[sr](because is now from oracle, etc etc, the history i already know)
18:06.33SamotI don't know what you are taking about.
18:11.14[sr]Samot: there was a cdr_mysql
18:11.23[sr]and now only exists cdr_adaptive_odbc
18:11.34[sr]ok its going to be configured via odbc
18:11.43[sr]but still exists an cdr_pgsql and cdt_sqlite
18:13.46SamotOK
18:14.02Samotcdr_mysql still exists.
18:14.55[sr]yes but marked as obsolete
18:14.58[sr]deprecated
18:16.03SamotThe idea is you really should use ODBC for any connection.
18:16.16SamotFor the database.
18:16.36SamotWant to store your CDRs in pgsql, OK. ODBC will handle that.
18:18.30[sr]my case will be mysql
18:18.49[sr]i just asked 'cause only cdr_mysql was marked as deprecated
18:18.58[sr]not cdr_pgsql and cdr_sqlite
18:29.15*** join/#asterisk tzafrir (~tzafrir@62-90-199-170.barak.net.il)
18:33.06*** join/#asterisk jkroon (~jkroon@165.16.204.167)
18:36.42SamotIt's been like that for years.
18:36.46SamotThis isn't something new.
18:37.08SamotI think even since 1.8 or at least 10
18:37.29SamotOr maybe it was 12.
18:37.45SamotBut it's been at least 5 years.
18:59.45*** join/#asterisk [sID] (~sid@logv.pl)
19:14.07*** join/#asterisk Yiota (~textual@199.33.115.187)
19:32.45SamotSQL ERROR [ mysqli ]
19:32.45SamotCan't connect to MySQL server on '127.0.0.1' (111) [2003]
19:32.49Samotfile: ^^^^
19:33.04Samothttp://forums.asterisk.org/viewtopic.php?f=1&t=87826 << When I tried to hit
19:33.31fileoh, the old forums
19:34.42SamotOh
19:34.43SamotOK
19:34.46SamotFalse alarm.
19:35.28filehttps://community.asterisk.org is the new place
19:37.01fileI opened a ticket internally about it though
19:38.34SamotYeah, it didn't even register
19:38.41SamotI read it "Eastern" style.
19:38.47SamotI never got to the subdomain.
19:38.58Samotorg asterisk "oh shit"
19:39.57Samot<PROTECTED>
19:40.28Samot^^ What would case that on a t.38 call. I really can't ever recall seeing that error before..
19:40.42Samots/case/cause/
19:41.13SamotI see it related to WebRTC calls but nothing is popping up for T.38
19:41.35fileif the SDP is somehow malformed or the chan_sip SDP parser/negotiator tripped up
19:42.40SamotBetter way to tell which side? I'm looking at the SDP it looks ok in the debug.
19:44.34filenot really, gotta dig in and I don't remember the chan_sip stuff
19:45.25SamotK.
19:45.36SamotThe SDP looks fine in the c= section
19:45.37Samotheh
19:45.39Samotc section
19:46.05SamotBut the person is also running 13.17.0
19:46.08SamotSoooo...
19:46.13SamotThat had it's own issues.
19:46.29SamotI would lean on something in the negotiator perhaps.
19:46.56filethat T.38 attempt was rejected
19:47.44SamotYeah.
19:47.49SamotBut that error followed.
19:48.03SamotI'm assuming that was the cause of the rejection.
19:48.14Samotwait..
19:50.28[sr]Samot: maybe from 2012, in v11 still not marked as obsolete
19:50.48[sr]so i'll just update myself to odbc now :)
20:00.50*** join/#asterisk imcdona (~imcdona@64.122.164.5)
20:07.40*** join/#asterisk startledmarmot (~startledm@cpe-75-82-221-87.socal.res.rr.com)
20:08.19*** join/#asterisk Yiota (~textual@199.33.115.187)
20:18.04*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
20:19.53*** join/#asterisk Yiota (~textual@199.33.115.187)
20:27.04*** part/#asterisk ezra-s (~ezra-s@apache/committer/dferradal)
20:27.40*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
20:27.40*** mode/#asterisk [+o cresl1n] by ChanServ
20:31.55*** join/#asterisk Hyper_Eye (~mwoodj@pdpc/sponsor/digium/hyper-eye)
20:54.08*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
20:54.08*** mode/#asterisk [+o cresl1n] by ChanServ
20:58.52*** join/#asterisk Yiota (~textual@207.164.151.42)
21:56.18*** join/#asterisk bluenemo (~bluenemo@unaffiliated/bluenemo)
21:57.57bluenemohi guys. This is not exactly an asterisk question but maybe you have an idea. We run a IT company which provides emergency services for SLA customers. We want the customers employees to call us anytime. We however develop the need to authenticate if the person calling really belongs to that company. We are looking for a solution that lets the CEO of our customer distribute and manage a way for his employees to authenticate when calling us.
21:58.53bluenemoSo far I thought about something like OTP. Each employee gets its custom QR code which he scans with his phone and we do also on our laptops. When sbd then calls and claims to be this person, we could compare the QR code.
22:03.53SamotOr you can give them a specific "pincode"
22:03.58sibiriaSIP accounts aren't enough?
22:04.09SamotThis is for inbound calls.
22:04.22SamotSo they can verify the caller is with the company under SLA contract.
22:04.55SamotThis is basically making an IVR that accepts specific digits to route the call somewhere.
22:05.11SamotAuthenticate() could be used as well for a pincode.
22:05.38SamotI'm going to guess this would be a "client wide" code and not a "per end user" code..
22:06.04*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
22:06.04*** mode/#asterisk [+o cresl1n] by ChanServ
22:07.04*** join/#asterisk zopsi (~zopsi@dir.ac)
22:07.22*** join/#asterisk underport (~underport@138.121.100.9)
22:09.12*** join/#asterisk Iamnacho (~Iamnacho@ip72-213-55-66.om.om.cox.net)
22:12.36*** join/#asterisk sparkmeasure (cfa4e601@gateway/web/freenode/ip.207.164.230.1)
22:12.55sparkmeasureanyone here has experience working with Sangoma Vega gateways?
22:13.55*** join/#asterisk cryptic (~cryptic@142.196.170.87)
22:26.10*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
22:26.10*** mode/#asterisk [+o cresl1n] by ChanServ
22:59.09*** join/#asterisk zopsi (~zopsi@dir.ac)
23:02.14*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
23:02.14*** mode/#asterisk [+o cresl1n] by ChanServ
23:19.28*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
23:29.35*** join/#asterisk MrTAP (~MrT@unaffiliated/mrtap)
23:54.06*** join/#asterisk Yiota (~textual@2605:8d80:6c2:baf4:4d3b:a60e:fadc:8d33)

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