IRC log for #asterisk on 20140811

00:01.57*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
00:04.17*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
00:20.14*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
00:32.19*** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net)
00:36.47*** join/#asterisk evil_gordita (robert@ip70-188-56-12.rn.hr.cox.net)
00:41.54*** join/#asterisk infernix (nix@unaffiliated/infernix)
00:42.46*** join/#asterisk petris (~petris@2607:5300:60:5475:a9d7:583:99b:a901)
00:56.24*** join/#asterisk ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499)
00:57.26*** join/#asterisk reconwireless (uid10170@gateway/web/irccloud.com/x-wjutnguezttfdhth)
00:59.57*** join/#asterisk koffel (~koffel@c-71-230-13-15.hsd1.nj.comcast.net)
01:23.50koffelhello
01:25.04ChannelZhi
01:37.45koffelon 11.11.0 for realtime sip device  how would i find how to
01:46.37*** join/#asterisk infernix (nix@unaffiliated/infernix)
01:47.57*** join/#asterisk darkbasic (~quassel@host37-245-static.119-2-b.business.telecomitalia.it)
02:04.11*** join/#asterisk overyander (~jeff@173.218.60.159)
02:06.53overyanderI want to be able to receive sms from any of my DID's and optionally reply. all of the sms gateways i've found online seem to be a web hosted solution and offer/charge for a lot of features that I would code myself in asterisk
02:11.29*** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net)
02:16.20*** join/#asterisk Sprocks (~Sprocks@BMTNON3746W-LP140-01-1176469569.dsl.bell.ca)
02:54.16*** join/#asterisk chuckf (~chuckf@fedora/chuck)
03:18.08*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
03:44.22*** join/#asterisk Kyosh (~whoa@pool-74-101-225-202.nycmny.fios.verizon.net)
04:04.15*** join/#asterisk wolrah_ (~wolrah@24.239.210.140)
04:28.03*** join/#asterisk jiku (~jiku@182.73.253.194)
04:48.27*** join/#asterisk niekniek (~niek@77-172-219-210.ip.telfort.nl)
04:51.36*** join/#asterisk evilman_work (~evilman@87.244.6.228)
05:00.09*** join/#asterisk smrdoshi (~samir@122.170.43.89)
05:25.02*** join/#asterisk TSM (~the_softw@89.213.15.104)
05:26.18*** join/#asterisk TSM2 (~the_softw@fw-lon2.wenn.com)
05:29.12*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
05:39.09*** join/#asterisk [[thufir]] (~thufir@S0106c8fb2677e8ca.vs.shawcable.net)
06:17.32*** join/#asterisk ShapeShifter499 (~ShapeShif@unaffiliated/shapeshifter499)
06:17.32*** join/#asterisk felimwhiteley (~quassel@89.101.203.26)
06:21.16*** join/#asterisk hehol (~hehol@2001:1438:1009:200:5582:6440:404c:d87)
06:33.21*** join/#asterisk jhlavacek (~jirka@78.208.220.3)
06:36.15*** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no)
06:43.45*** join/#asterisk reconwireless (uid10170@gateway/web/irccloud.com/x-puhiyrlbvmgldtof)
06:44.19*** join/#asterisk mirela666 (~mirko.bra@iecommailer.itaf.eu)
06:52.46*** join/#asterisk ChannelZ (channelz@burner.com)
06:56.04*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
06:57.57*** join/#asterisk Zogot (~Adium@D4B2620B.static.ziggozakelijk.nl)
06:59.55*** part/#asterisk Zogot (~Adium@D4B2620B.static.ziggozakelijk.nl)
07:21.02*** join/#asterisk ChannelZ (channelz@burner.com)
07:22.25*** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c)
07:26.48*** join/#asterisk W0rmDr1nk (~wormdrink@unaffiliated/wormdrink)
07:30.02*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
07:37.42*** join/#asterisk youjelly (~youjelly@39.32.254.211)
07:43.37*** join/#asterisk sekil (~sekil@78.24.104.73)
07:58.18*** join/#asterisk danjenkins_ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
08:06.32*** join/#asterisk Neoti (~Thunderbi@cpc5-nott16-2-0-cust33.12-2.cable.virginm.net)
08:17.14*** join/#asterisk XATRIX (~xatrix@77.88.209.171)
08:17.37XATRIXHi, i still have a problem with bruteforcing my server... Any idea what can i do to fix it out ?
08:17.52XATRIX[2014-08-11 11:07:34] NOTICE[2781][C-00000473] chan_sip.c: Failed to authenticate device 111<sip:111@176.111.63.xxx>;tag=db659da8
08:18.40XATRIX[2014-08-11 10:49:16] NOTICE[2781][C-0000046d] chan_sip.c: Failed to authenticate device 2014<sip:2014@176.111.63.xxx>;tag=daeabaae
08:19.02XATRIX176.111.63.xxx - it's my own IP. How does he hijack it ?
08:20.01*** join/#asterisk Faustov (~fst@gentoo/user/faustov)
08:23.48XATRIXHow can i make my asterisk to show the real ip of the registering peer ?
08:26.14*** join/#asterisk Edilberto_EXD124 (~chatzilla@154.255.14.62.static.jazztel.es)
08:32.14*** join/#asterisk stevePearPear (~stevePear@cm244.epsilon47.maxonline.com.sg)
08:34.22*** join/#asterisk paolo_ (~smuxi@ip-62-143-36-139.hsi01.unitymediagroup.de)
08:39.02kleszczXATRIX: asterisk 1.8 ?
08:42.16*** join/#asterisk tparcina (~tomo@212.92.200.41)
08:43.15XATRIXkleszcz: 11.11.0
08:51.20*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
08:53.26kleszczXATRIX: http://wklej.to/LATQs
08:53.46kleszczuse this patch
09:06.12*** join/#asterisk Yanxi (~procube@port-92-204-112-167.dynamic.qsc.de)
09:13.55*** join/#asterisk linocisco (~linocisco@193.134.242.12)
09:14.05linociscohi al
09:14.33linociscowhy should we use "Asterisk" ? to explain to non-IT guys
09:15.16sekilto not have to use avaya or cisco or similar crap
09:31.57Edilberto_EXD124Cisco: 500 phone + 2 callmanagers = 400.000€ + maintenance ... in 5 years out of live ... in 7 years out of services
09:35.00*** join/#asterisk CeBe (~CeBe@brsg-4dbbb161.pool.mediaWays.net)
09:42.22flingWhat is the right way to connect to skype?
09:44.52sekiluse skype client
09:46.55linociscowhy should we use "Asterisk" ? to explain to non-IT guys
09:50.09*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
10:01.43kleszczlinocisco: http://www.asterisk.org/get-started
10:02.49flingsekil: and how to connect to skype client? Do I need siptosis?
10:15.18*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
10:20.42*** join/#asterisk afournier (~admin@46.255.181.29)
10:29.23*** join/#asterisk riess82 (~riessma@mail.p-riess.at)
10:33.22*** join/#asterisk SirLouen (~pickupdog@95.63.247.9)
10:33.35SirLouengm
10:33.40flinggm
10:34.07r00fga
10:34.15SirLouenanyone knows if its possible to playback a file to 2 bridged channels at the same time?
10:59.27*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
11:05.08*** join/#asterisk CeBe (~CeBe@brsg-4dbbb161.pool.mediaWays.net)
11:19.34*** join/#asterisk XATRIX (~xatrix@77.88.209.171)
11:35.50*** join/#asterisk Tim_Toady (~fuzzy@snf-33276.vm.okeanos.grnet.gr)
11:42.04*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-maknfyhxvcbypjxc)
11:43.14XATRIXkleszcz: damn, i have asterisk from rpms. not from the sources
11:47.08paolo_how can i sue multiple transport in chan_pjsip for one endpoint ?
11:49.43paolo_if a sip packet is greater then 1300 bytes pjsip tries to send it per TCP. byz there is no transport
11:53.49fileyou configure multiple transports in pjsip.conf
11:54.02fileadd a tcp one
11:54.37*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
11:55.08paolo_in endpoint section ? transport=udp-one, tcp-one ?
11:55.33fileif you explicitly specify a transport in an endpoint then it can't switch over
11:55.49filedon't specify a transport in the endpoint and it'll choose
11:56.12filebut you need to configure a TCP transport (type=transport, protocol=tcp)
11:56.42paolo_file: ok. thanks
12:02.47*** join/#asterisk dms1 (~dms1@2601:0:5480:e4::1008)
12:06.21*** join/#asterisk gerhard7 (~gerhard7@77-172-20-151.ip.telfort.nl)
12:06.35*** join/#asterisk FreezingCold (~FreezingC@135.0.41.14)
12:10.32*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
12:16.10paolo_file: without tranport it works. thank you again.
12:27.21*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
12:27.35*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
12:31.47keiths_I asked this last week, but want to try again. Anyone know of a way I can make a cisco SPA50X, ring on call waiting instead of the beep?
12:33.45*** join/#asterisk protocoldoug (~quassel@unaffiliated/protocoldoug)
12:35.41[TK]D-Fenderkeiths_: Go read their manual
12:38.59*** join/#asterisk D-Boy (~D-Boy@unaffiliated/cain)
12:39.09*** join/#asterisk puzzled (~patrick@puzzled.xs4all.nl)
12:46.32*** join/#asterisk Draecos (~Draecos@106-69-0-55.dyn.iinet.net.au)
12:48.47*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de)
13:03.52*** join/#asterisk jameswf (uid27319@gateway/web/irccloud.com/x-otpnrrdmdkmvmxzk)
13:10.35*** join/#asterisk bmurt (~brendan@8.39.115.8)
13:29.37*** join/#asterisk theron (~theron@66.220.145.150)
13:31.20*** join/#asterisk Faustov (~fst@gentoo/user/faustov)
13:36.23youjellyhi TK
13:37.31*** join/#asterisk dms1 (~dms1@c-50-168-154-89.hsd1.sc.comcast.net)
13:39.06*** join/#asterisk sruffell (~sruffell@asterisk/the-kernel-guy/sruffell)
13:39.06*** mode/#asterisk [+o sruffell] by ChanServ
13:40.03*** join/#asterisk reconwireless (uid10170@gateway/web/irccloud.com/x-fhhrkymvtlschvwn)
13:40.35*** join/#asterisk mjordan (~mjordan@nat/digium/x-xqmvcenaqrhpojwc)
13:40.35*** mode/#asterisk [+o mjordan] by ChanServ
13:46.35*** join/#asterisk rmudgett (~rmudgett@nat/digium/x-ahwyvpcmvqzstszi)
13:47.30*** join/#asterisk brad_mssw (~brad@shop.monetra.com)
13:52.59*** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK)
13:53.07*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
13:57.55*** join/#asterisk lorenzo (lorenzo@nl.shell.enlab.net)
13:58.15lorenzohi! how do I handle a CHANUNAVAIL condition after WaitExten() ?
13:59.49WIMPyThat question doesn't really make sense. Try again.
13:59.58lorenzookay :)
14:00.18lorenzolet's say I have an extension, 123, which waits for a user to dial an extension with WaitExten()
14:00.49lorenzosometimes the extension they dial is invalid, or the user is not registered, so how do I handle that by having a voice message
14:00.59lorenzoinstead of the tone?
14:01.18WIMPy"the tone"? What tone?
14:01.39WIMPyFor invalid extensions there's the special i extension.
14:01.42lorenzothe default one for subscriber absent
14:01.58WIMPyThere isn't any.
14:02.06[TK]D-FenderThere is no tone for that....
14:02.23lorenzohm, so what am I hearing must be done in the client
14:02.35WIMPyAnd WaitExten doesn produce a CHANUNAVAIL. Dial might. So that's where you handle that.
14:02.44WIMPyPossibly.
14:03.12[TK]D-FenderThat is a DIALSTATUS perhaps....
14:03.18lorenzoyeah
14:03.36*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
14:03.40*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
14:03.48[TK]D-FenderYou should probably check the validity BEFORE trying to actually dial.
14:04.08WIMPyHOw does that help?
14:04.56WIMPyIt can still fail. Just wasted effort IMHO.
14:05.12[TK]D-FenderGeneral best practices.  Prevent failure rather that try to clean up after it.
14:05.44[TK]D-FenderEither way though... he's in the dialplan.  chech what you have to check and do what you want to do with it...
14:05.52[TK]D-Fendercheck*
14:07.51*** join/#asterisk CeBe (~CeBe@82.113.106.94)
14:15.55*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
14:15.56*** mode/#asterisk [+o putnopvut] by ChanServ
14:19.02*** join/#asterisk areski (~areski@177.Red-83-45-113.dynamicIP.rima-tde.net)
14:20.05*** join/#asterisk newtonr (~newtonr@nat/digium/x-afhwpcusyvehdrgz)
14:20.06*** mode/#asterisk [+o newtonr] by ChanServ
14:23.07*** join/#asterisk bkruse (~Adium@24.42.207.11)
14:25.33Kattygood morning, [TK]D-Fender
14:25.56[TK]D-FenderKatty: Mew.
14:27.28lorenzouhmm I know it's very basic
14:27.47lorenzobut Dial SIP/ doesn't allow extensions to be called directly by their number
14:27.49lorenzois that right?
14:28.30[TK]D-Fenderlorenzo: Never call a device an "extension"
14:28.50[TK]D-Fenderlorenzo: And device names are nor restricted to being numeric.
14:29.10[TK]D-Fendernot*
14:29.32lorenzoI see many people use digits in the sip.conf for identifying users
14:29.45lorenzoe.g. [101] [102]
14:29.51lorenzobut I'm using usernames
14:30.06lorenzothen in extensions.conf I have them "mapped" so that 101 points to lorenzo for example
14:30.28lorenzodoes that sound okay?
14:32.10[TK]D-Fenderlorenzo: That isn't "mapped".  That you made an extension to dial a named device isn't really an association except logically to you.  It means nothing special to Asterisk.
14:32.46[TK]D-Fenderlorenzo: Three is no lookup you can do to treat this as an "association" or "mapping"
14:33.13lorenzoah okay, so there's nothing like a lookup table to perform search from extension ID to username in sip.conf
14:33.21[TK]D-Fenderno.
14:33.32SirLoueni'm having an issue, for example, it is possible to run the Dial property M() to execute a macro when call is bridged and in that macro start executing scripts while the call is in progress?
14:33.45lorenzoand how do you handle incoming extension selection? you must have extension numbers as usernames in sip.conf?
14:34.08[TK]D-Fenderlorenzo: No, you ahve to actually make extensions to match what they dial.
14:34.49lorenzobut, I do have extensions
14:34.55[TK]D-FenderSirLouen: Nothing will execute against the background of that channel.  M() needs to complete for bridging to happen
14:35.00lorenzobut Dial refuses them as they're numeric only
14:35.12lorenzomaybe I should use GoTo users, number
14:35.16[TK]D-Fenderlorenzo: You are not making any sens.  SHOW us what you've made
14:35.20[TK]D-Fender~pb
14:35.21infobotA "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.
14:35.56lorenzook let me paste it
14:36.12[TK]D-FenderSirLouen: You could Originate a new channel in your macro and that will be processed along-side, but it will not be technically "bound" the the channel that launches it.
14:37.02lorenzohttp://pastebin.com/aNYRFaS4
14:37.25lorenzo(696 is just a test, then it will be the default ivr)
14:37.41[TK]D-Fenderlorenzo: I see you've already stopped using "waitexten" like you had told us you were using...
14:38.09lorenzoyeah you told me it didn't return status codes basically
14:38.13[TK]D-Fenderlorenzo: in [demo-menu] you shoudl INCLUDE your other context where you already have extens to dial your devices.
14:38.18lorenzoso I replaced it with Dial. WaitExten worked perfectly :P
14:38.22*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
14:38.45[TK]D-FenderYou don't "replace" it with dial...
14:38.58[TK]D-Fenderlorenzo: You don't seem to understand the basics of these dialplan apps.
14:39.08lorenzoI don't :> installed this yesterday
14:39.38[TK]D-Fenderlorenzo: "Dial" .... DIALS.  You don't get a status for WAITING for input from a user.  DIALSTSTUS is a return result from actually trying to call a device.  This has nothing to do with getting the input from the user as to what they want to do.
14:40.14[TK]D-Fenderlorenzo: Get input.  Match it. Take action.  Check result.
14:40.29[TK]D-Fenderlorenzo: Waitexten = Get input.  Dial = Take Action.
14:41.12[TK]D-Fenderlorenzo: As for what you should do for this :
14:41.13[TK]D-Fender[10:38][TK]D-Fenderlorenzo: in [demo-menu] you shoudl INCLUDE your other context where you already have extens to dial your devices.
14:41.30[TK]D-Fenderlorenzo: And go back to using WaitExten in there.
14:41.35lorenzookay, I've added include => users
14:41.54[TK]D-Fenderand get exten=>696,1,GoTo(demo-menu,s,1) out of [users]
14:42.01[TK]D-Fenderor basically just split them up
14:42.09*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
14:42.12*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
14:42.40[TK]D-Fenderyour phones should point to a context that includes the context where you have extens to dial between your devices, and other contexts that have extens for extra features like testing your menu
14:42.55[TK]D-Fenderlorenzo: Your IVR should include the context that has just the extens to dial your devices.
14:43.19[TK]D-Fenderlorenzo: So that you can't go in cirecles dialing 696 from the IVR
14:43.28lorenzoI see, so in my [users] I should include another test-menu context
14:43.34lorenzo?
14:43.54lorenzois that what you mean by splitting them?
14:45.08lorenzowith exten=>696 in it
14:45.30[TK]D-Fenderlorenzo: http://pastebin.com/CrhASq98
14:45.53[TK]D-Fenderlorenzo: And you're welcome... this is today's free hand-out....
14:46.00lorenzo:*
14:46.19lorenzothanks
14:49.27*** join/#asterisk CeBe (~CeBe@port-92-206-5-248.dynamic.qsc.de)
14:49.31*** join/#asterisk Yanxi (~procube@port-92-204-112-167.dynamic.qsc.de)
14:52.17*** join/#asterisk ttyS3 (~o@gateway/tor-sasl/omlib)
14:53.15lorenzothis works perfectly
14:53.23lorenzoI wonder how they manage huuuge setups
14:53.31lorenzoI mean you have to calculate every possible path from every other path etc
14:53.34lorenzoto avoid loops
14:56.14[TK]D-Fenderlorenzo: How many paths should you really have?  In most scenarios that is a pretty small number.
14:57.05[TK]D-Fenderlorenzo: I may have 3 groups of users, 3 classes of user-features, 4 classes of rights to dialing out.... that's pretty basic stuff...
14:57.29lorenzoyeah I'm just curious :)
14:57.41lorenzobut think of a phone company helpdesk, menus and submenus
14:57.42[TK]D-Fenderlorenzo: It's as simple as the structure you need to implement.
14:58.14*** join/#asterisk ThatDamnRanga (~wiretap@unaffiliated/wiretap)
14:58.22[TK]D-FenderSub-menus usually just lead another level deeper.  Then have options to do specific things that don't need to be anywhere but in that context itself.
14:59.19[TK]D-Fenderlorenzo: Like the [users] I gave you.  I just included the raw match for your IVR test there.  I could have put it in another context named [testing] or somesuch, but since you only had one thing I just left it there directly.
15:00.35lorenzoyeah I modified it
15:02.03lorenzohttp://pastebin.com/WqY0uRdK
15:02.29lorenzoshould basically be a tree
15:02.39[TK]D-Fenderexten => s,n,Read(Digits,,3) <-- get rid of... don't need it anymore
15:02.48lorenzoah yeah
15:03.33[TK]D-Fenderexten=>666,1,GoTo(demo-hold,s,1) ; music on hold demo <- this could be just an include.
15:04.01lorenzoyeah or I should replace 666,1 with s,1
15:04.09[TK]D-Fenderlorenzo: You could.
15:04.19lorenzoyay I'm starting to learn ^_^
15:04.35[TK]D-Fenderlorenzo: That would make it a little mor logical if you made another pattern somewhere else to lead to the same functionality
15:04.39[TK]D-Fendermore*
15:05.04[TK]D-FenderSo your phone users would dial it like a "code", but you could get to it with a simpler pattern from an IVR, etc.
15:05.24lorenzoanother thing I was concerned about was security, sometimes I see random users
15:05.29lorenzotrying to log in with 1004, 2000000
15:06.06lorenzoI've set alwaysauthreject=yes
15:06.15[TK]D-Fenderlorenzo: "fail2ban" <-  logger.conf "security".  Read up on it in the sample config for * 10+
15:06.27lorenzoI don't think there are any guest users enabled by default
15:06.38[TK]D-Fenderlorenzo: Because they'll keep trying until they do find something that seems valid and then wear it down.
15:07.02lorenzoI've also noticed that it opened up many ports, including one for Cisco compatibility (?)
15:07.17lorenzoI've set iptables to allow in input only 22, 5060 tcp/udp, 10000-20000 udp
15:07.22lorenzoand reject everything else
15:08.10[TK]D-FenderWhat port?
15:08.21lorenzo2000
15:08.32lorenzoSkinny
15:08.34*** join/#asterisk protocoldoug (~quassel@unaffiliated/protocoldoug)
15:08.56[TK]D-Fenderyup.  If you don't plan on using it add "noload => chan_skinny.so" to modules.conf
15:10.12lorenzoI've tried but it didn't work
15:10.17lorenzomaybe it should be before the autoload=yes ?
15:10.32[TK]D-FenderShouldn't really matter...
15:10.40[TK]D-Fenderperhaps you're using chan_sccp.so
15:10.53[TK]D-FenderI'm not sure which one is standard, but they are both for the same protocol
15:11.00[TK]D-Fendercheck your modules folder to be sure
15:12.37lorenzoyeah the other name fixed it
15:12.44lorenzoI see I still have IAX going
15:12.44*** join/#asterisk FlashDel (~benedict@static-87-79-94-28.netcologne.de)
15:13.00lorenzonot really using it :/
15:13.37[TK]D-Fenderkill that off too then...
15:14.23FlashDelhi folks! I got a problem: I have an asterisk 11.5.0 installed which works fine so far, but today there occured an error: "Call to peer '42' rejected due to usage limit of 1" here is the whole output:   http://pastebin.de/129074 Can somebody help me with that?
15:14.28lorenzodone
15:15.18*** join/#asterisk u0m3 (~u0m3@92.80.93.41)
15:15.46fileFlashDel, have you configured 42 in sip.conf with call limits?
15:17.05lorenzothis one is odd [Aug 11 11:15:02] NOTICE[1251][C-00000001]: chan_sip.c:25679 handle_request_invite: Failed to authenticate device 2000000<sip:2000000@81.4.109.xx>;tag=e727854a
15:17.07FlashDelfile: oh, yes :S
15:17.12lorenzothe IP address is the same as the asterisk server :/
15:17.25FlashDelfile: let me guess, i have to delete this entry?^^
15:17.39fileFlashDel, if you tell it to limit it to 1... then it'll limit it to 1 ^_^
15:18.10lorenzomaybe someone spoofing the address?
15:18.24[TK]D-Fenderlorenzo: that is not the IP it's coming from.  They are trying to say "I'm 2000000 on your server".
15:18.39[TK]D-Fenderlorenzo: when you look at "sip set debug on" you'll see the source packets.
15:18.44lorenzoah, guess I should look in /var/log/ then
15:19.04FlashDelfile: i see :-) ... it works now, thank you!
15:19.06[TK]D-Fenderlorenzo: And when you enable proper security logging you'll be able to use it with things like fail2ban to firewall them off automatically, etc
15:19.07*** join/#asterisk Nopal (~Gnu@177.237.248.56)
15:19.11lorenzoyes
15:21.05lorenzohttp://highsecurity.blogspot.it/2013/09/upgrade-to-asterisk-11-and-fail2ban-088.html
15:21.08lorenzoI'm following this
15:23.54[TK]D-Fenderlorenzo: You should be on your way then.  Make sure to whitelist enough to prevent locking yourself out accidentally.
15:24.17lorenzoyeah I'll whitelist the whole openvpn class
15:34.16*** join/#asterisk hexanol (~bibi@modemcable094.94-70-69.static.videotron.ca)
15:39.42hexanolI'm experimenting with cel_odbc, using a postgresql database, and a cel table with an "eventtime" column of type timestamp
15:39.57hexanolmy problem is that when you look at cel_odbc.conf, it seems like it supports microseconds precision for the eventtime
15:40.10hexanolbut then, when I test, I don't have such precision (i.e. I only have second precision)
15:40.26hexanolwhich is a bit unfortunate
15:40.29hexanolso I was wondering
15:41.02hexanolis that a kinda a bug, or a limitation of cel_odbc when using a column of type "timestamp", that it can't store the microseconds ?
15:44.34hexanolif I'm using a varchar type for my column eventtime, than I get... milliseconds precision
15:44.58hexanol(but I don't want to use a varchar type for the eventtime column)
15:45.00*** join/#asterisk timahvo1 (~rogue@197.237.134.227)
15:46.31*** join/#asterisk init_1045 (~init_1045@193.158.213.219)
15:49.01*** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c)
15:49.43*** join/#asterisk karlh626 (~karlh626@addr-199.21.194.73.nptpop-cmts-cable-sub.rdns-bnin.net)
15:56.15init_1045hi, i'd like to implement an answering machine with asterisk, where i can have different answers depending on the time of the call. Also in any case the machine should first take the call and welcome the caller. I have a ISDN Line. Do I need a HFC-Card for that purpose?
15:57.35wdoekeshexanol: try this http://fpaste.org/124696/
15:58.20[TK]D-Fenderinit_1045: Those are supported....
15:59.46hexanolwdoekes: k, I'm recompiling the module
16:00.03WIMPyinit_1045: record them yourself.
16:00.59WIMPyAnd from what we saw last week, it looks like you need to use LCR to use the bog standard cards.
16:01.03init_1045[TK]D-Fenderis there already a solution where such a purpose can be taken by a raspberry PI?
16:01.34hexanolwdoekes: hum... it doesn't seem to work, I'll double check
16:01.44WIMPyThere are even Asterisk Distors for the Pi.
16:01.49hexanolmy mistake, sorry
16:02.53init_1045what about the hardware then, wimpy? Do i need something spezial for ISDN and the Pi?
16:03.25WIMPyAn USB adaptor, obviousely.
16:03.38hexanolwdoekes: hum, now I'm getting something in the CEL but with still only second precision
16:03.49WIMPyAnt they definitely only work with either mISDN version.
16:04.29[TK]D-FenderXorcom also makes USB ISDN interfaces taht work with DAHDI.
16:04.44WIMPyTrue.
16:04.46*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de)
16:04.56WIMPyBut a very different price range.
16:05.02[TK]D-FenderIndeed.
16:05.18[TK]D-FenderBut parger scale as well... which I suspect is not the need.
16:05.25WIMPyAnd it didn't work that well for me, either.
16:05.35[TK]D-FenderWIMPy: I know you know the BRI market quite well....
16:05.50hexanolhum, I do see "{ts '2014-08-11 12:05:36.000'}"
16:06.00hexanolwhen I put verbose level to 11, to have more output from cel_odbc
16:06.13hexanolok... so there's milliseconds, but it's 000
16:06.22init_1045so what would you guys recommend?
16:07.11WIMPyA nortmal off the shelf USB dongle with an HFC S USB.
16:07.18SirLouenone question: it is possible to force launching a dtmf feature in call for example, after 10 seconds ?¿
16:07.35wdoekeshexanol: ok, I didn't really test that or anything. just a quick stab
16:07.50[TK]D-FenderSirLTo do what?
16:08.12*** join/#asterisk sgriepentrog (~sgriepent@nat/digium/x-kuxuictpmdgvmhgz)
16:08.18SirLouen[TK]D-Fender launch something within the first 10 seconds of the call started like a feature
16:08.38[TK]D-FenderSirLouen: To do what?
16:08.40SirLouenprogram an execution
16:09.31SirLouen[TK]D-Fender the only thing i've been able to program is the "warning message" with the L flag
16:09.40[TK]D-FenderSirLouen: I already told you you can Originate another channe from M() and then let the call continue...
16:09.56SirLouenyou did not mention me before?
16:10.10SirLouenyou can originate from a macro you mean?
16:10.33[TK]D-Fender[10:36][TK]D-FenderSirLouen: You could Originate a new channel in your macro and that will be processed along-side, but it will not be technically "bound" the the channel that launches it.
16:10.35[TK]D-Fender^^^^^^^^^
16:10.49SirLouen[TK]D-Fender ok
16:11.11SirLouen[TK]D-Fender you mean something like M(newevent) [macro-newevent] exten.... Originate(....?
16:11.32[TK]D-FenderThat is exactly the sort of thing I just said/
16:11.47WIMPySounds like you should look into AMI.
16:12.01SirLouenbut how you can postpone it like 10 seconds after the call has been bridged?
16:12.27WIMPyWait(10)
16:12.42SirLouenWIMPy then the call wont bridge until the 10 seconds has passed
16:12.59WIMPyin the new call, off course.
16:13.32SirLouenI mean, if you do the Dial(...M(newevent)) [macro-newevent] exten => ..... Wait(10)
16:13.42hexanolwdoekes: but do you think it's a bug that cel_odbc doesn't store at least microseconds precision ?
16:13.44SirLouenthen the Dial wont bridge util the macro has ended
16:13.49hexanolhum, i Mean, millisecond precision
16:13.59WIMPycorrect.
16:14.01[TK]D-FenderSirLouen: You will wait in the ORIGINATED channel.
16:14.12[TK]D-FenderSirLouen: NOT in the Macro you call from Dial
16:15.12SirLouen[TK]D-Fender i dont understand it
16:15.13hexanolwdoekes: ok, I got milliseconds precision by modifying your patch
16:15.51[TK]D-FenderSirLouen: ORIGINATE a LOCAL CHANNEL... then in THERE add your delay, etc....
16:16.04hexanolseems with a problem with ast_strftime
16:16.14hexanolthat is only outputting millisecond precision
16:16.31hexanolwith %q
16:16.39hexanolanyway, I got to go, I'll be back later...
16:17.08SirLouen[TK]D-Fender http://pastebin.com/dHe1N7SP
16:17.20SirLouenif you do this, then the dial wont be bridged
16:17.54[TK]D-FenderSirLouen: What par of "don't put the wait BEFORE the Originate" are you having trouble with?
16:18.01SirLouenok
16:18.08SirLoueni think i undesrtand it
16:18.19[TK]D-FenderSirLouen: same => n,Originate(......) <- IN the processing of this NEW CHANNEL
16:19.49*** join/#asterisk FreezingCold (~FreezingC@135.0.41.14)
16:21.17init_1045WIMPy: the Draytek minivigor128 is the only one i could find. Do you know others?
16:22.32WIMPyTrust or Billion.
16:22.49SirLouen[TK]D-Fender i think i have it now
16:23.29SirLouen[TK]D-Fender how can i get inside the macro the peer name?
16:23.43SirLouenthe peer name of the call
16:24.18[TK]D-FenderSirLouen: Use AMI or a call-file to lauch the call, not the Originate dialplan app.  Then you can pass it as a variable.
16:25.26SirLouenyou mean not the Dial app ?
16:26.12[TK]D-Fender"not the Originate dialplan app"
16:26.27SirLouenbut i need the peername before the originate lauches
16:26.28*** join/#asterisk kaziklu-bey (0c0adbdf@gateway/web/freenode/ip.12.10.219.223)
16:26.30SirLouenlaunches
16:26.54SirLouenthe peername of the Dial
16:27.02[TK]D-FenderSirLouen: PASS IT when you issue the call-file or AMI Originate.  You cannot pass variables with the DIALPLAN APP, or CLI COMMAND versions....
16:29.40init_1045Wimpy: Thank you, i just read that i could also use an old fritz!box, so i guess i'll go with that plan first.
16:31.22*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
16:31.32WIMPyinit_1045: Yes, but the only reliable way is as a SIP gateway.
16:31.56SirLouen[TK]D-Fender thx im going to try it
16:45.04*** join/#asterisk ipengineer (~zconkle@static-71-252-134-63.dllstx.fios.verizon.net)
16:51.19*** join/#asterisk c|oneman (cloneman@1337.montrealdark.com)
16:54.30ipengineerDoes anyone have any thoughts as to why my /var/log/asterisk/messages file keeps getting set back to root? Asterisk cant write to it at that point.
17:01.41[TK]D-Fenderipengineer: Look at your logrotate.....
17:02.46ipengineer[TK]D-Fender: create 640 root root I guess is the problem.
17:04.19*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
17:09.38*** join/#asterisk metakungfu (~textual@209.49.226.194)
17:24.56*** join/#asterisk W0rmDr1nk (~wormdrink@unaffiliated/wormdrink)
17:25.13*** join/#asterisk zerick (~eocrospom@190.187.21.53)
17:46.26*** join/#asterisk SirLouen (~pickupdog@95.63.247.9)
17:46.45SirLouen[TK]D-Fender everything great thx
17:48.09SirLouenit is possible to set the language for the callee in the dialplan?
17:49.06*** join/#asterisk protocoldoug (~quassel@unaffiliated/protocoldoug)
17:50.23mjordanSirLouen: CHANNEL function, plus a pre-dial handler.
17:50.42mjordanhttps://wiki.asterisk.org/wiki/display/AST/Pre-Dial+Handlers
17:50.42WIMPyCHANNEL(language)
17:50.49*** join/#asterisk Defraz (~Defraz@24-117-69-71.cpe.cableone.net)
17:53.22SirLouenmjordan interesting thx!
17:55.11SirLouenmjordan but you set the language in the "callee handler exten" the same? Set(CHANNEL(language)=fr) ??
18:00.54mjordanyes
18:01.23mjordanit just executes a subroutine on either the callee or the caller (depending on which option you use) prior to dialling the channel. For setting up things like languages on a channel, it's a good time to do it.
18:02.15*** join/#asterisk metakungfu (~textual@209.49.226.194)
18:04.52SirLouenmjordan perfect it works awesome
18:13.48*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
18:15.44*** join/#asterisk areski (~areski@80.174.128.86.dyn.user.ono.com)
18:23.07*** join/#asterisk JerJer (~Adium@asterisk/original-h323-guy/JerJer)
18:24.06*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
18:43.18lorenzo<PROTECTED>
18:43.22lorenzojust wrote this if anyone needs it :)
18:43.35lorenzoprints username and ip of succcessful logins
18:44.08WIMPyI get them from AMI in realtime.
18:45.25*** join/#asterisk sekil (~Ognjen@78.24.104.82)
18:46.06lorenzoWIMPy: I still have to fiddle with that
18:46.55*** join/#asterisk rrittgarn (~rrittgarn@75-150-221-196-Illinois.hfc.comcastbusiness.net)
18:47.33rrittgarnSo my experience with Dahdi is limited. I just installed a digium A8B in my server and show it in dahdi_hardware, but not in dahdi_genconf or dahdi_span_assignments auto. What information do you need to help troubleshoot? I had this working at one point in a different server, but seem to have lost whatever configuration changes I made.
18:47.56WIMPylorenzo: you should. It makes Asteriskso much better.
18:48.40*** join/#asterisk protocoldoug (~quassel@unaffiliated/protocoldoug)
18:49.16lorenzoWIMPy: but do you use a web interface?
18:49.42WIMPylorenzo: For what?
18:50.49rrittgarnalso, is /etc/init.d/dahdi status supposed to show anything?
18:52.11lorenzoWIMPy: for checking out this stuff
18:52.15lorenzolike logged in users
18:52.18lorenzoongoing calls etc
18:52.47WIMPylorenzo: Yes.
18:52.56WIMPyWell, account status that is.
18:53.13WIMPyNo ongoing calls.
18:54.47[TK]D-FenderWIMPy: You don't use AMI to check on active channels?
18:55.08WIMPyno
19:00.20[TK]D-FenderWIMPy: Guess if you don't ahve a need.. it is good for that though.  I usually parse "core show channels concise" rather than the more native channel dumps
19:03.04*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
19:03.27WIMPyIf I wanted it, I'd listen for the events. But I don't find that information too interesting.
19:09.48*** join/#asterisk FreezingCold (~FreezingC@135.0.41.14)
19:11.36[TK]D-FenderWIMPy: I use if for phone-browser BLF sometimes.
19:11.42lorenzohmm
19:11.51lorenzoI have 3 devices with the same public ip address under nat
19:11.55[TK]D-FenderI think I may have subbed that for a "core show hints" dump....
19:11.58lorenzobut there doesn't seem to be a way for them to pass audio
19:12.00lorenzoSIP works though
19:12.03lorenzonat=yes is set
19:19.29lorenzolooks like only one of the three devices works
19:25.01*** join/#asterisk danjenkins_ (~dan@cpc11-folk2-2-0-cust171.1-2.cable.virginm.net)
19:28.08*** join/#asterisk felimwhiteley_ (~quassel@89.101.203.26)
19:31.43*** join/#asterisk Defraz (~Defraz@205.185.92.236)
19:32.31*** join/#asterisk usnavi (~DevWork2@static-100-32-93-142.lsanca.fios.verizon.net)
19:33.31usnaviHi, I'm getting some intermittent issues with some of my hard phones.. i know its/nat firewall related, but it works 99% of the time so trying to figure out whats the deal. In my sip peer for outbound calls, I have nat=no, but I do use a nat, whats the significance of nat=XX?
19:35.18[TK]D-Fenderusnavi: Virtually no provider is NAT'd so the peer you use to them should be "nat=no"
19:35.32usnaviok so its to them, gotcha.
19:35.38*** join/#asterisk generalhan (~generalha@about/windows/staff/generalhan)
19:35.40VultureZusnavi, if you can describe the "issues"?
19:35.49VultureZ*remove the if you
19:36.15VultureZtypically nat issues I see 1 way audio problems crop up
19:36.46usnavion some devices if you receive or dial a call, you will hear no audio, but alledgedly sometimes that can hear you fine. Also when dialing a call, it will take forever to ring, like nothing happens.
19:36.58usnaviThat is intermittent however.
19:37.24usnaviOur firewall rule table was filling up, I adjusted it, not sure if it filled up since.
19:38.19usnaviWe were having reinvite issues, so I tried disabling all reinvites, there was a patch in the asterisk tree related to it being on despite having it disabled.
19:38.36usnaviJust to narrow the cases of nat to solve down to the asterisks server itself.
19:45.02*** join/#asterisk felimwhiteley (~quassel@89.101.203.26)
19:52.54*** join/#asterisk Chainsaw (~chainsaw@gentoo/developer/chainsaw)
19:55.11*** join/#asterisk protocoldoug (~quassel@unaffiliated/protocoldoug)
19:56.27*** join/#asterisk gusto (~gusto@2001:470:1f0b:a42:224:1dff:fecd:234c)
19:58.19*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
20:04.55VultureZusnavi, check your rtp.conf file and see what your port range is set to
20:05.20usnavi20-30k
20:05.22VultureZalso, I would make sure your router is using latest firmware, and any speed boost/voip shaping is turned off
20:05.33usnaviOur router is a freebsd box.
20:05.55usnaviI think its hitting its state limit again
20:06.47VultureZand unable to dynamically assign those RTP ports... that might make sense. But your symptoms are similar with when an RTP isn't translated properly through the nat
20:07.09usnaviyea i agree.
20:07.53usnaviwhat about third parties using ports <20000 and >30000
20:07.56usnaviI've seen that before.
20:10.36lorenzofixed my no audio issue behind nat with canreinvite=no
20:10.37lorenzoqualify=yes
20:11.22WIMPythinks the enhanced cross compiling stuff in 11.11 is too good. I just got a segfault when trying to start it.
20:12.09VultureZusnavi, just to be clear are these SIP clients local or remote?
20:12.23usnavilocal, but on a different subnet
20:12.32VultureZoh rly...
20:12.39VultureZlocalnet is specified?
20:12.41usnavithe calls are always remote ones.
20:12.43usnaviyes
20:13.03VultureZdoes the server have non-nat access to the sip trunk?
20:13.04usnavilocalnet=10.42.0.0/21
20:13.26usnavilet me verify, its been awhile since I have looked at how they tied that in
20:15.31VultureZsounds good, also, do you have recordings of the calls? You might want to check to see if the recorded audio is there since it would record at the server level. If there is audio it is the local network, if there is not then it is likley the trunk
20:17.30*** join/#asterisk tparcina (~tomo@212.92.200.41)
20:17.31*** join/#asterisk SuPeRSoAKeR (~supersoak@users.757.org)
20:18.38usnaviWe have a wireless sip provider. They have some wifi beam on the rough, and a router board in our server room, our router has an ip 10.149.248.91 and we route all sip traffic over that interface, * has an externaddr with whatever the router boards public IP is
20:18.44usnaviroof*
20:18.46*** join/#asterisk yokel (~yokel@unaffiliated/contempt)
20:19.17SuPeRSoAKeRHello #asterisk, I was woundering if Queue starts a new channel when dialing the members and if channel scope variables are defined, otherwise, is the a vairable set that i can see that the context was invocked by the Queue app?
20:19.40usnaviits either nat isn't 100% setup right, or the rules, or the PF state table is spilling, leaving some NAT connections dropped.
20:20.56VultureZusnavi, you have wireless SIP trunking? How is the latency on that?
20:21.09usnaviFine.
20:21.20usnaviThey have always provided us with wireless VOIP
20:21.27usnaviWe switched to SIP only over it.
20:21.34usnaviAnd we got a fibre data in the building.
20:21.48VultureZhey if it works!
20:21.50usnaviSo we route just phone traffic from our gateway, to the microwave link.
20:22.16VultureZhave you noticed that it happens during high load?
20:22.21usnaviThe latency is basically non existant, I've had two ex veteran phone company line men types use our phones and can't even tell its voip OR wireless.
20:22.47VultureZusnavi, yea I am not knocking it, just never tried it :)
20:22.58usnavididnt think you where.
20:23.00usnaviJust describing.
20:23.29usnaviWe wouldn't do it normally, but we had a large remainder of a pay it all or keep it type contract with them
20:23.54VultureZah yes...
20:23.55usnavi( we signed 5 years on a symmetric 6/6 connection.... verizon laid 200/200 lines a month later!! )
20:24.23usnaviSo we told them, we don't want the 6/6, we just want SIP now. They didn't normally do that kind of thing ( they have sip backend, but definitely not a sip only account with a customer etc... )
20:24.43usnaviSo they dropped our bill considerably, but we will fulfill the remaining time with this.
20:24.50VultureZdid you see that Q about high volume during issues?
20:25.03usnaviuhh
20:25.08usnaviNo I didnt.
20:25.16VultureZ<PROTECTED>
20:25.24usnaviWhats high load? My no audio issues?
20:25.27VultureZlike high activity
20:25.34usnaviDefine high activity :)
20:25.37VultureZwhen X+ NAT connections are open
20:25.44VultureZhigh for your local network
20:25.55usnaviWell I've seen my network start dropping states in the last two months.
20:25.57VultureZbasically do you notice any trends to when it occurs
20:26.02usnaviI doubled it 4 weeks ago.
20:26.17usnaviI checked today after this was brought to my attention, it was at 18k.
20:26.25usnaviWhich is dangerously close to the 20000 i doubled it to
20:26.26VultureZwell it is very likley the issue with the states, a dropped state will lead to a call hanging like that
20:26.33usnaviyea thats what I thought.
20:26.47usnaviAnyways, I got the states back down to 750~
20:26.56VultureZany reported issues since?
20:26.58usnaviSo I'm going to wait it out to see if this happens.
20:27.03usnaviI just did it 30 minutes ago
20:27.13usnaviGoing to have to wait a week or so to be sure.
20:27.53VultureZyea, but you know how it is... one person starts saying "I have been having this or that issue..." next thing you know everyone is claiming it lol
20:28.22usnaviYea. I know who to trust :)
20:36.26*** join/#asterisk chuckf (~chuckf@fedora/chuck)
20:40.17*** join/#asterisk wonderworld (~ww@ip-62-143-157-238.hsi01.unitymediagroup.de)
20:43.16*** join/#asterisk metakungfu (~textual@209.49.226.194)
20:48.47usnaviyea this is looking much cleaner. 730 entries still.
20:51.28SuPeRSoAKeRVultureZ: any advice for me?
20:52.56VultureZsupersoaker, that is a very specific question and I could not tell you without digging in the code or running tests myself
20:53.06*** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2)
20:53.37VultureZsupersoaker, but I am pretty sure there is a way to access them, because I know we track the call through the queue and back
20:58.16supersoakerVultureZ: Looks like the scope of the __Vars to not carry over to the channel queue makes
20:58.19supersoakerfrom my test :/
20:58.32supersoakerbut i need to way to see if a context was invoked by Queue
21:00.21*** part/#asterisk metakungfu (~textual@209.49.226.194)
21:01.18*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
21:12.09*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
21:14.35*** join/#asterisk tzafrir (~tzafrir@bzq-218-28-58.cablep.bezeqint.net)
21:14.39*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
21:18.36supersoakerVultureZ: do you know the difference between MixMonitor and Record?
21:24.56[TK]D-Fenderapples & orangutans.....
21:30.39WIMPyIf you're talking apples as in Apple Computers, the orangutans might not be far off.
21:31.12kaziklu-beylike cars and beds uh?
21:31.21kaziklu-beywait there are cars with beds...
21:32.30WIMPyAnd cars as beds.
21:36.38mbowieBeer & Mayonnaise
21:37.47[TK]D-Fendermbowie: Those are at least standard foodstuffs.
21:38.19mbowiePoint well made.
21:40.27WIMPyAnd if you add some fries they fit quite well.
21:41.12mbowieBut sans fries, not so much.
21:41.17[TK]D-FenderSO HAPPY TOGETHER!!
22:00.37*** join/#asterisk theron (~theron@66.220.145.150)
22:02.14*** join/#asterisk CeBe1 (~CeBe@port-92-206-5-248.dynamic.qsc.de)
22:02.24*** join/#asterisk jhlavacek (~jirka@87.89.218.63)
22:18.51*** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de)
22:27.56overyanderI want to be able to receive sms from any of my DID's and optionally reply. all of the sms gateways i've found online seem to be a web hosted solution and offer/charge for a lot of features that I would code myself in asterisk. Is it typical in the U.S. to go through those types of gateways or is that something that my provider (Intelepeer) can provide?
22:28.55*** join/#asterisk lbazan (~LoKoMurdo@fedora/LoKoMurdoK)
22:30.23*** join/#asterisk jaredkipe (~jaredkipe@50.248.197.213)
22:30.35jaredkipehello all
22:30.48*** join/#asterisk sawgood (~sawgood@unaffiliated/sawgood)
22:31.33overyanderhello
22:32.41jaredkipeI've got an odd problem, if someone would like to help a little
22:33.03ChainsawAs long as it involves Asterisk.
22:33.08jaredkipeof course
22:33.26jaredkipeso I’ve got a handful of extensions I use to shortcut into queues, as well as sign in and out of them
22:34.07jaredkipeI went and added a new one today, and for some reason, my phones are not waiting long enough for the ‘slightly longer’ extension to sign into queue, instead just going to the queue short cut
22:34.19jaredkipee.g. 311 goes to queue, 3110 signs out of queue
22:34.46jaredkipeyou go to dial 3110 and immediately upon finishing 311, it launches into that exten’s flow
22:35.01Chainsawjaredkipe: I imagine [TK]D-Fender, the dialplan whisperer, is going to want to see extensions.conf
22:35.32jaredkipefor reference, 304 goes to a different queue, 3040 signs out
22:35.34jaredkipeand works properly
22:35.38overyanderjaredkipe, never messed with queues, sorry
22:35.48jaredkipeI don’t think its queue related
22:36.00jaredkipeI’m primarily a SW developer
22:36.36overyandera phone signing in and out like that is queue based. a regular sip phone just registers when it boots up
22:37.46jaredkipeI’m pretty sure if I replaced the ‘queue’ related logic with just goto statements it would behave the same
22:37.53jaredkipeor dial, whatever
22:38.17overyanderwhen you run "sip show peers" does it show all of the phones?
22:39.20jaredkipeyes, but these are not sip peers
22:39.29overyanderwhat are they?
22:39.29jaredkipethese are extensions
22:39.49jaredkipepart of extensions.conf, and in the context of from sip
22:40.38jaredkipeI don’t know asterisk that well, but I’ve been able to hack together some stuff like macros to turn on and off forwarding to cell phones etc.
22:41.04overyandercontexts are completely unique on all systems. in your dialplan you point exten 1234 to dial sip/blahblah
22:41.08jaredkipeI feel like asterisk has ‘cached’ this, or the phone have, and will not wait for the extra digits
22:41.50jaredkipefor sake of argument, exten 304 dials x 3040 dials y
22:42.23jaredkipe311 dials x, 3110 SHOULD dial y, but you cannot physically dial it because after you press the second 1 in 311 it goes straight to x
22:42.48jaredkipe311 and 3110 are unique in the dialplan
22:43.20cusco<PROTECTED>
22:43.52overyanderoh, i think i see, it's in the order the patterns are matched. you have 3110 listed lower than 311 don't you?
22:44.06jaredkipehrm
22:44.35jaredkipehard to say because of the ‘include => macro’ stuff
22:44.53jaredkipewhat I do know is that they are organized exactly like the 304, 3040 stuff
22:45.01jaredkipenamely, they should have the same ‘order’
22:45.05overyanderincludes are used in the order they are listed prior the extens in the context
22:46.31cuscojaredkipe: in asterisk cli: dialplan show <context>
22:46.35cuscogo from there
22:46.38cuscopaste
22:47.27*** join/#asterisk petris (~petris@198.251.81.123)
22:48.08*** join/#asterisk zerick (~eocrospom@190.187.21.53)
22:48.53jaredkipehttps://gist.github.com/jaredkipe/eeb30761d34d11f7f73e
22:50.13jaredkipe…. some of that junk was not me and I’ve simply extended the madness
22:52.46jaredkipethe 301X - 304X stuff works so well, no idea why 311X stuff doesn’t
22:53.04overyandermove your includes for utilities above the internals includes, then do a "dialplan reload" and I bet that'll solve your problem
22:53.21[TK]D-Fender[18:42]jaredkipe311 and 3110 are unique in the dialplan <- they are in separate contexts
22:53.21overyanderit's because of the matching order i mentioned
22:53.34[TK]D-Fenderjaredkipe: THAT is what's happening.
22:53.41jaredkipebut SO is 304 and 3040
22:53.59[TK]D-Fender* will lok in the the contexts in the order listed
22:54.19jaredkipethey are in the same ‘relative’ order
22:54.22overyanderyes, it's matching 304 before 3040 because 304 is found first
22:54.32overyandernothing is 'relative'
22:54.34[TK]D-Fenderit lawys look in-context first
22:54.34jaredkipeBUT thats not what happens
22:54.40[TK]D-FenderShow us the calls
22:54.42jaredkipe3040 dials correctly
22:54.44overyandermove those and reload and watch what happens
22:54.45[TK]D-Fenderlooks*
22:55.26[TK]D-Fenderyour phone's dialplan is another matter.
22:56.08[TK]D-FenderNowhere in the dilplan you have shown is * waiting for input.
22:56.19jaredkipehttps://gist.github.com/jaredkipe/2948f7ac5aa053dea10b
22:56.22[TK]D-FenderIt's expecting to receive whole numbers from your endpoitns...
22:56.33jaredkipephone dial plan? sounds promising
22:56.46[TK]D-Fender<PROTECTED>
22:56.51[TK]D-Fenderit got 311 from your phone
22:56.59[TK]D-FenderThis has nothing to do with Asterisk at that point
22:57.05jaredkipethank you
22:57.23jaredkipeso this is new...
22:57.25jaredkipeto me anyway
22:57.34[TK]D-FenderPhones is king.
22:57.53[TK]D-FenderIt chooses when to stop you from pushing digits all on its own...
22:58.08jaredkipeI kinda assumed that because of how fast it was
22:58.10[TK]D-FenderNEXT!@!!@@!@ (c) BKW
22:58.14[TK]D-Fendergavels
22:58.19jaredkipeideas on how to fix?
22:58.20[TK]D-FenderADJOURNED!
22:58.28jaredkipelol
22:58.29[TK]D-Fenderjaredkipe: Go change the dialplan on your phones
22:58.49[TK]D-Fenderjaredkipe: that is entirely dependent on model and means of configuring
23:00.46jaredkipeyeah, soft phone works
23:00.50jaredkipestupid polycom….
23:01.01*** join/#asterisk petris (~petris@198.251.81.123)
23:03.23Chainsawjaredkipe: The Polycom uses whatever internal dialplan you give it.
23:03.35Chainsawjaredkipe: I'm afraid that's still your fault.
23:03.41jaredkipenot my fault
23:03.43jaredkipeinherited!
23:03.53jaredkipemy Cisco ATA’s I’ve deployed do NOT have the problem
23:04.08[TK]D-FenderPolycom > All
23:04.32[TK]D-FenderPolycom's dialplan are highly configurable.  It's your job to set it to your needs
23:05.12jaredkipelike I said, I inherited this problem
23:05.21[TK]D-Fender311 is a North Amrican STANDAND service code.  Phones would cone matching this stock....
23:05.33jaredkipeservice code?
23:05.49[TK]D-Fender[34569]11 ....
23:05.53[TK]D-Fender911 = POLICE
23:06.14[TK]D-Fender311 = for example
23:06.18[TK]D-Fender411 = directory assitance...
23:06.35jaredkipeha, thats why we’re using 311 for internal helpdesk
23:06.45[TK]D-Fenderregardless go figure out how the phones were configured, and go in to change the dilplan
23:06.51jaredkipeI’m looking
23:06.59jaredkipethey receive the configuration from tftp
23:07.12[TK]D-FenderWarning to these guys : don't use national standard for your internal features
23:07.30jaredkipewhat does 311 supposedly dial?
23:07.33[TK]D-FenderOr get sued when someone trying to use your phone to call emergency services can't get through because you are hijacking standard #'s
23:07.53jaredkipebah, I have congestion on remote 911 ;)
23:07.58[TK]D-Fender311: Non-Emergency Police, Municipal and Other Governmental
23:10.08jaredkipefound it!
23:10.18jaredkipe[2-9]11|…
23:10.35jaredkipehuzzah, [4-9]11
23:10.48jaredkipehow power cycling phone auto configures ;)
23:10.52jaredkipehope*
23:21.29*** join/#asterisk bmurt (~brendan@208-58-116-232.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com)
23:24.24jaredkipeyep
23:24.30jaredkipesweet sweet override blis
23:25.05jaredkipethanks everyone for your support
23:29.11*** part/#asterisk jaredkipe (~jaredkipe@50.248.197.213)
23:47.25*** join/#asterisk fstd_ (~fstd@unaffiliated/fisted)
23:59.54supersoakerHello #asterisk, I was woundering if Queue starts a new channel when dialing the members and if channel scope variables are defined, otherwise, is the a vairable set that i can see that the context was invocked by the Queue app?

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