00:06.34 | *** join/#asterisk dhorner_mb (~dhorner_m@184.18.44.244) |
00:07.13 | dym | evening! |
00:12.21 | *** join/#asterisk matelko (~ABC@unaffiliated/matelko) |
00:13.42 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
00:18.53 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
00:19.38 | matelko | Hello. I would like to start asterisk in our compaly. Now we have about 5 incoming analog lines to our old analog PBX. Incomming calls are transmitted inside the company by the operator-man. I would like to automate this with the asterisk. I dont know if it is possible to make it like this: I want incomming calls to go on specifig VOIP telephone inside the company. But how to make it? Need I some cooperation from our telephone service operator to a |
00:19.38 | matelko | ctivate some service to do that? What incoming line I need for it - analog or ISDN? Give me an advice please if asterisk is capable of it. Thank you. |
00:20.36 | WIMPy | Use ISDN or VOIP. That will make your life easier. |
00:21.20 | matelko | I think I can use only ISDN of analog for outside connection. |
00:21.23 | dym | agreed. |
00:21.58 | WIMPy | Can't parse that. |
00:22.41 | matelko | what exactly do you mean? |
00:23.08 | WIMPy | I don;t understand your sentence. |
00:23.29 | matelko | ok, I will try again |
00:26.40 | matelko | lets do it simple for example: I need to have 2 ISDN lines for incomming/outgoing calls from our company. In the company will be about 20 VOIP telephones. I want the people from the outside could call directly to any from the 20 inside telephones. |
00:27.15 | WIMPy | Nothing special so far. |
00:27.30 | matelko | thats all |
00:27.59 | matelko | but what will be the number of the telephone? |
00:28.05 | WIMPy | Order lines with DDI and you're done. |
00:28.22 | WIMPy | That's what you configure in your dialplan. |
00:28.59 | matelko | Ahh - it calls DDI? I did not knew that. |
00:29.35 | matelko | Is DDI working with analog or only ISDN lines please? |
00:29.54 | p3nguin | ~ddi |
00:29.54 | infobot | it has been said that ddi is Direct Dialling Inward, URL: http://www.wilco-telephony.co.uk/did.html |
00:29.58 | WIMPy | ISDN only. |
00:30.02 | matelko | ahh |
00:30.12 | matelko | ok, thank you. |
00:31.56 | matelko | So asterisk is capable working with DDI? Sorry, maybe I am asking simple thing but I need it to know - because of buying proper Digium card. |
00:32.10 | WIMPy | yes |
00:32.45 | matelko | ok, thank you very much. Now I am in the picture. :) |
00:40.51 | WIMPy | Hmm. |
00:41.05 | WIMPy | Ist there any way to make dahdi send a 'sending complete'? |
00:41.47 | *** join/#asterisk dijib (~root@bas10-kitchener06-1176001935.dsl.bell.ca) |
00:41.53 | dijib | guys whats going on? |
00:42.18 | WIMPy | If I knew, I'd fix it. |
00:44.03 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
00:45.35 | dijib | SeRi: are you around? |
00:47.36 | *** join/#asterisk ChannelZ (channelz@burner.com) |
00:55.19 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
00:55.44 | dijib | what the heck boys |
00:55.49 | dijib | nothing going on tonight |
01:01.05 | honree | all sorts |
01:01.22 | WIMPy | Lots of fishy things. |
01:01.30 | honree | r! |
01:01.46 | dijib | what kindof fishy things |
01:01.57 | dijib | the sabbah is over |
01:02.06 | dijib | deamons are roaming. |
01:02.20 | honree | roamd |
01:02.27 | honree | :D |
01:02.28 | dijib | lock your windows close your doors, biggy smalls. uhhm m m p |
01:02.32 | WIMPy | calls losing their number, extremely slow call processing and stuck channels. |
01:02.47 | WIMPy | And missing audio. |
01:03.06 | honree | one way audio with people who arent actually there |
01:03.12 | dijib | losing calleridnum? whats tops saying on cpu? |
01:03.23 | dijib | missing audio in call? |
01:03.39 | WIMPy | No losing the called number. |
01:03.50 | WIMPy | CPU is >90% idle. |
01:03.54 | dijib | like not going through |
01:04.03 | WIMPy | Still it looks like it's too slow. |
01:04.34 | WIMPy | And I think it's the faster box that's too slow. |
01:04.59 | dijib | whats top saying for loads? |
01:05.15 | WIMPy | Next to nothing. |
01:05.21 | dijib | maybe you have a locked process or something,. |
01:05.25 | dijib | bad memory soemwhere |
01:05.49 | WIMPy | Nope did a memtest yesterday before installing. |
01:10.50 | *** join/#asterisk zerohalo (~zerohalo@74.60.136.128) |
01:12.14 | dijib | whats the system? |
01:12.18 | dijib | not that that matters |
01:12.22 | dijib | all builds good? |
01:12.32 | WIMPy | Athlon64 2.2G |
01:12.37 | dijib | platform. |
01:12.52 | WIMPy | Linux |
01:12.54 | dijib | this is a production box |
01:12.56 | dijib | ? |
01:13.19 | WIMPy | And no, there's definitely something different about that box. But I have NFI, what or why. |
01:13.33 | WIMPy | Not yet. |
01:15.04 | dijib | no clue what nfi is |
01:15.07 | dijib | and cant find it |
01:15.13 | dijib | im guessing network balancing? |
01:15.26 | WIMPy | "No f***ing idea" |
01:15.31 | dijib | ahh k |
01:15.51 | dijib | did you build or was it a package? |
01:16.09 | WIMPy | All built. |
01:16.10 | dijib | did you supress dependencies? |
01:16.31 | dijib | or were all satisfied |
01:29.12 | dijib | ? |
01:29.41 | WIMPy | It was all from source. No chance to skip dependencies there. |
01:30.07 | WIMPy | But I'm leaving that part for later. |
01:31.37 | *** join/#asterisk ChannelZ (channelz@burner.com) |
01:41.34 | *** join/#asterisk timahvo1 (~rogue@41.90.212.198) |
01:43.27 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
01:53.51 | SeRi | waz up dijib |
01:57.16 | *** join/#asterisk brookshi1e (mbrooks@hijacked.us) |
01:57.16 | *** join/#asterisk TJNII (~TJNII@tjnii.com) |
01:57.18 | *** join/#asterisk Bryanstein (~Bryanstei@shellium/admin/bryanstein) |
01:57.18 | *** join/#asterisk phix (~threat@123-243-44-131.static.tpgi.com.au) |
01:57.33 | *** join/#asterisk tzanger (tzanger@wallace.mixdown.ca) |
01:58.12 | *** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net) |
02:00.06 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
02:04.31 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
02:06.44 | *** join/#asterisk saliak (~kailas@pool-96-238-35-109.prvdri.fios.verizon.net) |
02:12.48 | *** join/#asterisk agrotemp (~Agro@108-79-20-223.lightspeed.hstntx.sbcglobal.net) |
02:13.26 | agrotemp | I have been writing a few applications for Asterisk recently, but I wanted to know how to check the frequency of something that is been received from the caller in a channel? Can anyone help me with this? |
02:13.47 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
02:15.07 | *** join/#asterisk budster (~brhatigan@cpe-069-134-227-054.nc.res.rr.com) |
02:22.18 | *** join/#asterisk master_of_master (~master_of@p57B520E0.dip.t-dialin.net) |
02:30.04 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
02:36.21 | dijib | SeRi: you missed me before |
02:38.57 | dijib | still havnt done anything about that dialplan |
02:54.20 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
03:00.52 | SeRi | waz up dijib |
03:03.58 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
03:11.27 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
03:22.46 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
03:30.39 | *** join/#asterisk saliak (~kailas@ip68-9-228-184.ri.ri.cox.net) |
03:33.25 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-39-111.inter.net.il) |
03:35.41 | dijib | nothings up SeRi, im in the man case |
03:35.43 | dijib | cave |
03:35.49 | dijib | thinking about puffin |
03:36.09 | dijib | just got off the phone, god how i love my phone |
03:37.00 | dijib | is this right? GotoIf(${DB(callback/number = "${CALLERID(num)}"]?callback,1) |
03:37.03 | autofsckk | do you have configured skype and gtalk in your asterisk box? |
03:37.26 | dijib | not at all. you? |
03:37.43 | autofsckk | autofsckk: nop, i want to test it, see how it goes |
03:38.08 | dijib | might be interesting |
03:38.35 | dijib | actually i would like to join you for the skype portion of your endevour. might aswell go full fledged |
03:38.58 | autofsckk | i have to try many things that i havent done, like connect 2 ast boxes, or conference room |
03:39.11 | dijib | but first i would like when your calleridnum is in my callback database a call originated to your number after specified time and then call my phone |
03:39.21 | dijib | see p3 i said phone |
03:40.16 | autofsckk | im a newbie :D |
03:42.30 | *** join/#asterisk SeRi (~wtf@c-76-31-169-54.hsd1.tx.comcast.net) |
03:48.55 | dijib | is this line right? |
03:49.00 | dijib | same => n,Originate(Local/1@phones,exten,phones,${DB(callback/number)},1); |
03:54.17 | *** join/#asterisk corretico (~luis@201.201.44.82) |
04:30.47 | *** join/#asterisk radic (~radic@dslb-094-216-242-238.pools.arcor-ip.net) |
04:51.10 | SeRi | p3nguin: you in? |
04:53.25 | *** join/#asterisk dijib (~root@bas10-kitchener06-1176001935.dsl.bell.ca) |
04:53.31 | dijib | seri wow. i suck |
04:57.09 | SeRi | ? |
04:57.13 | SeRi | what happen dijib ? |
04:58.50 | *** join/#asterisk ChannelZ (channelz@burner.com) |
04:59.03 | [TK]D-Fender | [22:37]dijibis this right? GotoIf(${DB(callback/number = "${CALLERID(num)}"]?callback,1) <- nope |
04:59.50 | [TK]D-Fender | dijib: GotoIf("${DB(callback/number)}" = "${CALLERID(num)}"]?callback,1) |
05:01.56 | SeRi | damn boxing... I am nervous! |
05:03.36 | *** part/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net) |
05:04.49 | *** join/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net) |
05:09.28 | p3nguin | seri: Yes, just woke up. Time for more pills! |
05:12.17 | dijib | wtf more pills... |
05:12.22 | dijib | insanity |
05:12.28 | dijib | i think seri is sleeping also |
05:34.08 | *** join/#asterisk AmirBehzad (~behzad@87.248.136.180) |
05:36.10 | ChannelZ | yawns |
05:40.28 | *** join/#asterisk dieno (273025e4@gateway/web/freenode/ip.39.48.37.228) |
05:40.37 | dieno | Hello ever1 |
05:40.47 | dieno | does any one of you have experience in SIP TLS |
05:51.09 | *** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com) |
05:51.43 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
05:51.52 | dieno | helo........... |
05:52.02 | dieno | anyone with SIP TLS experience |
05:52.58 | dijib | guys whats wrong with this? |
05:53.01 | dijib | same => n,GotoIf(${DB(callback/number = "${CALLERID(num)}"]?callback,1); |
05:53.12 | dijib | and no dieno |
05:54.18 | sawgood | Would using a http API or a TCP API from Asterisk to a GSM (be the better solution)? |
05:54.51 | dieno | dijib i think curly bracket is missing |
05:55.50 | WIMPy | dijib: [TK]D-Fender answered that. |
05:56.03 | dijib | i think your right |
05:56.08 | dijib | did he? |
05:56.12 | dijib | way ^^ ? |
05:56.24 | dijib | thanks [TK]D-Fender |
05:56.25 | ChannelZ | you're missing a square bracked |
05:56.26 | dijib | dieno: |
05:56.28 | ChannelZ | bracket |
05:56.35 | WIMPy | sawgood: So far http uses tcp, but what are you actually on about? |
05:56.38 | dijib | you mean } |
05:56.51 | dieno | yes |
05:56.56 | ChannelZ | no |
05:57.01 | dijib | lol |
05:57.04 | WIMPy | dieno: Didn't really work for me. |
05:57.08 | dijib | same => n,GotoIf(${DB(callback/number} = "${CALLERID(num)}"]?callback,1); |
05:57.10 | dieno | :D |
05:57.13 | dieno | ok |
05:57.14 | dijib | there thats where it stands |
05:57.27 | sawgood | from a GSM to Asterisk (is the goal) |
05:57.33 | dijib | yikes i am missing a quare |
05:57.34 | sawgood | sending SMS ... (sorry) |
05:57.47 | sawgood | SMS from a GSM to/from an Asterisk box ... |
05:58.40 | dieno | hmm i think you are missing lots of brackets :D |
05:58.45 | WIMPy | sawgood: That obviousely depends on what options you have. |
05:59.15 | sawgood | well, I have both ... |
05:59.47 | sawgood | I can SSH/Telnet (give commands) and/or issue commands from http directly to the box |
05:59.47 | Nugget | telnet is eeeeeeevil! |
06:00.26 | WIMPy | If you want to do it from the dialplan, http via curl should be the easy option. |
06:00.42 | sawgood | I do want to do it from the dialplan (sorry) ... |
06:00.51 | sawgood | thank you, WIMPy |
06:06.20 | SeRi | we won!!!!!!!!! :D |
06:07.20 | dijib | you boxed? |
06:07.22 | dijib | same => n,GotoIf($[DB(callback/number) = "${CALLERID(num)}"]?callback,1); |
06:07.27 | dijib | how am i retarted now? |
06:10.00 | sawgood | What is generally 'really used' to allow some GUI CDR process (added to Asterisk)? |
06:10.21 | sawgood | people want a front end to view all their phone calls ... |
06:10.45 | sawgood | CDR-stats was ok |
06:16.47 | *** join/#asterisk fisted (~fisted@unaffiliated/fisted) |
06:17.06 | ChannelZ | Does your database entry callback/number have quotes? |
06:17.37 | ChannelZ | and also you need ${} to call the DB function |
06:18.28 | ChannelZ | $[${DB(callback/number)}=${CALLERID(num)}] |
06:19.56 | dijib | it does not have quotes |
06:21.36 | *** join/#asterisk s[X] (~mark@ppp118-208-82-70.lns20.bne4.internode.on.net) |
06:22.46 | ChannelZ | then you either need to compare them both that way, or remove the quotes as I did (which assumes neither item will have spaces in them) |
06:22.49 | dijib | wait i need ("callback/entry") |
06:22.50 | dijib | ? |
06:23.17 | ChannelZ | no |
06:23.28 | ChannelZ | "${DB(callback/number)}" |
06:31.54 | *** join/#asterisk vpopov (~happylife@46.251.80.89) |
06:35.28 | *** join/#asterisk vinhdizzo (~vinh@pool-173-60-112-55.lsanca.fios.verizon.net) |
06:39.25 | dijib | GotoIf($["${DB(callback/number)}" = "${CALLERID(num)}"]?callback,1); |
06:39.28 | dijib | still no love |
06:39.32 | SeRi | :( |
06:39.36 | dijib | lol |
06:39.40 | SeRi | still at it? |
06:39.49 | dijib | yeah apparently im retarted |
06:42.27 | dijib | i dont get it |
06:43.23 | SeRi | one sec |
06:58.58 | *** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl) |
06:59.17 | dijib | SeRi: why is texas throwing storms at us? |
06:59.17 | Nugget | Don't mess with Texas. |
07:01.28 | *** join/#asterisk irroot (~gregory@197.170.23.227) |
07:04.29 | dijib | still not grabbing them with same => n,GotoIf($["${DB(callback/number)}" = "${CALLERID(num)}"]?callback,1) |
07:05.41 | ChannelZ | well syntactically it makes sense but whether or not your DB is right, or your caller ID, etc.. we can only guess. What is the actual problem? What do you get in the console? |
07:06.09 | dijib | database put callback 5555551234 "test" |
07:06.15 | dijib | is what i put essentially |
07:07.22 | ChannelZ | then your database entry is really DB(callback/5555551234) then and not DB(callback/number) |
07:07.46 | dijib | lol |
07:07.57 | ChannelZ | do "database show" and you'll see |
07:07.58 | dijib | i need the ${CALLERID(num)} |
07:08.04 | dijib | variable |
07:09.31 | dijib | same => n,GotoIf($["${DB(callback/${CALLERID(num)})}" = "${CALLERID(num)}"]?callback,1) |
07:09.34 | dijib | now. |
07:10.02 | dijib | wait a min. |
07:12.19 | dijib | nope. im boned. |
07:12.29 | dijib | and cold. and getting tired |
07:12.34 | dijib | might call it a night |
07:14.03 | dijib | /callback/600 : Test |
07:14.58 | dijib | ill check in the morning. |
07:15.00 | dijib | gnite all. |
07:15.11 | dijib | how do i set my mood as away? |
07:18.08 | *** join/#asterisk oej (~olle@87.96.134.129) |
07:20.36 | ChannelZ | we can't help you if we don't even know what you're doing |
07:21.14 | ChannelZ | but "Test" does not equal "600" if that's what you're complaining about |
07:29.32 | SeRi | I cant get pass that.... It puzzles me when people does not understand what they are doing.... |
07:29.54 | SeRi | and go around just copy and paste what they see |
07:30.13 | SeRi | I am not saying dijib does that I am saying in general... |
07:30.23 | SeRi | any who all... g/n! |
07:30.28 | dijib | i thought that entry was valid |
07:30.49 | dijib | so how do i pull the fild i want |
07:30.50 | dijib | ? |
07:34.49 | ChannelZ | We can't read minds, I have no idea what you want. |
07:35.53 | ChannelZ | my *guess* is perhaps you want GotoIf($[${DB(callback/${CALLERID(num)})}=Test?callback,1) |
07:36.08 | dijib | i just want to check sgsindy s list like blacklist |
07:36.18 | ChannelZ | though you maybe want to do something like set the database to 1 instead of Test but either way |
07:37.25 | dijib | GotoIf($[${DB(callback/${CALLERID(num)})}=${CALLERID(num)}?callback,1) |
07:37.27 | dijib | ? |
07:37.40 | ChannelZ | No I said what I meant |
07:38.01 | ChannelZ | I think what you're not understanding is that the AstDB works as family/key=value |
07:38.27 | ChannelZ | so callback/${CALLERID(num)} (in your case) is like the name of the database entry |
07:38.31 | ChannelZ | and the value is something else |
07:38.39 | ChannelZ | Test in your case above |
07:39.38 | ChannelZ | to assuming CALLERID(num) is 600, your example above is comparing the value of callback/600 to 600. But you show the value of callback/600 as Test: |
07:39.42 | ChannelZ | <dijib> /callback/600 : Test |
07:40.31 | ChannelZ | a better way to think/do it is Set(DB(blacklisted/${CALLERID(num)}=1) |
07:41.45 | ChannelZ | then GotoIf($[${DB(blacklisted/${CALLERID(num)})}=1]?numisblacklisted,1) |
07:42.57 | ChannelZ | or whatever context/exten/priority but for the purposes of example.. |
07:52.07 | *** join/#asterisk FainaUkraina (~Gene@203.145.92.166) |
07:52.31 | *** join/#asterisk irroot (~gregory@197.109.13.96) |
08:33.21 | p3nguin | seri: What did you win? |
08:33.39 | *** join/#asterisk davlefou (~david@196.203.26.213) |
08:34.28 | *** join/#asterisk dieno (27309ba2@gateway/web/freenode/ip.39.48.155.162) |
08:38.58 | *** join/#asterisk mindCrime (~chatzilla@cpe-076-182-089-009.nc.res.rr.com) |
08:51.08 | p3nguin | Why are people so weird? http://lists.freebsd.org/pipermail/freebsd-chat/2011-November/006642.html |
08:52.23 | *** join/#asterisk LiuYan1 (~LiuYan@222.125.130.16) |
08:55.48 | *** join/#asterisk Akuma (~Akuma@modemcable131.103-179-173.mc.videotron.ca) |
09:00.54 | *** join/#asterisk xpot (~xpot@166-70-100-198.ip.xmission.com) |
09:06.12 | *** join/#asterisk fisted_ (~fisted@unaffiliated/fisted) |
09:19.07 | *** join/#asterisk bluregard (~mattbrei@c-98-228-3-34.hsd1.il.comcast.net) |
09:19.09 | bluregard | hello |
09:21.07 | bluregard | is there a way to set a range of values for a conditional? like = 1-5 to say either 1 2 3 4 or 5? |
09:31.06 | *** join/#asterisk endemic (~endemic@2001:49f0:400e::5) |
09:36.45 | *** join/#asterisk Naikrovek (~mbluth@unaffiliated/naikrovek) |
09:38.32 | *** join/#asterisk troyt (~troyt@c-24-10-222-127.hsd1.ut.comcast.net) |
09:45.32 | ChannelZ | bluregard: yeah.. <, >, <= and >= are all valid expressions.. & for logical AND and | for logical OR, but you have to 'nest' them.. like $[ $[whatever>=1] & $[whatever<=5] ] |
10:04.40 | bluregard | Channelz: yeah, I know how to do the logic part, I just can't figure out how to specify a range of values. |
10:05.05 | *** join/#asterisk Cain (~Geek@unaffiliated/cain) |
10:06.52 | ChannelZ | I just showed you |
10:08.00 | ChannelZ | "if whatever is greater than or equal to 1, AND if whatever is less than or equal to 5" is 1-5... right? |
10:08.37 | bluregard | yeah ok, so there's no way to just say 1-5 or 1:5 like regex? |
10:12.06 | ChannelZ | well there are regex expressions too but those are character comparisons, not values. |
10:17.53 | bluregard | really all I'm trying to do is simulate random hangups to test an app i'm writing. I was going to just use the last digit of the number dialed, if its between 1 and 5 go to a hangup label. I had forgot about the RAND() func so GotoIf($["${$RAND(0,100)}" < "75"]?:hangup) should do it 75% of the time right? |
10:20.16 | ChannelZ | remove the quotes, compare values not strings |
10:20.21 | *** join/#asterisk AmirBehzad (~behzad@87.248.136.180) |
10:21.26 | bluregard | around the 75? or all together? |
10:21.45 | *** join/#asterisk timahvo1 (~rogue@41.81.7.129) |
10:22.42 | ChannelZ | around the 75 and ${RAND(0,100)} |
10:25.27 | *** join/#asterisk mindCrime (~chatzilla@cpe-076-182-089-009.nc.res.rr.com) |
10:26.43 | bluregard | now all calls are going to the hangup label.. |
10:29.27 | *** join/#asterisk elliot98 (~elliot@unaffiliated/elliot98) |
10:29.34 | elliot98 | hello |
10:29.36 | bluregard | GotoIf($[${$RAND(0,100)} > 75]?:hangup) should select a random number between 0 and 100, if the number is < 75 it goes to the next priority, if its > 75 it goes to the hangup label right? |
10:29.38 | bluregard | hello |
10:29.47 | elliot98 | gives a friendly wave |
10:30.05 | ChannelZ | yes. What random numbers are you getting? |
10:30.39 | elliot98 | there's an odd PRI issue...an incoming call through a particular DID only works once and then DAHDI needs to be reloaded for that DID to work again |
10:30.46 | ChannelZ | oh you have a syntax error |
10:31.04 | ChannelZ | GotoIf($[${RAND(0,100)} > 75]?:hangup) |
10:31.11 | bluregard | oh ok |
10:31.20 | ChannelZ | you had an extra { in before RAND |
10:31.45 | elliot98 | what's going on the PRI/driver? |
10:31.47 | ChannelZ | elliot98: how does it 'not work' after a call? |
10:32.04 | elliot98 | ChannelZ: debug states congestion |
10:32.15 | elliot98 | ChannelZ: response 34 |
10:32.22 | ChannelZ | so it's not hanging up the channel? |
10:32.57 | bluregard | you mean an extra $ ? |
10:33.50 | ChannelZ | no.. $[] is for the expression. ${} is needed to call the RAND function |
10:34.32 | p3nguin | <bluregard> GotoIf($[${$RAND(0,100)} > 75]?:hangup) should select a random number between 0 and 100, if the number is < 75 it goes to the next priority, if its > 75 it goes to the hangup label right? <---- No, if it is greater than 75, it goes to next priority. If it is less than 75, it goes to hangup label. |
10:34.36 | ChannelZ | you had $[${$RAND.... but {$RAND doesn't mean anything |
10:34.47 | ChannelZ | well it does, just not what you want it to |
10:34.48 | elliot98 | ChannelZ: there is nothing in "core show channels", but still should not make a difference, the call should be allowed on another dahdi channel |
10:35.38 | elliot98 | since the call does not enter any sort of dialplan at all, so the 34 response is coming from the PRI/Dahdi driver and not Asterisk |
10:36.30 | bluregard | GotoIf($[${RAND(0,100)} < 75]?:hangup) is working the way I want it |
10:36.35 | elliot98 | this seemed to followed an upgrade from 1.4.37 to 1.4.42 |
10:36.53 | elliot98 | what impact does that have on the DAHDI/LibPRI? |
10:36.57 | *** join/#asterisk ectospasm (~ectospasm@66.172.33.249) |
10:37.04 | p3nguin | That says if it is less than 75, go to next priority; if greater than 75, go to hangup label. |
10:37.37 | bluregard | right, I want to simulate 25% hangup rate |
10:37.47 | p3nguin | You could have also done GotoIf($[${RAND(0,100)} > 75]?hangup) |
10:38.02 | ChannelZ | oh.. you changed the < to > from your first paste. |
10:39.03 | *** join/#asterisk LiuYan (~liu.yan@211.154.128.171) |
10:40.27 | davlefou | hi, |
10:40.41 | bluregard | yeah. And I might end up adding a label for a true eval so I left it :hangup so I can just add something before the : if I need to. |
10:40.42 | p3nguin | < 75]?:hangup is actually going to be 26% |
10:40.44 | elliot98 | I mean, was there any change with DAHDI in the 37-42 upgrade |
10:40.54 | p3nguin | Don't know how precise you need the test to be. |
10:40.58 | *** part/#asterisk AmirBehzad (~behzad@87.248.136.180) |
10:41.02 | bluregard | not that much |
10:41.20 | p3nguin | Then no need to worry about that aspect of it at this time. |
10:41.41 | ChannelZ | elliot98: well DAHDI is DAHDI, not related to Asterisk |
10:41.55 | bluregard | I can always make it 1,100 if that 1% really starts bothering me, but I doubt. |
10:42.05 | ChannelZ | Though who can say if some bug is in * missing a signal or whatnot. |
10:42.45 | p3nguin | You could simply change it to "<= 75" |
10:43.34 | p3nguin | But it all comes down to how important the precision is. |
10:43.43 | ChannelZ | wanders off to bed |
10:45.41 | bluregard | I'm doing originates from AMI to the Local channel and an extension that just counts to 30 using SayNumber. There's no actual devices that the audio is going to, its just asterisk talking to itself. Does it still process the audio the same way it would if it were a sip channel rather than local? |
10:47.28 | p3nguin | Local channels simply provide you the ability to Dial() a location in extensions.conf rather than a device channel. |
10:51.45 | bluregard | right. the channel in the originate is Channel => "local/$dbresults->{number}" . '@test/n' so the [test] context just has an exten => _. which answers and waits 60 seconds. Then originate drops the call into another extension that does the counting with SayNumber. |
10:52.49 | bluregard | my question is how much different is the load on the server using local than it would be during a real call on a sip or whatever channel. |
10:53.02 | *** join/#asterisk LiuYan1 (~LiuYan@222.125.130.16) |
10:54.14 | bluregard | obviously local isn't using any bandwidth like sip will, but for server load alone |
10:54.53 | p3nguin | Local channels will be optimized away, so the added load will be very temporary. |
10:55.09 | p3nguin | But where you use /n, it will remain. |
10:55.15 | p3nguin | not optimized away. |
10:56.06 | bluregard | ok good. so aside from bandwidth not being used I should see similar server loads |
10:56.11 | p3nguin | I don't have an answer for how much load is added when keeping a local channel instead of optimizing at away. |
10:56.21 | bluregard | oh |
10:57.08 | bluregard | well I hope its similar. I did a sip call with 50 locals in progress and didn't have any kind of audio issues. |
10:57.31 | p3nguin | I'm sure it would be a load similar to having one additional sip channel open. |
10:57.51 | p3nguin | One local and one sip, for example, would probably have a load the same as two sip channels. |
10:58.41 | bluregard | I hope so |
10:58.46 | p3nguin | Actually, a local channel probably has less load than a sip channel, since it doesn't do the same type of work. |
10:59.20 | p3nguin | I've never had a desire to do any benchmarking of such things. |
10:59.32 | bluregard | well these locals are just for testing this app. once its in production they'll be sip calls. |
11:00.12 | p3nguin | How many concurrent calls do you intend to have? |
11:00.18 | bluregard | watching top asterisk's cpu usage doesn't really go above 10% with 50 concurrent calls. |
11:00.30 | bluregard | 50 max |
11:00.33 | p3nguin | That's what I was getting around to. |
11:01.17 | p3nguin | When you get into transcoding, that's when you'll see more CPU load. |
11:02.14 | bluregard | which I shouldn't have an issue with. these are going to be 1 sided calls with asterisk sending a recording to a sip channel over gsm. |
11:03.14 | p3nguin | When you say "over gsm," you mean a sip call using the gsm codec? |
11:04.01 | bluregard | yeah, my sip provider uses gsm and I think g.729 |
11:04.08 | p3nguin | If your sound files are also in gsm, and if you are not recording the call, there should be no transcoding. |
11:04.17 | bluregard | exactly |
11:04.56 | bluregard | I'm thinking bandwidth might be my only potential issue |
11:05.28 | p3nguin | I think you're right. |
11:05.43 | p3nguin | What kind of upstream speed do you have? |
11:06.52 | davlefou | hi, i try to use iax2 with softphone, i have this error : |
11:06.53 | davlefou | [Dec 4 12:06:18] WARNING[2552]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown) |
11:07.47 | p3nguin | Are you trying to dial from the softphone or to it from another phone? |
11:07.50 | bluregard | it varies. sometimes I get get 5+ mbps |
11:08.35 | *** join/#asterisk Wiretap7 (~Wiretap@unaffiliated/wiretap) |
11:08.47 | p3nguin | Did you already calculate your bandwidth of a single GSM-encoded call? |
11:09.56 | davlefou | p3nguin: yes |
11:10.20 | p3nguin | "yes" is not a valid answer to the question I asked you. |
11:10.20 | bluregard | no |
11:10.32 | p3nguin | (0507.46) <p3nguin> Are you trying to dial from the softphone or to it from another phone? |
11:10.36 | bluregard | haha |
11:12.29 | *** join/#asterisk AmirBehzad (~behzad@87.248.136.180) |
11:16.26 | *** join/#asterisk endemic (~endemic@2001:49f0:400e::5) |
11:16.39 | *** join/#asterisk BuenGenio (~Gene@cm61-15-218-59.hkcable.com.hk) |
11:17.02 | *** join/#asterisk hehol (~Adium@2a01:198:71d:0:21f:d0ff:fea1:568e) |
11:17.09 | bluregard | its too bad my provider doesn't support IAX. I'd only need a fraction of the bandwidth for trunked IAX as I will SIP. |
11:18.03 | *** join/#asterisk irroot (~gregory@41.52.78.164) |
11:20.18 | p3nguin | Yep. I use IAX2 to my ITSP for that very reason. |
11:20.45 | davlefou | p3nguin: I see! |
11:20.56 | bluregard | what kind of rates do you get? |
11:24.15 | p3nguin | I don't have a high call volume, so I don't get a lot of use out of the trunking feature, but I figured that every little bit of savings helps. I did have 5 Mbps up, but changed to 3 recently. And when I do traffic shaping, I think I'm going to restrict it a little more to improve queuing. |
11:26.37 | *** part/#asterisk bn-7bc (bjarne@pdpc/supporter/active/bn-7bc) |
11:27.07 | bluregard | no cost rates |
11:27.46 | p3nguin | Oh. 1.05 cents/min |
11:27.53 | p3nguin | per channel |
11:29.28 | bluregard | I'm using a LCR rate plan so I get around .005 to .05/min |
11:30.00 | bluregard | rather .005 to .015 |
11:30.20 | bluregard | depending on the rate center I dial. |
11:32.11 | bluregard | what kind of router are you using that you can do traffic shaping? |
11:34.15 | p3nguin | Vyatta |
11:34.56 | bluregard | haven't heard of that one. is it a software router or hardware? |
11:37.19 | p3nguin | Vyatta is the company, which sells the Vyatta appliances with the Vyatta software included, but the software is available for free. |
11:38.26 | bluregard | oh ok. another iptables router or whatever |
11:38.28 | gordonjcp | p3nguin: fully functional? |
11:39.14 | p3nguin | Yes, it is Debian-based, so it uses iptables for the firewall and NAT, and tc for traffic policies. |
11:39.28 | gordonjcp | fair enough |
11:40.02 | p3nguin | The only thing I know of for sure that the free edition does not have that the subscription edition has is the web GUI for management. |
11:40.03 | gordonjcp | I like how you can get junos from Juniper, and run it on a PC with their blessing ;-) |
11:40.41 | p3nguin | But I'd rather work in the console anyway, so I'm good with not having the GUI. |
11:42.26 | gordonjcp | they do say it's unsupported and possibly unlicensed, so don't ask for support - with a bit of a sly wink |
11:42.26 | gordonjcp | the big difference between an Olive and a proper Juniper router is it doesn't have the horking great FPGA with all the ethernet interface that does the actual packet switching in hardware |
11:42.28 | bluregard | I've been using junos on a pc and in GNS3 for testing network topologies for a while. Its great. |
11:42.36 | gordonjcp | bluregard: yup |
11:42.53 | gordonjcp | bluregard: and now when your boss asks you to spec up some routers for a project, what are you going to buy? |
11:43.07 | gordonjcp | Cisco? Mmm, nope |
11:43.15 | gordonjcp | Level One? Perish the thought! |
11:44.28 | bluregard | well... The problem with that is in this country in order to be a boss, you have to be mildly to severly retarded. That means you only buy stuff you've seen an ad on TV for in the last 30 days. So, Cisco it is. |
11:44.46 | p3nguin | bluregard: Which ITSP are you using that provides rates as low as .5c/min? |
11:44.55 | gordonjcp | bluregard: ah, easy |
11:45.06 | bluregard | Vitelity. But I've got a wholesale account. |
11:45.17 | gordonjcp | bluregard: the term you're looking for here is "Total Cost of Ownership" |
11:45.45 | p3nguin | Do they require a certain volume of calls to get that lower rate? |
11:48.00 | gordonjcp | bluregard: in order to use unfamiliar Cisco equipment effectively, you will need either extensive (and expensive) training, or you're going to need to open up a couple of positions for junior Cisco wranglers - *or* you can go with the Junipers that you're already familiar with! |
11:48.00 | bluregard | they require or at least strongly suggest a completion rate of 80% or higher and 80% of your calls need to be > 60 seconds. |
11:48.31 | bluregard | gordonjcp: I'm already familiar with Cisco and Juniper, but again, Cisco markets like no other. To be fair, my boss understands how great Juniper is. The problem is our clients. They pay us to tell them what to do and how to do it, but then take our advise and throw it right out the window. |
11:49.22 | bluregard | advice* |
11:50.43 | p3nguin | They don't require a minimum amount of call volume to qualify? |
11:52.51 | gordonjcp | bluregard: ah yes |
11:52.51 | bluregard | oh yeah, sorry. They have a montly commitment of $300 |
11:52.51 | p3nguin | Some companies won't give you wholesale unless you have, for example, 10000 minutes each month. |
11:52.51 | gordonjcp | bluregard: "We want some new radios, we want the latest thing!" "oh okay, in which case you want these nice new Hytera digital ones" "No we want Motorola GP340s like we've used for the past 15 years" |
11:52.51 | bluregard | we have this one client who against our recommendation decided to replace their perfectly good digital phones with Shoretel VoIP. |
11:52.51 | gordonjcp | brb, bouncing openwrt |
11:52.57 | bluregard | I'll finish when you get back then |
11:53.10 | gordonjcp | it's ok, I'm in screen |
11:55.08 | bluregard | well, we manage their data network and told them if they want to use voip on their existing network they needed to make some changes to the way they do backups. Backups, for some dumbass reason, are carried out during the day over the wan and in a completely bone-headded manor. |
11:55.37 | gordonjcp | there, and ssh didn't even disconnect |
11:55.59 | gordonjcp | oh ghod, you don't do *our* phone systems do you? |
11:57.08 | bluregard | whys that |
11:57.08 | bluregard | dumbass backup practices? |
11:57.08 | gordonjcp | yup |
11:57.08 | gordonjcp | I'll let you finish yours, then I'll tell you a horror story |
11:57.53 | bluregard | well, so they get to testing their shiney new unneccessary voip system and are having all kinds of problems which we diagnosed to be caused by their abuse of the wan. Instead of listening to us they hired a CCIE to come in and evaluate it who also said change your backups. |
11:58.44 | bluregard | these are the kinds of people we have to sell hardware to |
11:59.01 | gordonjcp | :-) |
11:59.12 | p3nguin | If I wanted to tinker with Junos on an i686 embedded computer, which software should I get? |
11:59.29 | bluregard | GNS3 |
11:59.40 | gordonjcp | we have an ancient accounting system that requires a VPN from one end of the country to the other |
11:59.44 | bluregard | oh embedded? |
12:00.02 | p3nguin | GNS3 would be good for a regular PC with hard drive? |
12:00.02 | bluregard | that I'm not entirely sure. |
12:00.14 | bluregard | yeah |
12:00.35 | gordonjcp | bluregard: now the vpn endpoint down south is where our connection breaks out to the Internet, and is also where three out of four DNS packets get dropped, 10% of normal network traffic gets dropped and all non-DNS UDP traffic gets dropped |
12:00.36 | bluregard | you might be able to get it to run on an embedded system. I've never tried. |
12:02.11 | gordonjcp | so in order to download the 300MB windows binary that you use to update the firmware on a radio with 32M of flash, I need to VPN *from inside the VPN at work* to my house about ten miles away |
12:02.11 | gordonjcp | after two or three goes the VPN is up, and everything works more-or-less fine |
12:02.15 | gordonjcp | the backups are a bit special, they back up the Windows server onto DAT, but only an incremental backup - they haven't done a full backup in about five years |
12:02.39 | bluregard | oh that'll be a fun recovery |
12:02.45 | gordonjcp | they then restore this backup into a temporary directory, and then copy it across the VPN to another windows server down south, which they then back up onto tape again |
12:03.03 | gordonjcp | bluregard: I have my doubts about the reliability of this method |
12:03.34 | bluregard | whats the point of sending it down south? |
12:03.49 | gordonjcp | bluregard: "a secure off-site backup" |
12:04.04 | gordonjcp | oh, and orders from on high at the parent company is that absolutely no super-secret confidential material like customer radio frequencies must ever leave the premises |
12:04.18 | gordonjcp | so, no taking the backup tapes home for safekeeping |
12:04.38 | bluregard | what kind of radios are these? |
12:04.46 | gordonjcp | tries not to subconsciously look at where the USB hard disk is stashed |
12:05.02 | gordonjcp | bluregard: a mixture, all PMR stuff but various makes and models going back 20 years ;-) |
12:05.21 | bluregard | no I mean what are they used for |
12:05.50 | gordonjcp | all kinds of things, we have shopping centres, a couple of oil refineries, whisky distilleries, all kinds |
12:08.03 | bluregard | like 2-way kinda thing |
12:08.03 | gordonjcp | unfortunately we have a paranoid litigation-fearing American parent company that doesn't understand a) UK law regarding the DPA, b) Scottish law regarding the DPA |
12:08.03 | gordonjcp | yes |
12:08.03 | gordonjcp | and the various UK and Scottish laws regarding things like corporate responsibility |
12:08.03 | bluregard | you mean there are american companies that aren't paranoid and litigation-fearing? |
12:08.03 | gordonjcp | me, I do what I've done for the past 20-odd years when faced with boneheaded corporate policies |
12:08.03 | bluregard | lol, ignore them? |
12:08.03 | gordonjcp | I lie, cheat, and misappropriate data |
12:08.03 | gordonjcp | and then on the odd occasion when it all collapses in a great steaming pile I magically pull the backups out of my backside |
12:08.09 | gordonjcp | and we're all up and running again in an hour |
12:08.14 | bluregard | I friggen' hate the corporate mentality. |
12:08.27 | gordonjcp | and nobody gets to ask how the trick was done |
12:09.18 | *** join/#asterisk kink0 (~kinko@203.235.78.188.dynamic.jazztel.es) |
12:09.24 | gordonjcp | bluregard: yeah |
12:09.25 | kink0 | hello |
12:10.07 | bluregard | I've been doing intrusion detection for the last few years, so I really get a good look into just how paranoid companies can be. Mostly directed completely in the wrong direction. |
12:10.15 | gordonjcp | bluregard: yeah |
12:10.37 | gordonjcp | bluregard: I used to work for a large computer company in Scotland |
12:12.21 | gordonjcp | bluregard: they had all manner of door entry systems relying on magstripe cards, that locked down various parts of the building after 7pm - when a lot of the tech support people were still working |
12:12.21 | bluregard | that's funny. I was just watching old Saturday NIght Live episodes with Mike Myers doing the Everything Scottish. "If its not Scottish its CRAP!". |
12:12.21 | gordonjcp | and crucially they locked down the areas where the machines that topped up your coffee machine payment cards were |
12:12.21 | gordonjcp | bluregard: well this was an International company you see |
12:12.24 | gordonjcp | rather focused on Machines intended for Business |
12:13.04 | gordonjcp | so it turns out that while us lowly senior support engineers could barely get in and out of the call centre after hours, the cleaners could go anywhere |
12:13.23 | bluregard | ha |
12:13.55 | gordonjcp | so one of the cleaners was a friendly chatty guy with not much to do of an evening, and when I was fiddling with a magstripe reader we were talking away |
12:14.23 | gordonjcp | "here, let me show you, all it stores is your payroll number - pass me your card a sec" |
12:14.27 | gordonjcp | <swipe> |
12:14.41 | bluregard | awesome! |
12:14.46 | gordonjcp | "see? That'll be what's on your payslip, look, mine's the same there and there" |
12:14.50 | gordonjcp | now |
12:14.53 | gordonjcp | once he's buggered off |
12:14.58 | gordonjcp | out comes the card *writer* |
12:15.23 | gordonjcp | and an expired Costco card |
12:15.55 | bluregard | good to know I'm not the only one to do devious stuff at the office |
12:18.00 | gordonjcp | ye |
12:18.00 | p3nguin | bluregard: Are you 'round Chicago? |
12:18.00 | bluregard | we had this guy that was a real pain in the ass and used to use this red sharpy for everything he did. So for about 2 months I would go and replace the red ink stick with one out of a black sharpy. He'd get so pissed off and had no idea why. |
12:18.00 | bluregard | p3nguin: i am |
12:18.00 | gordonjcp | Idiotic Bumbling Morons also had an asinine password policy |
12:18.13 | p3nguin | Thought so. I'm about 300 miles south of you. |
12:18.14 | gordonjcp | eight characters *only*, alphanumeric *only* |
12:18.28 | bluregard | p3nguin: where about? |
12:18.51 | p3nguin | Are you familiar with any of south central IL? |
12:18.54 | gordonjcp | first two and last character must be alphabetic, one of them must be capital, and the middle five must include two digits |
12:19.20 | bluregard | p3nguin: somewhat. I had a bunch of friends that went to ISU and UofI. |
12:19.26 | gordonjcp | I can't remember all of the totally arbitrary rules but I did work out on one quiet boring Sunday that they'd brought their password keyspace down to a couple of thousand valid passwords |
12:19.57 | bluregard | yeah, I've seen password policies that'd make you cry |
12:20.31 | gordonjcp | heh, chicago, you guys are all so far south ;-) |
12:20.33 | bluregard | and in places where you'd think security would be a top priority. Like banks. |
12:21.32 | *** join/#asterisk imox (~imox@91-64-181-64-dynip.superkabel.de) |
12:21.41 | bluregard | brb |
12:21.44 | gordonjcp | bluregard: yes |
12:22.06 | gordonjcp | well expecting people to remember a line of alphabet soup is just going to make them write the password down... |
12:23.35 | gordonjcp | hm, you guys must be over 1000 miles south of me ;-) |
12:26.32 | *** join/#asterisk PoWeRKiLL (~powerkill@IGLD-84-229-42-45.inter.net.il) |
12:27.00 | bluregard | I'm gonna switch machines |
12:27.22 | p3nguin | Where are you? |
12:28.12 | *** join/#asterisk bluregard (~matt@c-98-228-3-34.hsd1.il.comcast.net) |
12:28.13 | bluregard | ok |
12:28.18 | *** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net) |
12:28.26 | bluregard | oh iMac how I've missed thee |
12:29.56 | bluregard | my Wife's power supply went out on her machine so she's been playing WoW on mine. |
12:33.33 | p3nguin | I'm on http://www.juniper.net/support/products/ and I have no clue what I'm looking for here. |
12:33.35 | bluregard | p3nguin: so where in southern IL are you? |
12:33.48 | bluregard | p3nguin: you want JunOS? |
12:34.20 | gordonjcp | p3nguin: me? NW Scotland |
12:34.52 | gordonjcp | hm, half an hour ago I could see the hills behind my house and I thought "what a nice day, I think I'll walk to the pub for lunch" |
12:35.07 | gordonjcp | right now I can barely see my back fence |
12:35.08 | p3nguin | Familiar with Mt. Vernon, Salem, Effingham, Vandalia? |
12:35.34 | bluregard | p3nguin: Mt. Vernon kinda |
12:35.43 | gordonjcp | there *is* a Mt. Vernon near me, but I suspect it's a different one ;-) |
12:35.45 | bluregard | and I've heard of Salem and Effingham. |
12:35.49 | p3nguin | I'm right by Mt. Vernon. |
12:35.52 | bluregard | ok |
12:36.40 | bluregard | p3nguin: http://www.juniper.net/support/products/junos/dom/ |
12:37.39 | p3nguin | K, I've gone to the software tab, but nothing indicates it is made for PC. |
12:38.16 | bluregard | they're not. you just run the JunOS you would on a router on your PC |
12:38.34 | bluregard | hang on, I have a great pdf that goes through the whole process. |
12:40.11 | gordonjcp | p3nguin: the Junos hardware is essentially a rackmount PC with a bloody great big FPGA on a PCI card |
12:40.21 | gordonjcp | the FPGA does all the switching magic in hardware |
12:41.22 | bluregard | p3nguin: I can't find the pdf, I think its on my laptop. But http://blog.gns3.net/2009/10/olive-juniper/ should get you started. |
12:44.18 | p3nguin | The only Juniper products I'm at all familiar with are like the SSG 5 and NetScreen 5GT. |
12:44.52 | bluregard | yeah, that's what I started on. NS 5GT |
12:45.21 | bluregard | I have one around here somewhere, but its running ScreenOS, not JunOS. I think it supports it though. |
12:46.50 | *** join/#asterisk irroot (~gregory@197.175.205.229) |
12:59.44 | *** join/#asterisk tzafrir_laptop (~tzafrir@local.xorcom.com) |
13:04.22 | p3nguin | I guess I had the wrong idea about junos. I thought it would be either an image to drop onto some form of flash memory or have some type of installer to install to hard drive... either of which would be a bare-metal OS. |
13:04.56 | bluregard | I think there's a way to do that. you need a bootloader |
13:14.50 | davlefou | hi 2, |
13:14.56 | davlefou | i need some help! |
13:15.34 | bluregard | with? |
13:15.41 | davlefou | I start with asterisk but something seems me strangs, when create iax.conf users, i need to have some sip.conf users! |
13:16.05 | bluregard | how so? |
13:16.06 | p3nguin | Yeah? That's not a problem. |
13:16.15 | davlefou | And in extension.conf, i have to route the sip users tout user the iax users! |
13:16.23 | p3nguin | If you don't use SIP phones, you don't need to create SIP peers. |
13:16.42 | davlefou | no, i users iax users with sflphone! |
13:16.42 | p3nguin | Do you have SIP phones? |
13:17.00 | davlefou | i don't have! |
13:17.06 | p3nguin | Then forget about sip.conf. |
13:17.15 | p3nguin | You don't use sip.conf to create IAX2 peers. |
13:17.42 | bluregard | then in extensions.conf you use Dial(IAX2/username/${EXTEN}...) |
13:17.48 | davlefou | But when i erase sip.conf users, it don't work! |
13:18.04 | p3nguin | What you're saying isn't making sense. |
13:18.11 | p3nguin | sip.conf has nothing to do with iax. |
13:18.13 | p3nguin | NOTHING. |
13:18.16 | *** join/#asterisk fromol (~n1x@95.104.13.145) |
13:18.28 | davlefou | p3nguin: it s my opinion to! |
13:18.36 | fromol | hi guys , i have problem like this guy http://osdir.com/ml/telephony.sipp.user/2006-08/msg00036.html |
13:18.38 | p3nguin | It's not an opinion. |
13:18.47 | fromol | how i can fix it? |
13:20.29 | bluregard | davlefou: are you useing the sample configs? |
13:20.40 | p3nguin | GASP! |
13:20.49 | davlefou | bluregard: can you explain me, i only write this : exten => 202, 1, Dial(IAX2/david) |
13:21.10 | davlefou | bluregard: i follow tutorial! |
13:21.15 | davlefou | I try! |
13:21.17 | p3nguin | ~book |
13:21.17 | infobot | Asterisk: The Definitive Guide, 3rd Edition (ISBN 0-596-51734-3) available at http://oreilly.com/catalog/9780596517342 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and is available for reading online at http://www.asteriskdocs.org/ or see ~buybook |
13:21.24 | bluregard | and what response do you get when you dial ext 202? |
13:21.34 | p3nguin | Are those spaces valid? |
13:22.09 | p3nguin | Did you create a peer in iax.conf by the name of david? |
13:22.34 | p3nguin | What phone are you using to dial extension 202? |
13:23.00 | davlefou | slfphone said me, 503, unvailble, and cli that : [Dec 4 14:22:37] WARNING[3248]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Unknown) |
13:23.07 | p3nguin | So many questions, so few appropriate responses. |
13:23.19 | p3nguin | (0722.09) <p3nguin> Did you create a peer in iax.conf by the name of david? |
13:23.22 | p3nguin | ^^^^^^^^^^^^ |
13:24.06 | bluregard | pastebin your iax.conf and extensions.conf |
13:24.08 | p3nguin | It is unable to create the channel because there is no iax device registered by the name of david. |
13:25.00 | davlefou | http://pastebin.com/XFbJJamz |
13:26.24 | p3nguin | The mailbox values are surely incorrect here. |
13:26.41 | davlefou | ok |
13:26.45 | p3nguin | And the callerid values are invalid. |
13:26.57 | p3nguin | There are no quotes in the callerid field. |
13:27.07 | p3nguin | but you have quotes. |
13:27.35 | p3nguin | Should be callerid=David Bieder <202> |
13:27.43 | davlefou | ok |
13:27.52 | davlefou | and for the mailbox? |
13:27.57 | bluregard | how about extensions.conf? |
13:28.10 | p3nguin | mailbox is whatever you have configured in voicemail.conf. |
13:28.12 | bluregard | mailbox is for your voicemail box |
13:28.14 | p3nguin | It's the voice mail box. |
13:28.36 | p3nguin | Typically something like 202@default |
13:28.53 | p3nguin | (but it has to be configured in voicemail.conf for it to work) |
13:29.06 | davlefou | http://pastebin.com/WRQa3NXB |
13:29.32 | bluregard | you need to get rid of those spaces |
13:30.19 | davlefou | bluregard: please? |
13:30.39 | p3nguin | exten => 202,1,Dial(IAX2/david) |
13:30.40 | bluregard | please what? |
13:30.44 | p3nguin | not exten => 202, 1, Dial(IAX2/david) |
13:31.00 | davlefou | explain, i am not an native english! |
13:31.13 | bluregard | p3nguin just showed you |
13:31.24 | p3nguin | And I also told you why the call failed. |
13:31.25 | davlefou | thanks! |
13:31.31 | p3nguin | (0724.08) <p3nguin> It is unable to create the channel because there is no iax device registered by the name of david. |
13:31.38 | bluregard | then from the console do core reload |
13:31.49 | p3nguin | How about dialplan reload? |
13:31.56 | bluregard | that won |
13:32.02 | davlefou | i had color, it seems better! |
13:32.02 | bluregard | won't reload iax.conf |
13:32.17 | p3nguin | but iax2 reload will |
13:33.04 | bluregard | as will reloading the whole thing. |
13:33.05 | p3nguin | Until you get your phone registered, you won't be able to call it. What have you done to try to configure the phone? |
13:36.21 | *** join/#asterisk irroot (~gregory@197.104.3.165) |
13:39.42 | davlefou | ok, |
13:40.20 | bluregard | wtf is a netsplit? |
13:41.07 | p3nguin | It's when a server becomes unlinked from the rest of the network. |
13:42.30 | p3nguin | Say I connect to the network via serverB and you connected on serverA. They are linked, so we see each other. If they split, I'll be in my own little world and you'll be in yours. Eventually, they will come back together again and we'll see each other again. |
13:43.46 | bluregard | yeah, that's what I figured. Kinda pointless for IRC though. |
13:44.20 | bluregard | I don't know the down and dirty details of how IRC works though |
13:44.30 | p3nguin | What's pointless? |
13:44.57 | bluregard | having servers online but disconnected from the rest of the freenode network |
13:45.16 | p3nguin | Everyone connected to any server on that US hub that will be restarting is going to be gone from the rest of the network. |
13:45.36 | bluregard | that's my point |
13:45.38 | p3nguin | It's not a desired behavior to be split. It's a bad thing. |
13:45.47 | p3nguin | It's something that happens. |
13:46.37 | bluregard | I know, that's what I'm saying. If there's going to be a netsplit why not just take those servers offline or disallow connections to them. |