IRC log for #asterisk on 20171024

00:47.16*** join/#asterisk jcpeters02 (~jcpeters0@104.193.30.44)
00:48.17jcpeters02hello everyone, I have a freePBX install and I am trying to figure out how to get my domain to be reflected in the TO field when setting up an outbound call.
00:49.15SamotWhat do you mean?
00:49.32SamotWhen an endpoint makes a call to the PBX?
00:49.39SamotOr when the PBX sends a call to the provider?
00:50.02jcpeters02PBX sends call to provider
00:50.07SamotNo.
00:50.13SamotBecause that's not how it works.
00:50.20SamotTO is for where you are sending the call TO
00:50.24SamotHence the name, TO
00:50.34SamotSo the TO field would have the provider's IP/domain.
00:50.41SamotYour domain would be in the FROM field...
00:50.51SamotBecause that's where the call is, well, from.
00:50.59jcpeters02Called SIP/BluIP/1502XXXXXXX@502YYYYYYYY  (but the 502YYYYYYY needs to be mydomain.com)
00:51.07SamotNo.
00:51.08Oeaawhat
00:51.13SamotThat's not how that works.
00:51.16Oeaathat doesnt make sense
00:51.19SamotYou are the FROM domain.
00:51.26SamotBecause the call is coming FROM you.
00:51.33jcpeters02I have to specify the provider domain
00:51.33SamotThe TO domain is where the call goes.
00:51.37jcpeters02yes
00:51.40SamotOK
00:51.48jcpeters02I need to send my calls to number@domain.com
00:51.48SamotSo change the host name to be the domain and not an IP
00:52.02SamotIn the trunk.
00:52.52Oeaasend yoru calls to number@domain.com?
00:52.55Oeaai am so confused
00:53.01SamotYes.
00:53.10SamotIt's called the TO-URI
00:53.21SamotAll TO are number@domain
00:53.26SamotThat's how it works.
00:53.46SamotMore exactly it's user@domain as the SIP user doesn't have to be a number.
00:54.08SamotIf you have a trunk with Flowroute the Host is sip.flowroute.com
00:54.27SamotSo when you send calls to them it's 1NXXNXXXXXX@sip.flowroute.com <-- That's the TO header.
00:56.02jcpeters02ok, I have replaced the host name and it still wants to send the call to @number
00:56.42jcpeters02i have domain, fromdomain and realm all in outbound trunk settings
00:57.03jcpeters02I live in Broadsoft hosted, don't do much with SIP Trunking
00:57.03SamotThis a PJSIP trunk?
00:57.08jcpeters02just SIP
00:57.28SamotBroadsoft does a lot of SIP trunking.
00:57.29SamotOK
00:57.36Samot~pb
00:57.36infobotsomebody said pastebin was a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
00:57.48SamotPastebin what you have your your chan_sip trunk settings.
01:00.52jcpeters02Samot, I think I understood what you are asking for.  http://paste.lisp.org/display/359365
01:01.35Samothost=techconnexgroup.com <-- This can't be right.
01:01.50SamotNo one uses the general root domain for sip routing.
01:01.57SamotFirst, it's a no-non
01:02.05SamotFirst, it's a no-no
01:02.06jcpeters02My SIP Domain on Broadsoft is that
01:02.29SamotSo you have SIP records for that
01:02.37jcpeters02on a different address
01:02.41SamotSRV/NAPTR?
01:03.08jcpeters02yes, before you suggested changing the host it was something else
01:03.13SamotOK does that domain only resolve to the broadsoft server?
01:03.20SamotWhat was it before?
01:03.43jcpeters02ord-iad3.masteraccess.com
01:03.58SamotOK.
01:04.06SamotWho is the other domain?
01:04.27jcpeters02the techconnexgroup.com?
01:04.31SamotYes.
01:04.34jcpeters02that is mine
01:04.38SamotOK.
01:04.39SamotSo..
01:04.42SamotAgain..
01:04.48SamotThe host= is WHERE THE CALLS GO
01:04.53SamotYou are not where the calls go
01:04.59SamotThey do not go to your web server.
01:05.02jcpeters02that is what I was thinking too.
01:05.06SamotOK.
01:05.19SamotI never said put that domain in that field.
01:05.22SamotAt all.
01:05.27jcpeters02I misunderstood you then, my apologies
01:05.39SamotPut it back the other way.
01:05.56SamotThat other domain is the SIP server.
01:06.15jcpeters02yes, ok, done
01:06.31SamotNow the provider wants what, exactly?
01:06.45SamotIs this documented somewhere?
01:06.51jcpeters02not very well
01:06.54SamotThat you can pastebin and show me the exact words.
01:08.11jcpeters02Samot, refresh that pastebin
01:09.07SamotHow did you get so different?
01:10.44Samotord-iad3.masteraccess.com <-- This isn't even listed anywhere in that update
01:10.51SamotLike...
01:10.58SamotYour trunk is completely fubar'd.
01:11.15SamotYour config is grossly different.
01:12.17jcpeters02yes, that is an example
01:12.30jcpeters02that is not what I use exactly
01:12.30SamotOK, where is your data?
01:12.56SamotWhat did they give you as your data to put in those settings?
01:13.11SamotEven if those settings are generic..
01:13.25SamotThe values, your trunk has crap they don't have in their config example.
01:13.53jcpeters02I provided you in the pastebin, the details I got
01:14.06SamotSo the details you appended..
01:14.13SamotAre *your* account details?
01:14.22jcpeters02yes
01:14.26SamotOK
01:14.27jcpeters02thats really all they provide
01:14.37SamotThe second one?
01:14.46SamotThe update you added to pastebin, right?
01:15.05jcpeters02yes
01:15.18SamotOK, so if I fix it then I have the right settings.
01:15.50Samothttps://www.irccloud.com/pastebin/imt2HRwA/
01:16.16SamotOK, step 1) In the OUTGOING section of the trunk. Replace what you have with that.
01:16.43SamotStep 2) Go into the INCOMING tab..
01:17.05SamotWhere it says CONTEXT you put 7025550110
01:17.19SamotYou do not put anything in the peer/config box..
01:17.23SamotThat should be blank.
01:17.37SamotThe last field, Register String you put: 7025550110@bluipdemo.com:1Q2W3E:7025550110@laxiad.masteraccess.com/7025550110
01:18.15jcpeters02Ok, one second
01:18.15SamotOH
01:18.23SamotIf you're using FreePBX..
01:18.31SamotRemove [BLUIP] from that
01:18.38SamotBLUIP is the "Trunk Name"
01:18.52jcpeters02yes
01:19.05SamotEverything below [BLUIP] goes in the PEER Details.
01:19.15SamotUser Context is your username
01:19.27SamotUSER Details = nothing/blank
01:19.34SamotRegister String is the string
01:19.39jcpeters02ok, thats how I have it now
01:19.49SamotOK..
01:19.53jcpeters02I can receive inbound calls just fine
01:19.58SamotOK
01:20.05SamotLog via SSH
01:20.06jcpeters02I just cant get an outbound call to formulate correctly
01:20.17Samotasterisk -rvvvvvvvvv
01:20.21Samotsip set debug on
01:20.27Samotmake an outbound call
01:20.44Samotpastebin the output from the moment you enter the Asterisk CLI to the hangup.
01:28.35jcpeters02I updated the pastebin, but I cant make inbound calls anymore
01:29.16jcpeters02let me try that again
01:29.21jcpeters02I cannot receive calls anymore
01:29.45SamotAre you registered?
01:30.03Samotoutbound calls don't require registration, just proper auth.
01:30.07jcpeters02sip show registry says I am
01:30.16SamotOK
01:30.20SamotRun the debug again.
01:30.22SamotMake an inbound call
01:30.26SamotShow the results of that
01:30.41SamotLet's confirm if you're actually receiving the call.
01:30.59SamotBut that outbound call went out
01:32.03jcpeters02I got a switch intercept saying the number was not in service.  It is, it is my cell phone
01:32.49jcpeters02The paste has been annotated
01:33.05Samotbluipdemo.com <-- Is that what that should be?
01:33.12SamotOr should *that* be your domain?
01:33.18jcpeters02that should be my domain
01:33.24SamotThen make it your domain.
01:33.29jcpeters02let me paste what I actually have there
01:33.32SamotSo your register string is messed up.
01:33.49SamotI asked if what was in that pasbebin was your details so I could fix your trunk.
01:35.28jcpeters02the registration was not in that, but when you told me to update the trunk, I was taking the information you had and I populated my register key as 5022421853@techconnexgroup.com:XXXXXX:5022421853@ord-iad3.masteraccess.com/5022421853
01:36.23jcpeters02I am closer to the ORD pop, but their examples use the LAX POP
01:36.28SamotOK hang on a second.
01:36.39Samotthis is why I hate single pastebin updates.
01:36.44SamotI missed the OB proxy settings.
01:37.23SamotOK, one second.
01:39.58Samothttps://www.irccloud.com/pastebin/3N1Gw1UX/
01:40.56Samot5022421853@techconnexgroup.com:1Q2W3E:5022421853@ord-iad3.masteraccess.com/5022421853
01:41.15SamotUSER Conext is 5022421853
01:41.21SamotUSER Context is 5022421853
01:42.52jcpeters02I dont think that the example is complete that they provide.
01:43.20jcpeters02I can pass traffic to the switch, as I get a switch intercept now, but it still is not happy
01:43.45jcpeters02and I cant receive calls
01:44.50SamotOK, without having the full details of what y our settings are..
01:44.59SamotAnd what they need in the trunk settings...
01:45.15SamotI've run broadsoft systems with Asterisk endpoints.
01:45.33SamotLike 1.8 Asterisk, I know it works.
01:45.46jcpeters02I know, but when I make a call, I am passing 5021234567%405022422421853
01:46.09jcpeters02oops
01:46.16SamotWell I don't know if you're adding it
01:46.20jcpeters025021234567%405022421853
01:46.23SamotI asked for asterisk -rvvvvvvvvv as well
01:46.36SamotWhich shows how the call is going through the dialplan.
01:46.40*** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net)
01:46.45jcpeters02One second
01:46.50jcpeters02I did omit that
01:46.52SamotAnd can see if you're adding crap to the digits.
01:48.25jcpeters02Ok, I updated the pastebin
01:51.36jcpeters02and I fixed my inbound with insecure=port,invite
01:52.42Samot<PROTECTED>
01:52.54Samot-- Called SIP/BluIP/15027166274@5022421853
01:53.15SamotSo you're using a PJSIP extension, correct?
01:53.19jcpeters02Yes
01:53.29SamotAnd the trunk is Chan_SIP
01:53.33jcpeters02Yes
01:53.44SamotSo this looks like a bug in FreePBX
01:53.48jcpeters02I have another trunk on the system and it works.
01:54.04SamotWhat type of trunk?
01:54.08jcpeters02SIP
01:54.14jcpeters02I can spin up a SIP endpoint
01:54.33SamotSIP/BluIP/15027166274@5022421853,300,T <-- That is wrong.
01:54.55SamotSIP/BluIP/15027166274,300,T <-- That is how it should be dialing the Chan_SIP Trunk.
01:55.17SamotPJSIP uses @ for Dialing contacts.
01:57.26jcpeters02OK
01:57.36SamotYeah for S&G spin up a Chan_SIP extension and try using that trunk.
01:58.06SamotAnd yeah, your inbound was on me. I forgot the insecure setting.
02:02.35jcpeters02No biggie, I just appreciate you taking the time.
02:06.20jcpeters02Same thing on a SIP Extension too
02:06.47jcpeters02So, I wonder if this issue goes away if it is setup as a pjsip trunk
02:07.43SamotI'm curious as to why it's malforming the dial string for a Chan_SIP channel.
02:08.25SamotDoing SIP/peer/destination@something
02:08.31SamotMalforms the TO string.
02:08.47SamotWhich I think is making the call go out weird.
02:09.02jcpeters02This is a FreePBX Distribution, I have not done any system updates yet
02:09.12SamotWell, I do the updates.
02:09.17SamotAnd cross your fingers.
02:09.24jcpeters02OK :)
02:09.26SamotDo the module updates
02:09.33SamotThose impact the dialplan.
02:09.52SamotSo it could fix how it generates the Dial() string.
02:15.30*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
02:49.49jcpeters02Samot, if you are interested I setup that trunk with pjsip and it works
03:01.58*** join/#asterisk Dovid (~dovid@ool-4356ea97.dyn.optonline.net)
03:13.24*** join/#asterisk _r0ck_p3arl_ (~admin@203.149.66.146)
03:26.39*** join/#asterisk jrabe (irc@janikrabe.com)
03:46.07*** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl)
04:12.28*** join/#asterisk Dovid (~dovid@static-173-63-105-210.nwrknj.fios.verizon.net)
04:49.15*** join/#asterisk clarjon1 (~clarjon1@unaffiliated/clarjon1)
05:04.47*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
05:14.26*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
05:28.33*** join/#asterisk Oatmeal (~Suzeanne@gateway/vpn/privateinternetaccess/suzeanne)
05:40.22*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
06:52.41*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:14.45*** join/#asterisk sekil (~sekil@cable-89-216-229-79.dynamic.sbb.rs)
07:21.56*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:36.26*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:43.46*** join/#asterisk DanB (~DanB@clt-195.192.205.113.ip-anschluss.net)
08:36.39*** join/#asterisk TandyUK2 (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
08:40.46*** join/#asterisk TandyUK (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
08:46.10*** join/#asterisk camerin (hoax@elite.bshellz.net)
08:48.26*** join/#asterisk TandyUK (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
09:00.29*** join/#asterisk TandyUK2 (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
09:01.03*** join/#asterisk sekil (~sekil@cable-89-216-229-79.dynamic.sbb.rs)
09:07.18*** join/#asterisk DanB (~DanB@clt-195.192.205.113.ip-anschluss.net)
09:09.21*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
09:11.58*** join/#asterisk DanB (~DanB@clt-195.192.205.113.ip-anschluss.net)
09:20.34*** join/#asterisk TandyUK (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
09:22.18*** join/#asterisk DanB (~DanB@clt-195.192.205.113.ip-anschluss.net)
09:26.56*** join/#asterisk DanB (~DanB@clt-195.192.205.113.ip-anschluss.net)
09:36.18*** join/#asterisk TandyUK2 (~admin@2a02:13a0:a006:1:b4f8:8786:220b:5d0f)
09:55.28*** join/#asterisk dnit (673399be@gateway/web/freenode/ip.103.51.153.190)
10:26.34*** join/#asterisk lankanmon (~LKNnet@CPE64777dd7e053-CM64777dd7e050.cpe.net.cable.rogers.com)
10:39.29*** join/#asterisk slima (~slima@unaffiliated/slima)
10:44.25slimaHello, Please, hint me. I need call -> IVR for some press '1' (I can do it) and If user press '1' ring two lines (can do) but when they are busy  Playback a message 'All lines are busy now, please hold' (can do); but what if are 3.. 4.. 5.. more 'queue' is on line, And I like to do something like: 'All lines are busy now, you are 2 on queue'. How to do that?
10:47.42fileYou configure a queue and use the Queue application generally
10:48.53*** join/#asterisk MrMojit0 (~MrMojit0@194.171.91.248)
10:50.07slimathanks file.
10:51.39*** part/#asterisk MrMojit0 (~MrMojit0@194.171.91.248)
11:04.42*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
11:18.46*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
11:26.51slimafile: okey, but there is a way to play only one file with message 'you are sec on the line...' not 3 messages; queue-thereare.gsm,digits/2.gsm,queue-callswaiting.gsm ?
11:27.39fileUm, no. You'd need a single message for every possible position.
11:28.05fileThe 3 sound files together do that.
11:28.42*** join/#asterisk TandyUK (~admin@87.252.44.195)
11:28.52*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
11:32.32slimaI have 10 messages, for 10 positions, but I see, asterisk by default play 3 separated messages.
11:33.48*** join/#asterisk Dovid (~dovid@ool-4356ea97.dyn.optonline.net)
11:35.17*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
11:42.41fileyes, because it uses different sound files to construct the sentence
11:48.47slimaSo, my question is: is there a way to define single file for each queue position?
11:48.52TandyUK"you are at position" "three" "in the queue" for example
11:49.22TandyUKwhy would you want to do that?
11:50.05TandyUK"you are at position" $queuepos "in the queue"   works whether there are 1 or 1000 people in the queue
11:50.34TandyUKyour way, you would need 1000 different files recorded
11:51.40slimanope, I have announce-position-limit = 10, But it is not my question.
11:53.21fileunless there is a config file option, there isn't a way
11:53.24fileyou'd have to modify the source code
11:55.06slimaokey, last question, How to use different sound path for 'digits/2.gsm' etc. in queue?
12:14.59*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:16.03[TK]D-Fenderslima, vi app_queue.c
12:18.52*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
12:35.34*** join/#asterisk brad_mssw (~brad@66.129.88.50)
12:35.37*** join/#asterisk clarjon_1 (~clarjon1@unaffiliated/clarjon1)
12:40.25*** join/#asterisk gerhard7_ (~gerhard7@ip5657ee30.direct-adsl.nl)
12:48.57*** join/#asterisk mub (~jub@unaffiliated/mub)
12:52.46*** join/#asterisk k-man (jason@unaffiliated/k-man)
13:04.25*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
13:10.17*** join/#asterisk pawiecki (~pawiecki@router.dir.pl)
13:30.42pawieckiVery subjective matter, but do you use tabs or spaces in asterisk's conf files to separate code? I've found that my coworker is very sensitive on that matter, but i'm not :)
13:30.56SamotNo.
13:30.59SamotYou do not.
13:31.09pawieckiI do not, but I'm forced to, apparently
13:31.27SamotAsterisk shouldn't have spaces between things.
13:31.36SamotJust as a good measure.
13:31.52SamotIt should not be host = 1.1.1.1
13:31.56SamotIt's host=1.1.1.1
13:32.37pawieckiSamot: hmm, that's more restrictive. In sample files I've found both examples
13:32.49SamotUnwanted spaces and formatting in the dialplan can break things.
13:32.56SamotYes, you can..
13:33.06SamotBut there are points where unwanted spaces can break things.
13:33.35SamotOr tabs or anything..
13:34.04pawieckiFor me, the "no unnecessary spacec and tabs" approach is better, and paradoxically it's more readable.
13:34.14pawieckispaces*
13:34.32[TK]D-FenderThis is code, not an artistic writing competition
13:34.46[TK]D-FenderBack away from the space bar Picasso
13:34.51SamotWell..
13:34.57SamotThere are standards for code.
13:35.02SamotFormatting, etc.
13:35.11SamotDepending on the language of the code.
13:35.19pawieckiSamot: we don't have one internally, so it's difficult to discuss it.
13:35.38SamotWell when I say standards I mean
13:35.45SamotPSR
13:36.08Samotif ($x = $y) is not the same as if($x=$y)
13:36.10davidbowlbytabs > *
13:36.16SamotFirst = good, second = bad
13:36.23SamotIn the format standards world.
13:36.39SamotHowever, the first can break stuff in dialplan
13:36.48Samotbecause of spaces where it doesn't think spaces should be.
13:43.23pawieckiwhat about: if("$x" = "$y")
13:43.47SamotWell, it depends
13:43.55SamotGenerally, quotes aren't need for variables.
13:44.01SamotBut Asterisk is old school code.
13:44.14fauxalliancelike regex with dimensia
13:44.17SamotCoding style that really doesn't exist anymore.
13:45.07SamotIf you were to break if or while statements up into multi-line formatting like in most code in Asterisk dialplan..
13:45.15SamotYour dialplan will be broken to all hell.
13:45.30pawieckiSamot: quote might help if you compare non-empty variable to an empty one.
13:45.45SamotIn what
13:45.49SamotGeneral? No.
13:46.11SamotThere are functions for checking non-empty variables in code.
13:46.46pawieckiGotoIf($[ $a > $b ]?yes:no) - if one is empty, it does not have a type, so it breaks
13:46.58pawieckiforgot {}
13:47.18SamotOK.
13:47.33SamotNo, one is not "empty"
13:47.35pawieckiI don't mean general programming, just the usual * config files
13:47.37SamotOne is not set
13:47.42SamotNot setting $a
13:47.45pawieckiSamot: yes
13:47.54SamotIS not the same as Set(a=)
13:48.05pawieckicorrect
13:48.21SamotSo there is a different between empty and non-existent.
13:48.28Samotdifference
13:48.49pawieckithat's what I meant, I just wasn't precise, sorry.
13:48.57SamotWell
13:49.12SamotNow you've entered a realm where being precise matters.
13:49.23fauxalliancewords are minced, grammar is enforced and the sarcasm is always implied...
13:50.54fauxallianceheads back to writting 'witty' PERL oneliners
14:03.03*** join/#asterisk kharwell (kharwell@nat/digium/x-hyegvbgitklxhatb)
14:03.04*** mode/#asterisk [+o kharwell] by ChanServ
14:10.09*** join/#asterisk bford (d8cff501@gateway/web/freenode/ip.216.207.245.1)
14:10.09*** mode/#asterisk [+o bford] by ChanServ
14:22.41pawieckiSamot: by PSR did you mean this: https://en.wikipedia.org/wiki/PHP_Standard_Recommendation ?
14:24.30SamotRight.
14:24.43SamotI was just using that as an example
14:25.24SamotProjects/companies, etc will expressly say or want their code in PSR format.
14:25.36SamotBecause that means if I leave..
14:25.46SamotThe next guy can come in and look at my code and understand it.
14:25.58SamotFollow the logic.
14:26.15SamotAnd part of the PSR is how and when to leave comments in the code.
14:28.30SamotTrying to follow guidelines like that in Asterisk dialplan isn't going to work.
14:28.39SamotI mean the little things like "80 character lines"
14:29.09*** join/#asterisk SoBlindWolf (~SoBlindWo@go.pcshost.co)
14:29.45SamotAlso things like Dial() or GoSub() that take arguments to pass do not like spaces between the commas and the argument values.
14:30.07SamotARG1, ARG2, ARG3 <--fail
14:30.18SamotARG1,ARG2,ARG3 <-- winning
14:39.44*** join/#asterisk rmudgett (rmudgett@nat/digium/x-tcnfsnvtofbzxuvb)
14:39.44*** mode/#asterisk [+o rmudgett] by ChanServ
14:44.43*** join/#asterisk ashutoshkrchaube (673399be@gateway/web/freenode/ip.103.51.153.190)
15:03.43*** join/#asterisk tuxd00d (~tuxd00d@ip68-106-11-138.ph.ph.cox.net)
15:04.59*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
15:18.54*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
15:30.05*** join/#asterisk dtascom (~dtascom@static-47-180-162-26.lsan.ca.frontiernet.net)
15:33.13*** join/#asterisk jamesaxl (~James_Axl@109.172.62.242)
15:42.41*** join/#asterisk stux|work (stux@2a01:270:2050:1337::1)
15:45.01*** join/#asterisk miralin (~Thunderbi@194.8.128.76)
15:56.58*** join/#asterisk markusl (~markus@hodor.lindenberg.io)
16:02.50*** join/#asterisk pchero (~pchero@109.70.54.56)
16:05.00*** join/#asterisk mlhess (~mlhess@drupal.org/user/102818/view)
16:43.01*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
16:48.32*** join/#asterisk kadosh (~freexploi@190.113.103.238)
16:48.49kadoshHello, I've been googling but not at actual answer
16:49.04fauxalliance?ask @ kadosh
16:49.08kadoshmy issue is that my installation of asterisk doesn't have chan_sip.so
16:49.21kadoshIt's a new installation from source
16:49.24fauxallianceload it
16:49.32fauxalliancemodule load ...
16:49.43kadoshsorry im pretty new... gonna try that
16:49.52fauxallianceasterisk -r
16:50.06fauxalliancethe module load TAB (completion)
16:50.14kadoshawesome :)
16:50.18kadoshyes.. it worked
16:50.21fauxalliancecool
16:50.24kadoshI thought was loaded by default
16:50.26kadoshthanks
16:50.30fauxallianceno sweat
16:52.29[TK]D-Fenderit is loaded... if your config tells it to load modules
16:52.37[TK]D-FenderSo far I'm suspecting you don't have proper configs
16:53.41fauxalliancei was just about to mention that hand compiled / coded asterisk is probably not the best spot to start..‎[14:19] ‎<‎kadosh‎>‎ sorry im pretty new...
16:54.31fauxalliancebut there is a config file that controls modules at runtime... find it and modifiy it to suit your personal module needs
16:54.33fauxalliance~book
16:54.33infobotAsterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook
16:54.36fauxallianceis a good read
17:02.38*** join/#asterisk pchero (~pchero@109.70.54.56)
17:26.41*** join/#asterisk billxx (49958984@gateway/web/freenode/ip.73.149.137.132)
17:28.19*** join/#asterisk billxx (49958984@gateway/web/freenode/ip.73.149.137.132)
17:37.27*** join/#asterisk MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl)
17:47.32jamesaxlhello
17:48.48jamesaxlis a vpn connection enough to connect 2 locals for using asterisk?
17:50.49jamesaxlfor example I have local A in Paris and local B in Tokyo, I installed asterisk in Paris, and I want people in Tokya call from asterisk in Paris
17:53.06[TK]D-FenderVPN is jsut another path for packets to flow
17:53.55[TK]D-FenderIt can add security for those calls, but otherwise the word "enough" doesn't mean anything
17:54.09[TK]D-Fenderwhat is "enough" is any means of routing the packets from A to B intact
17:54.47fauxalliancethe VPN revfers to the TCP/IP flow... you could use satellites, or radio, or a modem... it's irrelevant.
17:55.22fauxallianceyou need a low latency and failry reliable connection for VoIP...
17:55.30fauxalliancelatency counts...
17:55.33jamesaxl[TK]D-Fender: I meant, without using other devices
17:55.47[TK]D-Fenderjamesaxl, Your framing still doesn't mean anything
17:56.13fauxalliancejamesaxl: the public internet is 'enough'
17:56.19[TK]D-Fender<jamesaxl> is a vpn connection enough to connect 2 locals for using asterisk? <- I don't need VPN to connect multiple *
17:56.36[TK]D-FenderI just need SOME networking between them to pass calls via VoIP
17:56.57fauxallianceeyes Codec2 and ax.25
17:57.02[TK]D-Fenderusing VPN to make a secure tunnel between the sites is a BONUS but doesn't do anything else magical.
17:57.07[TK]D-FenderIt is not required.
17:57.13[TK]D-FenderBut it could be DESIRABLE
17:57.18jamesaxl[TK]D-Fender: Maybe I did not explain very well
17:57.22[TK]D-FenderUnderstand the difference
17:57.36fauxalliancejamesaxl: you clearly did not explain anything.
17:58.31[TK]D-Fender<jamesaxl> for example I have local A in Paris and local B in Tokyo, I installed asterisk in Paris, and I want people in Tokya call from asterisk in Paris <- * doesn't care what the path between the 2 looks like
17:58.38fauxalliance<haiku> TCP/IP, Learn how it fits together, There is no escape"</haiku>
17:58.45[TK]D-FenderCould you be using VPN?  Yes.  Do you need it it for * to pass calls?  No.
17:58.48[TK]D-Fenderdo you WANT it?
17:58.51fauxallianceYES
17:59.05fauxallianceMSRP only $14,995
17:59.16fauxallianceToday ONLY, FREE
18:00.20*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
18:00.20*** mode/#asterisk [+o cresl1n] by ChanServ
18:00.48jamesaxlI made a tunnel with openvpn between Paris and Tokyo (for a secure connection), I would like to know, should install a device, if yes in which side? should I install 2nd asterisk , and register the 1st asterisk like a provider
18:01.04fauxalliancemeh, use IAX/2
18:01.14fauxalliancethen SIP/ PJSIP on the endpoints
18:01.16[TK]D-Fenderjamesaxl, I still don't get your question at all
18:01.23fauxallianceme neither.
18:01.26[TK]D-FenderInstall WHT device?  WHY?
18:01.43*** join/#asterisk EnrgySmth (d8eba101@gateway/web/freenode/ip.216.235.161.1)
18:01.49jamesaxl[TK]D-Fender: Mcro-litic
18:01.55[TK]D-FenderThat's a ROUTER
18:02.07[TK]D-FenderLearn networking.
18:02.14fauxalliancecomme jait adit on bon francis, shoot me in the face.
18:02.37[TK]D-FenderShould you have a ROUTER?
18:02.39[TK]D-FenderMAYBE
18:02.44[TK]D-FenderDo you see a reason to get one?
18:02.53jamesaxl[TK]D-Fender: I understand about networking. But I do not know how to explain :)
18:03.01[TK]D-FenderDo you understand what you are expecting it to DO?
18:03.10[TK]D-FenderHave you consdiered OTHER methods?
18:03.28jamesaxl[TK]D-Fender: reason if I have more the 5 places that I have to add
18:03.36jamesaxlthen*
18:03.57jamesaxl[TK]D-Fender: USA, Canada, etc
18:04.09[TK]D-FenderWhat does quantity have to do with anything?
18:04.14[TK]D-FenderWhy does QUANTITY matter?
18:04.59[TK]D-FenderYou are not describing a NEED or how anything is expected to FILL it, or what alternatives you are considering.
18:05.18[TK]D-FenderYou also haven't described what each side HAS to begin with
18:05.41[TK]D-FenderYou have not described anything even vaguely close to a coherent picture
18:06.37jamesaxl[TK]D-Fender: call centers of course, connecting two groups that are not belong to the same Area
18:06.55[TK]D-FenderYou are talking in broken pieces
18:07.14fauxalliancebridging the gap between tagolog / hindi one ACD call at a time.
18:07.19fauxalliance^^call centres
18:08.15jamesaxl[TK]D-Fender: I need good quality between areas that is all
18:10.28jamesaxl[TK]D-Fender: http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/connecting_two_asterisk.html I read this , but I asked, maybe someone has experience with
18:10.46fauxallianceIAX/2 over VPN
18:10.49fauxalliancedone
18:10.52jamesaxlfauxalliance: la france STP silence.
18:11.12[TK]D-Fender<jamesaxl> [TK]D-Fender: I need good quality between areas that is all <- VPN has NO benefit for "quality"
18:11.25fauxalliancenor does extra routers
18:11.25*** join/#asterisk corretico (~corretico@200.91.143.34)
18:11.56jamesaxl[TK]D-Fender: then, the speed of internet that I will need
18:12.17[TK]D-Fenderagain, that isn't even a complete sentence
18:12.22fauxallianceSTP?
18:12.26fauxallianceoh
18:12.28fauxalliancederp
18:12.39fauxallianceno one is ever polite with me.
18:12.46*** join/#asterisk tzafrir (~tzafrir@212.29.194.37)
18:13.11[TK]D-FenderI love Stone Temple Pilots, but they aren't here now...
18:13.24*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
18:13.24*** mode/#asterisk [+o cresl1n] by ChanServ
18:13.41jamesaxl[TK]D-Fender: I do not want have trouble with calls, then I should just increase internet speed
18:13.49fauxallianceNO
18:13.54fauxallianceREDUCE LATENCY
18:14.09fauxalliancespeed is barely relevent.
18:14.33fauxalliancegeschwindigkeitsbegrenzung
18:14.35fauxalliance!
18:19.40jamesaxlcresl1n: thank you
18:20.18[TK]D-Fender...
18:20.50fauxalliance...to be continued.
18:21.41[TK]D-FenderI made the mistake of thinking were were actually conversing.
18:21.46[TK]D-FenderI was apparently mistaken
18:22.47fauxalliancejeez, hard enough getting verbose log output, let alone a complete sentence in any language.
18:22.52jamesaxl[TK]D-Fender: I got what I need :) thank you for mocking me
18:23.11fauxallianceseul, lol.
18:24.53*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
18:26.25*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
18:26.25*** mode/#asterisk [+o cresl1n] by ChanServ
18:27.30[TK]D-FenderOr proper credit
18:40.54*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
18:43.31*** join/#asterisk RovingWriter (~RovingWri@unaffiliated/rovingwriter)
19:05.31RovingWriterhttps://pastebin.com/dAjHYLSR
19:05.43RovingWriterany ideas on this? worked before, now doesn't.
19:10.55RovingWriternevermind. for some reason, it was owned by root, not asterisk
19:11.20RovingWriterworked before, don't know if it got changed after or whatever, but, thats the issue
19:23.40fauxallianceRovingWriter: you have a lock file holding you hostage
19:24.14fauxalliancepossibly because of permissions issues
19:24.31fauxallianceneed more descriptive example of the problem
19:25.11fauxalliancei.e. when i do X the log says Y,TF
19:26.04fauxallianceas a nurse, I will check the bowel movement for color and consistency, but, whats the fucking symptom.
19:28.02fauxalliancelike the doc that order an ekg during / after every poop, then gave the patient a shit load of laxitives, and said Dr. soandso is on call.. Im out.
19:28.04voipmonkWhat's species of worm is inside the excrement
19:28.24fauxallianceplaythelemthes
19:29.36fauxallianceeyes the wall of foreign bodies removed from chldren, and winks at darwin.
19:30.29fauxalliancesadly, poison control tells me more seniors with dementia have died from eating tide pods than children...
19:30.38fauxalliance6:3
19:38.47jamesaxlfauxalliance: have you managed to stream with asterisk using icecast ogg?
19:50.00*** join/#asterisk retentiveboy (~retentive@73.106.77.161)
19:56.46*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
19:56.47*** mode/#asterisk [+o cresl1n] by ChanServ
19:58.08*** join/#asterisk MrMojit0 (~MrMojit0@52D9DF74.cm-11-1d.dynamic.ziggo.nl)
20:47.08*** join/#asterisk iheartlinux (~jwpierce3@mail.trunkmasters.com)
20:47.53*** join/#asterisk BBone_ (~Thunderbi@maila.fraserwoodindustries.com)
20:53.58*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
21:23.50DovidHi. I seem to have this issue in 13.8. Any pointers? https://issues.asterisk.org/jira/browse/ASTERISK-17124
21:36.26*** join/#asterisk Penguin (~xwQ5kwYl6@2001:470:1f07:26d:20c:29ff:fe62:be33)
21:38.57*** join/#asterisk Hyper_Eye (~mwoodj@pdpc/sponsor/digium/hyper-eye)
21:59.45*** join/#asterisk _r0ck_p3arl_ (~admin@203.149.66.146)
22:00.34*** join/#asterisk youtmon (~yout@c-98-242-250-233.hsd1.fl.comcast.net)
22:01.48*** join/#asterisk AndyCap (~aoy@pdpc/supporter/sustaining/AndyCap)
22:02.18SamotGet on the latest release of 13
22:18.54*** join/#asterisk jeffspeff (~Jeff@209.141.208.197)
23:23.30*** part/#asterisk kharwell (kharwell@nat/digium/x-hyegvbgitklxhatb)
23:27.58*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
23:43.04*** join/#asterisk giesen (~ggiesen@2001:19f0:0:1019:5400:ff:fe25:bda6)

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