IRC log for #asterisk on 20150903

00:07.02*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
00:11.25*** join/#asterisk Kerberos76 (~Kerberos7@107.182.184.234.16clouds.com)
00:14.49*** join/#asterisk robink_ (~quassel@unaffilated/robink)
00:19.05*** join/#asterisk jasonwert (~jasonwert@71.89.137.28)
00:25.22*** join/#asterisk robink_ (~quassel@unaffilated/robink)
00:26.52*** join/#asterisk monsterco (~monsterco@TOROON474AW-LP140-04-2925485650.dsl.bell.ca)
00:27.05*** part/#asterisk monsterco (~monsterco@TOROON474AW-LP140-04-2925485650.dsl.bell.ca)
00:34.50*** join/#asterisk [NC] (~nc@rv1.sabius.net)
01:16.22*** join/#asterisk n3ob (~ed@2a00:d880:6:320:82fa:b33e:3d20:4763)
01:16.28n3ob.
01:17.09WIMPy!
01:21.09*** join/#asterisk robink_ (~quassel@unaffilated/robink)
01:25.41*** join/#asterisk evilman_work (~evilman@87.244.6.228)
01:51.28*** join/#asterisk almostworking (~almostwor@unaffiliated/almostworking)
02:01.15moe`hey guys ... trying to setup CallerID
02:01.19moe`<- dumbass
02:04.13MaliutaLapmoe`: inbound, or outbound?
02:05.24WIMPyDefinitely too little information.
02:06.27*** join/#asterisk italorossi (~Adium@177.193.104.31)
02:06.30MaliutaLapWIMPy: "there is this thing I'm trying to do, can you help? I've tried nothing, and I'm all out of ideas!" ;)
02:16.19*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
03:17.19*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
03:32.34*** join/#asterisk zerohalo (~zerohalo@2601:199:4200:d92e:315e:9e8a:ecb8:7315)
03:34.14*** join/#asterisk petris (~petris@2604:180:0:ad7::73db)
03:41.10*** join/#asterisk vader- (~Adium@pool-71-175-67-97.phlapa.fios.verizon.net)
03:44.34moe`um, non root users using asterisk -r or asterisk -x
03:44.36moe`suggestions?
03:45.30moe`member of the asterisk group which has ... oh crap, only read not write to the asterisk filesystem socket
03:53.32moe`is there a way to specify the permissions on the asterisk.ctl socket?
04:06.08*** join/#asterisk Janos (~cramos@190.113.105.209)
04:09.32Janoshey there, got a small problem with an E1 line, just upgraded to a newer debian version and the pri is not coming up on asterisk, 11.13.1 and 2.10.0, dahdi_tool says the port is OK but asterisk shows 'PRI span 1/0: Down, Active'
04:10.37Janosthis cold be the line just down, but I was wondering if there was anything else I could check, no idea why dahdi_tool says everything is OK
04:14.41Janosthis is an old card, lspci says TE405P/TE410P 1 Gen
04:35.52*** join/#asterisk robink_ (~quassel@unaffilated/robink)
04:43.00moe`yeah, found it (perms settings for the asterisk.ctl in asterisk.conf)
04:44.24elijah_I'm running asterisk on a linode, trying to connect to google voice.  It's not working but I got a notice in my google account about a device trying to sign in from an IPv6 address.  Can anyone confirm ipv6 won't work with google voice/asterisk?
04:46.07elijah_or how can you have it connect from it's ipv4 address instead
04:52.21WIMPyJanos: Is your dahdi/system.conf still ok?
04:59.41*** join/#asterisk bulkorok (~Adium@92.206.232.97)
05:04.15*** join/#asterisk bulkorok (~Adium@92.206.232.97)
05:09.57*** join/#asterisk bulkorok (~Adium@92.206.232.97)
05:21.22*** join/#asterisk elitas (~elitas@213.226.135.203)
05:29.14*** join/#asterisk Zogot (~Adium@217.46.116.154)
05:36.02*** join/#asterisk Zogot (~Adium@5.254.112.218)
05:38.37*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
05:43.58*** join/#asterisk robink_ (~quassel@unaffilated/robink)
05:58.28*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
06:03.10*** join/#asterisk robink_ (~quassel@unaffilated/robink)
06:12.59*** join/#asterisk mokmeister (~quassel@95.45.41.45)
06:21.39*** join/#asterisk robink_ (~quassel@unaffilated/robink)
06:25.26*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
06:27.09JanosWIMPy, what do you mean ok ?
06:32.54*** join/#asterisk bulkorok (~Adium@89.245.151.228)
06:34.28malinens[TK]D-Fender> phpboys: thanks. I was looking for DIALEDPEERNUMBER
06:37.09*** join/#asterisk bulkorok (~Adium@89.245.151.228)
06:40.27*** join/#asterisk CeBe (~CeBe@xd9beef91.dyn.telefonica.de)
06:42.09*** join/#asterisk pppingme (~pppingme@unaffiliated/pppingme)
06:50.37*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
07:14.51*** join/#asterisk tzafrir (~tzafrir@local.xorcom.com)
07:25.19*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
07:37.36*** join/#asterisk Zogot (~Adium@217.46.116.154)
07:37.54*** join/#asterisk cervajs2 (~cervenka@212.71.138.50)
07:44.44*** join/#asterisk pchero_work (~pchero@109.70.54.56)
07:45.48*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
07:50.10*** join/#asterisk tapmodo (~tapmodo@c-73-2-77-53.hsd1.ca.comcast.net)
07:59.54*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
08:01.13*** join/#asterisk angryuser (~angryuser@LCaen-656-1-198-99.w193-251.abo.wanadoo.fr)
08:13.16*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
08:22.34*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
08:36.35*** join/#asterisk cw1972 (~cw1972@host81-136-221-45.in-addr.btopenworld.com)
08:45.54*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
08:54.15*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
08:56.57*** join/#asterisk CeBe (~CeBe@89.204.135.84)
08:59.05*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
09:07.20*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
09:07.52*** join/#asterisk CeBe (~CeBe@89.204.135.84)
09:12.40*** join/#asterisk Dovid (~dovid@ool-45738930.dyn.optonline.net)
09:18.49*** join/#asterisk rie (~rita@p5B2FEA42.dip0.t-ipconnect.de)
09:20.08*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
09:24.27*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
09:34.15*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
09:48.53*** join/#asterisk CeBe (~CeBe@89.204.135.84)
10:00.36*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
10:05.33*** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire)
10:06.10*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:09.57*** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com)
10:10.53*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:15.45*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
10:17.49*** join/#asterisk jonno11 (~Jon@108.61.155.148)
10:19.35*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:33.58*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:38.34*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
10:52.44*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
10:53.19riehello there. I tried to send faxes from a softfax to a "real" fax but got no answer. and debuging in CLI does not show anything. How can I check whats wrong?
10:54.12*** join/#asterisk CeBe (~CeBe@xd9beef91.dyn.telefonica.de)
11:00.06*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:04.00*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
11:10.19*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:14.50*** join/#asterisk sekil (~sekil@78.24.104.73)
11:17.13*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
11:25.36*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:32.17*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:36.10*** join/#asterisk darkbasic_ (~quassel@niko.linuxsystems.it)
11:36.57wyoungrie: oh noes
11:42.35rie:(
11:42.39*** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it)
11:44.31rieSIP 401 Unauthorized
11:47.03riewyoung, whats the main difference between the phonecall and the faxcall? I just see no tree because of the  wood
11:55.43*** join/#asterisk dummys (~dummys@unaffiliated/dummys)
11:56.09dummyshi, trying to make work Asterisk with openBTS and when I type odbc show in asterisk console -> segfault
11:56.16dummysanyone has an idea about this issue ?
11:57.17wyoungrie: T.38
11:59.21dummyswhen I start asterisk I see that he is correctly connected to odbc sqlite3
11:59.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)
12:01.27dummysin the log I have Realtime mapping for "sippeers" fount to engine "odbc" but the engine is not available
12:01.30haooliveiraexit
12:03.36rieCLI> Registered FAX Technology Modules: 0 registered modules. what modules would I need here?
12:06.15*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
12:07.10*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
12:13.14*** join/#asterisk italorossi (~Adium@187.60.66.11)
12:13.48*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
12:17.38*** join/#asterisk sekil (~sekil@78.24.104.73)
12:19.22*** join/#asterisk [TK]D-Fender (~chatzilla@216-191-106-163.dedicated.allstream.net)
12:23.25carrarMornign TK
12:24.29*** join/#asterisk sekil (~sekil@78.24.104.73)
12:32.55*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
12:43.46*** join/#asterisk cyford (support@c-73-137-1-6.hsd1.ga.comcast.net)
12:45.08*** join/#asterisk sekil (~sekil@78.24.104.73)
12:50.30*** join/#asterisk c0rnoTa (~c0rnoTa@mail.fibex.su)
12:57.16*** join/#asterisk Coolguy3289 (~Coolguy32@ysu-150-134-245-11.ysuclients.ysu.edu)
13:02.59*** join/#asterisk Cuzner (~ccuzner@198.41.29.45)
13:05.39*** join/#asterisk sekil (~sekil@78.24.104.73)
13:15.19*** join/#asterisk cyford (~support@c-73-137-1-6.hsd1.ga.comcast.net)
13:23.09*** join/#asterisk Dovid (~dovid@static-173-63-105-210.nwrknj.fios.verizon.net)
13:26.07*** join/#asterisk jasonwert (~jasonwert@75-134-81-98.static.aldl.mi.charter.com)
13:37.34*** join/#asterisk sekil (~sekil@78.24.104.73)
13:38.56marceloamorimguys, I'm trying to use the funcion replace, to replace a variable to another like, I'm getting from odbc 'trunk=$SIP/1EXTEN@192.168.0.1', so I used the funcion replace to replace the EXTEN to ${EXTEN}, I used exten => _X.,1,n,Set(trunk=${REPLACE(trunk,EXTEN,${EXTEN})})
13:39.30marceloamorimbut I'm getting the trunk=SIP/199999@192.168.0.1
13:40.40marceloamorimevery letter is replaced to the first digit, should I use another funcion?
13:41.10[TK]D-FenderShow us the actual dialplan and the actual call.
13:42.38*** join/#asterisk sruffell (sruffell@asterisk/the-kernel-guy/sruffell)
13:42.38*** mode/#asterisk [+o sruffell] by ChanServ
13:42.41*** part/#asterisk dummys (~dummys@unaffiliated/dummys)
13:42.49marceloamorimI misunderstood the description from the replace function, "may be either empty or contain ONE character".
13:42.50marceloamorimsorry
13:42.54*** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson)
13:42.54*** mode/#asterisk [+o putnopvut] by ChanServ
13:44.05wdoekesmarceloamorim: you may want STRREPLACE ?
13:44.09[TK]D-Fenderyup
13:44.14wdoekeshttps://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_STRREPLACE
13:46.53marceloamorimthere is the function SPRINTF too wdoekes, ty sir
13:47.04marceloamorimty [TK]D-Fender too
13:48.52marceloamorimI replace the sql to 'SIP/1%s@192.168.0.1' and use the Set(trunk=${SPRINTF(${trunk},${EXTEN})})
13:50.41marceloamorimthen I get trunk=SIP/199841120@192.168.0.1
13:50.45*** join/#asterisk sgriepentrog (sgriepentr@nat/digium/x-botcmomvkfjxzqbq)
14:01.18*** part/#asterisk c0rnoTa (~c0rnoTa@mail.fibex.su)
14:02.43[TK]D-Fenderwdoekesmarceloamorim: you may want STRREPLACE ? <-
14:04.04marceloamorim[TK]D-Fender: I replace the %s to the string that I want using the funcion SPRINTF, ty
14:07.15*** join/#asterisk kharwell (kharwell@nat/digium/x-qcxdvlahaewhmzri)
14:14.57*** join/#asterisk fornax (~fornax@p548FFD8D.dip0.t-ipconnect.de)
14:23.57*** join/#asterisk sekil (~sekil@109-92-28-226.static.isp.telekom.rs)
14:28.44*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
14:38.33DovidAnyone here from Germany?
14:39.41*** join/#asterisk newtonr (RustyNewto@nat/digium/x-fgebahvzhpydweli)
14:39.41*** mode/#asterisk [+o newtonr] by ChanServ
14:42.35WIMPyA good question for #asterisk-de
14:43.22WIMPyAnd you kow ...
14:43.27WIMPy~ask
14:43.28infobotQuestions in the channel should be specific, informative, complete, concise, and on-topic.  Don't ask if you can ask a question first.  Don't ask if a person is there; just ask what you intended to ask them.  Better questions more frequently yield better answers.  We are all here voluntarily or against our will.
14:53.19*** join/#asterisk andresmujica (~andresmmu@ubuntu/member/andresmujica)
14:59.07*** join/#asterisk s14ck (~s14ck@186.4.180.27)
15:22.05*** join/#asterisk anthm (~anthm@freeswitch/developer/anthm)
15:25.59*** join/#asterisk hehol (~hehol@gatekeeper.loca.net)
15:42.13*** join/#asterisk fornax (~fornax@p548FFD8D.dip0.t-ipconnect.de)
15:44.09*** join/#asterisk kalantas12345 (~root@ppp046177008148.access.hol.gr)
15:44.47*** part/#asterisk kalantas12345 (~root@ppp046177008148.access.hol.gr)
15:48.09*** join/#asterisk jms77 (45c9abe9@gateway/web/cgi-irc/kiwiirc.com/ip.69.201.171.233)
15:50.48*** join/#asterisk pa (~pa@unaffiliated/pa)
15:57.35*** join/#asterisk [NC] (~nc@rv1.sabius.net)
16:09.11*** join/#asterisk pa (~pa@unaffiliated/pa)
16:10.58*** part/#asterisk cervajs2 (~cervenka@212.71.138.50)
16:18.59*** join/#asterisk Zogot (~Adium@217.46.116.154)
16:24.50*** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl)
16:26.05*** join/#asterisk jms77 (45c9abe9@gateway/web/cgi-irc/kiwiirc.com/ip.69.201.171.233)
16:27.35*** join/#asterisk jms77 (45c9abe9@gateway/web/cgi-irc/kiwiirc.com/ip.69.201.171.233)
16:33.14*** join/#asterisk n8ideas (~n8ideas@64.55.128.243)
17:03.04*** join/#asterisk jms77 (45c9abe9@gateway/web/cgi-irc/kiwiirc.com/ip.69.201.171.233)
17:23.40*** join/#asterisk italorossi (~Adium@187.60.66.11)
17:30.35*** join/#asterisk c0rnoTa (~c0rnoTa@mail.fibex.su)
17:30.36*** part/#asterisk c0rnoTa (~c0rnoTa@mail.fibex.su)
17:36.43*** join/#asterisk fexilal (~fexilal@unaffiliated/felixal)
17:36.51fexilalHi
17:37.18fexilalI got a little asterisk appliance with 24 fxs ports 8 fxo ports for trunks
17:38.03fexilalit immediately selects a trunk line when you press 9 on a phone connected to the fxs port, but when you press 9 on a sip phone, it takes 5 seconds for the dial tone to begin ..
17:38.34fexilalanyone else face this issue and know how to fix it?
17:39.01[TK]D-Fenderit isn't an "issue"
17:39.14[TK]D-Fenderyour SIP phone decides when it consdier you "done" with what you are dialing
17:39.30[TK]D-FenderAnd hitting 9 and waiting for a tone is a horrible crap idea from the 80's
17:39.45[TK]D-FenderYou'll also end up getting no CDRs or ability to restrict calling, etc
17:40.31fexilalyes I thought it would be waiting for more digits after 9
17:40.37fexilaland yes it's a horrible crap idea
17:40.59fexilalbut I see no other button to select a line on this very cheap phone
17:42.51fexilaloh, there is one
17:42.57fexilaldamn, it works perfectly
17:45.25fexilalsorry, I was living under a rock using NEC and Panasonic systems for quite some time.
17:47.13[TK]D-FenderYou also don't normall push a "button" to get a "line".
17:47.24[TK]D-FenderYou dial a number and your patterns decide where things go based on your dialplan
17:51.27fexilalI see
17:56.45*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:06.58*** join/#asterisk Dovid (~dovid@static-173-63-105-210.nwrknj.fios.verizon.net)
18:10.01WIMPyWhich off course is an even more horrible idea as it will only allow you to call certain parts of the world.
18:11.45[TK]D-FenderThat doesn't sound implicit at all...
18:13.13WIMPyAbout half of all countries don't have any rules at all.
18:14.52*** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta)
18:16.21*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:24.28*** join/#asterisk jms77 (45c9abe9@gateway/web/cgi-irc/kiwiirc.com/ip.69.201.171.233)
18:28.42*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:38.01*** part/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
18:41.54*** join/#asterisk Zogot (~Adium@217.46.116.154)
18:43.10*** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-zifyayzyqffmusvn)
18:49.46*** join/#asterisk Dpunkt (~Dpunkt@p5DE5E7E9.dip0.t-ipconnect.de)
18:51.59*** join/#asterisk bulkorok (~Adium@92.206.232.97)
18:53.59*** join/#asterisk slav3_kitten (~frankthet@unaffiliated/slav3-kitten/x-0866809)
19:07.00*** join/#asterisk mirela666 (~Mirko@D57E13CA.static.ziggozakelijk.nl)
19:10.13*** join/#asterisk marceloamorim (~marcelo@189-90-192-72.isimples.com.br)
19:13.32*** join/#asterisk BBone_ (~Thunderbi@s75-157-233-55.bc.hsia.telus.net)
19:30.15*** join/#asterisk schweegi (b0c69d9c@gateway/web/freenode/ip.176.198.157.156)
19:30.57schweegihello ! please help me - how can i block easily and quick an external ip address so that this ip can't connect to asterisk ?
19:32.18revealfail2ban or /etc/hosts.deny
19:34.06*** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net)
19:34.30*** part/#asterisk slav3_sergal (~frankthet@unaffiliated/slav3-kitten/x-0866809)
19:36.36schweegireveal: i just forget this option /etc/hosts.deny ... thanks for remind! :)
19:36.47revealnp
19:47.33*** join/#asterisk chandoo (~chandoo@m9e2d36d0.tmodns.net)
19:50.51*** part/#asterisk WangDang (~wangdang@107-179-146-191.cpe.teksavvy.com)
20:00.12WIMPydoes Asterisk care about /etc/hosts.*?
20:00.56*** join/#asterisk Zogot (~Adium@217.46.116.154)
20:02.29*** join/#asterisk ChkDigit (~u388mw@74.3.144.66)
20:13.57revealwell itll ad it
20:14.08revealbut i guess a better alternative is iptables to drop them
20:14.59revealor in sip.conf add the permit= and deny= options
20:15.49revealhttp://blog.ls20.com/securing-your-asterisk-voip-server-with-iptables/
20:25.31*** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au)
20:27.50*** join/#asterisk hecatae (~hecatae@host-89-240-2-225.static.as13285.net)
20:59.46*** join/#asterisk [TK]D-Fender (~joe@64.235.216.2)
21:01.46*** join/#asterisk CeBe1 (~CeBe@xd9beef91.dyn.telefonica.de)
21:04.01*** join/#asterisk sruffell (~sruffell@asterisk/the-kernel-guy/sruffell)
21:04.01*** mode/#asterisk [+o sruffell] by ChanServ
21:04.12*** join/#asterisk kharwell (~kharwell@216.207.245.55)
21:11.32*** join/#asterisk newtonr (~RustyNewt@216.207.245.55)
21:11.32*** mode/#asterisk [+o newtonr] by ChanServ
21:21.21*** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson)
21:21.21*** mode/#asterisk [+o putnopvut] by ChanServ
21:37.44*** join/#asterisk Zogot (~Adium@217.46.116.154)
21:57.06*** join/#asterisk [NC] (~nc@rv1.sabius.net)
22:11.16*** join/#asterisk Zogot (~Adium@185.21.52.251)
22:25.51*** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net)
22:38.46*** join/#asterisk xochilpili (~xochilpil@unaffiliated/xochilpili)
22:38.48xochilpilihi all
22:39.40xochilpilihow can i set permissions over extensions? i mean, i have in dialplan 9 for outside calls, but i dont want to anyone can use it, also, is there a way to ask for a password in order to use it?
22:40.02WIMPyUse contexts.
22:40.12WIMPyIt's all about dialplan.
22:40.22xochilpiliWIMPy, with contexts?
22:40.44xochilpilido you know some kind of link manual, to follow?
22:40.45WIMPyContexts of your dialplan.
22:40.53WIMPy~book
22:40.53infobotAsterisk: The Definitive Guide, 4th Edition (ISBN 1-4493-3242-0) available at http://oreilly.com/catalog/0636920025894 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and a version is available for reading online at http://www.asteriskdocs.org/ or see ~buybook
22:41.48xochilpiliWIMPy, this kind of "operation/configuration" how is it called?
22:42.14WIMPycontexts
22:51.44xochilpiliWIMPy, in the book, they have this example: [TestMenu] < context > but in dialplan they have this: GoTo(TestMenu,start,1) << is this means that GoTo Application  redirects to an other context?
22:52.42xochilpilifor example, if i have [context_one] and [context_two] with GoTo i can jump between any context in dialplan?
22:54.02WIMPyCorrect
22:55.47*** join/#asterisk sruffell (sruffell@asterisk/the-kernel-guy/sruffell)
22:55.47*** mode/#asterisk [+o sruffell] by ChanServ
22:56.24*** join/#asterisk kharwell (kharwell@nat/digium/x-rmdabqyyltwxknsv)
22:56.54xochilpiliWIMPy, so, please tell me if im right: if i have a variable in [globals] like PWD=123; then in a context [local-calls] i have one extension: exten => 100,1,Answer() same => n,Background(enter-password) same => n, (here how can i match the password variable and the input user) ??
22:57.21xochilpilithen same => n,GoTo(outgoing-calls) ?
22:58.38WIMPyBackground works together with WaitExten. I think it's easier to use the Read() application to ask for tha password.
22:58.53WIMPyYou can then compare it in a GotIf()
22:59.54xochilpiliWIMPy, Read is another application; but where does Read() stored the input to be compared with GotIf()?
23:00.31WIMPyIn a variable. Check the documentation for Read().
23:00.47xochilpiliGotIf(read()==${PWD})?
23:00.48WIMPy'core show application read'
23:01.07xochilpilithanks!
23:05.56xochilpiliWIMPy, what does means "h" and "s"?
23:06.44xochilpiliThe "s" extension is used when there is no known called number in the context used. <<
23:10.19WIMPyAnd h is the hangup extension. There should be spmething on special extensions in the book.
23:10.38WIMPyThere's also wiki.asterisk.org for mor specific stuff.
23:13.03*** join/#asterisk protem (~protem@unaffiliated/protem)
23:22.16*** part/#asterisk kharwell (kharwell@nat/digium/x-rmdabqyyltwxknsv)
23:31.11xochilpiliWIMPy, i have another doubt
23:34.23xochilpilifor example, i create a new extension for testing; exten => *44,1,Read(input,vm-password) exten => *44,n,Gotoif($["$PWD"="$input"]?ok:bad) exten => *44,n(ok),Goto(gotoif-context)... and then n(bad) and then hangup; but in [gotoif-context] i have: exten => s,1,Answer() exten => s,n,NoOp("testing") exten => s,n,Hangup()
23:35.07xochilpiliexten => s, is not executing NoOp("testing") << why is that?
23:36.58xochilpilialso in the same context [default] where *44 is created, i put a exten => s, 1, NoOp("executing s from ${EXTEN}") but also is not displaying anything in Cli <
23:40.48*** join/#asterisk superscrat (~asanders@173-21-89-217.client.mchsi.com)
23:43.08*** join/#asterisk kayatwork (~kayfox@orca.zerda.net)
23:52.20WIMPyFirst of all the {} are not optional like in bash.
23:52.37WIMPyAnd the s extension will only be used for calls that have no destination.
23:52.56WIMPyLike an analogue phone connected to a PCI card being picked up.
23:59.39*** join/#asterisk fstd (~fstd@unaffiliated/fisted)

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