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.28 | n3ob | . |
01:17.09 | WIMPy | ! |
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.15 | moe` | hey guys ... trying to setup CallerID |
02:01.19 | moe` | <- dumbass |
02:04.13 | MaliutaLap | moe`: inbound, or outbound? |
02:05.24 | WIMPy | Definitely too little information. |
02:06.27 | *** join/#asterisk italorossi (~Adium@177.193.104.31) |
02:06.30 | MaliutaLap | WIMPy: "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.34 | moe` | um, non root users using asterisk -r or asterisk -x |
03:44.36 | moe` | suggestions? |
03:45.30 | moe` | member of the asterisk group which has ... oh crap, only read not write to the asterisk filesystem socket |
03:53.32 | moe` | 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.32 | Janos | hey 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.37 | Janos | this 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.41 | Janos | this is an old card, lspci says TE405P/TE410P 1 Gen |
04:35.52 | *** join/#asterisk robink_ (~quassel@unaffilated/robink) |
04:43.00 | moe` | yeah, found it (perms settings for the asterisk.ctl in asterisk.conf) |
04:44.24 | elijah_ | 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.07 | elijah_ | or how can you have it connect from it's ipv4 address instead |
04:52.21 | WIMPy | Janos: 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.09 | Janos | WIMPy, what do you mean ok ? |
06:32.54 | *** join/#asterisk bulkorok (~Adium@89.245.151.228) |
06:34.28 | malinens | [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.19 | rie | hello 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.57 | wyoung | rie: oh noes |
11:42.35 | rie | :( |
11:42.39 | *** join/#asterisk darkbasic (~quassel@niko.linuxsystems.it) |
11:44.31 | rie | SIP 401 Unauthorized |
11:47.03 | rie | wyoung, 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.09 | dummys | hi, trying to make work Asterisk with openBTS and when I type odbc show in asterisk console -> segfault |
11:56.16 | dummys | anyone has an idea about this issue ? |
11:57.17 | wyoung | rie: T.38 |
11:59.21 | dummys | when I start asterisk I see that he is correctly connected to odbc sqlite3 |
11:59.39 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
12:01.27 | dummys | in the log I have Realtime mapping for "sippeers" fount to engine "odbc" but the engine is not available |
12:01.30 | haooliveira | exit |
12:03.36 | rie | CLI> 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.25 | carrar | Mornign 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.56 | marceloamorim | guys, 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.30 | marceloamorim | but I'm getting the trunk=SIP/199999@192.168.0.1 |
13:40.40 | marceloamorim | every letter is replaced to the first digit, should I use another funcion? |
13:41.10 | [TK]D-Fender | Show 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.49 | marceloamorim | I misunderstood the description from the replace function, "may be either empty or contain ONE character". |
13:42.50 | marceloamorim | sorry |
13:42.54 | *** join/#asterisk putnopvut (putnopvut@asterisk/master-of-queues/mmichelson) |
13:42.54 | *** mode/#asterisk [+o putnopvut] by ChanServ |
13:44.05 | wdoekes | marceloamorim: you may want STRREPLACE ? |
13:44.09 | [TK]D-Fender | yup |
13:44.14 | wdoekes | https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_STRREPLACE |
13:46.53 | marceloamorim | there is the function SPRINTF too wdoekes, ty sir |
13:47.04 | marceloamorim | ty [TK]D-Fender too |
13:48.52 | marceloamorim | I replace the sql to 'SIP/1%s@192.168.0.1' and use the Set(trunk=${SPRINTF(${trunk},${EXTEN})}) |
13:50.41 | marceloamorim | then 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-Fender | wdoekesmarceloamorim: you may want STRREPLACE ? <- |
14:04.04 | marceloamorim | [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.33 | Dovid | Anyone 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.35 | WIMPy | A good question for #asterisk-de |
14:43.22 | WIMPy | And you kow ... |
14:43.27 | WIMPy | ~ask |
14:43.28 | infobot | Questions 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.51 | fexilal | Hi |
17:37.18 | fexilal | I got a little asterisk appliance with 24 fxs ports 8 fxo ports for trunks |
17:38.03 | fexilal | it 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.34 | fexilal | anyone else face this issue and know how to fix it? |
17:39.01 | [TK]D-Fender | it isn't an "issue" |
17:39.14 | [TK]D-Fender | your SIP phone decides when it consdier you "done" with what you are dialing |
17:39.30 | [TK]D-Fender | And hitting 9 and waiting for a tone is a horrible crap idea from the 80's |
17:39.45 | [TK]D-Fender | You'll also end up getting no CDRs or ability to restrict calling, etc |
17:40.31 | fexilal | yes I thought it would be waiting for more digits after 9 |
17:40.37 | fexilal | and yes it's a horrible crap idea |
17:40.59 | fexilal | but I see no other button to select a line on this very cheap phone |
17:42.51 | fexilal | oh, there is one |
17:42.57 | fexilal | damn, it works perfectly |
17:45.25 | fexilal | sorry, I was living under a rock using NEC and Panasonic systems for quite some time. |
17:47.13 | [TK]D-Fender | You also don't normall push a "button" to get a "line". |
17:47.24 | [TK]D-Fender | You dial a number and your patterns decide where things go based on your dialplan |
17:51.27 | fexilal | I 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.01 | WIMPy | Which 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-Fender | That doesn't sound implicit at all... |
18:13.13 | WIMPy | About 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.57 | schweegi | hello ! 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.18 | reveal | fail2ban 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.36 | schweegi | reveal: i just forget this option /etc/hosts.deny ... thanks for remind! :) |
19:36.47 | reveal | np |
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.12 | WIMPy | does 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.57 | reveal | well itll ad it |
20:14.08 | reveal | but i guess a better alternative is iptables to drop them |
20:14.59 | reveal | or in sip.conf add the permit= and deny= options |
20:15.49 | reveal | http://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.48 | xochilpili | hi all |
22:39.40 | xochilpili | how 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.02 | WIMPy | Use contexts. |
22:40.12 | WIMPy | It's all about dialplan. |
22:40.22 | xochilpili | WIMPy, with contexts? |
22:40.44 | xochilpili | do you know some kind of link manual, to follow? |
22:40.45 | WIMPy | Contexts of your dialplan. |
22:40.53 | WIMPy | ~book |
22:40.53 | infobot | Asterisk: 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.48 | xochilpili | WIMPy, this kind of "operation/configuration" how is it called? |
22:42.14 | WIMPy | contexts |
22:51.44 | xochilpili | WIMPy, 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.42 | xochilpili | for example, if i have [context_one] and [context_two] with GoTo i can jump between any context in dialplan? |
22:54.02 | WIMPy | Correct |
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.54 | xochilpili | WIMPy, 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.21 | xochilpili | then same => n,GoTo(outgoing-calls) ? |
22:58.38 | WIMPy | Background works together with WaitExten. I think it's easier to use the Read() application to ask for tha password. |
22:58.53 | WIMPy | You can then compare it in a GotIf() |
22:59.54 | xochilpili | WIMPy, Read is another application; but where does Read() stored the input to be compared with GotIf()? |
23:00.31 | WIMPy | In a variable. Check the documentation for Read(). |
23:00.47 | xochilpili | GotIf(read()==${PWD})? |
23:00.48 | WIMPy | 'core show application read' |
23:01.07 | xochilpili | thanks! |
23:05.56 | xochilpili | WIMPy, what does means "h" and "s"? |
23:06.44 | xochilpili | The "s" extension is used when there is no known called number in the context used. << |
23:10.19 | WIMPy | And h is the hangup extension. There should be spmething on special extensions in the book. |
23:10.38 | WIMPy | There'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.11 | xochilpili | WIMPy, i have another doubt |
23:34.23 | xochilpili | for 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.07 | xochilpili | exten => s, is not executing NoOp("testing") << why is that? |
23:36.58 | xochilpili | also 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.20 | WIMPy | First of all the {} are not optional like in bash. |
23:52.37 | WIMPy | And the s extension will only be used for calls that have no destination. |
23:52.56 | WIMPy | Like an analogue phone connected to a PCI card being picked up. |
23:59.39 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |