IRC log for #asterisk on 20141215

00:06.11ruben23lvlinux: but its already registered... ---> 887643/887643             xxx.xxx.xxx.yyyy                          D   N          A  65476    OK (35 ms)
00:07.54ruben23but the weird part when i check sip show registry no one is registered but the logs displays on sip show peers..
00:08.27ruben23display this on sip show peers ---> 887643/887643             xxx.xxx.xxx.yyyy                          D   N          A  65476    OK (35 ms)
00:16.53[TK]D-Fenderruben23, Meaningless.
00:17.26[TK]D-Fenderruben23, The fact you have registered has no impact on the call failing its auth.
00:17.55[TK]D-Fenderruben23, And what you have shown is a PEER QUALIFY RESPONSE.... not prrof of "registration"
00:18.35[TK]D-Fenderruben23, That "OK" It gives you just says the other side is RESPONDING to *'s SIP OPTIONS requests.  This proves absolutely nothing about your having set any kind of auth up right at all.
00:19.09ruben23[TK]D-Fender: ok so the server itself is not registered yet.then causing this inbound issue..coz my dialout is working so far
00:20.49[TK]D-Fender<ruben23> [TK]D-Fender: ok so the server itself is not registered yet. <- I have NOT said this.
00:21.15[TK]D-Fenderruben23, I have said what you showed us was not what you claimed it to be and that you have provided no proof.
00:31.40*** join/#asterisk foulou (~foulou@gw-tech.lagoon.nc)
00:42.29*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
00:59.26*** join/#asterisk Cynagen (~cynagen@ip72-208-223-60.ph.ph.cox.net)
01:00.54*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:01.52*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
01:05.56*** join/#asterisk ghostlines (~ghostline@92.109.90.61)
01:06.59*** join/#asterisk Dovid (~Dovid@ool-2f113961.dyn.optonline.net)
01:20.58*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
01:33.52*** join/#asterisk s7r (~s7r@openvpn/user/s7r)
02:01.54*** join/#asterisk Vutral (lbAsMThc4w@mirbsd/special/Vutral)
02:02.40*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
02:23.55*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
02:46.00*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
03:04.26*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:04.36*** join/#asterisk CeBe1 (~CeBe@port-92-200-113-192.dynamic.qsc.de)
03:23.58*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
03:37.04*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
03:45.17*** join/#asterisk hebber (~hebber@node-14pg.pool-125-25.dynamic.totbb.net)
03:46.28hebberAnyone know why asterisk would do a SIP CANCEL after the other replies with 183 Session Progress?
04:00.11*** join/#asterisk Vutral (WoV54MVnZM@mirbsd/special/Vutral)
04:07.46PenguinThe caller hung up.
04:09.51hebberPenguin: no the caller is still active on the event
04:11.41WIMPyShow us
04:12.09PenguinIs it reproducible?
04:12.09hebbera moment
04:12.35hebberhappens every single time
04:13.50hebberPhone -> asterisk1 -> asterisk2 -> provider (reason for Asterisk2 is network not accessible for asterisk1)
04:14.56WIMPyAnd who starts to cancel?
04:15.20hebberphone
04:15.23hebberhttp://pastebin.com/7UaSDzJs
04:15.30hebberno
04:15.40hebberFor me it seems to be asterisk2
04:17.32WIMPyLooks like no licence to me.
04:18.06hebberreally? what kind of licence? g729?
04:18.22WIMPyyes
04:18.27hebberand how did you spot that if thats the case?
04:18.46WIMPyOne call is G.711 and the othr G.729.
04:19.18hebberand server2 doesn't have licence - doh - only server one have a Digium card
04:23.22hebberYES!, got a step further - provider are now accepting calls - thank you for helping me out
05:09.02*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
05:23.11*** join/#asterisk timahvo1 (~rogue@mail.cickenya.com)
05:34.51*** join/#asterisk moke (~moke@unaffiliated/moke)
05:39.49*** join/#asterisk gryphon (~gryphon@82.140.120.164)
05:40.35*** join/#asterisk ttyS3 (~o@gateway/tor-sasl/omlib)
05:48.00*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
05:49.05*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
06:01.24*** join/#asterisk evilman_work (~evilman@87.244.6.228)
06:28.12*** join/#asterisk hfp (~hfp@MTRLPQ0736W-LP130-04-1177931028.dsl.bell.ca)
06:28.45*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
06:38.46*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
06:40.17*** join/#asterisk NightMonkey (~NightMonk@pdpc/supporter/professional/nightmonkey)
06:48.32*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
06:51.58*** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain)
07:06.07*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
07:29.42*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
07:31.02*** join/#asterisk Cynagen (~cynagen@ip72-208-223-60.ph.ph.cox.net)
07:32.31*** part/#asterisk riess82 (~riessma@mail.p-riess.at)
07:43.37*** join/#asterisk bulkorok (~Benjamin@85.183.61.47)
07:59.53*** join/#asterisk mirela666 (~mirko.bra@iecommailer.itaf.eu)
08:10.17*** join/#asterisk andycol (~andycol@41.79.82.246)
08:10.21andycolhi guys
08:11.02andycolhas anyone got a solution for if i have multiple sip trunks all coming from the same ip, what happends is all incoming calls just go over the first trunk
08:11.26PenguinDefine "sip trunk."
08:14.43andycolso i have server A which is my core server which is connecting to server b which has multiple trunks all  registering to Server A, incoming calls are coming from server A to B but they seem to all go via the first registered trunk
08:19.14andycolany ideas?
08:19.47PenguinI was still waiting on the definition.
08:20.02andycolsip trunk meaning connection between 2 sip server
08:20.02PenguinAnyway...
08:20.03andycolsip trunk meaning connection between 2 sip servers
08:21.34PenguinIt seems like what you really mean is that you have a couple SIP registrations from one client (server B) to a server (server A) and a couple peers defined on each for each other...
08:21.45PenguinHow are you matching calls?  Are you using type=peer for the peer entries?
08:22.10andycolyes type=peer is correct
08:22.24andycoldo u want to see an example of a trunk
08:22.25PenguinThat's why it matches the first one every time.
08:22.36PenguinI know what trunks are, and SIP doesn't have them.
08:22.44PenguinCommon misconception.
08:23.00PenguinBut the reason is because of how type=peer does matching.
08:23.05PenguinIt matches IP/port.
08:23.17andycolok so what should i change type= to
08:23.28PenguinIf you want to match a different peer definition, use type friend and specify the defaultuser.
08:23.41andycolwhere do i specify defaultuser?
08:23.56PenguinWithin the peer definition, of course.
08:24.10andycolcan u show me an example
08:24.35Penguin[serverA]
08:24.40Penguindefaultuser=serverB
08:24.49Penguinhost=serverA.domain.com
08:24.55Penguintype=friend
08:24.59Penguinet cetera
08:25.18andycolon server A host is set to dynamic as server B registers to A
08:25.19PenguinThe peer entry.
08:25.23andycolwill that work
08:25.37Penguintype=friend tries to match usernames.
08:25.52Penguintype=peer only matches IP/port and the first one will always match first.
08:26.42andycolis default user important, what if it is left blank?
08:27.00PenguinYou can't match the username if you don't specify it.
08:27.17andycolok and im guessing the defaultuser will be the username correct?
08:27.22PenguinThat is correct.
08:27.35andycolok let me try this :)
08:27.42andycolthanks will let you know shortly
08:28.11PenguinYou have some user names specified already because you send registrations from one to the other.  The register statement requires the username.
08:28.20PenguinSo you're part of the way there already.
08:28.34PenguinJust add defaultuser and change type to friend.
08:28.48andycolim changing it to friend on both servers?
08:28.56andycoland defaultuser on both servers as well?
08:30.34PenguinIf all calls are going from serverA to B, and B matches the first peer entry every time...
08:30.44PenguinYou can just set type=friend on B only.
08:31.00PenguinBut set the defaultuser on A.
08:31.15andycolok let me test that
08:31.20*** join/#asterisk skrusty (~skrusty@168.63.14.171)
08:35.12andycolwill it only work once i have done it on all the trunks?
08:35.31andycolu set it up on one of the trunks but still comes in on the first trunk
08:36.13andycolcan i show u one of my trunk definitions?
08:36.22Penguin~pb
08:36.22infobotA "pastebin" is 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://www.pastebin.com, http://pastebin.ca, http://channels.debian.net/paste, http://paste.lisp.org, http://bin.cakephp.org/; or install pastebinit with yum or aptitude.
08:36.38andycolhttp://pastebin.com/sSnth58L
08:37.19*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
08:37.24PenguinRemove the insecure specification.
08:37.37andycolok
08:38.15andycolk done let me test
08:38.25andycolnow i get
08:38.34andycolusername mismatch, have <123>, digest has <234>
08:39.05PenguinYeah.  You've got the usernames in the wrong place.
08:39.17PenguinThe defaultuser has to match the OTHER SIDE.
08:39.33andycolsorry im confused where should username be?
08:39.41PenguinSo if server A has a [serverB] section in it...
08:39.57PenguinServer A's peer entry has to say defaultuser=serverB
08:40.22PenguinWait, I think I said that wrong.
08:40.29andycolok
08:40.40PenguinIn server A
08:40.52PenguinYou have [serverB] section
08:40.58Penguinyes?
08:41.25PenguinIn server B, you have [serverA] section.
08:41.28andycolwhere would i have a server B section?
08:41.40andycolunder host?
08:41.47PenguinServer A has to send defaultuser=serverA to the other side.
08:42.09PenguinThe defaultuser defined on one side has to be the user name configured in the other server.
08:42.22andycolyes that is right
08:42.43andycolusername is the same on both sides as thats how they authenticate
08:42.53Penguinhttp://pastebin.com/Ag7tknm2
08:43.20PenguinSee how defaultuser is matching the name on the other side?
08:43.28PenguinYou have the same username on both servers?
08:43.37andycolyes, i see you dont have username=
08:43.50Penguinusername is no more
08:43.55PenguinIt is defaultuser now.
08:44.06andycolok so should i remove username on both sides and use defaultuser
08:44.09PenguinYes.
08:44.28andycoldoes it matter that on both sides my [23] is the same?
08:44.34PenguinIf the name is the same on both sides, then the defaultuser will also bt the same on both sides.
08:44.41PenguinIt should be fine.
08:44.43andycolok makes sense
08:44.47andycollet me test it quickly
08:44.49andycol:)
08:46.39PenguinIf you have any still set to type=peer, they will match the IP of the host= line first.  You have to change them all to type=friend if you want to match by name.
08:46.53andycolok
08:48.15PenguinAnd insecure=invite means don't bother checking for user name.
08:48.23PenguinSo you have to remove those too.
08:49.17andycolwill this stop T38 working?
08:49.36PenguinI wouldn't think so.  Why would it?
08:49.55andycoljust was wondering because we thought canreinvite is what T38 needs
08:50.13Penguindirectmedia
08:50.18Penguinnot canreinvite
08:50.36Penguincanreinvite is like username -- changed.
08:50.36andycoloh ok
08:50.39*** join/#asterisk CustosL1men (~CustosLim@unaffiliated/cust0slim3n)
08:50.57PenguinAnd directmedia has nothing to do with matching by name instead of IP.
08:51.17andycolok
08:51.41Penguindirectmedia just keeps asterisk in the media path after the call is set up.
08:58.26andycolstill get username mismatch
08:58.54*** join/#asterisk s7r_m (~s7r@openvpn/user/s7r)
09:01.31andycolthis happens as soon as i remove insecure=invite
09:01.34*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
09:02.35PenguinYeah, because you're now trying to match names.  insecure=invite means "I don't care about user names."
09:02.47*** join/#asterisk Mohsen_Hassani (~Mohsen_Ha@88.135.38.2)
09:03.03andycolbut then why does it give the username mismatch error
09:03.19Mohsen_HassaniHello guys. I'm using asterisk on Debian. How can I check if asterisk is working properly? There is not asterisk in /etc/init.d/ for me.
09:03.37PenguinThe wrong username is being sent.  Why?  That part I'm not sure of without seeing the call.  Even then I don't know if I'll know.
09:03.59*** part/#asterisk riess82 (~riessma@mail.p-riess.at)
09:04.57andycolok i will have to figure that one out
09:05.07andycolmust have to do with Server A which is running a2billing
09:05.55PenguinI've seen that username mismatch thing before, but I don't know how to fix it.  Did you restart both asterisks?
09:11.46andycolok i will play with it
09:11.49andycolthanks for helping :)
09:12.25andycolcant restart the asterisk on ServerA during the day has 10000 concurrent calls
09:12.36PenguinYeah, that would be a problem.
09:13.05andycolyea :)
09:13.35PenguinThere's always core restart when convenient or core restart gracefully.  Be careful, though.
09:14.26andycolyea unfortunately i have to do it after 11 at night :S
09:15.13PenguinThe time is 0315 here!  Perfect for rebooting without any screaming.
09:16.53andycolur lucky here its 11:16 am :S
09:31.08*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
09:38.04*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
09:44.08*** join/#asterisk CeBe (~CeBe@port-92-200-113-192.dynamic.qsc.de)
09:49.14*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
09:53.34*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-eoibwosczdjqmpof)
10:18.39*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
10:30.32*** join/#asterisk infobot (ibot@rikers.org)
10:30.32*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.0.1 (2014/11/20), 11.14.1 (2014/11/20), 1.8.32.1 (2014/11/20); Standard: 12.7.1 (2014/11/20); DAHDI: DAHDI-linux 2.10.0 (2014/08/13), DAHDI-tools 2.10.0 (2014/08/13); libpri 1.4.15 (2014/06/16) -=- Asterisk wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
10:58.15*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
11:00.06*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
11:07.23*** join/#asterisk jhlavacek (~jirka@ata35-1-78-208-220-3.fbx.proxad.net)
11:21.44*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
11:26.48*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
11:29.47*** join/#asterisk FreezingCold (~FreezingC@135.0.41.14)
11:30.23*** join/#asterisk italorossi (~italoross@187.60.66.11)
11:56.28*** join/#asterisk Draecos (~Draecos@106-68-15-191.dyn.iinet.net.au)
12:00.21*** join/#asterisk gryphon (~gryphon@82.140.120.164)
12:10.19*** join/#asterisk tom486 (tom486@CPE-121-211-239-245.hhui7.cht.bigpond.net.au)
12:10.36tom486hello im currently receiving the following with some sip registrations:
12:10.57tom486Contact: <sip:username@180.215.214.19:42744;transport=UDP;ob>
12:10.57tom486Contact: <sip:username@01261334I4:42744;transport=UDP;ob>;expires=0
12:10.57tom486Expires: 900
12:10.57tom486Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
12:11.18tom486the second contact string has a corrupt address causing the asterisk box to jam sip registrations
12:11.38tom486is there any setting causing this or is there an easy way to get fail2ban to ban these types of requests
12:19.55wdoekestom486: install a local dns cache, e.g. dnsmasq
12:20.37wdoekes(put interface=lo in the config, so you won't be a ddos amplifier)
12:24.28tom486ok will give it a go
12:31.37*** join/#asterisk tom486 (tom486@CPE-121-211-239-245.hhui7.cht.bigpond.net.au)
12:32.25tom486@wdoekes so i just apt-get install dnsmasq then update /etc/dnsmasq.conf to have interface=lo ???
12:33.59wdoekesyea, or put a file custom.conf (or interface.conf) in /etc/dnsmasq.d/
12:34.06wdoekes(which allows for easier upgrades)
12:34.56tom486so this basically doesnt forward these bad packets?
12:35.36*** join/#asterisk danjenkins_ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
12:37.19tom486@wdoekes n e ways thanks it seems to be working.
12:38.23wdoekesno, dnsmasq will speed up the resolving
12:38.37wdoekesso you won't be *as* affected
12:40.05wdoekesif this is a register flood, you can consider using fail2ban or iptables hashlimit
12:40.45tom486it seems to be that a particular make of wifi key malforms the sip register packet
12:41.21tom486causing the invalid host <sip:username@01261334I4:42744;transport=UDP;ob>;
12:42.21tom486the ipaddress is in the line prior to the malformed packet, can fail2ban still pick this up?
12:42.39*** join/#asterisk theron (~theron@173-20-126-202.client.mchsi.com)
12:47.30*** join/#asterisk jhlavacek (~jirka@ata35-1-78-208-220-3.fbx.proxad.net)
12:48.48wdoekesnot sure what you want, nor what you mean with "asterisk .. jam[s] sip registrations"
12:49.35wdoekessupplying two contacts is valid per RFC, in this case the 2nd one is an "unregistration"
12:49.54wdoekesnot sure what asterisk chan_sip does with that though
12:50.03tom486its the second one that is hang
12:50.26tom486as cannot resolve 1261334I4:42744
12:53.04wdoekesyes, but that's a "temporary" hang, assuming your resolver times out within a short enough time
12:53.21wdoekessee: man 5 resolv.conf  # for options for timeout
12:55.22*** join/#asterisk Draecos (~Draecos@106-68-15-191.dyn.iinet.net.au)
12:56.39*** join/#asterisk Dovid (~Dovid@ool-2f113961.dyn.optonline.net)
12:58.59tom486thanks will give that a go
13:00.54*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:03.03*** join/#asterisk areski (~areski@81.Red-83-53-30.dynamicIP.rima-tde.net)
13:06.17*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
13:06.49*** join/#asterisk generalhan (~tester@about/windows/staff/generalhan)
13:10.43*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
13:11.00*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
13:22.55*** join/#asterisk robl^ (~robl@pdpc/supporter/active/robl)
13:37.50*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
13:40.43*** join/#asterisk jhlavacek (~jirka@ata35-1-78-208-220-3.fbx.proxad.net)
13:44.11*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
13:46.36*** join/#asterisk sekil (~sekil@78.24.104.73)
13:46.54*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
13:48.15*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
13:52.29*** join/#asterisk wonderworld (~ww@178-190-71-243.adsl.highway.telekom.at)
14:28.55Kattydrmessano: GUESS WHO"S BIRTHDAY IT IS TODAY
14:34.41tomodachizapatas?
14:38.06*** join/#asterisk sruffell (~sruffell@asterisk/the-kernel-guy/sruffell)
14:38.06*** mode/#asterisk [+o sruffell] by ChanServ
14:40.42*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
14:42.06*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
14:56.52*** join/#asterisk danjenkins__ (~dan@nat/digium/x-cqwicpzstciaroae)
15:00.30*** join/#asterisk g_r_eek (~g_r_eek@46.227.60.214)
15:02.12*** join/#asterisk dwayne (~dwayne@c-71-207-208-112.hsd1.al.comcast.net)
15:04.53PenguinWho is birthday?
15:09.02*** join/#asterisk mjordan (~mjordan@nat/digium/x-ntlmqpovccqtrles)
15:09.02*** mode/#asterisk [+o mjordan] by ChanServ
15:21.27*** join/#asterisk newtonr (~newtonr@nat/digium/x-msfygoghtdpqoetj)
15:21.27*** mode/#asterisk [+o newtonr] by ChanServ
15:23.32*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
15:23.32*** mode/#asterisk [+o putnopvut] by ChanServ
15:39.33*** join/#asterisk ghostlines (~ghostline@82.201.93.50)
15:51.29*** join/#asterisk retentiveboy (~retentive@2001:558:6011:78:157:3142:bcbc:6bc9)
15:53.37*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
15:54.45*** join/#asterisk rmudgett (~rmudgett@nat/digium/x-zaimukncqdcyrxgo)
16:04.20*** join/#asterisk gusto (~gusto@2a02:810d:8640:da4:8219:34ff:fecf:17f0)
16:07.42*** join/#asterisk jhlavacek (~jirka@ata35-1-78-208-220-3.fbx.proxad.net)
16:08.23*** join/#asterisk danjenkins_ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
16:13.46WIMPyHmm. Is Queue() so clever that it doesn't count calls that ended because of network issues as abandoned?
16:14.15WIMPyThe statistics at a site that had massive networking issues today don't add up.
16:16.03skrustyis there an event for those calls leaving the queue?
16:16.31WIMPyGood question. Let me check...
16:17.20*** join/#asterisk w3rt (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
16:18.03WIMPyNo. That doesn't seem to be the case.
16:19.01WIMPyI use QueueLog in the h extensions and those logs come in bigger numbers than COMPLETE* or ABANDON entries.
16:22.14*** join/#asterisk g_r_eek (~g_r_eek@46.227.60.214)
16:22.25pabelangerWIMPy, Ya, Queue() has an odd definition of abandoned.
16:22.48WIMPyOdd? That actually seems pretty clever.
16:29.31*** join/#asterisk gusto (~gusto@2a02:810d:8640:da4:8219:34ff:fecf:17f0)
16:35.13*** join/#asterisk Vutral (2AfYPPsiIp@mirbsd/special/Vutral)
16:37.47*** join/#asterisk jiuweigui (~jiuweigui@unaffiliated/jiuweigui)
17:05.37*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
17:11.52*** join/#asterisk jiuweigui (~jiuweigui@unaffiliated/jiuweigui)
17:35.27*** part/#asterisk zopsi (~zopsi@zopsi.com)
17:39.44stefan27when a sip peer has wss as transport, is there any way for configure asterisk so that it detects whenever such a sip peer loses its connection and when it does disconnect any calls it has? (otherwise when the sip peer loses power (cant send BYE) i have to wait rtptimeout seconds for call to die)
17:40.46WIMPyWhat's wrong with rtptimeout?
17:43.14*** topic/#asterisk by mjordan -> #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.1.0 (2014/12/15), 11.15.0 (2014/12/15), 1.8.32.1 (2014/11/20); Standard: 12.8.0 (2014/12/15); DAHDI: DAHDI-linux 2.10.0 (2014/08/13), DAHDI-tools 2.10.0 (2014/08/13); libpri 1.4.15 (2014/06/16) -=- Asterisk wiki: wiki.asterisk.org -=- Code of Conduct: bit.ly/1hH6P22 -=- Logs: bit.ly/1s4AKKu
17:43.37mjordanThat's actually what is appropriate about rtptimeout. Just because a websocket has broken doesn't mean that the 'call' itself is dead.
17:43.55mjordanmedia does not flow over websockets :-)
17:45.38*** join/#asterisk jiuweigui (~jiuweigui@unaffiliated/jiuweigui)
17:45.38*** join/#asterisk imox (~imox@p5484324B.dip0.t-ipconnect.de)
17:48.03stefan27right, but i never witnessed websocket breaking without media breaking too, and the same web application that has the webrtc client also queries asterisk for active calls and if user reloads page it gets wrong info for rtptimeout=15 seconds
17:48.15stefan27im scared to lower it further
17:48.31mjordanwell, then, the answer is "no".
17:48.55WIMPyWhy? I have it set to 9. That should be enough.
17:49.26WIMPy(note that it's off by one)
17:49.54stefan27i dont know how input devices or networks can behave
17:50.04stefan27default value was 60 i think
17:50.38WIMPyWho is going to wait for 61 seconds for audio to re-appear?
17:52.11stefan27what happens if you mute microphone?
17:52.39WIMPyThat doesn't stop RTP.
17:53.01WIMPyPutting a call on old could. But you still should get at least keep-alives.
17:53.48stefan27I'll try setting it to 5 seconds and see if something funny ever happens
17:54.02stefan27chees
17:54.03stefan27cheers
18:01.05*** join/#asterisk danjenkins__ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
18:16.05*** part/#asterisk mjordan (~mjordan@nat/digium/x-ntlmqpovccqtrles)
18:27.23*** join/#asterisk riess82 (~riessma@88-117-61-213.adsl.highway.telekom.at)
18:29.53*** join/#asterisk wolrah (~wolrah@24.239.210.140)
18:47.12*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
18:48.54Milencolvlinux, I wasnt interested in Videocalling, I was helping 'okdamn' :)
18:56.15PenguinOK.  Damn!
19:10.06Milenco:P
19:11.34fileI'd like to know how prevalent video calling actually is...
19:16.28*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
19:20.48Milencome too, little experience with it
19:21.08Milencogot it setup once but only got 320x240 videostreams with no working option to change it
19:21.20Milencobut didnt look into it much
19:22.49*** join/#asterisk danjenkins_ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
19:27.04*** join/#asterisk [ProB]CrazyMan (~chatzilla@217.147.53.97)
19:28.18[ProB]CrazyManHi  I have an problem, my asterisk box had tonigt an powerloss, and now I cannot get it to run back, I use misdn with LCR, LCR receive the calls, but they get not transferded to asterisk
19:30.11Milencowhat do your logs say?
19:31.12WIMPyIs the channel connected? Do you see Asterisk in lcradmin state?
19:32.52*** join/#asterisk danjenkins_ (~dan@nat/digium/x-bihmpaygcjudoiqn)
19:33.23[ProB]CrazyManhttp://pastebin.com/5P6ikqbF
19:34.02[ProB]CrazyManwhere do I see asterisk in lcradmin?
19:34.05WIMPyLooks like it isn't.
19:34.26WIMPyLast in the interface section.
19:34.46WIMPyEither chan_lcr isn't loaded or can't connect.
19:35.00[ProB]CrazyManI#m using  LCR 1.12
19:35.39[ProB]CrazyManwhat do I have to start that lcr is wworking ?
19:35.41*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
19:36.05WIMPyIs chan_lcr loaded?
19:36.14[ProB]CrazyManand what kernel moduls must be loaded
19:36.29WIMPyIn Asterisk.
19:37.41*** join/#asterisk ttyS3 (~o@gateway/tor-sasl/omlib)
19:39.10[ProB]CrazyManchan_lcr is loaded  us count =0
19:39.24[ProB]CrazyManuse count == null
19:39.36WIMPyWhat about permissions?
19:41.34[ProB]CrazyManpermissions from what?
19:41.46WIMPyLCRs socket.
19:42.27[ProB]CrazyMan??
19:42.53WIMPyHave you ever looked in to the config?
19:43.12WIMPyTry 'core set debug 2 chan_lcr'
19:44.55[ProB]CrazyMandoesnt get any output
19:45.38WIMPyAnd it is not connected?
19:46.18[ProB]CrazyManhow di I see its connected?
19:46.56[ProB]CrazyManin lcradmin i dont see the state to asterisk
19:48.58WIMPyIf you don't see "Remote: asterisk" it isn't connected.
19:49.17WIMPyIf it isn't connected you should see it trying to connect in the *CLI.
19:50.22WIMPySo if neither is the case, maybe you should try to unload and load the channel.
19:53.00WIMPyIt's about finishing time for me. So if you have more questions, ask quick.
19:53.11*** join/#asterisk areski (~areski@19.21.23.95.dynamic.jazztel.es)
19:53.58*** join/#asterisk Vutral (ss@mirbsd/special/Vutral)
19:54.07[ProB]CrazyMani dont know what to do
19:55.40[ProB]CrazyManI do not get any error when loading the module
19:56.10WIMPyNo output, even with debug on?
19:57.31[ProB]CrazyManno
19:59.38WIMPyNo idea then. I can only assume it's not really running or not starting its reconnect timer.
20:00.26[ProB]CrazyMando I need to start sth, on shell
20:00.31[ProB]CrazyManmisdn ?
20:00.43WIMPyno
20:01.08[ProB]CrazyManfunny
20:01.12WIMPyThat seems to be running for what I see in your log snippet.
20:01.22[ProB]CrazyManI restarted asterisk agan
20:01.26[ProB]CrazyMannow it wors
20:01.33[ProB]CrazyMancurrios
20:02.41[ProB]CrazyManthx WIMpy for your time
20:02.47*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
20:03.10WIMPyGood night then.
20:04.00*** join/#asterisk robl^ (~robl@pdpc/supporter/active/robl)
20:04.22*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
20:04.33*** join/#asterisk SpeedEvil (~quassel@tor/regular/SpeedEvil)
20:09.39*** part/#asterisk [ProB]CrazyMan (~chatzilla@217.147.53.97)
20:15.22*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
20:20.38*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
20:31.23*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
20:31.23*** join/#asterisk mahlon (~mahlon@martini.nu)
20:31.23*** join/#asterisk _stink_ (~stink@li61-113.members.linode.com)
20:31.23*** join/#asterisk MarkS- (~mark@unaffiliated/mark21)
20:31.23*** join/#asterisk mazpe (~lesterm@li315-205.members.linode.com)
20:31.24*** join/#asterisk mnathani (~mnathani@butterfly.winvive.com)
20:31.24*** join/#asterisk Chinorro (~Chino@89.17.194.254)
20:31.24*** join/#asterisk k1ng (~k1ng@unaffiliated/k1ng)
20:31.24*** join/#asterisk BakaKuna (~BakaKuna@82-169-251-128.ip.telfort.nl)
20:31.24*** join/#asterisk TechSmurf (~jdaniel@unaffiliated/techsmurf)
20:31.24*** join/#asterisk fury_ (~fury@znc.hq.codexterous.com)
20:31.24*** join/#asterisk Rac-on (jasper@bambi.rac-on.nl)
20:31.24*** join/#asterisk chazzam (~chazz@donutokyo.info)
20:31.33*** join/#asterisk Champi (Champi@damn.e-leet.be)
20:33.08*** join/#asterisk mnathani (~mnathani@butterfly.winvive.com)
20:38.54*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
20:41.23*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
20:48.58*** join/#asterisk drmessano (~nonya@pdpc/supporter/active/drmessano)
21:03.05*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
21:03.06*** mode/#asterisk [+o putnopvut] by ChanServ
21:05.29*** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain)
21:07.37*** join/#asterisk CustosL1men (~CustosLim@unaffiliated/cust0slim3n)
21:16.28*** join/#asterisk brad_mssw (~brad@shop.monetra.com)
21:17.20*** join/#asterisk CeBe (~CeBe@port-92-200-113-192.dynamic.qsc.de)
21:19.45*** join/#asterisk rmudgett (~rmudgett@nat/digium/x-gpdkbpsvgfshckbl)
21:21.44*** join/#asterisk jhlavacek (~jirka@80.215.130.187)
21:22.54*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
21:25.17*** join/#asterisk webmonkey (~clint@2607:fcc8:b7c5:9600:c585:f930:d6c:72ea)
21:25.32*** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net)
21:26.39*** join/#asterisk jhlavacek (~jirka@80.215.130.187)
21:31.47*** join/#asterisk PHunter (~Phunter@wsip-68-14-213-118.ph.ph.cox.net)
21:32.28PHunterI have an odd Question.. while I know that I can get Channel Vars through AGI, is there a way to pass channel variables from my dialplan to an AMI Event instead?
21:33.33PHunterSay, when the Dial Event is triggered, pass a variable 'outsideNum'?
21:34.49PHunter(Asterisk 11.14.2 btw)
21:35.29[TK]D-FenderSendEvent()
21:35.42PHunter:O!
21:35.53PHuntergoogles SendEvent constantly for next 10 minutes.
21:35.54[TK]D-FenderYou really should read *'s application and function lists....
21:36.17PHunterI have read a lot of AMI events, and done google searches.. I think Ill make that my next stop. Thank you.
21:36.23Penguincore show applications like event ?
21:37.02PHunterI honestly didn't think there was but I am clearly wrong.. so thanks again!
21:37.03[TK]D-FenderHMMM
21:37.18[TK]D-Fenderhttps://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_UserEvent
21:37.23[TK]D-FenderUserEvent rather
21:39.45*** join/#asterisk gtjoseph (~gtj0@unaffiliated/gtj)
21:41.37*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
21:46.12[TK]D-FenderCheckout time here at the office.  Heading home.  BBL
21:55.19*** join/#asterisk klys (~Mdasoh@173-14-238-114-Utah.hfc.comcastbusiness.net)
22:18.31*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:21.48*** join/#asterisk evilman_work (~evilman@87.244.6.228)
22:25.27*** join/#asterisk areski (~areski@19.21.23.95.dynamic.jazztel.es)
22:29.24*** join/#asterisk FreezingCold (~FreezingC@135.0.41.14)
22:40.12*** join/#asterisk jpsharp (~jsharp@c-76-101-138-247.hsd1.fl.comcast.net)
22:40.51jpsharpI'm having a brainfart moment.  How do I prevent Asterisk from sending out 183/early media no matter what I get back from the termination provider?
22:41.29*** join/#asterisk [1]Kiwi (~Kiwi@ip-118-90-67-126.xdsl.xnet.co.nz)
22:42.24[1]KiwiHi
22:44.43*** join/#asterisk smellis_werk (~smellis@2001:470:c452:2:224:e8ff:fe45:ee53)
22:46.03[1]Kiwican anyone tell me an easy way to have call forwarding enabled that will take the call and forward it out to a mobile with out ringing the internal phones it would normally ring. I was getting the user to just use the call foward feature on the hardphone its self but this still rings other phones as well as mobile
22:47.00jpsharpYou have a dial string with multiple devices?
22:47.01[TK]D-Fenderjpsharp, progressinband=no <- IIRC
22:47.25[TK]D-Fenderjpsharp, Otherwise * forwards early media I suppose if the calling end has it to begin with.  You should be able to prevent this by forcibly answering the initial channel before issuing the dial.  This would have CDR and billing consequences however
22:47.55[TK]D-Fender[1]Kiwi, It's your dialplan... you dial whatever you want whenever you want.
22:49.03[1]Kiwiyeah i need to figure out how I can make a simple solution
22:50.18[1]Kiwijpsharp yes I do have a dial string with multi devices
22:50.25[TK]D-Fender[1]Kiwi, lookup some flag you've set to indicate that you shouldn't call the device you're about to.  If it is set then dial the other place instead.
22:50.37jpsharpThen you'll need to forward the call before you hit that dialstring.
22:50.41[TK]D-Fender<[1]Kiwi> jpsharp yes I do have a dial string with multi devices <- clearly not what you should be doing
22:51.13[TK]D-Fender[1]Kiwi, Check a flag to see if you should skip your "Plan A", and act on it
22:54.37[1]Kiwicould I use the hadrphones call forward feature ( which the user likes) but have this phone at the top of the prioritys
22:55.11[TK]D-FenderOnce you hit a phone-based forward your dialplan gets 100% redirected
22:55.40[1]Kiwido you thinnk thats an ok solution ?
22:55.51[1]Kiwior a bit rubbish ?
22:55.59jpsharpI have progressinband=no and Asterisk still sends out 183 + early media
22:59.06[TK]D-Fenderjpsharp, You've seem my "Plan B"
22:59.09[TK]D-Fenderseen*
22:59.25jpsharpI have?
22:59.33[TK]D-Fender[1]Kiwi, Phone-based can't be reversed by an admin without direct access to the phone.  This is not ideal.
22:59.37[TK]D-Fender(often)
23:03.16[1]Kiwiok i wont do it this way then are there any examples of dialplan you can send me a link to so I can do some learning about how to do this
23:04.39[TK]D-Fender[1]Kiwi, "core show function DB", "core show application gotoit"
23:04.52[1]Kiwithank s
23:13.13*** join/#asterisk MadHatter42 (~MadHatter@unaffiliated/madhatter42)
23:15.07[1]Kiwi[TK]D-Fender so my end result might look like this to the user - dial 49 to enable call fwd  and 50 to disbale it ?
23:16.09[TK]D-FenderSomething like that
23:16.15[1]Kiwicool
23:34.46[TK]D-Fenderheads out for the evening...
23:37.40*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
23:42.59*** join/#asterisk foulou (~foulou@gw-tech.lagoon.nc)

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