IRC log for #asterisk on 20160923

00:24.38*** join/#asterisk freebs (~freebs@unaffiliated/freebs)
01:07.06*** join/#asterisk Katty (uid62315@gateway/web/irccloud.com/x-voszqwpsownjmtgy)
01:10.06*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
01:11.53*** join/#asterisk matrix1233 (~matrix123@197.0.156.86)
01:21.41*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
01:31.46*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
01:50.37*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
02:09.27*** join/#asterisk Oatmeal (~Suzeanne@99-103-96-198.lightspeed.iplsin.sbcglobal.net)
02:10.33*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
02:42.03*** join/#asterisk ThomasKeller (~Thomas@vmx.ethz.ch)
02:45.38*** join/#asterisk iq (~iq@cab4-19.1scom.net)
02:51.49*** join/#asterisk WIMPy (~wimpy@85.183.95.26)
03:11.59*** join/#asterisk WIMPy (~wimpy@85.183.95.26)
03:19.52*** join/#asterisk Aboba (~Bob@node-1w7jr9sqc1awxfw2nhl3s6x4y.ipv6.telus.net)
04:09.37*** join/#asterisk klow (~textual@c-98-247-49-57.hsd1.wa.comcast.net)
04:20.52*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
04:24.31*** join/#asterisk WIMPy (~wimpy@85.183.95.26)
05:21.45*** join/#asterisk klow (~textual@c-67-161-106-89.hsd1.wa.comcast.net)
05:38.38*** join/#asterisk zapata (~zapata@2a02:b18:581:10:b8e7:50a3:a101:56ca)
05:57.11*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
06:01.13snadgewhat am i missing here.. i've got insecure=port,invite and a permit line which includes the ip address that its coming from
06:01.19snadgebut asterisk is still responding unauth
06:23.53*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
06:36.56*** join/#asterisk matrix1233 (~matrix123@197.3.225.162)
06:52.05drmessanoPastebin the config
06:54.02*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
06:59.01snadgehttp://pastebin.com/UwkAvdF4  .. thats the inbound trunk
07:02.32drmessanoYour Deny needs to be after the Permit
07:02.36drmessanoOOPS.. Before
07:03.01drmessanoYou need to Deny All then Allow the IP Mask
07:03.21snadgethats probably true.. i've been messing with it.. but i think i may have figured it out
07:03.33drmessanoIt's not probably true, it is true
07:03.37snadgethe trunks name is 19616 .. so the fromuser for the inbound call, probably needs to be set to that
07:03.53snadgeotherwise the call needs to be accepted in the default context
07:03.55snadgesomething like that yes?
07:04.00snadgewhich is denied by default
07:04.31snadgewhen the call hits the pbx.. with debug turned on.. it never finds 19616 or mentions it anywhere
07:04.31drmessanoThe peer has to match the fromuser, yes
07:04.55snadgesuch a noob mistake.. wowsers.. but this is an unfamiliar upstream provider
07:05.03snadgeso i dont know how to tell them to set the fromuser for inbound calls
07:05.13snadgeon our system, we just tick a box on the username in the billing account
07:06.08drmessanoYou can look at the SIP Debug and see what they are setting it to, then match appropriately
07:07.03snadgefromuser is set to the DID or the same as the inbound number
07:07.11snadgeand thats not very useful :P
07:08.18drmessanoSo then use type=peer and stop trying to use type=user
07:08.59snadgecan you still use a range of ip addresses for that?
07:09.02snadgeor does it have to be a single ip
07:09.05*** join/#asterisk mirela666 (~mirkob@89.184.168.160)
07:09.08drmessanoYes you can
07:11.11drmessanoWith PJSIP you can.  With chan_sip you'll need to define multiple peers.  But you can shortcut it and template it, to some extent
07:13.18snadgeupstream provider is parent company.. so.. on monday (friday afternoon now) i'll be able to try to get them to configure their end, to work with type=user .. as that is much easier
07:13.49snadgethey have load balancing clusters with different ip ranges etc, at multiple locations
07:14.11snadgeand the pbx uses chan_sip .. so it doesn't sound like much fun to go down that path
07:15.12*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:15.45snadgethey use freeswitch with kamailio in front of it.. fun times
07:16.43*** join/#asterisk mirela666 (~mirkob@2a00:1950:400:0:a558:156:df6b:1532)
07:22.21*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
07:51.09*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
07:56.24*** join/#asterisk jay8232 (596920bd@gateway/web/freenode/ip.89.105.32.189)
07:56.40*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
08:03.13*** join/#asterisk jkroon (~jkroon@uls-154-73-32-15.wall.uls.co.za)
08:05.25*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
08:07.53*** join/#asterisk obrut (~obrut@algol.ivan-brozovic.from.hr)
08:09.53jay8232I have compiled both asterisk (13.11.0) and pjsip (trunk) with opus support, but I get error message "channel.c:5505 set_format: Unable to find a codec translation path: (jpeg|png|h261|h263|h263p|h264|mpeg4|vp8|red|t140|ulaw|alaw|slin) -> (opus)" when trying to setup a opus<->PCMA call. Am I missing some config stuff?
08:10.17obrutdoes anybody know, why digium dropped fax2asterisk support in asterisk 13 and later ?
08:10.48*** join/#asterisk pjm (~pjm_freen@uhfsatcom.plus.com)
08:11.00stefan27asterisk 13.11 does not support opus codec does it
08:11.21stefan27Aha, sorry didn't read your message correctly
08:11.54stefan27You might need an opus patch for asterisk still
08:11.57jay8232stefan: Well I dunno. Just compiled with it. Using pjchan anyways.. root@jlinux-compiler:/jlinux/source/asterisk/13.11.0/asterisk-13.11.0# ./configure --help|grep opus   --with-opus=PATH        use Opus files in PATH
08:12.19jay8232Ok so it only supports passthrough an no resampling?
08:13.19drmessanoCorrect
08:13.25drmessanoPassthrough, not transcoding
08:13.42drmessanoI'm not aware of Opus transcoding support
08:13.49*** join/#asterisk bof23 (~Thunderbi@185.13.183.107)
08:14.09drmessanoA current version, that is
08:15.08jay8232Then there must be something wrong with either asterisk or pjsip. The sdp in party A contains opus, g722 and pcma. Party B contains pcma, pcmu and l16. Asterisk decided to accept opus and not the shared codec pcma
08:15.21stefan27We got opus to work on asterisk 13.5 but then we disabled it... but we had to apply this custom patch https://github.com/meetecho/asterisk-opus
08:15.31stefan27and that may not be compatible with asteisk version 13.11
08:15.39stefan27because it was designed for asterisk 11.2
08:15.43jay8232k
08:16.21jay8232If asterisk went for the pcma codec instead of opus there wouldnt be a need of transcoding
08:17.17stefan27is that asterisk under your control? you can force it to use pcma?
08:18.18jay8232Yeah Im running it on a test-platform. I am guessing it went for opus because its first in the allow-list (because the audio quality is better), but the particular other remote party does not support it
08:18.47jay8232I want to add support for opus (and amr-wb) while still supporting the old legacy devices and pcma
08:20.12jay8232Btw, I'm not sure who I should report this to, but I found this "funny" bug:
08:20.17jay8232res/res_pjsip_authenticator_digest.c         static int verify(struct ast_sip_auth *auth, pjsip_rx_data *rdata, pj_pool_t *pool)                 if (authed == PJ_SUCCESS || authed == 171110) { // pjsip defines PJ_SUCCESS as 0 while asterisk defines it as 171110
08:20.42jay8232Had to change the digest authentication code to get it working between asterisk and pjsip :)
08:41.34jkroonhi all, i'm seeing a very strange one with core show channels
08:41.55jkroon164 active channels with 347 active calls
08:42.05jkroonhow is it possible to have more active calls than active channels?
09:17.41*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
09:20.20*** join/#asterisk linjan (~linjan@86.62.112.22)
09:21.28linjanhello there! im using asterisk 13. is there any application/function to check if user is a member of specific queue?
09:52.32scvlinjan: no application to do so afaik
09:52.47linjan:(
09:54.02wyounghey gang
10:08.12*** join/#asterisk clopez (~tau@neutrino.es)
10:27.27*** join/#asterisk fling (~fling@fsf/member/fling)
10:53.48*** join/#asterisk miralin (~Thunderbi@195.19.212.23)
11:10.34*** join/#asterisk zahyl (~quassel@185.12.1.190)
11:21.25*** join/#asterisk boris_t (~boris_t@212.119.243.183)
11:27.48*** join/#asterisk Rasputin3711 (~Rasputin3@87.255.254.66)
11:30.39zahylhi, does someone can help me with a problem i got with setting up an asterisk server? " Rejecting 'IP' due to a failure to pass ACL '(BASELINE)' "despite "permit=IP/255.255.255.0" in sip.conf . Thx
12:03.04wyoungzahyl: yes I can help
12:04.20wyoungzahyl: sorry, what I mean to say was, I am someone can help you setting up an asterisk server.  Wow, you got an right, I am impressed
12:04.46wyoungmost English speaking people get that wrong
12:05.38wyoungzahyl: what is your fill sip.conf (XXXX out the passwords please, and use hastebin or equiv to paste)
12:05.57SamotAnd the BASELINE ACL settings.
12:06.10wyoungyes
12:06.13wyoungwhat Samot said
12:06.30SamotSince that's what is failing.
12:07.38wyoungSamot: sip.conf was mentioned also
12:07.44*** join/#asterisk fling (~fling@fsf/member/fling)
12:08.00SamotYes and he could have that in sip.conf
12:08.04SamotOr in acls.conf
12:08.21SamotI'm just saying, along with the sip.conf stuff make sure the baseline ACL settings are there too.
12:08.34SamotIf they are in sip.conf, no problem. If they are not, post them as well.
12:09.03wyoungSamot: just cat /etc/asterisk/* > all_of_the_conf and paste that, just to be reaall sure
12:09.31SamotI'm just looking at the error.
12:09.40SamotIt says the IP failed the BASELINE  ACL check.
12:09.54SamotI'd look at the BASELINE ACL.
12:11.54wyoungSamot: he / she / shim / unspecified pasted their confs already?
12:12.11SamotNot that that I've seen.
12:13.14wyoungok
12:22.08*** join/#asterisk viro (~viro@unaffiliated/viro)
12:28.18zahylwyoung: sry for my bad english. there it is my sip.conf : http://pastebin.com/LpH4dpjr
12:28.39wyoungzahyl: no it is fine :)
12:31.34zahyli didn't even modifie the default acl.conf
12:33.42zahyland here is theexact  error message :   http://pastebin.com/ZtMKvAdD
12:33.58SamotFix your permit.
12:34.11SamotYou have a /24 IP range but a /32 netmask.
12:34.21SamotOh wait, read that wrong.
12:34.23SamotThat's good.
12:35.22SamotWhat happens when you specify an IP?
12:35.39SamotDoes the device on that IP still have ACL issues?
12:35.56SamotShow the BASELINE acl.
12:36.28zahylyes, when i specify the 192.168.56.10 address i got the same error message
12:36.42*** join/#asterisk [TK]D-Fender (~joe@216-191-106-165.dedicated.allstream.net)
12:36.57SamotThat is still has a failure to pass the BASELINE acl?
12:37.02SamotAgain, why aren't we looking at this ACL?
12:37.31zahylthe baseline acl is the default one, so it's empty
12:38.30SamotHave you tried adding the rules there?
12:38.32Rasputin3711host=dynamic                       ; L’utilisateur n’est pas associé à une IP fixe
12:39.07SamotCorrect.
12:39.21*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
12:40.13[TK]D-Fenderdefaultuser = user3
12:40.23[TK]D-FenderYour register is coming in as 200@.....
12:40.38[TK]D-Fenderthis looks wrong since they are usuing the peername as the username
12:40.42[TK]D-Fenderget rid of tthis
12:44.34zahylhost=static does-nt seems to be a good parameter
12:45.31SamotTK already pointed out the issue.
12:45.49SamotYou're using the wrong username to connect. You're using the peer name instead of the username.
12:54.24zahylthank you guys, the error message is gone
12:55.11*** join/#asterisk matrix1233 (~matrix123@197.3.225.162)
12:55.26*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
13:04.13*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
13:04.14*** mode/#asterisk [+o putnopvut] by ChanServ
13:07.21*** join/#asterisk vadiml (~vadim@LPuteaux-657-1-17-72.w193-248.abo.wanadoo.fr)
13:17.58*** join/#asterisk brad_mssw (~brad@66.129.88.50)
13:21.06vadimlHello, i wonder if i can assign channels from 2 diffrent spans to the same channel group
13:21.42vadimlso when on span is full the channels for the other span will be used automatically
13:22.23[TK]D-Fenderyou can
13:22.36wyounghey [TK]D-Fender!
13:22.40wyounghow have you been?
13:23.24[TK]D-Fendermeh
13:23.52wyoungoh
13:24.04wyoungThe asterisk business hasn't been great?
13:25.08wyoungRasputin3711: That's some nice unicode there
13:58.43*** join/#asterisk newtonr (~newtonr@173-21-146-94.client.mchsi.com)
13:58.44*** mode/#asterisk [+o newtonr] by ChanServ
13:59.06*** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-fzxsjmirgeilrgix)
14:03.26*** join/#asterisk kharwell (kharwell@nat/digium/x-cutrixczjhurqyyt)
14:19.49*** join/#asterisk mjordan_ (mjordan@nat/digium/x-ozkgdcqurtbqleqp)
14:19.49*** mode/#asterisk [+o mjordan_] by ChanServ
14:30.16vadimlHi folks, i need a litlle help with asterisk
14:38.04wyoungvadiml: ok
14:38.14wyoungwhat type of help do you need
14:39.17wyoungalthough please note that I am a programmer by trade, I cant help you with any emotional issues you may have with  asterisk
14:41.41vadimli wonder if i can assign channels from 2 diffrent spans to the same channel group
14:41.52*** join/#asterisk jkroon (~jkroon@197.96.224.13)
14:41.57vadimlso when one  span is full the channels for the other span will be used automatically
14:42.19[TK]D-Fender<vadiml> Hello, i wonder if i can assign channels from 2 diffrent spans to the same channel group
14:42.19[TK]D-Fender<vadiml> so when on span is full the channels for the other span will be used automatically
14:42.19[TK]D-Fender<[TK]D-Fender> you can
14:42.20WIMPyvadiml [TK]D-Fender already confirmed that.
14:42.27[TK]D-FenderI answered you the first time, and within 1 minute
14:43.05vadimlSorry i missed th response...  Thank you very much
14:43.49*** join/#asterisk matrix1233 (~matrix123@197.3.225.162)
15:03.47wyounghi
15:09.14*** join/#asterisk igcewieling (~ewieling@ip98-170-211-145.pn.at.cox.net)
15:10.14*** join/#asterisk roost (~roost@unaffiliated/roost)
15:20.22*** join/#asterisk pvoigt (~Linux@unaffiliated/pvoigt)
15:20.30*** join/#asterisk rmudgett (rmudgett@nat/digium/x-omufeapndegdzjoh)
16:10.49*** join/#asterisk phonebuff (~chatzilla@98.249.178.74)
16:28.54*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
16:36.19*** join/#asterisk miralin (~Thunderbi@194.8.128.48)
16:43.29*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
16:50.19*** join/#asterisk acidfu_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
16:53.38*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
16:59.29*** join/#asterisk jkroon (~jkroon@196.33.18.28)
17:15.14*** join/#asterisk jeffspeff (~Jeff@12.49.160.131)
17:17.23*** join/#asterisk SeiGGy (~zway@74.203.105.194)
17:44.39*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
17:47.16*** join/#asterisk Chotaire (chotaire@oahu.chotaire.net)
17:55.21*** join/#asterisk roost (~roost@unaffiliated/roost)
17:56.42*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
18:05.10*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
18:08.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
18:10.43*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
18:29.34*** join/#asterisk nenadalm (~Thunderbi@223.154.broadband7.iol.cz)
18:32.46nenadalmHi. I just wanted to start with asterisk using mobile_chan as described here: https://www.mattgibson.ca/installing-and-configuring-chan_mobile-for-bluetooth-presence-support-in-asterisk-16/. I added mac address of my bt adapter into chan_mobile.conf and then run "$ rasterisk" but when I type in "*CLI> module load chan_mobile.so" I get "[Sep 23 20:25:11] ERROR[23338]: chan_mobile.c:4718 load_module: No Bluetooth devices found. Not loading mo
18:32.46nenadalmphone via "bluetoothctl" so my adapter is definitely working). Any ideas?
18:33.10nenadalm(I restarted asterisk service after editing the config ofc)
18:36.49*** join/#asterisk monsterco (~monsterco@TOROON474AW-LP140-02-1177726054.dsl.bell.ca)
18:38.18*** part/#asterisk monsterco (~monsterco@TOROON474AW-LP140-02-1177726054.dsl.bell.ca)
18:49.36*** join/#asterisk karver (~karver@69.63.121.254)
18:50.38*** join/#asterisk karver (~karver@69.63.121.254)
18:53.48*** join/#asterisk Chotaire (chotaire@oahu.chotaire.net)
19:00.03*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
19:02.41*** join/#asterisk newtonr (~newtonr@173-21-146-94.client.mchsi.com)
19:02.41*** mode/#asterisk [+o newtonr] by ChanServ
19:31.29*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
19:56.42*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:17.27*** join/#asterisk joako (~joako@opensuse/member/joak0)
20:35.23*** join/#asterisk viro (~viro@unaffiliated/viro)
20:56.01*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:30.27*** join/#asterisk matrix1233 (~matrix123@197.3.225.162)
21:45.34*** join/#asterisk SunTsu (miyamoto@unaffiliated/suntsu)
22:00.31*** join/#asterisk matrix1233 (~matrix123@197.3.225.162)
22:24.33*** join/#asterisk klow (~textual@96-81-150-137-static.hfc.comcastbusiness.net)
22:32.42*** part/#asterisk kharwell (kharwell@nat/digium/x-cutrixczjhurqyyt)

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