00:11.38 | *** join/#asterisk F|ReSTaRT (~dlyh@unaffiliated/firestart) |
00:29.23 | Mon|A|rch | ChannelZ, I'm assuming the asterisk curl returns false on an error? |
00:30.03 | ChannelZ | Hmm. I don't really know. |
00:35.38 | Mon|A|rch | : / |
00:36.00 | Mon|A|rch | well, I'm calling two methods on another server with it, one is getting the correct output from the method, the other isn't getting any |
00:36.08 | Mon|A|rch | I've checked the function names, and the CURL urls |
00:36.19 | Mon|A|rch | is there debugging for this sort of thing? |
00:36.24 | Mon|A|rch | I'm not sure what debug to turn on |
00:36.26 | Mon|A|rch | http://pastebin.com/Yu93utjH |
00:36.35 | Mon|A|rch | relevant code/errors if that's needed |
00:37.40 | Mon|A|rch | You'd think I'd get an error in the response or something |
00:39.24 | Mon|A|rch | that debug is unfortunately near the end of the extension's execution |
00:39.27 | Mon|A|rch | i can post all of it |
00:40.00 | Mon|A|rch | i just need to see the information being sent by CURL, and I feel like I could nail this problem down |
00:43.25 | din3sh | zzzzzZZZZZzZZZZZzzzzzzzZ |
00:53.12 | *** join/#asterisk DoSJustin (~justin@vpn.bctconsulting.com) |
00:53.55 | Mon|A|rch | no one? |
00:57.29 | *** join/#asterisk tekzilla (~jon@hmbg-4d06a9cb.pool.mediaWays.net) |
00:57.36 | WIMPy | ist starting to get issues with chan_sips dosability. |
00:58.43 | *** join/#asterisk saint_ (~saint@68.38.56.184) |
00:58.47 | saint_ | hi all |
00:59.19 | WIMPy | I guess it sould be possible to add a "not udp 5060" to the ESTABLISHED,RELATED rule. |
00:59.47 | *** part/#asterisk ruben231 (~OpenDial@112.198.79.8) |
01:00.12 | WIMPy | Or maybe not. |
01:03.11 | *** join/#asterisk DarthExpeditor (~DarthExpe@rrcs-71-43-76-226.se.biz.rr.com) |
01:06.24 | ChannelZ | Mon|A|rch: Your PHP not getting called write is outside the scope of Asterisk really. |
01:06.49 | ChannelZ | Look at your server logs and see if it's requesting the URL as you expect it to... beyond that you need to debug your PHP |
01:14.21 | saint_ | is there a web page where is shows what kind of power Digium D serie phone needs if I do not have PoE ? |
01:15.06 | Mon|A|rch | ChannelZ, thanks |
01:15.47 | ChannelZ | saint_: Their spec sheet says '5 volt DC power port' is all. |
01:15.52 | WIMPy | saint_: 5V DC, according to the lable on the bottom, 2A. Haven't tried to measure it, yet. |
01:16.06 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
01:16.10 | *** mode/#asterisk [+o pabelanger] by ChanServ |
01:16.28 | saint_ | ChannelZ: / WIMPy thank you |
01:16.33 | WIMPy | And the plug is an unusual size. |
01:16.37 | ChannelZ | Qwell probably could tell you but I suspect he's idle for the night |
01:17.06 | ChannelZ | I take it they don't come with one standard? |
01:17.19 | saint_ | well.. |
01:17.28 | *** join/#asterisk sebastianpersic (~chatzilla@ua-85-227-32-4.cust.bredbandsbolaget.se) |
01:17.30 | saint_ | they do , but i did not order it since i have poe here |
01:17.51 | saint_ | the guy i'm making test with does not have poe . he was supposed to get a switch at best buy, but they don t have anything in store |
01:17.56 | saint_ | so we are looking at power bricks.. |
01:18.26 | WIMPy | Well, all 5V PSUs I have have the same plug, but they on;t fit the Digium phones. |
01:19.39 | saint_ | what's a POE splitter ? |
01:19.50 | saint_ | don't tell me it's something that remove the power from poe ? |
01:20.21 | WIMPy | Something you can use to power non-POE devices from POE. |
01:20.34 | saint_ | WIMPy: oh, ok.. that's cool. |
01:20.55 | saint_ | WIMPy: and the difference between a poe injector and poe kit ..? |
01:20.59 | saint_ | injector would be what he needs, right ? |
01:21.04 | WIMPy | Like POE to 5V or POE to 12V. |
01:21.13 | saint_ | i see best buy has poe adapter kit |
01:21.38 | WIMPy | Injector puts POE on an ethernet cable that doesn't otherwise have POE, yes. |
01:21.54 | WIMPy | Make sure it's really POE. |
01:22.33 | WIMPy | There are kits that just allow you to directly put the 5V or 12V on the spare wires and split them out again. |
01:22.48 | saint_ | ok, so what he needs is an injector then, right ? |
01:23.28 | WIMPy | yes |
01:23.39 | saint_ | thanks.. |
01:23.52 | WIMPy | Or just the right plug. PCs have lots of 5V to spare. |
01:24.11 | saint_ | man, he is killing me. i was so exited to try this scenario tonight.. |
01:24.19 | saint_ | we're trying to replace our phone system at the fire house.. |
01:24.44 | saint_ | WIMPy: we use macs .. :D |
01:25.07 | WIMPy | Where's the difference? |
01:25.11 | WIMPy | Especially today? |
01:25.27 | saint_ | the difference in what ? |
01:25.40 | saint_ | oh, computers ? |
01:25.42 | WIMPy | Don't know. |
01:25.52 | saint_ | Well.. it's the difference of Windows against OS X |
01:25.57 | WIMPy | Macs run on 5V as well. |
01:25.57 | saint_ | OS X being based on BSD |
01:26.43 | WIMPy | You don't have to tortue PCs with Windows. |
01:26.50 | WIMPy | +r |
01:28.01 | slav3_kitten | linux! |
01:35.03 | igcewieling | The difference is with one you support a large evil corporation and with the other you support a large evil corporation. |
01:37.59 | *** join/#asterisk Iamnach0 (~Iamnacho@ip174-70-132-58.ks.ks.cox.net) |
01:40.07 | saint_ | the other difference is that you can't have that with windows: 20:39:50 up 590 days, 4:22, 1 user, load average: 0.19, 0.19, 0.12 |
01:40.12 | saint_ | up 509 days ! |
01:43.12 | saint_ | s/90/90 |
01:48.01 | igcewieling | your mac has 590 days of uptime? |
01:48.54 | saint_ | nah.. my linux |
01:49.01 | saint_ | one of my linux i should say |
01:50.32 | *** join/#asterisk j4m3s_ (~j4m3s_@pdpc/supporter/active/j4m3s) |
02:19.32 | astra05 | igcewieling: i wish i knew :( i appreciate the mis-ping though |
02:27.16 | *** join/#asterisk pigpen (~mark@fw.seamans.cc) |
02:32.46 | Sprocks | anyone here able to help me with forcing asterisk to shutdown? |
02:34.31 | Sprocks | i tried "core restart gracefully" and it didn't restart and now I can't restart cause it says "already in progress." |
02:36.19 | igcewieling | killall -9 asterisk |
02:36.29 | igcewieling | you can also abort shutdown |
02:37.14 | Sprocks | core abort shutdown? |
02:37.37 | Sprocks | didn't work |
02:38.41 | Sprocks | the killall worked |
02:38.44 | Sprocks | thanks |
02:41.25 | igcewieling | Sprocks: abort shutdown stops the pending shutdown so you can issue a different shutdown command. |
02:42.55 | Sprocks | every command except "core restart now" & "core restart gracefully" said it didn't exist |
02:43.13 | Sprocks | but thanks for the killall command igcewieling |
02:44.09 | *** join/#asterisk tamiel (~tamiel@208.66.27.62) |
02:44.12 | igcewieling | Sprocks: I use cli_aliases.conf so the original command might be different. does "help abort" show anything? |
02:47.06 | Sprocks | in help I see "core abort shutdown" and I tried that |
02:49.00 | igcewieling | killall is such a violent way to end asterisk 8-| |
02:49.00 | *** join/#asterisk bytemaster (~erw@host81-150-217-168.in-addr.btopenworld.com) |
02:49.30 | Sprocks | usually I use the graceful restart but that didn't work so I need something else |
02:54.33 | jpsharp | reboot |
02:54.41 | jpsharp | That'll do it :) |
02:55.01 | Sprocks | didn't want to go that far the server hosts other things as well |
02:56.17 | *** join/#asterisk jsjc (~Adium@124.Red-83-55-40.dynamicIP.rima-tde.net) |
03:06.52 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
03:06.52 | *** mode/#asterisk [+o pabelanger] by ChanServ |
03:39.21 | jpsharp | huh. I'm not a big fan of Asterisk GUIs, but I gotta admin Elastix is pretty freakin nice. |
03:39.27 | *** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com) |
03:41.54 | *** join/#asterisk vinhdizzo (~vinh@cpe-66-74-182-202.socal.res.rr.com) |
03:47.58 | pabelanger | jpsharp: they serve a purpose. I am even working on one for my needs |
03:48.25 | pabelanger | but, a HTTP server on your PBX, is still wrong IMO |
03:54.02 | jpsharp | Yeah. I agree. |
03:54.30 | *** join/#asterisk greenwolf (45cc7e1d@gateway/web/freenode/ip.69.204.126.29) |
03:54.42 | coppice | if all your phones run an HTTP server, why not your PBX? |
03:55.19 | pabelanger | how do your phones run off a http server? |
03:55.54 | coppice | how many IP phones are not running an HTP server? |
03:56.26 | greenwolf | i think he means the GUI that comes with an IP phone or linksys ATA adpter |
03:56.28 | pabelanger | 0 run over http |
03:56.39 | greenwolf | buddy those phones arn't running an http server |
03:56.41 | pabelanger | oh |
03:57.28 | pabelanger | well, if you are talking provisioning,that is a different story. Again, not on your PBX, but a central http server |
03:57.28 | greenwolf | its using 1 in the ATA device to program the phones |
03:57.42 | greenwolf | i think that might clear that up |
04:25.14 | saint_ | can someone explain to me the script at the end of the page http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/asterisk-CHP-6-SECT-6.html |
04:25.44 | saint_ | I thought to return a value, you had to use GoSub() |
04:26.01 | saint_ | how can ${BLACKLIST()} can return something ? |
04:26.17 | saint_ | if it is called like that : exten => 124,1,GotoIf($[${BLACKLIST()]?blocked,1) |
04:28.05 | pabelanger | saint_: it is a function, it return 1 or 0 |
04:28.21 | pabelanger | *CLI> core show function blacklist |
04:28.42 | pabelanger | not sure where you are getting GoSub from |
04:29.32 | saint_ | pabelanger: oh @(*$&@(#$ , thanks for pointing that. i thought "we" as the reader had to write our own function and it was nowhere to be find in the book. |
04:29.34 | saint_ | thanks |
04:30.29 | pabelanger | np |
04:31.34 | saint_ | pabelanger: is there any way to see the source of this function ? |
04:31.41 | saint_ | I'd like to do myself a whitelist too |
04:32.25 | pabelanger | <PROTECTED> |
04:32.29 | saint_ | then for people who are in neither, filter them with a "record your name" , then ring the phones , and play the name.. then leave me the choice to press 1 to get the caller, 2 to whitelist , 3 to black list |
04:43.06 | *** join/#asterisk pigpen (~mark@fw.seamans.cc) |
04:43.07 | *** join/#asterisk g_r_eek (~g_r_eek@173-9-142-122-Miami.FL.hfc.comcastbusiness.net) |
04:46.36 | saint_ | is there anything special to have Zapateller registered in the list of the apps ? |
04:46.43 | saint_ | I can't see it when i do core show applications |
04:55.06 | saint_ | is there a way to find the position of a character in a string ? |
04:55.18 | saint_ | the callerid(name) coming up is +1xxxxx@voice.google.com/srvres-MTAuNjguMjQwLjIwOTo5ODA4 |
04:55.31 | saint_ | I'm trying to get ride of the @ and whatever is after |
04:57.36 | ChannelZ | look at the CUT function |
04:58.41 | saint_ | channelz ha, that looks perfec tthnks |
05:01.19 | igcewieling | saint_: "core show applications" and "core show functions" are your friends. Get to know them and help keep the kittens alive! |
05:02.28 | saint_ | yeah. |
05:02.33 | saint_ | i m getting used to that. |
05:02.42 | saint_ | So the function cut, is this the right way to call it ? |
05:02.42 | saint_ | Verbose(0,***** ${CUT(${CALLERID(name)},@,1)}) |
05:03.14 | saint_ | Because I get a blank after the ***** in my verbose |
05:06.43 | saint_ | ha.. just found the trick.. it's ${CUT(CALLERID(name)... and not ${CALLERID(name)} |
05:14.30 | saint_ | how do i evaluate an expression with an IF ? |
05:14.41 | saint_ | Is it IF (xxx == ttt) ? |
05:17.58 | ChannelZ | It's IF(expression?true:false) - expression is generally something in $[] and 'true' and 'false' are data that IF returns. |
05:18.49 | saint_ | ChannelZ: thats what i m trying to do: same => n,IF(${CALLERID(num)}=="+"?Set(CALLERID(num)="":})) |
05:19.01 | ChannelZ | IF is a function, not a dialplan application |
05:19.01 | saint_ | I want to test the value of the caller ID. |
05:19.15 | saint_ | If it's only a + that I have , then I want to make it blank |
05:19.39 | saint_ | Unless if PrivacyManager will take a + as an anonymous call ? |
05:20.41 | ChannelZ | it'd be more like same => n,Set(poop=IF($[CALLERID(num)=123]?yes:no)) |
05:22.08 | ChannelZ | oops missing some braces |
05:22.22 | ChannelZ | Set(poop=${IF($[CALLERID(num)=123]?yes:no)}) |
05:22.30 | saint_ | ChannelZ: so sometimes you an do one = and it test , and some other time you can do one = with a SET then it allocate a variable ? |
05:22.34 | ChannelZ | asterisk syntax is annoying |
05:23.25 | ChannelZ | IF returns data, not a true/false as some type of boolean |
05:23.35 | ChannelZ | And it's a function, not an application |
05:24.05 | saint_ | yeah, but you wrote in the if CALLERID(num)=123 |
05:24.07 | ChannelZ | So the application you're running is Set, to set a variable to something resulting from the IF |
05:24.23 | saint_ | why isn't this allocating the variable with 123 ? |
05:24.26 | ChannelZ | no I wrote $[CALLERID(num)=123] which is important |
05:24.34 | ChannelZ | $[expression] |
05:24.44 | saint_ | so with [ ] , = would test |
05:24.56 | ChannelZ | more or less |
05:25.07 | saint_ | no need to put == to test |
05:26.01 | ChannelZ | well no because == doesn't mean anything |
05:26.50 | ChannelZ | It's not a real programming language |
05:27.02 | saint_ | ok.. just asking, because from the poor C that I can do , you do x = 8 would assign 8 to 8 , and if (x==8) to test x |
05:27.05 | saint_ | ok |
05:27.24 | saint_ | now, do I need to put the Set() for the if ? |
05:27.40 | saint_ | Because I really want to apply something if it's true or not touch it if it's false |
05:28.23 | saint_ | can I do IF($[CALLERID(num)="+"]?Set(CALLERID(num)=""):)}) ..? |
05:28.27 | ChannelZ | I'm not sure how else to explain it. |
05:28.50 | ChannelZ | IF returns data. It doesn't execute something if true or something else if false. |
05:29.02 | saint_ | oh.. ok |
05:29.03 | ChannelZ | You would do it backwards, as I showed. |
05:29.30 | saint_ | so I get the value in poop.. now I need to test poop.. so since IF return a value, I can't do IF again .. |
05:29.51 | ChannelZ | That was just an example |
05:30.05 | ChannelZ | poop can be CALLERID(num) if you're intending to transform it via the IF |
05:30.24 | saint_ | hhhhaaaaaa.. |
05:30.53 | ChannelZ | because Set can call functions where it makes sense (any function which can set a piece of data.. like DB() and others) |
05:31.18 | saint_ | So most likely this is good: Set(CALLERID(num) = IF($[CALLERID(num)="+"]?:${CALLERID(num)})}) ) |
05:32.17 | ChannelZ | well IF needs to be surrounded by ${} in this case |
05:32.49 | ChannelZ | And if I remember right saying "+" is literally "+" (quote, plus, quote) |
05:33.15 | igcewieling | Most functions take a string ${CALLERID(num)} becomes a string when it is evaluated by the dialplan. a few things take a variable name, such as CALLERID(num) |
05:33.34 | ChannelZ | so you probably need to either quote the CALLERID(num) or remove the quotes from the +, I don't _think_ there is a =+ operator.. you'd have to juist test it |
05:34.10 | igcewieling | General rule of thumb, if you have quotes on one side of an = then you need quotes on the other side of the = |
05:34.46 | ChannelZ | This is why most people just give up and write AGI in some other more sensible language |
05:34.56 | saint_ | ok.. thank you |
05:35.22 | ChannelZ | ..well, I do anyway. |
05:35.34 | saint_ | yeah.. i m not at that level yet. |
05:35.38 | saint_ | i'm just one month into it. |
05:35.43 | igcewieling | ChannelZ: the masochists write it in dialplan, the ones somewhat less interest in pain do it in AEL. |
05:35.53 | igcewieling | I do all three, dialplan, ael, AGI |
05:36.22 | ChannelZ | The expression/variable syntax is good to know but often makes your eyes cross |
05:36.42 | ChannelZ | I wonder if someone has built syntax highlighting rules for standard * dialplan in some editor.. |
05:38.28 | ChannelZ | There used to be a PDF that spelled out expressions and operators and lots of other things quite clearly, but I think it got scrapped for all this auto-generated faff which is far less readable. |
05:39.14 | saint_ | how do i assign an empty value to a variable ? |
05:39.24 | igcewieling | Set(myvar=) |
05:39.27 | saint_ | if I do Set (xx) , it yells because there is no = |
05:42.09 | ChannelZ | https://wiki.asterisk.org/wiki/display/AST/Channel+Variables |
05:43.04 | ChannelZ | ...for Expression syntax and some other things to know |
05:45.02 | saint_ | so that's how I'm testing the callerid: |
05:45.03 | saint_ | same => n,Set(CALLERID(num)=${IF($[CALLERID(num)="+"]?:xx${CALLERID(num)})}) |
05:45.20 | saint_ | I want to make it empty if it's only a + |
05:45.35 | saint_ | I just tried to put ?xx to add xx to see what I would get and if the test is correct |
05:46.03 | saint_ | My verbose tells me that callerid after the test is ***** CALLERID(num): xx+ |
05:46.19 | saint_ | why does it add xx instead of replacing the single + with xx ..? |
05:47.48 | saint_ | ha.. hold on.. |
05:47.57 | saint_ | I missplaced the xx |
05:49.27 | saint_ | still not working.. how can I test my variable to see if it's equal to + ? |
05:50.08 | saint_ | ChannelZ: you said i need to probably double quote callerid(num) .. |
05:50.30 | saint_ | does it become ["CALLERID(num)"="+"] ? |
05:51.06 | ChannelZ | probably |
05:51.13 | igcewieling | I would take a different approach, something like ExecIf($["${CALLERID(num)}" = "+"]?Set(CALLERID(num)=)) |
05:51.18 | saint_ | ok, forget it. |
05:51.23 | saint_ | i know how i'm going to do this damn test. |
05:51.32 | saint_ | i just saw that there is a test on string lenght |
05:51.37 | igcewieling | saint_: you are checking if the string CALLERID(num) is equal to + which will never be true |
05:52.13 | saint_ | igcewieling: it is true in my case .. |
05:52.19 | igcewieling | no, it isn't. |
05:52.31 | ChannelZ | he means literal strings. Your syntax still isn't quite right. |
05:52.39 | saint_ | the value of ${CALLERID(num)} is + |
05:52.42 | saint_ | ok |
05:52.48 | saint_ | I'm going to use this |
05:52.59 | saint_ | ${LEN(xxx)} |
05:53.00 | igcewieling | ${CALLERID(num)} might be equal to + but the actual characters C A L L E R I D ( n u m ) will NEVER be equal to + |
05:53.08 | saint_ | igcewieling: understand |
05:53.14 | saint_ | igcewieling: understood * |
05:53.30 | ChannelZ | This is almost as fun as regex |
05:53.41 | igcewieling | ChannelZ: Not even close. 8-) |
05:53.42 | ChannelZ | except I mostly like regex |
05:54.23 | ChannelZ | or perl. perl has pretty horrendous syntax. |
05:54.24 | igcewieling | I do not want to finish these upgrads, I want to go to bed. |
05:54.29 | ChannelZ | (now I'll have all the perl people riding my ass..) |
05:55.10 | igcewieling | I stick to PHP, "good enough" for almost anything. |
05:55.38 | igcewieling | has been using Asterisk for 12 years. |
05:59.15 | saint_ | damn it |
05:59.19 | saint_ | what's wrong in this one now: |
05:59.20 | saint_ | same => n,Set(CALLERID(num)=${IF$[${LEN(${CALLERID(num)})}=1]?:${CALLERID(num)}}) |
05:59.52 | saint_ | it looks like the Set sends back empty string no matter what |
06:03.47 | ChannelZ | you're missing a ( after IF |
06:04.09 | ChannelZ | and then probably something else |
06:04.42 | igcewieling | looks like the fatigue bug |
06:04.55 | saint_ | ChannelZ: i catched this one and added it . still same issue. |
06:05.08 | saint_ | same => n,Set(CALLERID(num)=${IF($[${LEN(${CALLERID(num)})}=1]?:${CALLERID(num)})}) |
06:05.19 | saint_ | always Set callerid(num) to empty string |
06:05.57 | saint_ | ha.. |
06:05.58 | saint_ | working |
06:06.04 | saint_ | fatigue bug, yeah |
06:06.09 | saint_ | i kept calling with blocked caller id |
06:06.12 | saint_ | damn me |
06:06.32 | saint_ | is it possible to add article ourselves in the wiki ? |
06:06.40 | saint_ | if not , i will make a document about google voice |
06:06.45 | ChannelZ | I think there's still a syntax error but my eyes are crossing looking at all these braces and parens |
06:06.46 | saint_ | because the way they have it in the wiki is wrong |
06:07.21 | saint_ | ChannelZ: nah nah, it s working correctly now.. when i call with block number that comes only with a + , then my num is setup to empty string , then privacymanager works |
06:07.43 | saint_ | ChannelZ: if i call with a non blocked number , then caller id stays the same and it goes on the other part of my script |
06:08.21 | ChannelZ | nm I mistyped something in my test. |
06:10.55 | *** join/#asterisk jmls (~somefake@77.107.171.82) |
06:12.10 | ChannelZ | what part of the wiki is wrong |
06:13.14 | ChannelZ | (and no I don't think you can edit the wiki, only add comments) |
06:13.25 | saint_ | ChannelZ: https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google |
06:14.31 | saint_ | ChannelZ: the Filtering Caller ID part |
06:14.47 | saint_ | I started with his example, it was not working. |
06:15.22 | saint_ | then later in the comments, a guy named Andrew wrote Set(CALLERID(number)=${CALLERID(name):2:10}) |
06:15.41 | saint_ | that worked, until I tried to call myself with blocked number. |
06:15.52 | saint_ | With his solution, the callerid(num) and (name) are fucked up |
06:16.08 | saint_ | The correct solution is same => n,Set(CALLERID(num)=${CUT(CALLERID(name),@,1)}) |
06:16.24 | saint_ | where if it's non blocked, you get the +1xxxyyyzzzz |
06:16.30 | saint_ | and if it's bloked, you get only + |
06:16.38 | saint_ | which is where my other test comes: |
06:16.44 | saint_ | same => n,Set(CALLERID(num)=${IF($[${LEN(${CALLERID(num)})}=1]?:${CALLERID(num)})}) |
06:17.02 | saint_ | if you have a + only, then callerid(num) becomes an empty string |
06:17.09 | saint_ | then privacy manager works |
06:18.36 | saint_ | When I try to create a login in the wiki, I get "You are not permitted to perform this operation" .. |
06:22.43 | *** join/#asterisk LiuYan (~LiuYan@211.154.128.171) |
06:25.40 | saint_ | gee.. it's late. going to bed. good night all. thanks for the help. |
06:33.41 | *** join/#asterisk din3sh (~din3sh@41.136.86.150) |
07:28.15 | *** join/#asterisk SeRi (~wtf@pdpc/supporter/professional/seri) |
07:28.36 | SeRi | so I got my new Polycom 670 in today |
07:29.00 | *** join/#asterisk mjordan (~mjordan@28.254-240-81.adsl-static.isp.belgacom.be) |
07:29.01 | *** mode/#asterisk [+o mjordan] by ChanServ |
07:29.04 | SeRi | but it seems that it was not new as advertised |
07:29.42 | SeRi | is there a way to reset the password on a 670? |
07:36.37 | ChannelZ | http://support.polycom.com/global/documents/support/technical/products/voice/SoundPointIP_Resetting_Log_Files_QT18298.pdf |
07:37.47 | SeRi | Thanks ChannelZ looks like I got it. |
07:37.50 | SeRi | damn ebay |
07:38.10 | SeRi | this thing was new for sure but preconfigured with a provissioning server |
07:38.22 | SeRi | for a provider |
07:40.58 | ChannelZ | bitches |
07:42.25 | *** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl) |
07:45.09 | *** part/#asterisk mjordan (~mjordan@28.254-240-81.adsl-static.isp.belgacom.be) |
07:46.24 | SeRi | word |
07:55.06 | ChannelZ | Are those things really ~$400? |
08:23.08 | SeRi | ChannelZ: yes and no |
08:23.32 | SeRi | I found one new on ebay for 250 |
08:23.44 | SeRi | s/new/"new"/ |
08:32.10 | SeRi | wow this new firmware is nice |
08:32.20 | SeRi | a whole new learning curve :/ |
08:40.09 | *** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net) |
08:41.40 | ChannelZ | I just can't fathom paying $400 for a phone. |
08:51.30 | SeRi | agreed |
09:19.38 | *** join/#asterisk bn-7bc (~bjarne-im@macbook-pro.lan-sx.noare-1.holmedal.net) |
09:21.41 | *** join/#asterisk ghost75 (~trechber@dslb-088-064-053-029.pools.arcor-ip.net) |
09:48.54 | *** join/#asterisk TarCert (c1a9b80e@gateway/web/freenode/ip.193.169.184.14) |
09:49.16 | *** join/#asterisk plundra (1000@v0.article.se) |
09:54.38 | *** join/#asterisk evilman_home (kvirc@2.92.139.225) |
10:01.22 | *** join/#asterisk bandroidx (~bandroidx@2605:6400:2:fed5:4:0:414:11) |
10:05.02 | jmls | not understanding device_state :( |
10:05.09 | jmls | dialplan is thus: http://pastebin.com/dMpR2kUK |
10:05.28 | jmls | when I dial the number from my phone, I get a "NOT_INUSE" for the device_state |
10:05.56 | jmls | I must be missing something or not understanding what the function of device_state is |
10:13.32 | jmls | meh. |
10:13.44 | jmls | found it. callcounter=yes needs to be set in sip.conf. |
10:13.45 | jmls | doh |
10:18.30 | *** join/#asterisk sebastianpersic (~chatzilla@ua-85-227-32-4.cust.bredbandsbolaget.se) |
10:22.41 | ChannelZ | yes, that. |
10:44.52 | ghost75 | i had that too lol |
11:01.23 | *** join/#asterisk fisted (~fisted@unaffiliated/fisted) |
11:35.15 | *** join/#asterisk tzafrir_laptop (tzafrir@72.82.ipv4.fosdem.net) |
12:07.58 | *** join/#asterisk chris-NB (~chris@213162068076.public.t-mobile.at) |
12:11.51 | *** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart) |
12:12.25 | din3sh | zzzzzZZZZZzZZZZZzzzzzzzZ |
12:13.00 | *** join/#asterisk ThomasLocke (~ThomasLoc@pdpc/supporter/active/thomaslocke) |
12:51.55 | *** join/#asterisk tzafrir_laptop (~tzafrir@2001:67c:11f0:cafe:5c72:52fd:7443:214a) |
13:13.30 | *** join/#asterisk asr33 (~asr33@unaffiliated/asr33) |
13:38.01 | *** join/#asterisk Iamnacho (~Iamnacho@ip174-70-132-58.ks.ks.cox.net) |
14:22.18 | *** join/#asterisk tzafrir_laptop (~tzafrir@2001:67c:11f0:cafe:5c72:52fd:7443:214a) |
14:37.57 | *** join/#asterisk Iamnach0 (~Iamnacho@ip174-70-132-58.ks.ks.cox.net) |
14:41.31 | *** join/#asterisk asr33 (~asr33@unaffiliated/asr33) |
14:49.08 | *** join/#asterisk gusto (~gusto@2001:a60:11ff:1200:221:6aff:feb8:e0b2) |
14:50.09 | *** join/#asterisk vinhdizzo (~vinh@cpe-66-74-182-202.socal.res.rr.com) |
14:51.32 | *** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl) |
15:03.40 | *** join/#asterisk LiuYan (~LiuYan@211.154.128.171) |
15:04.42 | *** join/#asterisk tzafrir_laptop (~tzafrir@2001:67c:11f0:cafe:5c72:52fd:7443:214a) |
15:15.53 | *** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart) |
15:32.52 | *** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com) |
15:38.06 | *** join/#asterisk vlad_starkov (~vlad_star@83.149.45.186) |
16:04.29 | *** join/#asterisk iztech (~iztech@76-246-226-131.uvs.irvnca.sbcglobal.net) |
16:05.28 | SeRi | IP 670 is a bit more complicated than the old 560 |
16:05.38 | SeRi | This new firmware is a bit of a pita |
16:14.09 | *** join/#asterisk fakhir (~fakhir@unaffiliated/fakhir) |
16:22.10 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
16:22.10 | *** mode/#asterisk [+o pabelanger] by ChanServ |
16:50.14 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
16:50.14 | *** mode/#asterisk [+o pabelanger] by ChanServ |
17:00.10 | *** join/#asterisk TarCert (c1a9b80e@gateway/web/freenode/ip.193.169.184.14) |
17:02.26 | *** join/#asterisk gg608f (~Adium@187.207.22.19) |
17:06.27 | *** join/#asterisk Jozza (~chatzilla@BSN-77-186-224.static.dsl.siol.net) |
17:07.26 | Jozza | hi what i the command to make a proper diff? By proper i mean compare shows Unknown as root directory instead of trunk |
17:13.15 | rue_house | can anyone help me with a mgcp problem? I think mgcp.conf can only define one gateway? |
17:14.29 | rue_house | does the asterisk source code contain sufficient libraries to write a console sip client app? |
17:26.58 | *** join/#asterisk EmleyMoor (phil@topdeck.tinsleyviaduct.com) |
17:27.57 | EmleyMoor | I have asterisk 1.8.13.1~dfsg-1+0.1 - does this version support SIP on IPv6? If so, is there anything special I need to do to enable it? |
17:29.05 | EmleyMoor | (it seem an attempt to use IPv6 by one of my ITSPs has caused my test number with them to stop receiving calls) |
17:30.02 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
17:30.02 | *** mode/#asterisk [+o pabelanger] by ChanServ |
17:31.47 | *** join/#asterisk coppice (~chatzilla@123203240234.ctinets.com) |
17:35.57 | EmleyMoor | If they are right, then merely enabling IPv6 on my Asterisk should fix the problem. If not, I have to wait for a DNS TTL to expire. |
17:52.14 | igcewieling | EmleyMoor: yes, asterisk 1.8 supports ipv6 (according to the docs) |
17:52.50 | EmleyMoor | Hmmm... how do I go about enabling it? |
17:53.17 | igcewieling | There is a section on this page about it http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/DeviceConfig_id216341.html |
17:53.36 | igcewieling | Are you TOTALLY SURE you have working IPv6? Just because your ifconfig output shows it doesn't mean it is really working |
17:54.14 | EmleyMoor | I have working IPv6 - I'm with a totally sensible ISP who provide it |
17:58.14 | EmleyMoor | I have tried adding udpbindaddr=:: to the [general] section - my test line is still dead... oh well... |
18:17.13 | *** join/#asterisk tzafrir_laptop (tzafrir@conference/fosdem/x-nxmornhdzatyluej) |
18:18.59 | *** join/#asterisk igcewieling (~igcewieli@user-24-214-153-32.knology.net) |
18:28.48 | *** join/#asterisk igcewieling (~igcewieli@70.193.64.83) |
18:28.56 | *** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl) |
18:40.09 | *** join/#asterisk navaismo (~navaismo@189.191.239.96) |
18:46.26 | *** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com) |
18:55.03 | *** join/#asterisk appleboy (~appleboy@about/cooking/nakedchef/apple/tarts) |
19:06.55 | *** join/#asterisk gavimobile (~user@bzq-218-196-30.red.bezeqint.net) |
19:07.50 | gavimobile | my calendar stoped showing me events, the module is installed and shows its working |
19:07.50 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2) |
19:08.25 | gavimobile | calendar show calendars shows me myGoogleCal caldav free |
19:09.13 | gavimobile | the weird thing is I cannot unload the module inorder to reload it afterwards. I can do reload though |
19:10.04 | gavimobile | maybe this is no longer supported? |
19:11.31 | *** join/#asterisk gusto (~gusto@2001:a60:11ff:1200:221:6aff:feb8:e0b2) |
19:13.28 | *** join/#asterisk navaismo (~navaismo@189.191.239.96) |
19:17.47 | gavimobile | help is appreciated |
19:24.03 | *** join/#asterisk kikohnl (~keith@udp278022uds.hawaiiantel.net) |
19:25.34 | *** join/#asterisk chris_n (~Chris@184.7.21.42) |
19:26.45 | *** join/#asterisk dpilon (~dpilon@c-50-138-178-238.hsd1.ct.comcast.net) |
19:38.46 | *** join/#asterisk Tarcert (c1a9b80e@gateway/web/freenode/ip.193.169.184.14) |
19:40.01 | jmls | Taking actions in pre-dial handlers that would put the caller/callee channels into other applications will result in undefined behaviour |
19:40.10 | jmls | does this include an application like curl ? |
19:44.27 | gavimobile | jmls: did you copy and paste that from documentation? |
19:44.39 | jmls | yup |
19:45.23 | gavimobile | jmls: I see! |
19:45.40 | jmls | kinda worrying ;) |
19:45.42 | gavimobile | the channel has been quiet for some time now |
19:45.45 | *** join/#asterisk igcewieling1 (~igcewieli@user-24-214-153-32.knology.net) |
19:45.56 | navaismo | wekend |
19:46.09 | navaismo | s/wekend/weekend/ |
19:46.13 | jmls | only nerds or saddos are working on a weekend |
19:46.17 | jmls | oh. wait ... |
19:46.25 | gavimobile | I wasn't sure if you were asking me a question regarding my question but I understand now that your not! |
19:46.43 | ChannelZ | We make the world go 'round |
19:46.54 | jmls | only truly dedicated professionals with immense deadlines and pressure work on weekends |
19:47.14 | gavimobile | im no professional, and I have no deadline |
19:47.21 | gavimobile | just an addict |
19:47.24 | jmls | ergo, saddo ;) |
19:47.29 | ChannelZ | I just woke up. |
19:47.35 | jmls | aus ? |
19:47.53 | gavimobile | ChannelZ: well go wash your face and drink a cup of coffe, we need you in her |
19:47.55 | gavimobile | here* |
19:48.00 | jmls | hah lol |
19:48.02 | ChannelZ | yowza |
19:48.12 | jmls | where is she ? |
19:48.20 | ChannelZ | Not here, that's for sure |
19:48.32 | gavimobile | lol |
19:48.36 | jmls | how ... do ... you ... know .... |
19:49.09 | gavimobile | jmls: im with ChannelZ on this one.. if they say their woman, I wouldn't believe it |
19:49.19 | gavimobile | the womans job is the talking |
19:49.25 | gavimobile | we just make it work |
19:50.12 | jmls | oh, I am _so_ not connected to that statement. It's disgraceful. |
19:50.14 | jmls | 's wife is coming ... |
19:50.31 | igcewieling1 | Some days I hate the internet. |
19:51.33 | jmls | lol |
19:52.19 | igcewieling1 | both registrations I use for testing are not working |
19:52.38 | igcewieling1 | I blame my ISP since they have been up and down for the past hour. |
19:53.18 | jmls | haaa ha ha. guess he _does_ have problems |
19:54.17 | ChannelZ | the hamster stopped running |
19:56.43 | *** join/#asterisk igcewieling1 (~igcewieli@232.sub-70-193-67.myvzw.com) |
19:57.04 | igcewieling1 | maybe 4g will work better today |
19:57.48 | ChannelZ | I have a unicorn to sell you |
19:58.20 | gavimobile | anyone awake enough to point me in the right direction for diagnosing why my calendar isn't showing events? |
19:58.55 | gavimobile | I am connected to the calendar and it used to show me events, now it doesn't show me upcomming events |
19:59.31 | jmls | could it be that the connection has dropped the login credentials (i've noticed a few times when refreshing gmail etc I have to log in again) |
20:01.28 | gavimobile | jmls: well not sure, cause if the connection was dropped would it still be showing me my calendar? |
20:01.52 | jmls | it may have been cached |
20:02.01 | jmls | it's an xml feed |
20:02.03 | igcewieling1 | ChannelZ: better than having all of my ssh sessions and everything else disconnecting every few mins? 8-) |
20:02.25 | igcewieling1 | Knology is normally VERY reliable, but not today |
20:02.45 | jmls | igcewieling1 of course. My unicorn has two , um, corns .. |
20:02.49 | jmls | anyone awake enough to point me in the right direction for checking if curl is ok to use in a pre-dial handler ? |
20:02.52 | gavimobile | jmls: well what do you do to get it connected again? I've unloaded the module, restarted asterisk rebooted the server tried a different gmail account... nothing |
20:03.14 | jmls | oh. I see. is the new event private ? |
20:03.23 | jmls | (or in the right calendar ?) |
20:03.26 | gavimobile | jmls: its set to default |
20:03.36 | gavimobile | I never made anything public nor private |
20:04.07 | jmls | [apart from wanting to watch ChannelZ get in her ..] |
20:04.20 | gavimobile | I only have one calendar |
20:04.57 | jmls | and you can get to that calendar in a browser, from the same machine ? |
20:05.01 | gavimobile | I wish I could monitor a log somewhere to see what's happening |
20:05.19 | gavimobile | jmls: I can get to the calendar from any machine/device |
20:05.30 | jmls | including the * box ? |
20:05.41 | gavimobile | jmls: which box? my pbx? |
20:05.44 | jmls | yup |
20:05.49 | jmls | * == asterisk ;) |
20:06.04 | gavimobile | the cli doesn't output my events |
20:06.16 | gavimobile | I don't know what other way to access it from my pbx |
20:06.45 | jmls | right - but can you use curl / firefox to access the calendar from the same box that * is running on ? |
20:07.05 | gavimobile | firefox? there's no gui on this machine |
20:07.12 | jmls | ..curl.. |
20:07.20 | gavimobile | and I don't know what curl is |
20:07.36 | jmls | Command line URL |
20:07.58 | gavimobile | jmls: no idea |
20:08.01 | jmls | check it out, allows you to get/post to any url from a command line |
20:08.09 | ChannelZ | it's kinda like wget |
20:08.16 | jmls | yup |
20:08.30 | gavimobile | but why wouldn't it not display? it displays on every device/computer |
20:08.47 | gavimobile | just asterisk is not able to putput the upcoming events like it used to |
20:09.01 | ChannelZ | no idea |
20:10.23 | gavimobile | can any of you see events from the cli? maybe google changed something |
20:10.25 | jmls | I was just trying to see if the * box has some sort of issue with google |
20:10.39 | jmls | not from your box, strangely ;) |
20:10.52 | gavimobile | jmls: you see events? |
20:11.34 | jmls | all the time ... some people call them hallucinations ... |
20:11.58 | jmls | sorry, don't use res_calendar in anger yet |
20:12.09 | jmls | only time I used it, it worked well |
20:12.13 | gavimobile | I see, thanks |
20:12.29 | jmls | I would suggest setting up another calendar and seeing if that one works |
20:14.53 | gavimobile | jmls: done that |
20:15.00 | gavimobile | im considering trying another ical server |
20:15.38 | jmls | gavimobile : try https://developers.google.com/gdata/articles/using_cURL |
20:15.57 | gavimobile | jmls: thanks |
20:16.10 | jmls | and see if you can access it from the * box - if so, then there is a problem with * itself, or the actual configuration |
20:16.37 | jmls | and that's probably the limit of my experience ... |
20:42.45 | *** join/#asterisk gg608f (~Adium@187.207.22.19) |
20:44.23 | *** join/#asterisk fisted (~fisted@unaffiliated/fisted) |
20:46.11 | rue_house | does the asterisk source code contain sufficient libraries to write a console sip client app? |
20:46.24 | *** join/#asterisk gg608f (~Adium@187.207.22.19) |
20:46.34 | igcewieling1 | rue_house: no. |
20:46.45 | rue_house | hmm |
20:46.49 | rue_house | can anyone help me with a mgcp problem? I think mgcp.conf can only define one gateway? |
20:50.31 | ChannelZ | What do you mean one gateway? |
20:53.05 | *** join/#asterisk tamiel (~tamiel@c-67-169-76-114.hsd1.ca.comcast.net) |
20:53.33 | *** part/#asterisk gg608f (~Adium@187.207.22.19) |
21:04.58 | [TK]D-Fender | rue_house: *'s SIP stack is not made to be reusable elsewhere and Asterisk itself is adaopting a new EXTERNAL SIP library for its new channel driver |
21:05.31 | jero | which one [TK]D-Fender ? |
21:05.42 | [TK]D-Fender | pjsip |
21:05.48 | jero | oh |
21:06.00 | jero | i know it well |
21:06.11 | WIMPy | Is it good? |
21:06.37 | jero | it is very good, we built sflphone on top of it |
21:07.04 | jero | but the licensing is special |
21:07.18 | WIMPy | Let's hope it will be less DOSable. |
21:07.33 | WIMPy | Oh, in what way? |
21:08.10 | jero | similar to Qt back in the trolltech days |
21:08.20 | *** join/#asterisk vlad_starkov (~vlad_star@83.149.9.152) |
21:08.30 | WIMPy | Ans will Asterisk have to become Sspecial as well then? |
21:08.38 | jero | gplv3 or proprietary, choice to the user |
21:08.47 | WIMPy | 's not familiar with that one. |
21:08.59 | jero | i dont think so if the license is gplv3 compatible |
21:09.28 | jero | v2 sorry |
21:09.28 | WIMPy | That doesn't sound very special. |
21:23.51 | gavimobile | how can I diagnose why res_calendar won't detect future events anymore? |
21:26.00 | gavimobile | alright, I guess this issue will need to wait till tommorow |
21:26.08 | gavimobile | my eyes are closing |
21:44.53 | jero | [TK]D-Fender: what caused the switch to pjsip? |
21:46.03 | [TK]D-Fender | jero: An easier start to a better foundation. |
21:46.27 | jero | Is it documented somewhere? |
21:46.29 | [TK]D-Fender | jero: Exactly why that one won out vs other libraries has been blogged and I didn't really look at the fine points |
21:50.31 | igcewieling1 | [TK]D-Fender: The developers got bored and wanted something TOTALLY NEW to them so find bugs with, instead of fixing what they already wrote? |
21:51.11 | [TK]D-Fender | igcewieling1: We want only the coolest and most fashionable bugs! |
21:51.17 | igcewieling1 | [TK]D-Fender: Yup! |
21:51.45 | WIMPy | Sometimes that's not a bad idea. But I don't know if chan_sip was the most obvious candidate. |
21:51.46 | igcewieling1 | I'll leave all that to the "early adopters" and their customers. |
21:52.37 | [TK]D-Fender | igcewieling1: Well chan_sip was nevr a very full implementation and things were hacked onto it in pieces and lacked all sorts of things like SIP-B, etc and starting from a better base library lets them dig themselves out of a somewhat messy setup. For the best really... |
21:53.09 | WIMPy | Isn;t that somehow true to all of Asterisk? |
21:53.23 | igcewieling1 | [TK]D-Fender: I don't like customers yelling at me. I expect this will cause a lot of that. |
21:57.15 | [TK]D-Fender | igcewieling1: I'll reserve judgement for when it actually hits full release :) |
21:57.35 | [TK]D-Fender | igcewieling1: Playing psychic has proven to be non-cost-effective :) |
21:58.38 | igcewieling1 | Maybe I'm overly sensitive after the e1000 linux driver fiasco we recently had. |
21:59.11 | WIMPy | What happened there? |
22:01.02 | igcewieling1 | http://communities.intel.com/thread/31572 though there are plenty of reports about the issue. |
22:01.34 | igcewieling1 | Seemed to start happening around 5Mbps of traffic, we didn't find the issue until we put the system into production. |
22:02.05 | igcewieling1 | all three of our newest servers have the same ethernet chip. We ended up buying an add-on ethernet and not had a problem since. |
22:03.25 | WIMPy | Oh, I think that's the issue I saw after running powertop and tuning around. |
22:06.25 | WIMPy | No, I had it on eth1. And indeed only after manually fiddling around powertop. |
22:12.13 | *** join/#asterisk BrokenArrow (~Lp@unaffiliated/brokenarrow) |
22:14.51 | *** join/#asterisk kikohnl (~keith@udp278022uds.hawaiiantel.net) |
22:36.14 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.216.2) |
23:01.50 | *** join/#asterisk fisted (~fisted@unaffiliated/fisted) |
23:09.51 | *** join/#asterisk pancho_jay (~cracker@190.30.24.176) |
23:10.22 | *** part/#asterisk pancho_jay (~cracker@190.30.24.176) |
23:11.41 | *** join/#asterisk freeedrich| (friedrich@176.9.118.18) |
23:13.09 | *** join/#asterisk DarthExpeditor (~IceChat9@rrcs-71-43-76-226.se.biz.rr.com) |
23:14.28 | *** join/#asterisk vlad_starkov (~vlad_star@83.149.8.211) |
23:25.44 | *** join/#asterisk elico (~Thunderbi@bzq-79-176-218-179.red.bezeqint.net) |
23:26.31 | *** join/#asterisk MarKsaitis (~MarKsaiti@cpc4-rdng22-2-0-cust932.15-3.cable.virginmedia.com) |
23:36.14 | rue_house | ChannelZ, I have a 4 port analog mgcp gateway |
23:36.28 | rue_house | I have a box of them actually |
23:36.47 | rue_house | I can get one working fine, but if I try to configure two of them, the first one errors out |
23:37.05 | *** join/#asterisk ph8 (~ph8@unaffiliated/ph8) |
23:43.10 | ChannelZ | Errors out how? You're making separate peer entries for each one in the config but they don't all work? |
23:49.28 | *** join/#asterisk TimeRider (~steve@timerider.plus.com) |
23:56.33 | *** join/#asterisk igcewieling (~igcewieli@24.214.153.32) |