IRC log for #asterisk on 20180604

00:04.23*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
00:20.39*** join/#asterisk infobot (ibot@rikers.org)
00:20.39*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.21.0 (2018/05/01), Standard: 15.4.0 (2018/05/01); DAHDI: DAHDI-linux 2.11.1 (2016/03/01), DAHDI-tools 2.11.1 (2016/03/01); libpri 1.6.0 (2017/01/27) -=- Wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
01:10.32*** join/#asterisk forgotmynick (uid24625@gateway/web/irccloud.com/x-iptkbchumqtquwcm)
01:14.55*** join/#asterisk jeffspeff (~jeffspeff@209.141.208.197)
01:19.54*** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye)
02:17.53*** join/#asterisk cemotyz09 (~cemotyz09@cpe-70-121-157-202.satx.res.rr.com)
02:38.48*** join/#asterisk jeffspeff (~jeffspeff@209.141.208.197)
03:45.19*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
05:18.52*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
05:18.52*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
05:33.31*** join/#asterisk aness (~aness@cm-84.209.48.16.getinternet.no)
06:02.10*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
06:12.54*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
06:14.41*** join/#asterisk jkroon (~jkroon@165.16.204.170)
06:16.34*** join/#asterisk sh_smith (~sh_smith@cpe-76-174-26-91.socal.res.rr.com)
06:37.05*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
06:50.42*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
06:55.52*** join/#asterisk miralin (~Thunderbi@91.237.94.68)
07:00.52*** join/#asterisk Sepultura (~Sepultura@unaffiliated/sepultura)
07:44.08*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:49.50*** join/#asterisk Sepultura_ (~Sepultura@unaffiliated/sepultura)
08:19.34*** join/#asterisk SebastienThiry (~Thunderbi@217.82-65-87.adsl-dyn.isp.belgacom.be)
08:31.06*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
08:41.28*** join/#asterisk Sepultura_ (~Sepultura@unaffiliated/sepultura)
08:42.38*** join/#asterisk jkroon (~jkroon@105.8.1.29)
08:43.25*** join/#asterisk sinaowolabi (~Sina@154.66.23.254)
08:46.19*** join/#asterisk DanB (~DanB@clt-195.192.205.69.ip-anschluss.net)
09:17.35*** join/#asterisk war9407 (war@pool-70-106-236-148.clppva.fios.verizon.net)
09:52.06*** join/#asterisk sekil (~sekil@nat-73.net011.net)
10:13.19*** join/#asterisk Milos_ (~Milos@pdpc/supporter/student/milos)
10:15.18*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
10:15.53*** join/#asterisk beardy_ (~beardy@unaffiliated/beardy)
10:18.42*** join/#asterisk kitsune (~kitsune@vulpix.org)
10:19.21*** join/#asterisk mr_kyd- (~Einherjer@unaffiliated/mr-kyd/x-4253709)
10:19.56*** join/#asterisk mlhess- (~mlhess@drupal.org/user/102818/view)
10:25.20*** join/#asterisk paulgrmn (~paulgrmn@198-0-107-153-static.hfc.comcastbusiness.net)
10:26.29*** join/#asterisk eharris (~eharris@unaffiliated/eharris)
10:46.41*** join/#asterisk lankanmon (~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com)
11:22.47*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
11:32.27*** join/#asterisk jamesaxl (~James_Axl@41.140.46.49)
11:43.59*** join/#asterisk sibyakin (~sibyakin@188.162.238.251)
11:47.49*** join/#asterisk jkroon (~jkroon@105.8.1.29)
12:04.11*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
12:06.48*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
12:15.06*** join/#asterisk jkroon (~jkroon@105.8.1.29)
12:18.53*** join/#asterisk WizJin (~WizJin@2405:204:830f:8607:701c:6352:73f:d617)
12:53.57*** join/#asterisk gerhard7 (~gerhard7@ip5657ee30.direct-adsl.nl)
12:56.48*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
13:09.59*** join/#asterisk WizJin (~WizJin@202.91.72.44)
13:12.57*** join/#asterisk jeffspeff (~jeffspeff@12.49.160.131)
13:26.39*** join/#asterisk SebastienThiry (~Thunderbi@217.82-65-87.adsl-dyn.isp.belgacom.be)
13:32.34*** join/#asterisk dar123 (~dar@2600:1700:38d0:1470:ac9e:150:2bc4:491c)
14:03.45*** join/#asterisk cresl1n (uid299068@asterisk/libpri-and-libss7-expert/Cresl1n)
14:03.45*** mode/#asterisk [+o cresl1n] by ChanServ
14:23.33*** join/#asterisk miralin (~Thunderbi@91.237.94.68)
14:38.14*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
14:41.50*** join/#asterisk bford (uid283514@gateway/web/irccloud.com/x-svhnyaoimemkdplw)
14:41.50*** mode/#asterisk [+o bford] by ChanServ
14:59.38*** join/#asterisk thiagoc_ (~thiagoc@unaffiliated/thiagoc)
15:00.28*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
15:02.32*** join/#asterisk dritskalle (~tstokkel@64.238.139.2)
15:04.19dritskalleis this a good place for a PAMI question? (the php AMI library).. or no?
15:05.27[TK]D-FenderAs good as it gets
15:09.59dritskalle:) i have PAMI working, random events are returned by my catch-all event listener, but it does not trigger on any when i send commands
15:10.11dritskallewondering if i am missunderstanding something is all..
15:14.44*** join/#asterisk chiggins (~chiggins@unaffiliated/chiggins)
15:14.45dritskalleif i just sit and listen - i get all registrations, login, calls, etc as expected.. then i send a command, e.g. MailboxCountAction(123) - i get isSuccess() but never any events with the data
15:15.37dritskallesniffing i see the data coming - just isnt handled..
15:16.44igcewielingsorry, I use phpAGI
16:45.31*** join/#asterisk mhache (~mhache@198.164.250.208)
17:32.10*** join/#asterisk shootbird (~quassel@205.185.122.214)
18:04.51*** join/#asterisk J0hnSteel (~J0hnSteel@62.162.164.77)
19:07.24*** join/#asterisk SebastienThiry (~Thunderbi@217.82-65-87.adsl-dyn.isp.belgacom.be)
19:21.07*** join/#asterisk dillbilly (~dillbilly@98.29.90.129)
19:41.39*** join/#asterisk degenerate (~degenerat@S0106689e199caaf4.no.shawcable.net)
19:48.43*** join/#asterisk Jesterboxboy (~Thunderbi@84-115-150-8.cable.dynamic.surfer.at)
19:54.46*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
19:58.15dritskalledoes anyone know what differences in chan_sip vs pjsip are in behavior  s- CHANUNAVAIL and CONGESTION?
19:58.45dritskallei used to get CHANUNAVAIL for a registered endpoint not reachable in chan_sip - it appears i get CONGEST with pjsip
20:01.38*** join/#asterisk [TK]D-Fender (~joe@216.191.106.165)
20:02.19[TK]D-Fenderdritskalle, Show us the call attempt
20:15.37dritskalleokay - pasted some here: https://pastebin.com/L15SNASK
20:17.05dritskalleto me it doesnt relaly explain..  basically it dials a SIP softclient - but if that client was not running all the sudden but still registered - before i got CHANUNAVAIL, not i get CONGEST
20:17.40[TK]D-Fender<PROTECTED>
20:17.50[TK]D-Fenderthis says * actually placed a call
20:18.05[TK]D-Fenderwhich it would not have if it didn't consider a contact valid.
20:18.34[TK]D-FenderEnable pjsip debug and try again
20:18.55[TK]D-Fenderwe need to be actually looking for an attempt to be placed
20:20.05dritskalleasterisk is not yet aware yet teh client is unreachable - that i do know, so pjsip is trying but fails - and just handles it differently than chan_sip.   i can enable debugging, but pretty sure we will just see a an INVITE without a response
20:55.13*** join/#asterisk elguero (~miguel323@74-95-21-41-Connecticut.hfc.comcastbusiness.net)
21:02.36*** join/#asterisk Labyrinth00 (4833708a@gateway/web/freenode/ip.72.51.112.138)
22:07.17*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:09.25*** join/#asterisk tomaluca95 (~quassel@kde/developer/tomaluca)
22:10.59*** join/#asterisk J0hnSteel (~J0hnSteel@62.162.164.77)
22:31.31*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
22:47.20*** join/#asterisk rpifan (~rpifan@2600:1:c127:be92:604a:23f7:7780:d394)
22:55.10*** join/#asterisk sibyakin (~sibyakin@188.162.228.71)
23:22.07*** join/#asterisk salviadud (~ralfalfa@187-162-134-87.static.axtel.net)
23:24.25*** join/#asterisk chris349 (~office@104-12-70-21.lightspeed.miamfl.sbcglobal.net)
23:25.13chris349I have an error with inbound SIP trunk. It tells me there is a usernmame missmatch and its mixing up CALLERID with SIP username. How can I force SIP username always be used for SIP authentication and always ignore callerid for SIP authentication?
23:29.34chris349I try to use fromuser=username but then the callerid gets set to the username!
23:35.24SamotI just answered this
23:35.36Samot7:26:07 PM <Samot> That's not how that works
23:35.36Samot7:26:15 PM <Samot> Nothing ever auths by the callerid number.
23:35.36Samot7:26:25 PM <Samot> Do you have the same extensions on both boxes?
23:36.40chris349They could overlap, yes. Maybe to someone who writes the asterisk code what you say is technically correct, but my calls are rejected and it says  username mismatch, have <CALLERID NUMBER>, digest has <SIP USERNAME>
23:36.55chris349So in my laymans terms asterisk is indeed trying to use the callerid number for authentication
23:37.10SamotOK.
23:37.34SamotI'm letting you know, nothing auths by the actual CallerID Number.
23:38.01SamotSo if ext 250 exists on both boxes..
23:38.14Samot250 can't call the other box unless you do some work for it.
23:38.50SamotBecause when 250 from Box A sends the call to Box B, Box B is going to go "Oh I have 250 here. Why is this coming from the wrong IP?"
23:39.04chris349So what is it called? To me a username missmatch would be defined as a step that takes place during authentication.
23:39.24SamotThe auth is by username and peer
23:39.40chris349So how do I tell Asterisk that I have a SIP trunk between two machines and that username and callerid are different things?
23:39.50SamotIt's going to see a call from an peer that it believes should be from a different IP.
23:40.31Samotpastebin your trunk settings from both boxes, mask any secrets/passwords.
23:42.35chris349Heres what I got: https://pastebin.com/4M2PBVaX
23:47.17SamotThat's only one of the peers
23:49.10SamotAnd which box is that from?
23:49.14SamotThe one making the call?
23:49.17SamotOr receiving the call?
23:49.24SamotIn the issue you are troubleshooting?
23:52.45*** join/#asterisk Labyrinth00 (~Labyrinth@64.119.192.198)
23:53.10Labyrinth00Greetings to all
23:54.39Labyrinth00I was wondering if someone could point in the right direction.  I am trying to find out if I can restrict chosen extensions from dial out on certain phone numbers
23:56.04Samotexten => [pattern]/[callerid],1,NoOP(Do stuff)
23:57.00SamotThat will match what they sent with the fromuser field

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