00:08.27 | cyford | hi, any ideal why this would work in linux but not asterisk system(), email goes out fine in shell... echo " Call lasted 159 seconds" | mutt -a "/var/spool/asterisk/monitor/2604374171-20151114162054.wav" -s "Chat Room Results " -c "test@ktcsg.com" -- test@cyfordtechnologies.com |
00:08.55 | cyford | yes it does work when running in shell as asterisk user |
00:10.45 | drmessano | Show us the actual dialplan |
00:11.15 | [TK]D-Fender | how about the actual CLI OUTPUT...... |
00:11.49 | cyford | no errors |
00:11.54 | cyford | no output |
00:12.02 | cyford | and no email |
00:12.58 | [TK]D-Fender | .... |
00:14.31 | cyford | how do i test it in asterisk cli? |
00:17.20 | [TK]D-Fender | PLACE A CALL |
00:17.35 | [TK]D-Fender | How else do you get dialplan apps to run? |
00:17.36 | [TK]D-Fender | USE THEM |
00:18.55 | cyford | um i said cli lol not dialplan |
00:19.10 | cyford | ok u asked for cli output |
00:19.21 | cyford | <PROTECTED> |
00:19.31 | drmessano | I want to see the dialplan |
00:19.36 | drmessano | I dont trust your "It's fine" |
00:19.42 | drmessano | Obviously its not |
00:20.20 | drmessano | I want to see proper syntax and something that SHOULD work |
00:20.26 | drmessano | SO pastebin the dialplan |
00:20.51 | cyford | ok 1 sec, an i didnt say its fine, cause it isnt.. but it does work in linux shell without issues, even with asterisk user exec |
00:24.59 | drmessano | Ok, 5 more minutes have gone by.. Where is the Pastebin? |
00:25.24 | [TK]D-Fender | PASTEBIN |
00:25.28 | [TK]D-Fender | NOW |
00:25.47 | drmessano | Ive asked twice for it.. You're wasting my time now |
00:27.03 | *** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club) |
00:28.53 | drmessano | It doesnt take this long to pastebin something. Another one for the /ignore list. I'm out |
00:29.14 | cyford | http://pastebin.com/ebHc7vp6 |
00:29.22 | cyford | i said getting it lol |
00:29.37 | laptopdude90 | no.. you didn't |
00:29.41 | cyford | ohh i 1 sec |
00:29.49 | cyford | ok 1 sec, an i didnt say its fine, cause it isnt.. but it does work in linux shell without issues, even with asterisk user exec |
00:32.31 | [TK]D-Fender | I see apps called in there and no proof there is a PATH for it to follow |
00:32.57 | [TK]D-Fender | Have you actually tried and BROKEN DOWN this process into steps to actually prove the separate bits? |
00:33.34 | [TK]D-Fender | You didn't explicitly write out the path to mutt and since you were already messing with the user setup... |
00:33.42 | [TK]D-Fender | Go break this all down. |
00:34.31 | *** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club) |
00:34.33 | cyford | hmm, didnt know i needed the complete path, ill try that.. as for breaking down bits, u lost me lol please explain |
00:34.47 | [TK]D-Fender | Don't do everything in 1 dumb pip |
00:34.51 | [TK]D-Fender | is the ECHO failing? |
00:34.54 | [TK]D-Fender | is MUTT the failure? |
00:35.01 | cyford | its mut |
00:35.06 | cyford | echo works |
00:35.08 | [TK]D-Fender | Is your assumption of the PATH being usable a failure? |
00:35.12 | [TK]D-Fender | that;s 3 right there |
00:35.37 | [TK]D-Fender | Then you REALLY should have thought about how you were calling mutt.... |
00:35.52 | cyford | not sure, thought i can write it exactlly how i do in shell.. but thats why i am here to figuire this out : |
00:35.55 | cyford | :) |
00:40.38 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
00:40.47 | *** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler) |
00:41.09 | [TK]D-Fender | heads out for the evening |
00:41.28 | cyford | no luck with full path |
00:41.53 | [TK]D-Fender | now think about ESCAPING THOSE QUOTES |
00:46.05 | cyford | how can i escape the quotes ser? |
00:49.25 | laptopdude90 | " -> \" |
00:57.31 | cyford | Thanks, but still no luck |
00:58.14 | cyford | <PROTECTED> |
00:59.39 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
01:11.08 | laptopdude90 | "This operator (called the âorâ operator, or âpipeâ) returns the evaluation of expr1 if it is true (neither an empty string nor zero). Otherwise, it returns the evaluation of expr2." |
01:11.13 | laptopdude90 | why would they write it that way |
01:17.46 | cyford | its to torcher little ones like us |
01:24.58 | *** join/#asterisk MaliutaLap (nikolai@unaffiliated/maliuta) |
01:38.49 | *** join/#asterisk Chotaire (chotaire@vegetarian.cannibal.club) |
02:01.09 | laptopdude90 | Okay, I've a question about my extensions.conf file |
02:01.21 | laptopdude90 | I'm playing around with some examples from the book |
02:01.42 | laptopdude90 | http://pastebin.com/V72AjzY9 |
02:01.54 | laptopdude90 | The one that should execute on 123 isn't working |
02:01.58 | *** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net) |
02:02.05 | laptopdude90 | Everything else in that works |
02:07.09 | laptopdude90 | lvlinux, are you on? |
02:28.07 | laptopdude90 | 603 declined it says |
02:32.56 | laptopdude90 | Okay so I figured it out... kind of. |
02:33.00 | laptopdude90 | It's running the script |
02:33.13 | laptopdude90 | But I can't hear SayNumber() and the ringtone keeps going |
02:34.03 | laptopdude90 | fixed it ::::DDDD |
02:45.27 | *** join/#asterisk tapout (~tapout@unaffiliated/tapout) |
03:32.31 | *** join/#asterisk tapout (~tapout@unaffiliated/tapout) |
03:40.33 | *** join/#asterisk igcewieling1 (~ewieling@ip98-170-211-145.pn.at.cox.net) |
03:51.53 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
04:20.45 | laptopdude90 | would anybody like to hear my best pickup line |
04:23.39 | lvlinux | laptopdude90: I'm here now |
04:23.46 | laptopdude90 | helloooo |
04:24.53 | WIMPy | thinks you're there, not here. |
04:25.36 | lvlinux | lol i'm here |
04:25.41 | lvlinux | (again) |
04:26.55 | lvlinux | helloooo |
04:27.31 | WIMPy | waves |
04:27.41 | WIMPy | ello |
04:29.23 | lvlinux | waves back at WIMPy |
04:33.27 | laptopdude90 | waves too b/c I feel left out |
04:33.41 | lvlinux | lol |
04:34.12 | lvlinux | so seems as if you're doing pretty good laptopdude90. Calls to outside world and such working. |
04:34.52 | laptopdude90 | Thanks. :D |
04:35.04 | laptopdude90 | I've almost gotten my asterisk calc working |
04:35.15 | lvlinux | calc? |
04:35.49 | WIMPy | ? |
04:36.17 | laptopdude90 | You call it |
04:36.30 | laptopdude90 | And you enter in a number, pres pound, another number, press pound |
04:36.33 | laptopdude90 | It adds them |
04:36.39 | lvlinux | lol ok cool |
04:36.40 | laptopdude90 | and says what the answer is |
04:36.54 | WIMPy | checks his trashcan... |
04:37.21 | WIMPy | ... and pulls out laptopdude90 |
04:37.30 | lvlinux | lolololololol |
04:37.31 | laptopdude90 | u wot? |
04:37.40 | laptopdude90 | It's not supposed to be practical :P |
04:38.37 | lvlinux | when i first got started w Asterisk I was making it play silly music and morse code... |
04:39.16 | lvlinux | so I don't think a calculator is too bad :-) |
04:39.27 | laptopdude90 | :P |
04:39.37 | WIMPy | With display? |
04:40.01 | laptopdude90 | I'm using a softphone so no display |
04:40.07 | lvlinux | what about blind people? |
04:40.41 | igcewieling1 | I hacked together some agi scripts to encode binary data into DTMF to transfer it over SIP or analog or anything which transports DTMF. Should clean it up and post it on April 1 some year. |
04:41.06 | lvlinux | lol that's cool. |
04:41.14 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
04:41.18 | lvlinux | utterly pointless but very cool |
04:41.20 | WIMPy | You could do an RFC on IPoDTMF. |
04:41.27 | lvlinux | yeah! |
04:41.34 | igcewieling1 | I was getting something like 3 bytes per second thruput. |
04:42.06 | lvlinux | start a new kind of ISP! |
04:42.33 | *** join/#asterisk fstd_ (~fstd@unaffiliated/fisted) |
04:42.35 | igcewieling1 | my idea was to use it as a way to access a shell on an Asterisk box which lost network connectivity. |
04:42.48 | lvlinux | wow |
04:42.49 | igcewieling1 | (call in via analog port) |
04:43.06 | lvlinux | well i guess that could have it's uses |
04:43.08 | laptopdude90 | Has anyone considered a dialup server w/ asterisks? |
04:43.16 | lvlinux | dialup for what? |
04:43.19 | lvlinux | internet? |
04:43.21 | igcewieling1 | laptopdude90: hundreds and yet they don't exist. |
04:43.22 | laptopdude90 | yeah |
04:43.31 | laptopdude90 | So I can take my laptop and stick it into a phone jack |
04:43.34 | laptopdude90 | And get internet |
04:43.42 | lvlinux | you don't need asterisk for that |
04:43.46 | lvlinux | I've done it |
04:43.48 | laptopdude90 | Yeah but I mean |
04:43.55 | laptopdude90 | I want to put in a 3 digit code |
04:44.00 | laptopdude90 | And then modem mode goes on |
04:44.06 | laptopdude90 | Otherwise it should behave like a normal phone |
04:44.15 | lvlinux | what, so you can sell dialup internet to your buddies? |
04:44.37 | lvlinux | pointless |
04:44.47 | *** join/#asterisk evil_gordita (robert@ip70-188-63-173.rn.hr.cox.net) |
04:44.55 | laptopdude90 | no, cause when I go to my grandparents I have no internet |
04:45.06 | lvlinux | then setup a dialup server |
04:45.13 | laptopdude90 | Yeah but I need my phone number as well |
04:45.14 | WIMPy | still has some real NAS lying around. |
04:45.21 | laptopdude90 | So I can't just have a dialups erver |
04:45.27 | lvlinux | ah i see. |
04:45.32 | lvlinux | hmmm |
04:46.31 | lvlinux | set asterisk to have a code that you can punch when you dial in that triggers a script that livens a pin on a parallel port or something like that, |
04:46.43 | lvlinux | hooked to a relay which turns on a dialup modem |
04:46.45 | *** join/#asterisk drathir (~kamiljk8@unaffiliated/drathir) |
04:46.50 | lvlinux | that would work. |
04:47.05 | igcewieling1 | Asterisk does not support analog dialip so the issue is m00t. |
04:47.13 | laptopdude90 | Yes, but then when I'm using the modem server we couldn't get phone calls |
04:47.17 | WIMPy | Or just Dial a modem on some other port? |
04:47.21 | lvlinux | igcewieling1: no it isn't |
04:47.22 | laptopdude90 | But if we have like 3 channels into the house |
04:47.34 | WIMPy | Isn't that what DAHDIRAS does? |
04:47.42 | laptopdude90 | meh. I was just curious |
04:47.46 | laptopdude90 | doesnt matter really |
04:47.48 | lvlinux | DAHDIRAS? |
04:47.53 | igcewieling1 | WIMPy: that is only usable with ISDN PRI (maybe BRI) |
04:48.32 | WIMPy | Is it? Why should it care? Or is it happening outside of Asterisk? |
04:49.05 | lvlinux | wiki page says no modem emulation is supported |
04:49.09 | igcewieling1 | WIMPy: Ask Digium. I assume because with PRI the call comes in as data, not audio. |
04:49.10 | lvlinux | must be PRI/BRI |
04:49.37 | WIMPy | So what does it do if it doesnt do modem emulation? |
04:49.55 | igcewieling1 | WIMPy: Maybe takes the raw ulaw data? |
04:50.08 | WIMPy | It doesn't matter if your telco does the ADC or if you do it yourself. |
04:50.17 | igcewieling1 | Apparently it does with Asterisk. |
04:50.27 | WIMPy | Rate adaption? Sounds hardly believable. |
04:50.46 | *** join/#asterisk russellb (~rustlebee@redhat/russellb) |
04:50.46 | *** mode/#asterisk [+o russellb] by ChanServ |
04:51.03 | igcewieling1 | Perhaps the Wiki page has been wrong for 15 years, but I doubt it. |
04:51.26 | igcewieling1 | russellb: Hey! What does ZapRAS not support analog? |
04:51.34 | igcewieling1 | s/What/Why/ |
04:51.42 | lvlinux | laptopdude90: you could seriously do what I suggested and it should work. Just set your modem to answer before anything else on your analog line. |
04:51.54 | laptopdude90 | guys im sorry .-. |
04:51.56 | laptopdude90 | it doesnt matter |
04:52.20 | igcewieling1 | goes back to wrestling with Adtran routers. |
04:52.36 | lvlinux | I love Adtran routers! |
04:53.22 | lvlinux | laptopdude90: if you had dialup at ur Gramas basically all you could do is console stuff---ssh/irc and the like |
04:53.43 | laptopdude90 | yeah so? |
04:53.51 | lvlinux | it ain't fun, trust me |
04:53.58 | laptopdude90 | irc is fine |
04:54.04 | laptopdude90 | I could do email as well |
04:54.12 | lvlinux | I was on dialup for a month during summer---major internet probs here |
04:54.27 | lvlinux | used to you cuold still web browse but now it's almost un-doable. |
04:58.14 | lvlinux | goes to eat supper before bed. Goodnight all! |
04:58.15 | WIMPy | Looks like there's not much information available on what DAHDIRAS actually does. Probably X.75 or T.70. But that's just a guess. |
04:58.56 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net) |
04:59.51 | *** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au) |
05:00.09 | *** join/#asterisk cryptic (~cryptic@142-196-132-50.res.bhn.net) |
05:00.54 | WIMPy | Ha, there's the man for the related topic. |
05:01.25 | WIMPy | tzafrir: You said the other day there are way to get the d-channel data from dahdi. Can you give me a pointer? |
05:02.45 | tzafrir | WIMPy, dahdi_pcap in dahdi-tools |
05:03.55 | WIMPy | Oh, I remember searching for the pcap format without any success. |
05:47.03 | *** join/#asterisk jab416171 (~jab416171@c-76-27-96-12.hsd1.ut.comcast.net) |
06:03.59 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-umgfmalulltxxcfr) |
06:09.19 | *** join/#asterisk mattwj2002 (~mattw@wikisource/pdpc.active.mattwj2002) |
06:09.37 | mattwj2002 | good day all :) |
06:09.55 | mattwj2002 | I am playing around with a home asterisk server |
06:10.00 | mattwj2002 | how is everyone? |
06:15.35 | *** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl) |
06:30.09 | *** part/#asterisk mattwj2002 (~mattw@wikisource/pdpc.active.mattwj2002) |
06:59.45 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
07:47.13 | *** join/#asterisk Draecos (~Draecos@203-121-194-11.e-wire.net.au) |
08:12.19 | *** join/#asterisk bulkorok (~Adium@92.206.232.157) |
08:14.45 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
08:44.21 | *** join/#asterisk pjm (~pjm@uhfsatcom.plus.com) |
09:21.37 | *** join/#asterisk nanoha-sama (~nanoha-sa@van-app-svr.ad.v10networks.ca) |
09:26.34 | *** join/#asterisk areski (~areski@80.174.128.6.dyn.user.ono.com) |
10:18.15 | *** join/#asterisk McJoppy (~McJoppy@router.silverstripe.com) |
10:50.27 | *** join/#asterisk Fanch (~fanch@reverse1.qth.fr) |
10:59.28 | *** join/#asterisk Fanch (~fanch@reverse1.qth.fr) |
11:19.31 | *** join/#asterisk Fanch (~fanch@reverse1.qth.fr) |
11:21.15 | *** join/#asterisk qdel (~Rholk@bny92-1-82-67-178-101.fbx.proxad.net) |
11:32.38 | *** join/#asterisk fbnts (~fbnts@batcave.fbnts.co.uk) |
11:33.55 | fbnts | Hi, at what stage in a dialplan is the CDR wrote? |
11:40.40 | MaliutaLap | I believe it's written at the end of a Dial(), or on a Hangup() |
11:40.58 | MaliutaLap | "wrote" is the past tense |
11:45.07 | fbnts | ah ok, I've tried to continue the dialplan with the g option to Dial so that I can change the callerid back (I want the CDR to show the internal extension number rather than the ultimate public number) |
11:51.42 | *** join/#asterisk coppice (~chatzilla@123203240102.ctinets.com) |
12:03.09 | *** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de) |
12:27.18 | *** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net) |
12:59.40 | *** join/#asterisk fstd (~fstd@unaffiliated/fisted) |
13:23.08 | *** join/#asterisk infernix (nix@unaffiliated/infernix) |
14:19.21 | *** join/#asterisk jzaw (~jzaw@loki.dzki.co.uk) |
14:23.25 | *** join/#asterisk CeBe1 (~CeBe@a81-14-224-229.net-htp.de) |
14:29.25 | laptopdude90 | So I've got 2x 12 port switches |
14:29.38 | laptopdude90 | When I connect something do it, the lights blink and whatever |
14:29.49 | laptopdude90 | But data doesn't go through. |
14:30.20 | laptopdude90 | They're managed switches - They have a serial number on the front, and one of them even has an IP address written on a piece of tape |
14:31.02 | laptopdude90 | If I purchase a USB to Serial adapter, will I be able to reset the switches and get them working again? |
14:36.09 | MarkS- | laptopdude90: often there is also a small reset button somewhere |
14:36.35 | laptopdude90 | mine doesn't have one it doesn't look like |
14:36.49 | MarkS- | laptopdude90: maybe vlans are configured or there is something else configured in a way you don't expect |
14:37.08 | laptopdude90 | lemme go get it |
14:37.08 | MarkS- | with a serial console cable you might be able to login |
14:37.12 | laptopdude90 | I ordered a serial adapter BTW |
14:37.18 | laptopdude90 | $3 on ebay |
14:38.08 | *** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de) |
14:38.26 | MarkS- | there is a reason I have 2 (1 at my desktop and 1 with my laptop) |
14:39.02 | laptopdude90 | No reset switch it looks like |
14:39.15 | laptopdude90 | Bay Networks 450-12T |
14:41.49 | laptopdude90 | any chance there's a button on the inside? |
14:43.05 | MarkS- | laptopdude90: I don't know that brand, maybe you can find documentation about it. If so look for reset or factory reset |
14:43.24 | laptopdude90 | Yeah I googled it, no button on the outside at least |
14:43.32 | laptopdude90 | So is it worth checking the inside? |
14:44.02 | MarkS- | depends on what the documentation says |
14:44.33 | laptopdude90 | Documentation says nothing about a reset button |
14:44.37 | laptopdude90 | just restting via serial |
14:44.50 | MarkS- | ok, so that is the option you should use |
14:45.24 | laptopdude90 | kk |
14:47.49 | *** join/#asterisk gerhard7 (~gerhard7@77-172-82-111.ip.telfort.nl) |
15:01.13 | *** join/#asterisk sparetire_ (~sparetire@unaffiliated/sparetire) |
15:04.57 | *** join/#asterisk kovalevsky (~kovalevsk@fedora/kovalevsky) |
15:11.51 | *** join/#asterisk pchero (~pchero@109.70.54.56) |
15:23.51 | *** join/#asterisk Encrypt (~Chuck@cpc72901-newt33-2-0-cust203.19-3.cable.virginm.net) |
15:42.01 | *** join/#asterisk guest88391 (~guest8839@185.32.9.250) |
15:43.00 | guest88391 | I have the following extensions.conf code http://pastebin.com/Bk9ve2xU to failover if needed. However, it does seem to act wierd. |
15:43.08 | guest88391 | It triggers ?noserver on 1 & 0 |
15:43.15 | guest88391 | but does not trigger when the result is 0 & 1 |
15:43.35 | guest88391 | GotoIf("SIP/pub-00000026", "1 & 0?noserver,1") in new stack |
15:44.01 | WIMPy | Remove the spaces. |
15:44.35 | guest88391 | http://pastebin.com/yKrzfgLq |
15:44.37 | guest88391 | just like this? |
15:44.54 | WIMPy | And do we even have a logical and? |
15:45.11 | WIMPy | yes |
15:45.19 | guest88391 | We do :-) |
15:45.21 | guest88391 | & |
15:45.35 | guest88391 | Why are the spaces doing harm? |
15:46.08 | WIMPy | Because they are literal. |
15:46.37 | WIMPy | You are comparing a value with a space at the ane to a value with a space at the beginning. |
15:48.03 | guest88391 | Still triggers failover |
15:48.08 | guest88391 | "1&0?noserver,1 |
15:48.24 | wdoekes | that won't work.. but that inside the $[...] |
15:48.49 | wdoekes | $[${SIPPEER(${PRIMARYPEER},status):0:2}x!=OKx&${SIPPEER(${FAILOVERPEER},status):0:2}x!=OKx] |
15:49.44 | wdoekes | the gotoif if-section only takes an integer: 0 or the-rest |
15:51.13 | guest88391 | Amazing |
15:52.17 | wdoekes | okay, that wasn't entirely correct: see pbx_checkcondition. "" or "0" or "-00000" => false, anything else => true |
15:53.03 | wdoekes | just assume it takes an integer |
15:53.08 | guest88391 | I see, we gave it integer & integer |
15:53.11 | guest88391 | made it mad |
15:53.16 | wdoekes | which amounts to "a string" |
15:53.19 | guest88391 | ye |
15:53.31 | wdoekes | $[] "returns" an integer |
15:53.39 | WIMPy | "-00000"? WTF? |
15:53.47 | wdoekes | sscanf %d |
15:54.04 | wdoekes | so, -000 is a technically legal 0, I think |
15:54.13 | WIMPy | Ah, so [+|-]0*? |
15:54.17 | wdoekes | that |
15:56.23 | WIMPy | Wouldt that even work for "0 bla"? |
15:56.42 | WIMPy | Wouldn't |
15:58.08 | *** join/#asterisk guest88391_ (guest88391@c83-255-61-9.bredband.comhem.se) |
15:59.40 | guest88391_ | anyway, thank you guys. |
15:59.58 | guest88391_ | Am also wondering if there is a way to send some alert if a sip peer go down? |
16:00.33 | guest88391_ | or do I need to do some bashing? |
16:02.31 | WIMPy | You can listen on AMI for peerstatus events. |
16:04.09 | wdoekes | WIMPy: yes, indeed it would :-/ |
16:04.20 | wdoekes | even +0bla |
16:04.57 | WIMPy | I guess that makes it rather unpredictable if you don't know it. |
16:05.17 | wdoekes | not if you assume it takes an integer, like I always do :P |
16:05.37 | guest88391_ | would you call it ugly to use run asterisk -x " sip show peers" | grep -i UNREACHABLE once in a while and act accordingly? |
16:06.05 | WIMPy | would |
16:07.05 | wdoekes | ugly, but easy ;) |
16:07.27 | guest88391_ | well it does not end there, the output will be integrated with nagios anyway |
16:07.44 | *** join/#asterisk davlefou (~davlefou@unaffiliated/davlefou) |
16:08.33 | WIMPy | And you're missing the unregistered ones. |
16:08.59 | guest88391_ | does that apply to peers? |
16:09.03 | guest88391_ | we only have peers |
16:09.23 | WIMPy | Only if they register. |
16:09.29 | guest88391_ | They do not |
16:09.34 | guest88391_ | they are a bunch of kamailio servers |
16:11.34 | *** join/#asterisk camerin (hoax@elite.bshellz.net) |
16:11.46 | laptopdude90 | you know what sucsk |
16:12.01 | wdoekes | a vacuum cleaner? |
16:12.06 | laptopdude90 | 2 of my monitors don't have VESA mounts |
16:12.09 | laptopdude90 | that too |
16:12.12 | laptopdude90 | also your mom |
16:13.38 | guest88391_ | shivers |
16:15.48 | laptopdude90 | Now, I could put my monitors on top of CRT screens |
16:15.57 | laptopdude90 | But then I'd have a bunch of crt screens and that's icky |
16:16.32 | *** join/#asterisk happy-dude (uid62780@gateway/web/irccloud.com/x-gdfwlfstkqkoljnk) |
17:08.02 | *** join/#asterisk [TK]D-Fender (~joe@64.235.216.2) |
17:11.34 | *** join/#asterisk membiblio (~membiblio@108.32.57.2) |
17:16.36 | *** join/#asterisk kleszcz (tick@linuxmafia.pl) |
17:42.44 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
17:45.51 | *** join/#asterisk babak (uid19622@gateway/web/irccloud.com/x-ljscmilfhnqvzdne) |
18:10.51 | *** join/#asterisk mac_ified (~mac_ified@67-9-150-210.res.bhn.net) |
18:13.41 | *** join/#asterisk wonderworld (~ww@ip-84-119-184-180.unity-media.net) |
18:37.38 | *** join/#asterisk areski (~areski@80.174.128.6.dyn.user.ono.com) |
18:48.08 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
19:05.11 | *** join/#asterisk kovalevsky (~kovalevsk@fedora/kovalevsky) |
19:10.48 | *** join/#asterisk defsdoor (~andy@cpc73037-sutt4-2-0-cust62.19-1.cable.virginm.net) |
19:37.52 | *** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler) |
19:41.46 | livtyler | Bonjour, I have a problem with asterisk, I've compiled and I have installed it, enabled autoload=yes but when I enter the CLI and do a "module show" I get disconnected from Asterisk Server, last minute cleanups???? |
19:44.39 | [TK]D-Fender | make sure you dno't have any non-compatible modules in there and reinstall them |
19:46.25 | livtyler | Hello [TK]D-Fender , how do I check that? |
19:46.52 | livtyler | 'asterisk -c' ??? |
19:47.07 | [TK]D-Fender | flush the modules forlder and "make install" |
19:57.16 | livtyler | [TK]D-Fender: this will take a while |
19:59.36 | *** join/#asterisk tzafrir (~tzafrir@bzq-179-40-172.cust.bezeqint.net) |
19:59.56 | [TK]D-Fender | It should take about 2 seconds |
20:00.04 | [TK]D-Fender | delete the contents of your modules folder |
20:00.11 | [TK]D-Fender | RECOPY only the stuff you already just compiled |
20:00.19 | [TK]D-Fender | I didNOT say to recompile |
20:00.28 | [TK]D-Fender | Just fulsh & recopy |
20:00.32 | livtyler | [TK]D-Fender: same result |
20:00.37 | [TK]D-Fender | Show us |
20:00.46 | [TK]D-Fender | The full job & result |
20:06.53 | *** join/#asterisk hecatae (~hecatae@host-89-240-2-225.static.as13285.net) |
20:10.19 | livtyler | [TK]D-Fender: http://pastebin.com/zHZsiUKV |
20:23.13 | [TK]D-Fender | WTF |
20:23.32 | [TK]D-Fender | make install should not be installing SAMPLE CONFIGS |
20:24.22 | [TK]D-Fender | looks like some BS ports install |
20:24.36 | livtyler | [TK]D-Fender: NetBSD |
20:24.41 | [TK]D-Fender | GAH |
20:24.57 | [TK]D-Fender | -bash-2.05b# rm /usr/pkgsrc/comms/asterisk18/work/.destdir/usr/pkg/lib/asterisk/modules/* |
20:25.05 | [TK]D-Fender | This doesn't look liek a noremal running modules folder |
20:25.17 | [TK]D-Fender | this is SOURCE |
20:25.23 | [TK]D-Fender | Not the INSTALL folder |
20:25.45 | [TK]D-Fender | Go verify that you haven't screwd configs up with this |
20:26.07 | [TK]D-Fender | And prove what folder * is using for modules |
20:26.48 | livtyler | [TK]D-Fender: it is, it's the only "modules" folder in all entirely pkgsrc folder |
20:27.10 | [TK]D-Fender | this has nothing to do with SOURCE |
20:27.16 | [TK]D-Fender | Sounrse installs to RUNNING folder |
20:27.30 | *** join/#asterisk creativx (~ntttt@226.62-97-205.bkkb.no) |
20:28.06 | livtyler | [TK]D-Fender: I think it works this way in pkgsrc, however what other distro could I try on? |
20:28.16 | [TK]D-Fender | I told you to LOOK |
20:28.22 | [TK]D-Fender | what dsoes * SAY it is using? |
20:28.33 | [TK]D-Fender | core show settings |
20:28.34 | [TK]D-Fender | ^ |
20:29.43 | livtyler | [TK]D-Fender: http://pastebin.com/EMXxAHiB |
20:30.00 | [TK]D-Fender | <PROTECTED> |
20:30.17 | [TK]D-Fender | Sure doesn't say "pkgsrc there does it? |
20:30.35 | [TK]D-Fender | You don't install TO src. You install FROM src |
20:31.11 | [TK]D-Fender | Now go recompile * because if you screwed with your source folder then you probably killed what you need to actually recompile it |
20:32.05 | livtyler | [TK]D-Fender: oh, ok, recompiling, then 'rm /usr/pkg/lib/asterisk/modules/*' ?? |
20:32.25 | igcewieling1 | [TK]D-Fender: some things are a lost cause. |
20:33.56 | laptopdude90 | hey do you think my dad would be pissed if I mounted this in the wall http://www.ebay.ca/itm/Qty-3-Siemon-5e-HD5-Series-HD-96-patch-panels-/252168047592?hash=item3ab6630be8:g:YkgAAOSwiwVWRKQ5 |
20:35.03 | [TK]D-Fender | livtyler, No, you're killing the modules folder FIRST THEN completely redoing your * install |
20:35.15 | [TK]D-Fender | backup your configs and then fix the rest of it |
20:35.47 | *** join/#asterisk ModFather (~ModFather@unaffiliated/modfather) |
20:36.03 | livtyler | [TK]D-Fender: ok, thanks sir |
20:40.37 | ModFather | Hi All, how i can store voicemessages to the database as mp3 instead of wav ? |
20:42.35 | [TK]D-Fender | what "database"? |
20:43.07 | [TK]D-Fender | And * can never write MP3. Anything you want to do like that you have to script outside of * |
20:44.11 | ModFather | right now i am storing to the database the .wav file and the call information |
20:44.56 | cmendes0101 | "the database" |
20:45.06 | ModFather | i would like to know how i can store also an mp3 version of the voice mail inside the database. i know that asterisk cannot write it to mp3, but maybe it has any plugin that convert it to mp3 with lame? |
20:45.34 | [TK]D-Fender | * doesn't have plugins |
20:45.44 | [TK]D-Fender | it has scripts YOU tell it to call from the configs |
20:46.26 | ModFather | okey, so does anyone happen to know any script that is doing that already? |
20:47.06 | [TK]D-Fender | You already know lame |
20:47.14 | [TK]D-Fender | so use it |
20:47.28 | [TK]D-Fender | read your voicemail config and set the script to run |
20:47.51 | [TK]D-Fender | the sample details the parameters you have available |
20:48.21 | livtyler | [TK]D-Fender: same result, something should be wrong with my BSD, will try in Linux and report back |
20:48.23 | ModFather | i was asking if does anyone knows a script that doing that , but seems i need to right it by myself |
20:48.34 | ModFather | write* |
20:49.14 | [TK]D-Fender | calling lame is 1 shell command |
20:49.29 | [TK]D-Fender | Putting it somewhere after is on you for however you want to do that |
20:49.41 | ModFather | okey, and by calling lame you think, it can convert it to mp3, also delete the wav and insert it to the database.. |
20:49.42 | ModFather | thanks |
20:50.00 | [TK]D-Fender | last I cehcked lame doesn't put things "in a databse" |
20:50.05 | [TK]D-Fender | that's on you |
20:50.20 | ModFather | pfff TK :) nevermind |
20:50.22 | [TK]D-Fender | <livtyler> [TK]D-Fender: same result, something should be wrong with my BSD, will try in Linux and report back <- why haven't you actually shown us? |
20:50.28 | ModFather | i need a script not just a lame command.. |
20:50.34 | ModFather | thanks by the way |
20:50.35 | laptopdude90 | I've got a general server question |
20:51.06 | laptopdude90 | So right now I've got wires going from the back, through an empty 1u space, into the front of the switch |
20:51.21 | laptopdude90 | Should I cut the wires, hook them into a patch panel, and connect the patch panel instead? |
20:51.25 | laptopdude90 | Is there any advantage? |
20:52.09 | livtyler | [TK]D-Fender: don't worry, I will compile Asterisk in GNU/Linux as the book says to do. |
20:53.37 | cmendes0101 | laptopdude90: What kind of wires are they? Sounds like its just cable management on a small/lab setup? |
20:54.08 | [TK]D-Fender | Keep in mind you tell us things like "didn't work" and don't bother to show us anything we can help with. |
20:54.53 | laptopdude90 | They're just cat5e wires |
20:55.38 | [TK]D-Fender | laptopdude90, go look at cable management accessories |
20:55.53 | laptopdude90 | so that's a no? |
20:56.17 | [TK]D-Fender | Who wastes rackspace on an OPEN HOLE? |
20:56.28 | laptopdude90 | Well where am I supposed to run the wires then? |
20:56.30 | laptopdude90 | .-.-.-. |
20:56.39 | [TK]D-Fender | Why even have a rack. It's just like Jenga anyway right? |
20:56.48 | laptopdude90 | um |
20:56.50 | laptopdude90 | k? |
20:56.53 | [TK]D-Fender | I'm good at Jenga. Maybe I should just stack mine in the middle of the floor |
20:57.06 | laptopdude90 | so I'm going to take that as a no. |
20:57.12 | [TK]D-Fender | takes a server from the middle and puts it on top |
20:57.19 | laptopdude90 | until someone more qualified comes on(no offense) |
20:58.02 | [TK]D-Fender | Since you don't have a basis to judge mine... good luck trying to do that accurately BLIND |
20:58.03 | [TK]D-Fender | :p |
20:58.18 | laptopdude90 | well anything is more qualified than "you don't need a rack" |
20:58.30 | laptopdude90 | or just ignoring myquestion altogether |
20:58.38 | [TK]D-Fender | But for perspective I did point out that there are already tons of products for cable management for racks... so... |
20:58.46 | [TK]D-Fender | That proves I know they exist... and they are for a reason |
20:58.48 | laptopdude90 | But that doesn't answer my question |
20:58.49 | laptopdude90 | At all |
20:58.50 | [TK]D-Fender | Do with that what you will |
20:59.27 | [TK]D-Fender | Its' there to keep cables organized and so you don't run cables through some open hole in your rack front |
20:59.43 | laptopdude90 | then where am I supposed to run the cables |
20:59.46 | [TK]D-Fender | If this stuff EXISTS... it's because you shouldn't be doing it with some gaping hole |
21:00.02 | [TK]D-Fender | you run it INTO the cable management tracks? |
21:00.14 | [TK]D-Fender | You already have enough words to GOOGLE for this already. |
21:00.15 | laptopdude90 | So out the rack and back in again? |
21:00.21 | laptopdude90 | that doesnt make much sense |
21:00.25 | [TK]D-Fender | Haven't you already SEEN examples now? |
21:00.29 | laptopdude90 | yes |
21:00.34 | laptopdude90 | They ran it outside the rack |
21:00.37 | laptopdude90 | then back in |
21:01.11 | [TK]D-Fender | Across the SIDES normally, nice and clean and sealed off, and the out to the front as needed at whatever height needed |
21:01.34 | laptopdude90 | but I've got an enclosed rack |
21:02.10 | [TK]D-Fender | https://www.google.ca/search?q=rack+cable+management&biw=1760&bih=976&source=lnms&tbm=isch&sa=X&sqi=2&ved=0CAYQ_AUoAWoVChMIlJDTw6mTyQIVSSYeCh0EpQIn |
21:02.22 | laptopdude90 | yes that is what I googled |
21:02.27 | [TK]D-Fender | Go lok up whever element applies to your specific space and run with it |
21:02.36 | [TK]D-Fender | In the end you're the one who has to work with it |
21:02.47 | [TK]D-Fender | creful how you drag wires through places |
21:02.55 | cmendes0101 | I usually have my switch facing the back so network cables don't need to go back to front |
21:03.01 | hecatae | laptopdude90: colour code it |
21:03.07 | laptopdude90 | .-. that doesnt help |
21:03.36 | cmendes0101 | There is no magic way of doing it. Its how it fits and how the person wants to manage it or wants it to look |
21:11.11 | *** join/#asterisk livtyler (~livtyler@unaffiliated/livtyler) |
21:25.42 | kovalevsky | Hello everyone! |
21:25.56 | kovalevsky | Does anyone has worked before with voip voip configuration with asterisk? |
21:26.47 | lvlinux | kovalevsky: very few people that have worked with Asterisk have NOT worked with voip configuration :-) |
21:27.32 | lvlinux | kovalevsky: ask your question anytime. |
21:27.42 | hecatae | kovalevsky: no voip experience, but plenty of iax and sip experience |
21:28.06 | lvlinux | ? |
21:28.11 | hecatae | also some h323 if that's any help |
21:33.45 | kovalevsky | lvlinux, thanks a lot for letting me know that :D |
21:34.18 | lvlinux | kovalevsky: :-) Seriously though---did you have a question? |
21:34.54 | kovalevsky | lvlinux, yeah, I'm actually trying to figure out how can I make an inbound call configuration using a sip trunk line |
21:36.05 | lvlinux | Well the book goes through how to do that very simply. You can also pastebin your config here and someone may be able to help. |
21:36.08 | lvlinux | ~book |
21:36.08 | 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 |
21:37.46 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
21:45.06 | kovalevsky | http://fpaste.org/290860/76238421/ |
21:45.36 | kovalevsky | I've use this configuration to the incomings calls but Im not sure it's correct due the fact that the company only give some parameters and most of them are wrong... |
21:46.09 | kovalevsky | the thing is that I can do outbound calls but when it comes to make inbound calls I'm not able to call to my virtual name and I don't know what I'm doing wrong |
21:46.54 | kovalevsky | There is a tutorial here: http://www.voipvoip.com/asterisk/ |
21:47.12 | kovalevsky | That says all the parameters that you should use in incoming calls but with no success |
22:01.26 | *** join/#asterisk CeBe (~CeBe@a81-14-224-229.net-htp.de) |
22:30.22 | [TK]D-Fender | http://fpaste.org/290860/76238421/ |
22:30.24 | [TK]D-Fender | This is a failure |
22:30.29 | [TK]D-Fender | you aren't even allowing any codecs |
22:30.54 | lvlinux | I didn't realize "voip voip" was a company name |
22:31.20 | [TK]D-Fender | your entries for them should also be "nat=no" |
22:31.28 | lvlinux | kovalevsky: what country are you in? |
22:31.30 | [TK]D-Fender | insecure=very <- this is just WRONG in 1.6+ |
22:31.37 | [TK]D-Fender | it should be "insecure=port,invite |
22:31.43 | [TK]D-Fender | If even applicable |
22:32.09 | [TK]D-Fender | And the entire idea of "incoming settings' is USELESS from that guide |
22:32.15 | [TK]D-Fender | Remove it entirely |
22:32.30 | [TK]D-Fender | you didn't follow the guide for some aprts, and much of the rest was garbage |
22:32.30 | lvlinux | kovalevsky: you need to add at least either "allow=ulaw" if in US, or "allow=alaw" if outside US |
22:32.40 | [TK]D-Fender | Apply all these changes and try again |
22:37.04 | guest88391_ | am curious, if a system has allow=alaw and a ulaw call comes in, will it drop the call due to incompatible voice or will the call go on without any RTP? |
22:39.17 | [TK]D-Fender | guest88391_, doesn't matter if you allow alaw |
22:39.30 | [TK]D-Fender | guest88391_, What matteris is if you don't allow what they support |
22:39.42 | [TK]D-Fender | and if you don't then you're going to get a dropped call |
22:39.56 | [TK]D-Fender | The moment it gets answered |
22:42.41 | kovalevsky | [TK]D-Fender, thanks for you answer |
22:43.08 | kovalevsky | I've follow the guide step by step, firstable I tried t use the codecs and then remove it for tests reasons |
22:43.29 | kovalevsky | whay nat should be no? |
22:43.43 | kovalevsky | I've use nat=force_port |
22:44.03 | *** join/#asterisk crocodilehunter (~Thunderbi@CPE-121-211-223-68.hhui7.cht.bigpond.net.au) |
22:44.41 | [TK]D-Fender | your PROVIDER is not behind NAT |
22:47.36 | kovalevsky | [TK]D-Fender, that's okey |
22:47.48 | [TK]D-Fender | It really isn't. |
22:47.49 | kovalevsky | I've made the changes that you told me but everything is the same |
22:47.50 | kovalevsky | =( |
22:48.05 | kovalevsky | The funny part is that I can now make outbound calls |
22:48.06 | [TK]D-Fender | Because if they end up using separate media vs signalling servers you're going to end up with no audio |
22:48.32 | kovalevsky | and I have sound during the call |
22:48.33 | kovalevsky | So... |
22:48.39 | [TK]D-Fender | We also can't judge "everything is the same" because you didn't actually show us a call with proper debug before .... or NOW. |
22:49.11 | [TK]D-Fender | Show us the call and your NEW configs |
22:50.39 | kovalevsky | http://fpaste.org/290865/27727144/ |
22:50.57 | kovalevsky | This is the new config that I've use into the incoming call |
22:51.05 | *** join/#asterisk karelk (~karel@31.10.145.202) |
22:51.15 | kovalevsky | I've made a inbound route and nothing |
22:51.34 | [TK]D-Fender | Where is the call attempt with debug? |
22:51.43 | kovalevsky | [TK]D-Fender, is there is a way to see some debug information if a user call to the virtual name that I'm using? |
22:51.59 | [TK]D-Fender | "virtual name" is not a meaningful term |
22:52.10 | kovalevsky | sorry! I got confused hehe |
22:52.11 | [TK]D-Fender | show us the PACKETS coming to your server for the calls. |
22:52.15 | kovalevsky | virtual phone number I mean |
22:52.18 | [TK]D-Fender | "sip set debug on" |
22:52.21 | [TK]D-Fender | "core set verbose 10" |
22:52.24 | [TK]D-Fender | place a call |
22:52.25 | [TK]D-Fender | SHOW US |
22:57.15 | kovalevsky | there are so many info there |
22:58.49 | [TK]D-Fender | I know |
22:59.15 | [TK]D-Fender | It tells you whats happening and what it doesn't like |
22:59.34 | [TK]D-Fender | So since you've clearly never looked at this before we don't expect you to know what it all means |
22:59.39 | [TK]D-Fender | so show us and we'll tell you |
23:04.54 | kovalevsky | [TK]D-Fender, http://fpaste.org/290870/47628663/ |
23:05.04 | kovalevsky | this is some messages that the debug tools show me |
23:07.18 | [TK]D-Fender | Retransmitting #5 (no NAT) to 69.90.209.57:5065: |
23:07.29 | [TK]D-Fender | Apparently you are trying to register and aren't getting answered at all |
23:07.47 | [TK]D-Fender | And I see no call attempt in there |
23:08.05 | [TK]D-Fender | I wouldn't expect you to get them from your provider since you haven't successfully registered |
23:09.13 | kovalevsky | Yeah |
23:09.36 | kovalevsky | That's what I'm trying to use with the registry string that they say in the tutorial |
23:10.02 | kovalevsky | but i've use sip show registry and the pbx says me that the request was sent but with no confirmation of the registry |
23:10.44 | [TK]D-Fender | And you are sending that registration to a DIFFERENT PORT than was suggested in their guide |
23:10.52 | [TK]D-Fender | Retransmitting #5 (no NAT) to 69.90.209.57:5065: |
23:10.58 | [TK]D-Fender | You should NOT be sending to 5065 |
23:11.10 | [TK]D-Fender | Why are you doing this? |
23:11.21 | [TK]D-Fender | That is not the standard port and their guide does not tell you to do this |
23:12.22 | kovalevsky | [TK]D-Fender, I've tested with 5060 |
23:12.27 | kovalevsky | with no success |
23:12.40 | [TK]D-Fender | And we don't see what THAT failure looks like |
23:12.49 | [TK]D-Fender | Just dbecause it didn't work doesn't mean it is the SAME |
23:12.59 | [TK]D-Fender | And you are clearly not following the rules |
23:12.59 | kovalevsky | they have suggested use that port in case of any troubleshooting |
23:13.27 | [TK]D-Fender | Fix your regsitration |
23:14.20 | *** join/#asterisk marlinc (~marlinc@bouncer.cvo.technology) |
23:14.25 | [TK]D-Fender | <kovalevsky> http://fpaste.org/290865/27727144/ <- and this is WRONG and not what I told you to do for the peer settings |
23:14.54 | [TK]D-Fender | I told you to get rid of the "incoming settings" section entirely |
23:15.11 | kovalevsky | [TK]D-Fender, Oh, okey. |
23:15.15 | [TK]D-Fender | You also made changes I did not suggest including changing the hostname to an IP |
23:15.24 | *** join/#asterisk karelk (~karel@31.10.145.202) |
23:21.23 | [TK]D-Fender | Fix all your settings as instructed then show us you actually did them as told and show new debug |
23:22.12 | kovalevsky | [TK]D-Fender, give me some minutes |
23:22.22 | [TK]D-Fender | Should take 1 minute |
23:22.25 | [TK]D-Fender | tops |
23:47.28 | *** join/#asterisk Fanch (~fanch@reverse1.qth.fr) |
23:47.43 | *** join/#asterisk karelk (~karel@31.10.145.202) |
23:54.04 | *** join/#asterisk karelk (~karel@31.10.145.202) |