IRC log for #asterisk on 20160301

00:01.38WIMPyThe RPi can dewfinitely do it.
00:11.55*** join/#asterisk [NC] (~nc@rv1.sabius.net)
00:13.51*** join/#asterisk theron (~theron@199.201.64.132)
00:18.15juliushave to check that again tomorrow, my bouncer will watch you ;)
00:18.17juliusgood night
00:22.19*** join/#asterisk Garibaldo (~smuxi@191.250.94.63)
00:32.01*** part/#asterisk kharwell (kharwell@nat/digium/x-fspfcqzxsbcbbsoa)
00:34.44*** join/#asterisk jjrh (~jjrh@2607:f0b0:1:6e12:d812:a1c1:de5d:64d7)
00:49.30*** join/#asterisk Garibaldo (~smuxi@191.250.94.63)
00:49.47*** join/#asterisk azerus (~badass@unaffiliated/badass)
00:54.55*** join/#asterisk ZX81 (~textual@181.197.171.64)
00:55.43ZX81so nickserv must remember usernames and passwords for a while :-)
00:59.28*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
01:19.14*** join/#asterisk bkruse (~Adium@64.89.97.113)
01:20.19*** join/#asterisk busymind (~textual@c-24-21-79-235.hsd1.wa.comcast.net)
01:22.01*** join/#asterisk K0HAX (~K0HAX@shellhost.home.englehorn.com)
01:22.30*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
01:53.57*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
01:59.54*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
02:12.25*** join/#asterisk robink_ (~quassel@unaffilated/robink)
02:21.39*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
02:31.49*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
02:35.43*** join/#asterisk [NC] (~nc@rv1.sabius.net)
02:39.40*** join/#asterisk volga629 (~network@CPE4c5e0cb3c2a0-CM0c473dd46e50.cpe.net.cable.rogers.com)
02:40.18volga629Hello Everyone, I need some help with messages
02:40.38volga629function MessageSend()
02:40.49volga629here are dialplan so far
02:40.50volga629http://fpaste.org/331466/14567999/
02:42.00volga629So in use devices users model dial string SIP/100/200/3300  that mean one user with multiply devices
02:42.26[TK]D-Fenderno
02:42.54volga629I am trying break the string on devices without &  then check peer status and then send message to one which not in use
02:42.56[TK]D-Fenderthere is no "multiple"
02:43.29volga629yes, it like  one dial string
02:43.48[TK]D-Fendernvm, I'm getting what you're saying...
02:43.58[TK]D-Fenderthe DB key has multiple valiues to split on
02:44.07volga629yes correct
02:44.56volga629in my paste where empty space not sure how to proceed if need one more loop or possible avoid it
02:45.27[TK]D-FenderYou should be nooping this so you can see what it evaluates throughout the process.
02:46.35volga629ok let me add NoOp first to see what  is the  return
02:50.32*** join/#asterisk ks3 (~ks3@cpe-24-209-22-231.cinci.res.rr.com)
02:52.27*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
02:59.25volga629I added NoOp(Checking Status for peer ${PEERS} and device state ${PEER_STATE})
03:01.47*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-dlqiazcdwzwtjjge)
03:02.09volga629here are what I see when invoked on cli
03:02.10volga629http://fpaste.org/331468/14568012/
03:02.46volga629what is reliable way determine if extension online or not
03:04.20[TK]D-Fender"core show function DEVICE_STATE"
03:06.36volga629it report both extensions for same user INVALID
03:07.26[TK]D-FenderAnd what do you see on the peer dump?
03:07.55[TK]D-FenderWhere do we see what you even queried?
03:08.53volga629I added
03:09.01volga629exten => _X.,n,Set(PEER_STATE=${DEVICE_STATE(SIP/$PEERS)})
03:09.02volga629exten => _X.,n,NoOp(Peer: ${PEERS} and Peer State: ${PEER_STATE})
03:10.50volga629here are updated version when I send message
03:10.50volga629http://fpaste.org/331469/14568018/
03:12.03volga629I want get which extension online then send send message online to available one
03:18.12*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
03:19.27[TK]D-Fenderno good
03:19.34[TK]D-Fender(SIP/$PEERS)} <- clearly wrong
03:20.07[TK]D-FenderYou're supposed to NoOp the what you are PASSING to that function to prove you aren't passing garbage
03:20.55*** join/#asterisk fling (~fling@fsf/member/fling)
03:22.34volga629peers come from exten => _X.,n,While($["${SET(PEERS=${SHIFT(PEER_GRP,&)})}" != ""])
03:24.14volga629or SIP/peer
03:24.24volga629should be just extension
03:24.38volga629DEVICE_STATE(102)
03:25.05[TK]D-Fenderno good
03:25.10[TK]D-Fenderthere is no TECH in there
03:26.53volga629I see
03:27.42volga629if I do core show hints
03:28.09volga629102@ext-local       : SIP/102&SIP/10102&Cu  State:Idle            Presence:available       Watchers  0
03:28.27volga629do I need query ext-local
03:29.53*** join/#asterisk c0rnoTa (~c0rnoTa@91.221.232.65)
03:31.23[TK]D-Fendertaht is a dialplan dcontext
03:31.28[TK]D-Fenderand doesn't mean anything
03:31.34[TK]D-FenderDEVICE_STATE(102) <- BAD
03:31.41[TK]D-FenderDEVICE_STATE(SIP/102) <- GOOD
03:31.49[TK]D-Fender102 is not a device.
03:32.00[TK]D-Fenderdevice needs the tech
03:32.10volga629ok
03:35.55volga629let look on asterisk db might be I can find how to determine if extension online or not. DEVICE_STATE return PEER_STATE=INVALID
03:38.49[TK]D-FenderI don't see you calling it properly yet
03:40.04*** join/#asterisk vrtigo1 (~fredw@184-88-218-120.res.bhn.net)
03:40.37volga629that updated version http://fpaste.org/331474/14568036/
03:41.33*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
03:42.50vrtigo1Hi!  I'm trying to implement an HTTP lookup in a dialplan.  Specifically, I'm trying to have asterisk fetch the phone number to be dialed from an external website at runtime.  Can anyone point me in the right direction toward docs or an example of how I might go about this?
03:45.41vrtigo1Nevermind, I seem to have found info on using cURL, just had to adjust my search terms.
03:47.36*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
03:48.16*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
03:52.45*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-ycjozaankbrthkvk)
04:01.31*** join/#asterisk theron (~theron@173-28-183-190.client.mchsi.com)
04:03.03*** join/#asterisk theron (~theron@2620:10d:c091:180::1:32d3)
04:03.05volga629what is criteria that device state will return correct state ?
04:03.25volga629I am not sure what is not right
04:07.24*** join/#asterisk joako (~joako@opensuse/member/joak0)
04:16.47*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
04:26.53[TK]D-Fendervolga629: You are still not showing what you're aaactually passing.
04:26.59[TK]D-FenderCLI OUTPUT
04:27.17[TK]D-FenderNoOp what you are passing to the function to prove that it is sane
04:28.28volga629http://fpaste.org/331488/45680649/
04:30.49[TK]D-Fender<PROTECTED>
04:30.51[TK]D-Fender102 is NOT a peer
04:30.55[TK]D-FenderSIP/102 is
04:31.05[TK]D-FenderWhat are you having trouble understanding?\
04:31.14[TK]D-FenderYou don't do Dial(100).
04:31.19[TK]D-FenderS100 is not a device
04:31.22[TK]D-FenderSIP?100 is a device
04:31.26[TK]D-FenderSIP/100 is a device
04:33.42volga629yes I tried SIP/100 and it always state is INVALID
04:35.02[TK]D-FenderShow that the peer is there as well
04:35.10[TK]D-Fenderso far all I see is invlaid things
04:35.14[TK]D-Fenderinvalid
04:35.20[TK]D-Fenderby that I mean WRONG
04:38.37volga629I set exten => _X.,n,Set(PEER_STATE=${DEVICE_STATE(SIP/$PEERS)})
04:39.32volga629this output
04:39.33volga629http://fpaste.org/331492/14568071/
04:45.24[TK]D-FenderBAD
04:45.34[TK]D-Fender$PEERS <_ NOT VALID
04:45.51[TK]D-FenderPAY ATTENTION
04:45.56[TK]D-Fenderi TOLD YOU TO FIX THIS ONCE ALREADY
04:46.07[TK]D-FenderCaps failure../m
04:48.31volga629you mean this SET exten => _X.,n,While($["${SET(PEERS=${SHIFT(PEER_GRP,&)})}" != ""])
04:51.52volga629or my finally
04:51.53volga629exten => _X.,n,Set(PEER_STATE=${DEVICE_STATE(SIP/${PEERS})})
04:51.58volga629long date
04:54.15volga629send actual message this is good state NOT_INUSE correct ?
04:54.34[TK]D-FenderOnly meant I'
04:54.46[TK]D-FenderI'm still not seeing what it is getting PASSED
04:55.05[TK]D-FenderNOT_INUSE  <- tthis is a VALID state at least
04:55.12[TK]D-Fenderso taht looks good
04:57.40volga629here output right now
04:57.41volga629http://fpaste.org/331494/80824814/
04:59.26volga629I just need fix Send statement I want check state send only one which state NOT_INUSE and if all extensions fail then send to fail message
04:59.53volga629not sure if I can fit in one statement
05:02.05[TK]D-Fenderpacks up to head home...
05:03.12volga629[TK]D-Fender Thanks for the help
05:15.36*** join/#asterisk bkruse (~Adium@24.42.147.195)
05:29.41*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
05:31.42*** join/#asterisk unforgiven512 (~unforgive@freebsd-dev.unforgivendevelopment.com)
05:35.20*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
05:38.16*** join/#asterisk goddva (~goddva@77.40.154.242)
05:38.24*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
05:41.01*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
05:45.13*** join/#asterisk KerioMorgan (~Adium@mail.kerio.com)
05:54.40*** join/#asterisk robink (~quassel@unaffilated/robink)
05:55.18*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
06:06.44*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
06:07.13*** join/#asterisk Merlin (merlin@omni.gcinfotech.com)
06:07.56*** join/#asterisk joako (~joako@opensuse/member/joak0)
06:09.41MerlinI have an asterisk 1.6.1.24 server peered with a asterisk 1.6.0.28, and when the asterisk 1.6.0.28 server restarts, the asterisk 1.6.1.24 server doesn't automatically reconnect-- i have to restart it.  what sip setting would I adjust to fix this?
06:15.59[TK]D-FenderNone of these are supported
06:17.33*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
06:17.38*** join/#asterisk r00f (~r00f@av.r00f.us)
06:19.33Merlinwell i suppose that is one answer
06:19.56*** join/#asterisk elitas (~elitas@213.226.135.203)
06:20.42volga629<PROTECTED>
06:21.50[TK]D-FenderNeither of those ... or the 3 branches that followed.
06:21.54[TK]D-FenderOr the 5th
06:22.12Merlini'm aware
06:22.46MerlinI have the misfortune of having to work with Fonality products
06:22.53volga629I will finish tomorrow the dialplan, not sure yet about Send command. How to do it that evaluate first all peers and send with specific state first and if all fail then send fail message
06:30.15[TK]D-FenderMerlin, May the almighty have pity upon thee....
06:31.22*** join/#asterisk KValchev (~KValchev@ns.atsoftconsult-bg.com)
06:36.04Merlinhaha thank you :)
06:39.19*** join/#asterisk robink_ (~quassel@unaffilated/robink)
06:39.45*** join/#asterisk elvisthedj (~kris@host-184-167-246-162.dur-co.client.bresnan.net)
06:41.36elvisthedjHi - I have an agi script that I used back in 2012 (don't remember what * version was then), but I'm wondering if something changed with AGI.. If an AGI script calls a perl module that also uses AGI, does it recieve the variables passed to the original script?
06:42.00elvisthedjthe module is able to execute commands via agi, but the following has null variables:
06:42.26elvisthedjmy $recording = "/tmp/recording-" . $AGI->{AGI_PARAMS}->{calleridnum} . "-" . $AGI->{AGI_PARAMS}->{uniqueid};
06:48.17*** join/#asterisk tparcina (~tomo@212.92.200.41)
06:58.02*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
07:18.37*** join/#asterisk bkruse (~Adium@24.42.147.195)
07:31.01*** join/#asterisk busymind (~textual@c-24-21-79-235.hsd1.wa.comcast.net)
07:49.02*** part/#asterisk c0rnoTa (~c0rnoTa@91.221.232.65)
07:50.49*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:52.01*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
07:56.37*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:57.54*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
08:03.43*** join/#asterisk rrittgarn (~rrittgarn@75-150-221-196-Illinois.hfc.comcastbusiness.net)
08:05.21*** join/#asterisk zerohalo (~zerohalo@c-174-62-142-83.hsd1.ma.comcast.net)
08:05.41*** join/#asterisk Zogot (~Adium@185.21.52.255)
08:05.53*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
08:10.28*** join/#asterisk AviiNL (~AviiNL@185.21.52.255)
08:11.06*** join/#asterisk luckman212 (~luckman21@unaffiliated/luckman212)
08:16.15*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
08:21.42*** join/#asterisk markusl (~markus@hodor.lindenberg.io)
08:38.59*** join/#asterisk F2Knight (~F2Knight@c-50-139-97-110.hsd1.or.comcast.net)
08:40.56*** join/#asterisk doome_ (~doome@82.150.48.146)
08:41.10*** join/#asterisk O47m341 (~Suzeanne@75-103-145-152.ccrtc.com)
08:44.22*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
08:46.01*** join/#asterisk pa (~pa@unaffiliated/pa)
08:46.10*** join/#asterisk pjm (~pjm@uhfsatcom.plus.com)
08:50.49*** join/#asterisk Panther_Modern (~Panther_M@unaffiliated/panther-modern/x-6168176)
09:04.35*** join/#asterisk Tim_Toady (~fuzzy@snf-33276.vm.okeanos.grnet.gr)
09:05.47*** join/#asterisk evil_gordita (robert@ip70-188-41-127.rn.hr.cox.net)
09:06.10*** join/#asterisk sekil (~sekil@nat-73.net011.net)
09:42.43*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
10:13.33*** join/#asterisk puzzola_ (~puzzola@unaffiliated/puzzola)
10:33.58*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
10:39.43*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
10:41.39*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
10:44.31juliushi
10:44.45juliusis it possible to run asterisk on a fritzbox?
10:56.29Kunsijulius: it is. personally i'd recommend usind a second device (even a raspberry pi has enough power) to run asterisk
10:57.26Kunsiquick google-ing returns http://www.asterisk-kompakt.de/asterisk/45-asterisk-auf-fritzbox-phone.html (german)
10:58.20*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
10:58.37juliusKunsi, why would you prefer a second device?
10:59.39Kunsibecause I only have a rented box (provider stuff), so if something happens to it (had id replaced six times in last two years) I don't have to reinstall/reconfigure asterisk
11:00.58juliusok, makes sense
11:01.35juliusKunsi, can a asterisk on a pi still surpress the phone from ringing?
11:02.04juliusi mean, to block anonymous callers i would like them to be redirected to a voice message but i dont want my phone to ring
11:02.36Guggea pi is just a computer, asterisk on it has all the features.
11:02.55GuggeBut dont expect it to have enough power to handle many calls at once
11:03.03juliusonly got one phone
11:04.02WIMPyWhy do you want to try Asterisk at all for only one phone?
11:04.29Kunsijulius: also, recent fritzbox firmware shuld have an option to block anonymous calls at all
11:04.48juliusjust getting started with the "problem"
11:04.55juliusmaybe a fritzbox will do the trick
11:05.47WIMPyThe phone features of the FB aren't bad.
11:07.28juliusok
11:08.02juliuscan i ask a isdn specific question here that has nothing todo with asterix or is there a better channel?
11:08.43WIMPyJust ask.
11:10.34juliuswe got isdn at home, the 2 telephone wires comming from the wall to into some kind of isdn box which allows to attach isdn devices. can i just attach any fritzbox directly to the 2 wires in the wall?
11:10.57WIMPyNo.
11:11.03*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
11:11.40WIMPyThe NT is always required. (Except for some special cases in the US as usual).
11:13.06juliusthe fritzbox 7272 for example got some kind of isdn connector, do i connect the isdn box there?
11:13.13Kunsino
11:13.21juliusbecause the connector is labelled S0 with a phone picture
11:13.43WIMPyThe same way as any ISDN device: On the S0 bus.
11:14.04Kunsihttp://service.avm.de/support/media/filter/l/transfer/img/4c52ce91-41dc-4124-9307-37aeac100096/anschluss_ntba_tae_y_kabel.png - that's how you connect your stuff (left side of picture)
11:14.30*** join/#asterisk war9407 (war@static-72-73-18-14.clppva.fios.verizon.net)
11:14.33WIMPyThe S0 interface is a definite standard, while there are at least 3 common versions of the U interface.
11:14.39Kunsithe box's S0 connector is for connecting phones
11:14.56Kunsis/phones/ISDN devices/
11:14.56juliusah ok
11:15.16WIMPyThe other S0 connector, if present.
11:15.29juliusso the fritzbox will probably come with the right Y-cable to attach it to both devices
11:15.33WIMPyOn the current models they are both missing, I think.
11:15.40WIMPyYes
11:15.58juliusso basically any fritzbox will do?
11:15.59WIMPyBut make sure you get a model that still supports ISDN.
11:16.06juliusah, there it is
11:16.40WIMPyI think the most recent version with full ISDN support is still the 7490.
11:17.16*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
11:17.32Kunsieven 7050 supports ISDN, which is very old. older models simply don't have new Y-cable, istead they have two separate cables to two ports on fritzbox. but everything should be described in box manual (if you don't have one, you can download them at AVM website
11:18.03juliushttps://en.wikipedia.org/wiki/Fritz!Box
11:18.13juliustheres a nice list
11:18.37juliusaccording to that the 7570 also got isdn
11:19.08WIMPyNo. They always had the Y-cable.
11:20.09KunsiWIMPy: I _have_ an 7050, which does NOT have the Y-Cable.
11:21.08juliusany idea when they started supporting the redirect anonymous caller functionality?   because i already got a wlan router and this would only be for one phone...so i would rather go for cheap
11:21.20WIMPyI do also have an 7050. It has the usual shared port.
11:21.38WIMPyhas NFI
11:22.24KunsiWIMPy: mine has a grey DSL port and a blue labelled "ISDN/analog". maybe provider specific stuff (it's 1&1-branded
11:23.58juliusor would it be possible to use a really old fritzbox and have asterix manage the call redirecting?
11:24.14juliusi could get a used fritzbox fpr ~15€
11:24.28WIMPyPossible. Some of the branded ones were non standard hardware.
11:25.07Kunsijulius: maybe, don't really know which firmware version introduced anonymous blocking
11:25.16Kunsibut what's you current setup?
11:25.16WIMPyYou could use both. But one of them would be kind of senseless then.
11:25.58juliussure...but when i get a rpi2 for <50€, and a fritzbox for 15€  im still cheaper than a fritzbox with isdn >100€
11:25.59WIMPyWhat else do you want to do, apart from sending anonymous callers to VM?
11:26.31*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
11:26.36juliusim kind of a linux nerd, i like it very much. having access to a call listing for plotting graphs would be nice
11:27.05juliusbut that would be extra, just getting rid of unwanted calls is all i need now
11:27.19WIMPyYou don't have to handle the calls to do that :-)
11:27.39juliusfor what?
11:28.06*** join/#asterisk caller (~caller@85.27.175.143)
11:28.09WIMPyYou can just set up voicemail on any device and connect that in parallel. You just can't do internal calls to listen to your messages then.
11:28.14WIMPyTo get statistics.
11:28.30juliusah
11:28.57juliushow do you get the "voicemail" count from a phone?
11:29.19juliusi would rather prefer them in a database reachable via network or a text file
11:29.58carrarin a sip notify message
11:30.00carrarVoice-Message: 2/7 (0/0)
11:30.08juliusuh nice
11:30.20WIMPyGreat. If you want to listen on the PC. You don't need more than just a VM application.
11:30.24juliusstill, i think im gonna go the raspberry + old fritzbox way
11:31.35WIMPyYou still want a way to connect the RPi to the line, unless you want to ring the phone in parallel.
11:32.07juliusyes, how do i do that?
11:32.15juliuswith a ata?
11:32.19WIMPyOr a more recent FB where you redirect the calls via SIP to the RPi first and then back to the FB and then the phone.
11:32.35WIMPyThat would the the USB part again.
11:34.05*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
11:35.15callerHow do i set up caller ID on a Digium TE820 card?
11:35.45WIMPyCaller IDs have nothing to do with hardware.
11:35.46juliusWIMPy, why usb? will this do? LINKSYS SPA1001
11:36.31WIMPyjulius: And where do you connect that? To your analog adapter? That's going to be pretty crappy.
11:42.51juliusok
11:43.00juliusso im missing a hardware part here, usb to ?
11:43.10callerOkay thanks, Then where would i set the caller ID?
11:43.57WIMPyjulius: Yes, you really want some ISDN interface. And as te RPi doesn't have PCI, teher's only USB.
11:44.45WIMPyOr maybe you can still find a D-Link HorstBox Professional. They came with Asterisk (1.2), there you got hardware, but you will have to build your own firmware.
11:45.34juliushttp://www.raspberry-asterisk.org/faq/#isdn     says here that a fritzbox can be used to interface a rpi with isdn
11:45.38juliusnow im confused
11:45.47WIMPycaller: You have to set up the parameters in your chan_dahdi.conf (*dialplan) and then you set it from your dialplan with the CALLERID function.
11:46.43*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
11:46.57WIMPyjulius: Yes. There are two ways: 1. Via CAPI. Don't know how CAPI support in Asterisk is these days. or 2. via SIP, which requires a not too old FB.
11:47.43juliussip is probably the better way
11:47.50WIMPy2 is also what you'd do if installing Asterisk on the FB.
11:48.06WIMPyNo, but definitely still supported.
11:48.14callerGreat! So I buy a local phone number and set that as a CALLERID and then I can have multiple agents calling simultaneously and not pay buy the minute like a do now with my voip provider?
11:48.25juliusWIMPy, oh sip is outdated? so capi is the way to go?
11:48.47WIMPycaller: huh?
11:49.31WIMPyjulius: No. The other way round. But CAPI is less of a diversion. Less loss of features.
11:51.07juliusok
11:52.28juliusWIMPy, thanks for the great support btw
11:54.40callerI am trying to set up a call center with goautodial/vicidial running asterisk 1.8, right now I am using a sip trunk provider that charges buy the minute and I adds up quickly so I am exploring other possibilities
11:55.31*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
11:55.40callerit*
11:57.13*** join/#asterisk tparcina (~tomo@212.92.200.41)
12:04.35*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-mjysfwoztrbxyfij)
12:09.11*** join/#asterisk retentiveboy (~retentive@c-73-82-30-193.hsd1.ga.comcast.net)
12:10.38retentiveboyAfter looking through the code, I'm pretty sure the new pjsip doesn't support users.conf, right?  Is there another scheme for creating endpoints along with phoneprov, voicemail, etc. other than manually?
12:15.36fileno
12:22.16*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
12:38.09*** join/#asterisk bof22 (~Thunderbi@185.13.183.107)
12:43.31*** join/#asterisk Slackology (~slackolog@unaffiliated/quintux)
12:59.25*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
13:00.07*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
13:00.17saltsais it possible to compile asterisk without menuconfig?
13:00.23saltsafor doing the rpm package?
13:07.12*** join/#asterisk marceloamorim (~marcelo@189-90-206-161.isimples.com.br)
13:11.40retentiveboysaltsa, https://blog.rhodestech.ca/building-asterisk-13-rpms/
13:11.43*** join/#asterisk keithf (~keithf@ool-2f151dc2.static.optonline.net)
13:12.14retentiveboyand https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options
13:14.21*** join/#asterisk tparcina (~tomo@212.92.200.41)
13:25.33*** join/#asterisk theron (~theron@2620:10d:c091:200::c:d177)
13:46.39*** join/#asterisk theron (~theron@2620:10d:c091:200::c:d177)
13:56.39*** join/#asterisk acidfoo_ (~acidfoo@modemcable002.114-70-69.static.videotron.ca)
14:00.34*** join/#asterisk mrhelpmann (~mrhelpman@i.am.mrhelpmann.xyz)
14:13.02*** join/#asterisk membiblio (~membiblio@pool-71-112-149-68.pitbpa.fios.verizon.net)
14:20.46*** join/#asterisk bkruse (~Adium@24.42.147.195)
14:21.39*** join/#asterisk theron (~theron@2620:10d:c091:200::3:cdfa)
14:23.37*** join/#asterisk brad_mssw (~brad@66.129.88.50)
14:24.36*** join/#asterisk sekil (~sekil@nat-73.net011.net)
14:25.12*** join/#asterisk goddva (~goddva@2a02:fe0:c510:2030:ae9e:17ff:fe91:a8c9)
14:51.58*** join/#asterisk Draecos (~Draecos@203-121-194-218.e-wire.net.au)
14:52.36*** join/#asterisk voip (~voip@enterprise.siptrunk.us)
14:56.28*** join/#asterisk keithf (~keithf@ool-2f151dc2.static.optonline.net)
14:57.24*** join/#asterisk cresl1n (Adium@asterisk/libpri-and-libss7-expert/Cresl1n)
14:57.24*** mode/#asterisk [+o cresl1n] by ChanServ
15:03.36*** part/#asterisk marceloamorim (~marcelo@189-90-206-161.isimples.com.br)
15:03.48*** join/#asterisk saint_ (~saint_@unaffiliated/saint-/x-0540772)
15:03.53*** join/#asterisk tristero (~al.f.zero@unaffiliated/transfinite)
15:05.55*** join/#asterisk sparetire (~sparetire@unaffiliated/sparetire)
15:07.12*** join/#asterisk kharwell (kharwell@nat/digium/x-uaorprwzqbupjwjg)
15:12.21*** join/#asterisk markl (~markl@d54C2C766.access.telenet.be)
15:12.49marklhi all
15:13.00marklwe're having a problem with our asterisk server
15:13.21markloccasionally after a reload asterisk seems to freeze
15:13.41marklstill can input cli commands but there is no output
15:13.49marklphones etc. don't work
15:13.55marklanyone an idea?
15:13.55*** join/#asterisk doome_ (~doome@82.150.48.146)
15:16.09acidfoo_markl what version
15:16.25markl11.20.0
15:16.51marklwith freepbx 2.11.0.43
15:16.59voiphow much ram?
15:17.25markl<PROTECTED>
15:17.25marklMem:          1869       1673        196          0        203        869
15:17.25markl-/+ buffers/cache:        601       1268
15:17.25marklSwap:         1697         26       1671
15:17.30voipah ha
15:17.32voipmem running out
15:17.34voiptry this
15:17.48voipsync; echo 3 > /proc/sys/vm/drop_caches
15:17.58voipthen
15:17.59voipfree -m
15:18.20markl<PROTECTED>
15:18.21marklMem:          1869        533       1336          0          2         22
15:18.21markl-/+ buffers/cache:        508       1361
15:18.21marklSwap:         1697         26       1671
15:18.25voip:)
15:18.31voipcrontab that puppy.
15:18.37marklis it good to clear cache once a day?
15:18.45voipi clear it every couple minutes
15:18.47voipup to you
15:18.59marklok, 'll try that
15:19.01marklthanks
15:19.13voipget the most out of these little vps / vm hosting
15:20.09acidfoo_voip good idea
15:20.25marklshould we increase the memory or is clearing the cache ok?
15:23.14*** join/#asterisk puzzola (~puzzola@unaffiliated/puzzola)
15:28.51voipi take donations :P
15:29.11voip10% of money saved from increasing ram to paypal@phonesupport.org <3 haha
15:31.20*** join/#asterisk marceloamorim (~marcelo@189-90-206-161.isimples.com.br)
15:34.26*** join/#asterisk anonymouz666 (bd193818@gateway/web/freenode/ip.189.25.56.24)
15:34.59anonymouz666hi
15:35.38anonymouz666anyone already set up a SRTP exchange between MS LYNC 2013/Skype for Business and Asterisk?
15:36.22*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
15:37.07anonymouz666the libpri master is in da house
15:38.18cresl1nhowdy all!
15:44.02*** join/#asterisk tristero (~al.f.zero@unaffiliated/transfinite)
15:44.20*** part/#asterisk marceloamorim (~marcelo@189-90-206-161.isimples.com.br)
15:48.28juliusWIMPy, sorry to bother you again, but im still not sure what to buy. going the CAPI route for example: isdn connector for the pc (maybe raspberry) that connects via the isdn bus to the fritzbox?
15:52.01*** join/#asterisk rmudgett (rmudgett@nat/digium/x-zswscghfotcuxfkc)
15:55.50*** join/#asterisk samgoody (~Adium@93-172-239-109.bb.netvision.net.il)
15:56.13*** join/#asterisk fbnts (~fbnts@s100.vectes.co.uk)
15:56.38WIMPyjulius: That doesn't make sense. You need some hardware to connect to the S0 bus.
15:57.15WIMPyAnd in case of the RPi the only direct route is USB.
15:57.54fbntsHi, I'm looking at a better way to handle invalid outbound calls.  I usually just answer(), play a recorded message then hangup() however this shows in the CDR disposition as ANSWERED but I would like this to register as the available FAILED - is there a hangup() code that would force this?
15:58.10samgoodyHello. Am completely newbie, so please bear with me:
15:58.19WIMPyMaybe yu should find a board with PCI for the card you've got.
15:58.20samgoodyI created a IVR on Plivo.
15:58.25samgoodyIt worked OK, but I need non-English text, and they don't support the language I need.
15:58.30*** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-tqxjlscjqxntpdxi)
15:58.43samgoodySo, I figured I can just use my home computer and install — gee I have no idea.
15:58.58WIMPyfbnts: Too late if you answered. Try to playback with ',noanswer'.
15:58.58samgoodyIs this something Asterisk does? If so, whats the best tutorial for beginners?
15:59.22samgoodyI need it to connect to a dataabase and lookup values and return them to the user
15:59.47samgoodyWhich in Plivo was done using a simple node app that was queried each call
16:00.08juliusWIMPy, you can see that i dont know what im talking about
16:00.20juliusWIMPy, do you have a picture maybe how it all could look like connected?
16:00.34samgoodyPostgres database. Please forgive me if this is totally the wrong type of tool, but I don't know, and a few hours of googling has left me more confused than I started
16:00.39juliusths s0 bus comes out of the ntba?
16:00.48WIMPyjulius: Unfortunately there are many possibilities.
16:00.57juliusjust one
16:01.04*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
16:01.05WIMPyYes, The NTBA provides te S0 bus.
16:01.29juliusso ntba to my pc, and then the pc somehow to the phone?
16:02.12WIMPySo you need something to connect the computer to the NT. Either a PCI card, a USB adapter or some IP gateway.
16:02.26juliuslets keep it simple, i will just use a old pc with the fritzcard
16:02.41WIMPyThat's the next thing. *IF* you need to connect your phone to the computer at all.
16:04.00WIMPyYou can connect your phone to a second S0 interface of your computer via the analog adapter you're using now or you can use an ATA to connect it via ethernet.
16:04.14WIMPyDoes France have an open or a closed numbering plan?
16:04.48WIMPyDo you call abroad?
16:04.51juliusno
16:05.04juliuswell, maybe my parents once in a while
16:05.36juliuswas that "..france...numbering plan..."? for me?
16:05.38WIMPyThen you might want to only handle incomming calls.
16:05.48WIMPyyes
16:05.56fbntsWIMPy: I was going to change it so it doesn't answer at all.  I tried just doing Hangup() but that doesn't put any entry in the CDR at all
16:05.58juliusim german...why did you ask about fr?
16:06.31WIMPyOh, sorry, I thought I remembered somethign about France. That was probably someone else then.
16:06.33juliusyes for now incomming will do just fine, i dont want to go into voip for now until it is absolutely needed
16:06.40juliusno problem
16:07.07juliusso if my phone is connected to the pc via a isdn card - how does it call to the outside?
16:07.33WIMPyThen I'd go for any old Fritzbox and a computer with some sort of ISDN interface.
16:08.10juliusasterisk has to handle that
16:08.19juliusis that maybe setup by default?
16:08.31WIMPyYou can then configure the computer as additional SIP provider to connect both.
16:08.57juliusboth?
16:08.57WIMPyOutgoing calls with Asterisk are a bit of a pain if the length of the dialled number isn't known in advance.
16:09.17WIMPyThe computer and teh FB.
16:09.19acidfoo_we have an old instance of Asterisk 1.8 that haven't been migrated yet, and sometime the berkeley DB (astdb) gets corrupted and Asterisk crash, for the time being while we work on migrating it I was thinking to simply remove the astdb file everytime we start Asterisk in case it's corrupted
16:09.24juliusah
16:09.33acidfoo_so I was thinking adding it to /etc/init.d/asterisk startup script
16:09.38acidfoo_any better Idea ?
16:10.17WIMPyacidfoo_: *If* you don't need any data in there, go for it.
16:10.43WIMPyBut remember that you shouldn't use it for permanent storeage later on.
16:10.51acidfoo_well, the only data inside the DB is the cached data
16:11.00acidfoo_from sip registering, etc
16:12.05juliuswould be nice if the fritzbox could send all calls to the pc by default and let the pc decide what todo with them.   either throw away or send to the phone
16:13.19WIMPyThat is possible, but not if the box is too old.
16:13.33juliusyes
16:13.36juliusmakes sense
16:13.39juliusthat would be sip?
16:14.17WIMPyYou need a version that supports SIP phones. And then you'd make the computer a SIP phone.
16:14.35juliusok, im gonna check the capi way first
16:14.55WIMPyOld versions only support SIP "lines", not SIP phones.
16:15.55WIMPyCAPI works with old models as well. But might also only work with older versions of Asterisk. Not sure about the state.
16:17.26juliusok, gonna check that out
16:19.01*** join/#asterisk busymind (~textual@c-24-21-79-235.hsd1.wa.comcast.net)
16:25.58*** join/#asterisk infernix (nix@unaffiliated/infernix)
16:28.48*** join/#asterisk pjensen00 (~per@ip-69-178-218-71.far.ideaone.net)
16:31.59*** join/#asterisk juned (~juned@103.240.209.29)
16:34.29junedI'm using call files to originate the call but the problem is even if I'm rejecting the call asterisk is giving a status as NO ANSWER instead of BUSY
16:35.25juliusWIMPy, http://postimg.org/image/pkecsxzkj/    <- does this look right?  the "fritzbox" in this case would only do internet access?
16:36.26craigifyjuned, is the number you are calling via Originate signaling BUSY?
16:36.52craigifyor conjestion
16:36.53WIMPyjulius: Yes
16:37.36juliusso i dont need to buy a fritzbox for this at all
16:38.09WIMPyNo, you can do with a 2nd ISDN interface.
16:38.33juned<PROTECTED>
16:38.38WIMPythe 2nd card cannot be a FritzCard, however. You need a cheap one to be able to connect a phone.
16:38.41juned- Auto fallthrough, channel 'Local/s@playback_1-00000008;2' status is 'NOANSWER'
16:38.42juned[Mar  1 17:37:49] NOTICE[21468]: pbx_spool.c:413 attempt_thread: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
16:38.56Kunsiyou don't even need two isdn cards, just configure fritzbox to connect to asterisk (as phone line), then connect your phones to fritzbox like you do now
16:39.09WIMPyjuned: that looks like a timeout.
16:39.10craigifyjuned, Orginate usually has a time limit, even by default if you don't specify it
16:39.25craigifyone possible scenario is that the time is exceeded before it answers
16:39.36craigifywhich will result in a disposition value of no answer
16:39.51juliusKunsi, i didnt kill the "router/fritzbox" in the picture. but my router does not know isdn
16:39.58craigifythe only way it will get busy is if the channel reports a busy or conjestion state explicitly
16:40.06junedI'm dialing call using gateway
16:40.30junedbut as soon as my mobile is ringing I'm simply rejecting the call
16:40.39junedat the moment it rings I just disconnect it
16:40.47juliusKunsi, this feature is supported in older fritzboxes like the 5140?
16:41.05craigifyjuned, how do you know that your mobile returns a busy signal when you reject a call?
16:41.08*** part/#asterisk Merlin (merlin@omni.gcinfotech.com)
16:41.12craigifynormally a rejection sends a call to voicemail
16:41.22craigifywhich will be an answered call to asterisk
16:41.24juliusKunsi, or is that SIP?
16:41.30craigifybut that line you posted looks like originate is timing out, like I said earlier
16:41.47WIMPyjulius: Don't know that model, but SIP "lines" have been supported for at least 15 years.
16:42.17juliusok
16:42.45WIMPyjulius: Maybe you should re-read the whole conversation. Maybe it makes more sense now with more knowledge.
16:42.46juliushaving a fritzbox inbetween would get rid of the "calling outboung" problem
16:42.56Kunsijulius: the internet™ says "So wird für die Internettelefonie der weit verbreitete SIP-Standard unterstützt und VoIP-Telefonate lassen sich auch auch die angeschlossenen Festnetztelefone leiten", so yes
16:43.27junedcraigify: there is no way it will go to voicemail but as I;m rejecting the call myself I expect status as BUSY
16:43.40WIMPyjulius: Yes, but you can fix that in software as well. I handle the ISDN interfaces with Linux-Call-Router, not with Asterisk.
16:43.44junedany configuration or something to achieve this ?
16:44.04craigifywell it's not returning busy
16:44.09craigifyor else asterisk would report it
16:44.12WIMPyjuned: Rejected is not the same as busy.
16:44.19juliusWIMPy, well...looking how easy it is to redirect connections/tunnel connections and do traffic shaping on them with linux. im not sure i really want to understand isdn...could cause brain damage at prolonged exposure
16:44.45WIMPyAh, it's pretty simple, really.
16:45.03junedWhen I'm checking extension to extension calling and if I'm rejecting the call its giving me BUSY status , the only difference is I;m sending call to my cell using trunk
16:45.46juliusim sure after you have dont it all, it will look that way
16:45.54craigifyjuned, I think Originate is timing out before it gets an answer
16:45.55WIMPyjuned: Maybe the provider you're using has issues with the situation.
16:46.16juliusany idea how the SIP option in the fritzbox interface might be called?
16:46.18junedIts Voxbeam
16:46.27juliusto redirect calls to my pc
16:46.34craigifyjuned, regardless if whether you press reject, or whatever you press, you need to debug what's going on at the PSTN level and find out what happens with the channel
16:47.12WIMPyjulius: You need to create a new phone of type SIP.
16:47.23junedcraigify: All right I'm going to enable debugging and check
16:47.31juliusok, im gonna order one and see how it goes
16:47.49Kunsino, not a hardware phone
16:48.59Kunsiyou need to add a new phone of type "Telefon" - "LAN/WLAN"
16:49.00craigifyjuned, Originate has a 30 second time out value by default.  If you call your cell phone via a some technology that gets you to the PSTN, that channel is not reporting BUSY before 30 seconds is up
16:49.13juliusKunsi, for asterisk?
16:49.17Kunsiyes
16:49.18craigifyjuned, I can see that just by the 1 line you posted here.  Now why that is happenneing is unknown
16:49.22juliusKunsi, ah ok
16:49.24*** join/#asterisk Garibaldo (~smuxi@191.250.94.63)
16:49.35craigifyjuned, that is assuming you didn't set a different timeout value for Originate of course
16:49.49craigifyjuned, call files use the Originate function, by the way....
16:50.02Kunsithen, have your asterisk register itself to your fritzbox. setup your box to send all calls to this sip phone, then, on asterisk side, you can handle the calls
16:50.33junedcraigify: so If i set some timeout in my call file then that will resolve my issue ?
16:50.46juliusthank you guys so much for your time, will take some days before the fritzbox gets here.
16:51.10juliusKunsi, sounds logical
16:51.46junedbtw provider is sending SIP/2.0 487 Request cancelled when I reject the cal
16:51.46juliusyou have my permission to use that artistic picture i posted as a reference ;)
16:52.19WIMPyjulius: One of the cars is cut off. :-)
16:53.55juliusthats art
16:54.01julius;)
16:54.22juliusi thought maybe someone would say: that phone does not support isdn
16:55.21WIMPyDoesn't look like one. But you said you have a TA a/b, so I just project that in there.
16:55.40WIMPyWel, THAT was you, I hope :-)
16:57.08juliusjust grabbed the picture online
16:57.25juliusthe isdn -> analog converter isnt in it, but the rest looks like at home
16:57.58juliuswhat was "TA" again?
16:58.12WIMPyTermonal Adapter
16:59.06junedcraigify: how do I set timeout in call file ?
16:59.34junedUnknown keyword 'Timeout '
17:00.36junedI can do that in dialplan i guess
17:01.43WIMPyWaitTime
17:02.53*** join/#asterisk sekil (~sekil@78.24.111.22)
17:02.55juliusWIMPy, if this is right: http://www.thenetworkencyclopedia.com/imagens/I16.jpg     then the TA in my picture would be the box in the upper left
17:03.33WIMPyNope. Thats the NT.
17:03.41WIMPyErr
17:03.53WIMPyNo. That picture makes no sense from a technical point.
17:04.11*** join/#asterisk F2Knight (~F2Knight@c-50-139-97-110.hsd1.or.comcast.net)
17:04.14*** join/#asterisk woose (~woose@unaffiliated/woose)
17:04.29WIMPyThat box there would be multiple boxes, NT and TAs.
17:05.41juliuswell...im not at home in the moment, but if memory serves right that setup supports isdn/dsl/telephone
17:06.07juliusi just read that my telephone provider will kill all analog connections till 2018...maybe earlier
17:06.15juliusthen its voip
17:06.17WIMPyThat picture also has RS-232 and V.35.
17:06.25*** join/#asterisk djiboutiii (~chrisp@c-67-171-9-140.hsd1.wa.comcast.net)
17:06.30juliusyeah...hard to find good pictures
17:06.34*** join/#asterisk azerus (~badass@unaffiliated/badass)
17:06.38WIMPyChange to another one.
17:07.16juliusin germany they call the new line of contracts "magenta" - its a color near red
17:07.20juliusthats how creative they are
17:07.24juliusor purple
17:07.47djiboutiiiHi guys. Hoping for some help. I have a very basic asterisk server that can receive calls successfully, except for forwarded calls. There is only 1 way audio from asterisk to the forwarded #, the return RTP doesn't come in. I know it's a NAT/routing issue, but does anyone have any tips? This setup worked until a reboot so I think its related to my iptables
17:08.00WIMPyMaybe one day they will find out how to make them work as well...
17:08.57juliusits all ethernet by that time
17:09.04juliusso it will probably be easy
17:09.19WIMPyNo.
17:09.43juliuswell, it is not now...but in the future
17:09.45juliuswhy not?
17:09.57WIMPyIn what future?
17:10.05juliusah, there was the range of ethernet
17:10.15*** join/#asterisk azerus (~badass@unaffiliated/badass)
17:11.24WIMPyThat stuff has been in use for at least 15 years and is still suffering from all sorts of infants deseases. How long do you take to realze it just won't work?
17:12.23*** part/#asterisk samgoody (~Adium@93-172-239-109.bb.netvision.net.il)
17:12.33juliusyou mean dsl and isdn?
17:12.48WIMPyNo, SIP.
17:13.06juliusoh i wasnt thinking about sip, more like pure tcp
17:13.12juliussome protocol over it
17:13.43WIMPyDoesn't really work for VOIP.
17:14.19juliusvoip isnt working over tcp?
17:14.24juliusoh, yes
17:14.26juliusit was udp
17:14.26WIMPyNo
17:14.50WIMPyThe signalling part can use TCP. But usually that's UDP as well.
17:15.07juliusive been using programs like teamspeak for some time, it works pretty well. sound quality went way up
17:15.42juliusi always thought i was talking to robots from another planet while using teamspeak 2.x (the old one)...until they release version 3
17:21.01*** join/#asterisk F2Knight (~F2Knight@c-50-139-97-110.hsd1.or.comcast.net)
17:21.55juliusnow theres just the question to get a second pc in case the first fries.  the asrock c70m1 looks nice, with case ~70€
17:22.42*** join/#asterisk bkruse (~Adium@64.89.97.100)
17:26.14Kunsiraspi 2 handles 5 concurrent calls here with 20 phones registered
17:28.58juliussure, what did you pay for the usb _> isdn connector?
17:30.19WIMPyAnything from 2 to 8 EUR.
17:30.43WIMPy(inc P&P that is)
17:31.08*** join/#asterisk sekil (~sekil@78.24.111.22)
17:31.14*** join/#asterisk juned (~juned@212.174.104.44)
17:31.37juliushm, i looked at the amazon listing but the first page was <60€
17:31.41julius> i mean
17:31.53WIMPyebay
17:34.38juliusno luck today
17:35.18juliusdraytek mini for 15 would be available, but i read that those come with different chipsets...and of course only one is supported
17:36.22WIMPyThe ones that have a mouse like shape are good. They come with all kinds of logos.
17:37.01*** join/#asterisk resist0r (~resist0r@unaffiliated/mrresist0r)
17:39.41*** join/#asterisk craigify (~craigify@ip184-186-18-123.no.no.cox.net)
17:40.06juliusyes, looks like the chinse copycats found it ;)
17:41.44juliusa fritzcard i can get for 4€ + postage
17:42.03WIMPyDon't. Get a cheap one.
17:47.16juliusfritzcard was the one and only isdn card...until isdn was replaced
17:47.20*** join/#asterisk jeev (~j@unaffiliated/jeev)
17:47.26juliusof course, its second hand
17:48.00WIMPyNo. Unlike the cheap ones it can't do NT mode.
17:48.16juliusoh, i misread your comment
17:48.34juliusi read "dont get a cheap one"
17:48.43juliusdo i need NT mode?
17:49.05WIMPyOnly if you want to connect terminals (like phones).
17:49.19*** join/#asterisk jab416171 (~jab416171@c-76-27-96-12.hsd1.ut.comcast.net)
17:49.39WIMPyBut if you think you will go without a line in the future, that would be the only use then.
17:49.51*** join/#asterisk KerioMorgan (~Adium@mail.kerio.com)
17:50.51juliusif the fritzbox sends the call to asterisk(isdn card), can asterisk redirect that call back to a analog phone connected to the fritzbox?
17:51.10WIMPyYes.
17:51.42*** join/#asterisk Get_The_Fish (~get_the_f@2601:281:8301:94c2:4191:73c3:6021:298e)
17:51.54juliusnice
17:52.12juliusso i will start with the fritzcard that i have and get one just in case the first one kills itself
17:52.36juliusthat thing is probably over 10 years old
17:52.36Get_The_FishIs there any way to dial while a recording is playing? I've tried using background then dial, however background plays the entire message before executing dial, and then will play call progress to the channel (which I dont want)(
17:52.55juliusgonna take a break, cu
17:53.47[TK]D-FenderGet_The_Fish: "core show application dial" <-
17:54.19Get_The_Fish[TK]D-Fender: Uh, yes, are you referering to the hold music option?
17:54.31[TK]D-Fenderyes, unless you see something else
17:55.36Get_The_FishNot exactly what I was looking for
17:56.29Get_The_FishI would have thought background would have done it.
17:56.52*** join/#asterisk sekil (~sekil@78.24.111.22)
17:56.58WIMPyBackground works with WaitExten.
17:57.24Get_The_FishI suppose technically I can achieve the same result with a queue though, as the queue will play a recording while the caller waits?
17:58.18Get_The_FishWIMPy: the docs seem to suggest that it will return control to the dialplan immediately after execution (while the file is playing), thus allowing additional processing to occur while the file is playing
17:58.23Get_The_Fishthat is not the case
17:59.39WIMPyI think WaitExten is the only combination where it works.
17:59.59WIMPyAnd a queue would do the same, i.e. play MOH.
18:01.11resist0rGet_The_Fish: what is it you want to move on to in the dialplan while the file is playing?
18:02.33Get_The_Fishresist0r: I want to play a greeting message to the caller, however I want to ring a UA while the message is playing. If the UA answers, the caller is bridged to the UA. If not, the dialplan moves on to the directory.
18:03.11Get_The_Fishresist0r: this is the customer's afterhours schema for their office - they want to know if someone is calling and have the option to pick up if they want.
18:04.05[TK]D-Fenderus an MoH with a single defined file
18:05.56resist0ryeah I dont see why moh couldnt do it, if background and waitexten dont cut it
18:06.26[TK]D-Fenderthey can't
18:06.33[TK]D-Fenderthey do NOT background behind DIAL
18:06.41resist0rI suppose you dont want any caller input/selection you just want it to inform them they have dialed the correct number and to standby
18:07.42*** join/#asterisk youtmon (~yout@c-73-46-212-142.hsd1.fl.comcast.net)
18:08.32*** join/#asterisk newtonr (RustyNewto@nat/digium/x-lxtkuihztzuatbtq)
18:08.32*** mode/#asterisk [+o newtonr] by ChanServ
18:10.03*** join/#asterisk doome_ (~doome@82.150.48.146)
18:12.25*** join/#asterisk F2Knight (~F2Knight@c-50-139-97-110.hsd1.or.comcast.net)
18:14.28*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-mcpekeencokgzaxn)
18:24.48*** join/#asterisk Crazypedia (~Crazypedi@199.21.114.117)
18:27.21*** join/#asterisk tm1000 (sid6728@gateway/web/irccloud.com/x-dqzgcluwgyircaiq)
18:30.14*** join/#asterisk troyt (~troyt@2601:681:4600:3381:44dd:acff:fe85:9c8e)
18:32.52*** join/#asterisk foamz_ (sid25727@gateway/web/irccloud.com/x-sadfifwsivnjuhhk)
18:32.53*** join/#asterisk Boogieman_JS (~jscarnato@75-144-5-61-pennsylvania-pa.hfc.comcastbusiness.net)
18:32.55Get_The_Fish[TK]D-Fender: the reason that wont work is that the length of the file and the dial timeout are not the same.
18:33.11[TK]D-Fenderchange the file
18:33.19WIMPyMake the file longer.
18:33.38Boogieman_JSHello everyone
18:34.42Boogieman_JSI have a question, I recently installed AsteriskNow and when trying to update via System Admin pro...I get "Update currently in progress, please wait until complete"  But it has been that way for days!
18:35.08Boogieman_JS"update already in progress (locked)  and there are no logs of locked files, and I have rebooted several times.
18:35.12Boogieman_JSSuggestions?
18:36.17*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
18:39.15Boogieman_JSAnyone....Beuller.....
18:39.38WIMPyMaybe someone in #centos?
18:40.11Boogieman_JSlol...Asterisk website suggested here.  I'll look around,  thank you.
18:48.57*** join/#asterisk infobot (ibot@rikers.org)
18:48.57*** topic/#asterisk is #asterisk The Open Source PBX and Telephony Platform (asterisk.org) -=- LTS: 13.7.2 (2016/02/05), 11.21.2 (2016/02/11); 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
18:50.07*** join/#asterisk rrittgarn (~rrittgarn@75-150-221-196-Illinois.hfc.comcastbusiness.net)
18:51.40*** join/#asterisk Rac-on (jasper@bambi.rac-on.nl)
18:54.51*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
18:56.51*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
18:57.12*** join/#asterisk gtjoseph (~gtjoseph@unaffiliated/gtj)
19:01.39*** join/#asterisk infernix (nix@unaffiliated/infernix)
19:03.03*** join/#asterisk theron (~theron@2620:10d:c091:200::d:89cf)
19:06.36*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
19:07.32*** join/#asterisk resist0r (~resist0r@unaffiliated/mrresist0r)
19:11.54*** join/#asterisk kayfox (~kayfox@orca.zerda.net)
19:19.55*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
19:29.02*** join/#asterisk goddva (~goddva@120.94.164.82.customer.cdi.no)
19:31.30*** join/#asterisk voip (~voip@enterprise.siptrunk.us)
19:31.30*** join/#asterisk _0x5eb_ (~seb@seb-hpws2.w1.tele.crt1.net)
19:31.30*** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file)
19:31.30*** join/#asterisk kasanop (~kasanop@ivanpoddubny.com)
19:31.30*** join/#asterisk Katty (sid62315@gateway/web/irccloud.com/x-mfiyjvkvpigpjpph)
19:31.30*** join/#asterisk danjenkins (danjenkins@gateway/shell/firrre/x-xtotnrrjdtmixnzb)
19:31.30*** join/#asterisk Frojoe (Frojoe@2a01:7e00::f03c:91ff:fe70:bc74)
19:31.30*** mode/#asterisk [+o file] by holmes.freenode.net
19:42.40*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
19:45.31*** join/#asterisk Dpunkt (~Dpunkt@p5DE5EA87.dip0.t-ipconnect.de)
19:46.39*** join/#asterisk vader- (~Adium@50.232.174.194)
19:52.02*** join/#asterisk jwpierce3 (~jwpierce3@50-82-153-66.client.mchsi.com)
19:55.48*** join/#asterisk wonderworld (~ww@ip-88-153-136-108.hsi04.unitymediagroup.de)
19:56.11wonderworldis SSL2 enabled in asterisk by default?
20:00.29*** join/#asterisk busymind (~textual@50.252.16.69)
20:02.03*** join/#asterisk theron (~theron@2620:10d:c091:200::4:1bc8)
20:05.51*** join/#asterisk shudon (~hdon@wsip-24-234-30-238.lv.lv.cox.net)
20:06.03shudonhi all :) i'm on ubuntu 14.04. what softphones do you recommend?
20:06.22shudoncan i use webrtc to talk directly to asterisk?
20:07.52[TK]D-FenderYou could
20:07.55shudoni'm trying qutecom (dunno if this is a defunct project or not; seems like it) but it just tries connecting for a couple of minutes and then gives up
20:08.27[TK]D-FenderThen your networking or other config is bad
20:09.22*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
20:09.26*** join/#asterisk shootbird (~quassel@beepbeep.serverpit.com)
20:09.32shudonyeah :(
20:10.06shudonif i have another phone already connected using a given extension, will i be able to connect and use it just like normal? i would assume so
20:11.31[TK]D-FenderSIP is SIP
20:11.42[TK]D-Fenderif the credentials are right it'll do what it's supposed to
20:12.27shudontcpdump on the machine running asterisk doesn't see any packets from me except broadcast crap
20:14.12shudoni see no packets leaving my machine bound for it either
20:14.17shudonso i must have this client configured wrong
20:15.13*** join/#asterisk pchero (~pchero@109.70.54.56)
20:17.01*** join/#asterisk gbkersey (~gbkersey@unaffiliated/gbkersey)
20:19.18*** join/#asterisk jeffspeff (~Jeff@12.49.160.131)
20:22.15[TK]D-FenderEntirely possible
20:23.51*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
20:26.30*** join/#asterisk Navion (~navion@rivendell/users/navion)
20:27.44shudonhmm... #ubuntu recommended ekiga... i was able to register with the asterisk server but when i place any call it seems to h immediately
20:29.48[TK]D-FenderWhich is something you should look at directly
20:30.45shudonoh i see. i was entering the dst addr incorrectly
20:31.06shudonseems that i need to include the "sip:" at the beginning and @sipserver at the end
20:31.23*** join/#asterisk Navion (~navion@rivendell/users/navion)
20:31.25shudon[TK]D-Fender: yes i watched the asterisk log to see what was happening and noticed the calls wern't being sent to the server
20:31.28shudonthanks :)
20:31.46shudonnow how can i listen in on a call?
20:31.51shudoni usually use isymphony to "barge" but
20:31.55shudonit's too cludgy
20:32.11gbkerseyI'm having problems forwarding an inbound call (dahdi pri) to an external number (same dahdi pri).  Looks like I'm running into a context issue where the incoming call is in the inbound context but to make outbound calls I need to be in the internal context.  Anyone?
20:32.16shudonand i've already written a server that can send commands to asterisk
20:32.26shudonusing the AMI
20:33.19*** join/#asterisk Oatmeal (~Suzeanne@75-103-145-152.ccrtc.com)
20:34.24pjensen00bhkersey: You say forwarding, do you mean SIP 302 redirect or simply make an outbound dial for that incoming call
20:34.57[TK]D-Fendershudon: AMI doesn't magically give you audio.  Typically you'd call an extension that issues chanspy, etc
20:35.08gbkerseyNot SIP....  incoming call is from a PRI via dahdi.  outbound call will be through the same PRI via dahdi
20:35.38[TK]D-Fendergbkersey: To send you call out you just Dial().
20:35.47[TK]D-FenderSo whatever you're doing in the dialplan .. just Dial()
20:35.50gbkerseyyes...
20:36.49gbkerseysomething like   exten => INCOMINGDID,1,Dial(Dahadi/g1/NUMBERTOFORWARDTO,25)
20:37.00[TK]D-FenderYes.
20:38.53gbkerseyand I get....
20:39.46gbkersey-- Called g1/NUMBERTOFORWARDTO
20:40.02gbkersey--DAHDI/5-1 is proceeding passing it to DAHDI/4-1
20:40.14gbkersey-- Channel 0/5, span 1 got hangup request, cause 21
20:40.36[TK]D-Fenderhttp://www.trinityos.com/ISDN/isdn-causecodes.txt
20:40.50gbkerseyyes, I'm getting CONGESTION
20:40.56[TK]D-FenderVerify with PRI debug enabled
20:41.05[TK]D-Fender"congestion" emans nothing really
20:41.08[TK]D-Fendermeans
20:41.21gbkerseyright....
20:43.01[TK]D-Fender~pb
20:43.01infobotA "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.
20:43.03[TK]D-Fender^^^^
20:43.09[TK]D-FenderShow us a call with PRI debug enabled
20:44.07*** join/#asterisk Etep (~Etep@S0106b4750e5de38a.cg.shawcable.net)
20:45.47gbkerseyI think I see the problem.  It may be sending the originating caller's caller ID
20:47.52gbkerseynope...  debug on the way
20:49.32[TK]D-FenderIt should send their CID out (which they may not like)
20:49.44[TK]D-Fenderif you send the call out without changing anything
20:49.52jfindleyExciting... The pilot for a new product I just developed was installed a little while ago and is actually working!
20:49.56gbkerseythat's what I want to do
20:51.07jfindleyNot surprising that it's working, but always tense the first time I go from the lab to some company several states over where I have no control of anything.
20:52.04*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
20:54.07jfindleyAsterisk is truly a revolutionary piece of software.
20:54.39gbkerseyhttp://pastebin.com/8UHgj75M
20:56.51*** join/#asterisk thiagoc (~thiagoc@unaffiliated/thiagoc)
20:57.18[TK]D-FenderCan't judge the # validity, etc there
20:57.24[TK]D-Fenderand you're missing basic verbose
20:58.12gbkerseyverb is 4
20:58.13*** join/#asterisk klow (~klong@c-73-53-31-109.hsd1.wa.comcast.net)
20:59.49gbkerseyI've got another with verb 9
21:00.18[TK]D-FenderAnd I don't see the dial in there
21:01.27*** part/#asterisk pjensen00 (~per@ip-69-178-218-71.far.ideaone.net)
21:01.32*** join/#asterisk pjensen00 (~per@ip-69-178-218-71.far.ideaone.net)
21:01.36gbkersey[TK]D-Fender: I appreciate your help.  let me wait until the pbx is a bit less busy and I'll paste another.
21:04.10*** join/#asterisk Echo6 (~Echo6@64.136.247.50)
21:05.55*** join/#asterisk Navion (~navion@rivendell/users/navion)
21:07.43*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
21:10.32gbkersey[TK]D-Fender: So I setup an internal extension that does the same thing exten => INTERNALEXT,1,Dial(Dahadi/g1/NUMBERTOFORWARDTO,25)
21:11.01gbkerseythat works...  And I'm seeing the presentation of the PBX's main number in the PRI Debug
21:11.35gbkerseyHowever, when I try calling this extension from the outside,  exten => INCOMINGDID,1,Dial(Dahadi/g1/NUMBERTOFORWARDTO,25)
21:12.18*** join/#asterisk slav3_sergal (~frankthet@unaffiliated/slav3-kitten/x-0866809)
21:12.26gbkerseyI'm seeing that the PBX is not sending the correct caller ID and the provider is rejecting the call.  (The outgoing DID is the same is the inbound CALLERID
21:12.32*** join/#asterisk robink_ (~quassel@unaffilated/robink)
21:13.06gbkerseydoes that make any sense?
21:14.19[TK]D-FenderIt should always call out with whatever CID it inherits from the calling channel
21:15.36gbkerseyyes, it should, but it does not appear to be doing to.
21:15.43gbkerseys/to/so/
21:20.41gbkersey[TK]D-Fender: http://pastebin.com/Va5Darex
21:21.41gbkerseyThe outdial starts @ line 57
21:22.48[TK]D-FenderExt: 1  Cause: Call Rejected (21), class = Normal Event (1) ]
21:23.01[TK]D-FenderYup, everything looks legit.  Not too evident here.  Call your telco...
21:23.21gbkerseylooks like I'm presenting the wrong callerID
21:23.23*** join/#asterisk arg (~smuxi@159-253-77-232.static.kc.net.uk)
21:23.44WIMPyWhere is that?
21:23.51gbkerseyI'm think that line 77
21:23.53[TK]D-Fenderwell you're presenting the CALLER's callerid.
21:23.59[TK]D-Fenderwhich is normal behavioir
21:24.08[TK]D-Fenderif you want to fix that then set it before you dial
21:24.39gbkerseyI don't want to do that because the telcos here PIN the PRIs so that I can only set a number that is assigned to that PRI
21:25.18WIMPyThat's the default.
21:26.43gbkerseyso can I just set callerid to what I want it to in the the first line of the extension def?
21:26.48[TK]D-Fenderyes
21:27.17gbkerseyf*ck me
21:28.09gbkerseyI had already tried that because that is what I expected....  I guess I forgot to do a dialplan reload after making the change to extensions.conf
21:28.13gbkersey!#head
21:28.18WIMPyThanks, but thanks no.
21:29.57gbkerseyWIMPy: I'm just banging my head against the desk.
21:31.42gbkersey[TK]D-Fender: Thanks so much for your help....  I'm a dumbass.
21:31.57[TK]D-Fender11 steps tto go!
21:32.08gbkerseyLOL
21:36.19[TK]D-Fenderheads home for the day
21:39.59*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
21:46.25*** join/#asterisk asdfasdafas (~user@ip68-3-30-126.ph.ph.cox.net)
21:47.05asdfasdafasis ther a way to tell if a call is using SRTP?  I think I enabled all the SRTP stuff correctly, as well as checking that the module is loaded with rasterisk, but how can I see if an in-progress call is encrypted?
21:50.48klowasdfasdafas, I would like to know too,  but a few things Ive noted -  some soft phones show if encryption is working (I use Bria and it says right on the call) , also many phones you can put SRTP to be required - also, in chan_sip at least, if you have the peer/eextension configured to use SRTP required, the call will fail and the asterisk log will say the call was not using SRTP .
21:51.42asdfasdafasI set the phones (polycom 335) to enable SRTP, offer SRTP, and require SRTP, but I just wasn't sure if it worked or not :/  I can't tell from the phone itself if it's enabled or not
21:52.27asdfasdafasand it's chan_sip, I set each extension in sip.conf to "encryption=yes".  Is there anything else I need to do?
21:56.35asdfasdafasI tried looking at the tcpdump too, which just looks like R2D2 vomit.  I was hoping it would tell me if it was SRTP or RTP, so I guess the fact it can't parse it is a good thing...?  I was using 'tcpdump -nn -v -i ethX' etc
22:03.09*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
22:09.13*** join/#asterisk qakhan (~qakhan@50-204-254-12-static.hfc.comcastbusiness.net)
22:10.03qakhanis there any variable which give us call holdtime info in queue
22:11.56qakhanif want to check if CALL holdtime is exceed above 5 min then do something with this call or send it to supervisor
22:14.25newtonrqakhan, https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Function_QUEUE_VARIABLES
22:14.29newtonrqueueholdtime
22:14.47newtonrwell, that is the avg hold time for the queue apparently
22:15.01newtonrmaybe that is what you want
22:15.06qakhandoes this variable give realtime info?
22:15.41newtonrI don't know
22:15.57newtonrGive it a test
22:23.36*** join/#asterisk jeffspeff (~Jeff@209.141.208.197)
22:24.39*** join/#asterisk busymind (~textual@c-73-37-75-213.hsd1.wa.comcast.net)
22:38.01*** join/#asterisk Navion (~navion@rivendell/users/navion)
22:40.45*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
22:42.14qakhanqueueholdtime gives time in seconds?
22:48.11*** join/#asterisk youjelly (~youjelly@host-61-net-65-160-119.mobilinkinfinity.net.pk)
22:50.49*** join/#asterisk vader- (~Adium@pool-100-14-218-41.phlapa.fios.verizon.net)
22:51.11*** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net)
23:03.02*** join/#asterisk Navion (~navion@rivendell/users/navion)
23:30.37*** join/#asterisk mrhelpmann (~mrhelpman@i.am.mrhelpmann.xyz)
23:31.21*** join/#asterisk busymind (~textual@c-24-21-79-235.hsd1.wa.comcast.net)
23:31.36*** join/#asterisk wyoung (~wyoung@wesleyy.com)

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