00:01.07 | p3nguin | I'll just write the dial plan we can move on. |
00:02.29 | dijib | ...move on to lumenvox on el6. with the missing libcurl.so.3 dependency :D |
00:03.37 | dijib | is anybody in here using lumenvox? |
00:06.24 | leifmadsen | p3nguin: nice nice -- ya I like them a lot :) |
00:06.57 | p3nguin | I was willing to share, but I was told "no new features in 1.8!" |
00:08.49 | p3nguin | dijib: http://pastebin.com/R3Y0PK2C |
00:08.51 | p3nguin | Give that a try. |
00:09.15 | dijib | whats with that _ in externalcid |
00:10.26 | p3nguin | It's for inheritance. It might not be required in this particular case, but when you adapt this later, you'll probably end up needing it. |
00:10.48 | p3nguin | http://pastebin.com/DdvTqRN5 cleaner |
00:10.53 | p3nguin | less path clutter |
00:11.23 | michael-i | Can anyone confirm that trying to Set(CDR()) in the h extension does not work? (v10b2) |
00:13.37 | *** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com) |
00:15.18 | p3nguin | It should work just fine. Keep in mind that only four of the CDR items are writable. |
00:16.21 | michael-i | I added a new field to log the vmfile. It works if someone uses # to end the message, fails if the user hangs up and the h extension needs to do it. |
00:16.27 | michael-i | double checking :) |
00:18.07 | *** join/#asterisk carrar (tim@osburn.com) |
00:18.09 | carrar | moof |
00:19.32 | dijib | doesnt seem to work |
00:19.56 | dijib | now it only uses the set # in the last part of the Execif line |
00:20.18 | michael-i | works! silly mistakeâ¦should've kept my mouth shut |
00:20.25 | p3nguin | dijib: Show me. |
00:20.51 | carrar | w3rD |
00:22.44 | dijib | p3nguin, check pvt msg |
00:23.27 | dijib | the dialplan is copypasta of what you pasted |
00:24.04 | carrar | <PROTECTED> |
00:24.06 | carrar | doh! |
00:24.35 | *** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital) |
00:27.19 | *** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202) |
00:35.13 | dijib | hey penguin commenting out the ExecIf line seems to have it working. |
00:35.17 | dijib | let me test some more |
00:37.10 | p3nguin | It's NOT copy and paste of what I gave you. |
00:37.20 | p3nguin | You change shit every time I write something for you. |
00:43.34 | *** join/#asterisk xpot-mobile (~james@166-70-100-198.ip.xmission.com) |
00:44.41 | carrar | heh |
00:44.47 | carrar | change it so that it works? |
00:44.57 | p3nguin | Obviously not. |
00:45.01 | carrar | heh |
00:49.56 | p3nguin | Seriously, who puts their phone number inside ${CALLERID(num)} like this: ${CALLERID(num)=3145551212} and tries to set a variable from it? |
00:51.20 | p3nguin | Other than that, the log of what I saw seemed to be working EXACTLY as you asked for it to work. |
00:54.18 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
00:58.01 | sawgood | From the CLI of Asterisk, is there way to determine (2 things), (1) if an extension (in this case a SIP phone) has the 'abliity' to do call forwarding ... and/or then (2) what is the current configuration of any such call forwarding (in the dialplan) |
00:59.12 | WIMPy | that's not an extension |
00:59.18 | WIMPy | And no and no |
00:59.33 | WIMPy | Other than trying, off course. |
00:59.41 | sawgood | Actually, I might have stumbled on something ... |
00:59.46 | sawgood | dialplan show 300@ |
00:59.56 | sawgood | show what happens when 300 'is dialed' |
01:01.44 | Micc | when is 1.8.8-rc1 likely to be released? |
01:02.08 | Micc | maybe I should just play with the svn version. |
01:13.44 | *** join/#asterisk coppice (~chatzilla@m121-202-101-213.smartone-vodafone.com) |
01:17.04 | dijib | anybody know if mixmonitor indicates its recording with a beep at all? |
01:17.33 | *** join/#asterisk JerJer (~JerJer@asterisk/original-h323-guy/JerJer) |
01:17.47 | dym | dijib: it doesnt |
01:17.58 | dym | unless you force some sort of sound |
01:18.05 | dym | by default it doesnt |
01:18.10 | dijib | not at all? the callee is indicating that every 3min or so it beeps |
01:18.24 | dijib | intradasting |
01:18.33 | dym | are you using some sort of specialized dialplan? |
01:18.37 | dijib | nope |
01:18.38 | *** join/#asterisk m_tadeu (~quassel@89.180.133.239) |
01:18.43 | dym | the mixmonitor application usually doesnt beep (afaik!) |
01:18.56 | dijib | ok ty |
01:19.03 | dym | yw |
01:31.34 | p3nguin | It certainly doesn't for me. |
01:34.25 | *** join/#asterisk BuenGenio (~Gene@059148208218.ctinets.com) |
01:35.23 | p3nguin | Google Voice is REALLY friggin' annoying. I'm only getting about 1/4 of my calls actually making it to me successfully. A call comes in, my phone rings, I answer it. The caller continues to hear ringing and then ends up on gvoicemail. |
01:36.23 | JerJer | -1 for gv |
01:40.16 | *** join/#asterisk theoryjunkie (~ec2-user@ec2-184-73-122-112.compute-1.amazonaws.com) |
01:41.12 | p3nguin | Make it more like 1/10 now that I am testing it. |
01:44.16 | p3nguin | And I keep crashing asterisk while messing with it. |
01:45.09 | *** join/#asterisk seraphie (~erin@75.76.38.159) |
01:45.38 | carrar | heh |
01:50.20 | p3nguin | Is there any way to force a channel to go into state Up rather than Dialing? When I press the meetme button on my phone, it creates a dynamic meetme which stays in state Dialing, which means I can't actually transfer calls into it because it's not Up. |
01:51.26 | *** join/#asterisk gxdssoft (~gxdssoft@190.234.199.247) |
01:51.54 | *** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file) |
01:51.54 | *** mode/#asterisk [+o file] by ChanServ |
01:53.12 | p3nguin | I see the problem, but I don't know if I can fix it myself or not. sccp_features.c's creation of the exten for meetme does not Answer() the channel first. |
01:53.41 | russellb | MeetMe() should answer automatically, though, I would think |
01:53.45 | russellb | most apps like that do |
01:54.20 | russellb | it does |
01:54.22 | p3nguin | It's not for me. |
01:54.36 | p3nguin | Let me see if there is an option for that. |
01:54.42 | russellb | very beginning of the meetme code ... |
01:54.45 | russellb | <PROTECTED> |
01:54.45 | russellb | <PROTECTED> |
01:54.45 | russellb | <PROTECTED> |
01:54.55 | russellb | no option checking around it |
01:55.05 | russellb | if it's not changing, then it's a problem in the channel driver |
01:55.08 | *** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202) |
01:55.29 | JerJer | too skinny? |
01:55.59 | p3nguin | There's no doubt in my mind that it's a problem with the channel driver. |
01:56.06 | *** join/#asterisk theoryjunkie (~ec2-user@ec2-184-73-122-112.compute-1.amazonaws.com) |
01:57.04 | p3nguin | <PROTECTED> |
01:57.05 | p3nguin | <PROTECTED> |
01:57.07 | p3nguin | <PROTECTED> |
01:57.11 | p3nguin | <PROTECTED> |
01:57.28 | p3nguin | If I could just put in an Answer() there first, that would solve it. |
01:58.15 | p3nguin | I'm just not sure how to add it. |
01:58.39 | russellb | my point was that MeetMe() is already doing the equivalent operation automatically |
01:59.07 | russellb | so Answer() wouldn't change anything |
01:59.56 | p3nguin | How can MeetMe() ever stay in Dialing state, then? |
02:00.22 | russellb | the channel driver is broken |
02:00.24 | russellb | not meetme |
02:00.33 | p3nguin | SCCP/0015626AFFFF sccp_meetme_temp_con Dialing MeetMe(2,dMoqx) |
02:06.35 | *** join/#asterisk theoryjunkie (~ec2-user@ec2-184-73-122-112.compute-1.amazonaws.com) |
02:06.38 | carrar | russelb any hope of merging chan-sccp-b into the line? |
02:07.39 | russellb | probably not. It would have to be submitted officially, and anyone who has ever contributed to it would have to have a contributor license agreement on file with digium |
02:08.01 | russellb | there are a few people that work on chan_skinny, best bet is for more people to help with that |
02:08.40 | carrar | gotta love the politics of it all :) |
02:08.49 | russellb | it's not politics really ... |
02:08.59 | russellb | just licensing |
02:09.47 | carrar | Seems like it should belong part of the source |
02:09.54 | carrar | oh well |
02:10.08 | russellb | far too late for that i think |
02:10.21 | theoryjunkie | I have a really dumb question regarding setting up a SIP Trunk on a fresh install of asteriskNOW |
02:10.42 | russellb | you may get a really dumb answer ... |
02:10.57 | theoryjunkie | That's ok. I probably deserve it. |
02:11.26 | *** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net) |
02:11.30 | theoryjunkie | I will admit that I am new to asterisk and VoIP so I will do my best not to embarass myself |
02:11.53 | carrar | asteriskNOW tips us off to that |
02:12.05 | p3nguin | :) |
02:12.13 | theoryjunkie | nice |
02:12.18 | p3nguin | If you're using FreePBX on it, you're asking in the wrong place. |
02:12.18 | russellb | play nice. |
02:12.26 | p3nguin | ~freepbx |
02:12.26 | infobot | [~freepbx] FreePBX is unable to be supported here. It is made up of complex dialplans and scripts which can't be easily supported by people who aren't deeply involved. Try joining #freepbx and asking there, or fpbx |
02:12.51 | theoryjunkie | gotcha.. |
02:12.55 | p3nguin | If you're using just asterisk, we can help you. |
02:13.11 | p3nguin | AsteriskNOW does have a wonderful "no GUI" option. |
02:13.41 | theoryjunkie | I am actually using FreePBX and I've definitely noticed that it does a lot of "extra" things that you don't ask it to do |
02:14.29 | carrar | holds back the SMRTASS remarks |
02:14.31 | theoryjunkie | I would prefer to use it without the gui, the only issue is that a lot of documentation out there is related to building from source on Debian |
02:15.03 | russellb | the asterisk book covers installing from source on CentOS, as well. |
02:15.27 | carrar | DO GET the book theoryjunkie |
02:15.31 | theoryjunkie | Which book |
02:15.44 | carrar | ~book |
02:15.45 | 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://ofps.oreilly.com/titles/9780596517342/ or ~buybook |
02:16.14 | carrar | order up, download the pdf and be reading in 10 mins |
02:16.33 | carrar | problem solved!! |
02:17.26 | carrar | Great for making party games too |
02:17.40 | theoryjunkie | that figures I have the book Practical Asterisk 1.4 and 1.6:From Beginner to Expert |
02:17.55 | p3nguin | theoryjunkie: All you had to do was choose the NO GUI option when you installed AsteriskNOW. |
02:18.31 | *** join/#asterisk sourcode (~code@ppp-58-11-127-52.revip2.asianet.co.th) |
02:18.35 | theoryjunkie | Yeah, I noticed that, I might just wipe the machine and start over, it obviously is not in production yet |
02:18.54 | carrar | slip on some centos |
02:19.02 | carrar | then slip into some Asterisk source |
02:19.16 | p3nguin | How is that different from installing AsteriskNOW without GUI? |
02:19.27 | p3nguin | It's the same OS. It's the same Asterisk. |
02:19.36 | p3nguin | It was built from the same source. |
02:19.44 | russellb | one sets up the digium/asterisk repos up for you by deafult, heh |
02:19.56 | p3nguin | So then +1 for AsteriskNOW. |
02:19.57 | russellb | so that you don't have to install from source |
02:20.31 | russellb | you could install centos, add the digium/asterisk repos, and then get the same thing |
02:21.47 | theoryjunkie | k |
02:22.40 | p3nguin | The bad thing about that is people using CentOS 6 and then trying to use the asterisk repo. You'd have to make sure you don't use 6. |
02:22.51 | carrar | I use 6 |
02:22.54 | carrar | works great |
02:23.06 | *** join/#asterisk xpot-mobile (~james@70-91-210-237-BusName-Utah.hfc.comcastbusiness.net) |
02:23.15 | p3nguin | Unless, of course, someone added releasever 6 today. |
02:23.15 | carrar | using kickstart obviosuly |
02:23.15 | p3nguin | I bet they didn't. |
02:23.31 | carrar | but I always build from source |
02:24.59 | theoryjunkie | is there a good way for me to remove FreePBX and its associated config file |
02:25.10 | p3nguin | Maybe. |
02:25.11 | theoryjunkie | or is it better just to flatten and reinstall the box at this point |
02:25.33 | p3nguin | It depends on how important 15 minutes to reinstall it is to you. |
02:26.04 | p3nguin | If you can rip out FreePBX in 5, that might be the better choice. |
02:26.05 | theoryjunkie | well the issue is that I am approximately 65 miles from the physical location of this machine |
02:26.20 | theoryjunkie | so it isn't really 15 minutes |
02:26.23 | p3nguin | I see. |
02:27.30 | p3nguin | Without having a FreePBX system in front of me to check, I'd probably mv everything out of /etc/asterisk/, turn off httpd permanently, and switch enabled to no in manager.conf. |
02:28.01 | p3nguin | Then I'd start creating my confs by hand. |
02:28.35 | theoryjunkie | I am going to ask the guys over in FreePBX if they know of a good way to remove everything. |
02:29.21 | carrar | rm -rf / |
02:29.22 | carrar | ? |
02:29.27 | carrar | (just kidding) |
02:30.02 | carrar | It's even funnier when you mean to type that in IRC but that window isn't in focus |
02:30.37 | *** join/#asterisk r33dtard (~r33dtard@gateway/tor-sasl/r33dtard) |
02:34.20 | *** join/#asterisk Leddy (~DPreuss41@rdns.ircreview.com) |
02:54.28 | *** join/#asterisk gxdssoft (~gxdssoft@190.234.199.247) |
02:56.11 | *** join/#asterisk r33dtard (~r33dtard@gateway/tor-sasl/r33dtard) |
03:08.35 | *** join/#asterisk seraphie (~erin@75.76.38.159) |
03:12.53 | WiretapWork | theoryjunkie, rm /var/www/freepbx, rm /etc/asterisk/*, install new asterisk files |
03:13.07 | p3nguin | That's similar to what I suggested. |
03:13.42 | p3nguin | I'd use yum to remove the freepbx package, though, if it exists, rather than rm the directory. |
03:14.50 | *** join/#asterisk ziggyfish (~brendan@123-243-163-103.static.tpgi.com.au) |
03:16.02 | ziggyfish | I am trying to get voip to work, I can call other extensions however there is sound both ways. what am I doing wrong |
03:17.19 | p3nguin | Hmm, this is new in the current svn of chan_sccp... rejecting device IP address ... |
03:18.36 | ziggyfish | All ports are forwarded to the machine |
03:20.18 | *** join/#asterisk OrNix (~ornix@l49-246-139.cn.ru) |
03:20.52 | p3nguin | You're probably behind NAT and didn't configure Asterisk accordingly. |
03:23.40 | *** join/#asterisk ziggyfish (~brendan@123-243-163-103.static.tpgi.com.au) |
03:23.55 | ziggyfish | this is frustrating |
03:25.12 | p3nguin | You're probably behind NAT and didn't configure Asterisk accordingly. |
03:25.47 | ziggyfish | do you have some documentation I can follow? |
03:25.58 | ziggyfish | I have been searching for the last 4 hours |
03:26.15 | Ineedabettername | anyone have a good troubleshooting list for iax peers "unreachable" problems? |
03:26.45 | *** join/#asterisk SeRi (~seriosly@c-76-31-169-54.hsd1.tx.comcast.net) |
03:32.39 | p3nguin | ~sipnat |
03:32.39 | infobot | [~sipnat] Quick guide on configuring Asterisk + SIP behind NAT: http://www.aocomputing.net/?p=3 otherwise check the WIKI at http://www.voip-info.org/wiki/view/Asterisk+SIP+NAT+solutions . Typically, you MUST configure these settings with appropriate values in the [general] section of sip.conf: nat, canreinvite, externhost or externip, and localnet. |
03:32.47 | p3nguin | ziggyfish: ^ |
03:33.03 | p3nguin | ineedabettername: Check your network. |
03:33.47 | Ineedabettername | network tests out ok...nmap'd the udp port and says open, no nat going on |
03:33.52 | SeRi | how are you p3nguin... staying busy I bet :) |
03:34.35 | SeRi | nat traversal. what a bitch |
03:36.13 | ziggyfish | I've set up the port forwarding, and set nat=yes, externip and localhost. It still doesn't work. |
03:36.17 | ziggyfish | what am I missing |
03:36.24 | SeRi | the ports can be open. the issue presents it self when the packet hits nat traversal :) |
03:36.28 | p3nguin | Which version are you using? |
03:37.02 | ziggyfish | 1.8.6.0 |
03:37.05 | SeRi | I ent to hell and back with pfsense |
03:37.10 | SeRi | went* |
03:37.32 | p3nguin | In the sip.conf general section, nat=yes, directmedia=no, set externhost or externaddr and localnet. |
03:37.51 | p3nguin | I still haven't set up Asterisk behind pf yet. |
03:37.57 | p3nguin | I should get around to doing that someday. |
03:38.08 | ziggyfish | I've even set the DMZ to point to the server |
03:38.18 | p3nguin | Never ever ever do that. |
03:38.50 | ziggyfish | I just want it to work, once I find what the problem is I will fix it |
03:38.59 | SeRi | p3nguin, let me know if I can help out. I got it down to a science now. |
03:39.03 | p3nguin | (2237.32) <p3nguin> In the sip.conf general section, nat=yes, directmedia=no, set externhost or externaddr and localnet. |
03:39.16 | p3nguin | Show me that you've done this already. |
03:39.51 | SeRi | p3nguin, can you link me to that book you told me to read before? |
03:40.44 | p3nguin | ~book |
03:40.44 | 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://ofps.oreilly.com/titles/9780596517342/ or ~buybook |
03:41.10 | scubes13 | hello all, I am trying to follow these steps: http://www.jrepo.org/wp/dyndns-iptables-auto-update-script/ in order to setup iptables on PIAF box to allow SIP access to dynamic DNS locations⦠however I am currently unable to connect and wondering if I am using the wrong rules |
03:41.16 | SeRi | Thanks |
03:41.43 | p3nguin | I'm going to start applying a surcharge to everyone who thinks they need to use DMZ on their plastic router when they won't configure Asterisk for NAT. |
03:42.23 | p3nguin | Like DMZ is magically no longer going through the NAT or something. |
03:42.33 | ziggyfish | p3nguin: just to be safe, to reload the configuration I am using asterisk -r and running reload |
03:42.43 | p3nguin | For what? |
03:42.57 | ziggyfish | when I make changes to the configuration files |
03:43.02 | *** join/#asterisk precognist (~precognis@166.205.142.28) |
03:43.06 | p3nguin | If you've changed sip.conf, run "sip reload" when you've saved the changes. |
03:43.22 | p3nguin | s/when/after/ |
03:43.52 | *** part/#asterisk precognist (~precognis@166.205.142.28) |
03:44.16 | p3nguin | scubes13: Pastebin the output of "iptables -L -nv" for me. |
03:44.53 | ziggyfish | I think we have some sound, yeah |
03:46.16 | scubes13 | p3nguin - I think I just locked myself out⦠blah⦠will get back in and run the command (may take a bit) - thanks! |
03:47.47 | p3nguin | Been there, done that, learned to set a timer to set the policy to accept and flush the input chain in case I get kicked out. |
03:48.13 | p3nguin | And then I learned iptables. |
03:48.47 | SeRi | ## Flush IP Tables when working with them |
03:48.47 | SeRi | #*/5 * * * * /usr/local/admin/bin/flushiptables.sh |
03:48.50 | SeRi | :) |
03:49.13 | p3nguin | I guess you've been to the same place I used to go. |
03:49.32 | SeRi | Its a safe corner when working with iptables. |
03:49.36 | SeRi | :) |
03:49.50 | SeRi | I use to be there untill I learned iptables to to bottom :) |
03:49.58 | SeRi | top* |
03:50.52 | ziggyfish | did have some sound, not working now |
03:53.17 | scubes13 | thanks SeRi and p3nguin - will be the first thing I do once back in |
03:54.08 | ziggyfish | p3nguin: it works one way but not the other, if I call extension 101 from 104 it works, but if I call 104 from 101 it doesn't |
03:54.36 | p3nguin | Are both phones on the same NAT? Are they on the same NAT as Asterisk or a different NAT? |
03:55.17 | SeRi | ziggyfish, if the phones are inside the same subnet they dont need nat=yes set ..... they need nat=no |
03:55.19 | ziggyfish | the same nat, but they are using the external IP to connect, so it should be going though the NAT anyway |
03:55.34 | SeRi | why? |
03:56.12 | SeRi | thats not best practice... well the pro here is p3nguin but even me knows thats not best practice. I would have them stay inside the LAN. |
03:56.38 | ziggyfish | that's the way the router works, and I need to set this up for a client he will be connecting from an external ip |
03:57.06 | p3nguin | If the NAT is configured correctly, it might be possible to do that way, but it's not a good idea. |
03:57.54 | SeRi | p3nguin, wouldnt sip uri work best in this situation? |
03:58.08 | SeRi | if the client is coming in externally with a sip phone |
03:58.31 | p3nguin | My gateway won't allow such things to happen. If something on the LAN tries to access something else on the LAN via WAN IP address, it kills it dead because it is detected as a spoof. |
03:59.04 | p3nguin | Some people like to do things that way, though. |
03:59.21 | SeRi | same here snort will squash it like a bug :) |
03:59.45 | p3nguin | If the phone is going to be registering to Asterisk from the outside, it wouldn't need to use a SIP URI. |
04:01.06 | ziggyfish | My router is connected to another router that is connected to the internet. The second router (the one connected to the internet) doesn't have a nat. The first router identifies that it is the external ip and nats it to the correct location in the network |
04:01.49 | SeRi | I amd doing somethign similar but more complicated. I am dual nating. |
04:02.19 | SeRi | not best practice and consider broken but if you know how to do it it works :) |
04:02.24 | carrar | quad natting is where it's at! |
04:02.32 | SeRi | lmao! |
04:02.53 | ziggyfish | lol |
04:03.58 | ziggyfish | might reboot the server to see if that fixes something |
04:04.18 | ziggyfish | p3nguin: what is a SIP URL? |
04:04.38 | *** join/#asterisk depressed (~depressed@ca16.v6.us.gnics.net) |
04:04.53 | p3nguin | Maybe a relative of a SIP URI for all I know. |
04:05.32 | ziggyfish | SeRi: it's a little more complicated then that, considering, the server is a virtual machine |
04:06.28 | SeRi | ziggyfish, i see. good luck. p3nguin knows his stuff so you in good hands. |
04:06.54 | SeRi | until he runs out of patience. LOL j/k ;) |
04:07.18 | *** join/#asterisk r33dtard (~r33dtard@gateway/tor-sasl/r33dtard) |
04:09.13 | SeRi | is tinkering with calling cards |
04:11.28 | *** join/#asterisk seraphie (~erin@75.76.38.159) |
04:11.28 | *** join/#asterisk Leddy (~DPreuss41@rdns.ircreview.com) |
04:11.28 | *** join/#asterisk xpot-mobile (~james@70-91-210-237-BusName-Utah.hfc.comcastbusiness.net) |
04:11.28 | *** join/#asterisk theoryjunkie (~ec2-user@ec2-184-73-122-112.compute-1.amazonaws.com) |
04:11.28 | *** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202) |
04:11.28 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
04:11.29 | *** join/#asterisk darkbasic (~quassel@host37-245-static.119-2-b.business.telecomitalia.it) |
04:11.29 | *** join/#asterisk frem (~chatzilla@65.183.105.202) |
04:11.29 | *** join/#asterisk saxa (~sasa@host242-95-static.223-217-b.business.telecomitalia.it) |
04:11.29 | *** join/#asterisk mateu (~mateu@missoula.org) |
04:11.29 | *** join/#asterisk mickecarlsson (~Micke@h10n3c1o1101.bredband.skanova.com) |
04:11.29 | *** join/#asterisk CrossWired (~chatzilla@65.210.186.34) |
04:11.29 | *** join/#asterisk Lipsum (~sengebret@77.40.154.242) |
04:11.29 | *** join/#asterisk logicwrath (~no@mail.vistitude.com) |
04:11.29 | *** join/#asterisk tonsofpcs (~tonsofpcs@cpe-69-205-240-64.stny.res.rr.com) |
04:11.29 | *** join/#asterisk moy (~moy@173.239.155.74) |
04:11.29 | *** join/#asterisk master_of_master (~master_of@p57B53FE5.dip.t-dialin.net) |
04:11.29 | *** join/#asterisk chazzam (~chazz@173-24-236-90.client.mchsi.com) |
04:11.29 | *** join/#asterisk florz (nobody@2001:1a50:503c::1) |
04:11.29 | *** join/#asterisk darksk1ez (~mhb@darkskiez.ipv6.darkskiez.co.uk) |
04:11.29 | *** join/#asterisk tris (tristan@2001:1868:a00a::4) |
04:11.29 | *** join/#asterisk SunTsu (miyamoto@unaffiliated/suntsu) |
04:11.29 | *** join/#asterisk niekie (~niek@CAcert/Assurer/niekie) |
04:11.29 | *** join/#asterisk p3nguin (~xwQ5kwYl6@cobalt.esxi.hosts.a2infotech.com) |
04:11.29 | *** join/#asterisk heffer (~felix@fedora/heffer) |
04:11.29 | *** join/#asterisk netmax (~netmax@is.linux-administrator.com) |
04:11.29 | *** join/#asterisk leifmadsen (~leifmadse@asterisk/documenteur-extraordinaire/blitzrage) |
04:11.29 | *** join/#asterisk Gugge (~gugge@46.30.120.1) |
04:11.29 | *** join/#asterisk dandre (~daniel@ble59-2-81-56-122-47.fbx.proxad.net) |
04:11.29 | *** join/#asterisk Juggie (~Juggie@unaffiliated/juggie) |
04:11.29 | *** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no) |
04:11.29 | *** join/#asterisk merlin8282 (~merlin828@AStrasbourg-554-1-251-132.w81-51.abo.wanadoo.fr) |
04:11.29 | *** join/#asterisk xpot (~xpot@166-70-100-198.ip.xmission.com) |
04:11.30 | *** join/#asterisk magnus_ (~magnus@109-124-144-170.customer.t3.se) |
04:11.30 | *** join/#asterisk creativx (~creadurex@226.62-97-205.bkkb.no) |
04:11.30 | *** join/#asterisk StaRetji (~BigAll@80.93.240.171) |
04:11.30 | *** join/#asterisk ChannelZ (channelz@burner.com) |
04:11.30 | *** join/#asterisk Carlos_PHX_ (~Carlos@ip24-56-6-80.ph.ph.cox.net) |
04:11.30 | *** join/#asterisk Greenlight (~Wullie@cpc2-dund11-2-0-cust994.sgyl.cable.virginmedia.com) |
04:11.30 | *** join/#asterisk Praise (~Fat@unaffiliated/praise) |
04:11.30 | *** join/#asterisk TheCompWiz (~TheCompWi@wsip-68-109-200-102.mc.at.cox.net) |
04:11.30 | *** join/#asterisk awk (~awk@equipoise.hack.co.za) |
04:11.30 | *** join/#asterisk anonymouz666 (~anonymouz@187-28-37-118.poolip.RJO.embratel.net.br) |
04:11.30 | *** join/#asterisk malcolmd (~malcolmd@pdpc/sponsor/digium/malcolmd) |
04:11.30 | *** join/#asterisk Bidik (~bidik@74.117.156.225) |
04:11.30 | *** join/#asterisk trumee (~trumee@cpc2-cmbg7-0-0-cust855.5-4.cable.virginmedia.com) |
04:11.30 | *** mode/#asterisk [+oo leifmadsen malcolmd] by niven.freenode.net |
04:11.30 | *** join/#asterisk r1ppa (~McBoingBo@mail.hrsg.ca) |
04:11.30 | *** join/#asterisk mocker (~mocker@206.55.118.84) |
04:11.30 | *** join/#asterisk n3hxs (~ed@63.68.135.4) |
04:11.30 | *** join/#asterisk russellb (~russellb@asterisk/contributor-and-cool-guy/russellb) |
04:11.30 | *** join/#asterisk binbash_ (~peter@server.digitog.nl) |
04:11.30 | *** join/#asterisk Kyosh (~whoa@pool-74-108-19-39.nycmny.fios.verizon.net) |
04:11.30 | *** join/#asterisk pdtpatrick (~pdtpdt@mainstwan.farheap.com) |
04:11.30 | *** join/#asterisk Maxxed (~Maxxed@216.215.95.118) |
04:11.30 | *** join/#asterisk WiretapSeven (~Wiretap@unaffiliated/wiretap) |
04:11.30 | *** join/#asterisk justdave (~dave@unaffiliated/justdave) |
04:11.30 | *** join/#asterisk dmz (~dmz@64.203.235.49.dyn-cm-pool-34.pool.hargray.net) |
04:11.30 | *** join/#asterisk rajiv (~rajiv@gentoo/developer/rajiv) |
04:11.30 | *** join/#asterisk Kobaz (~kobaz@its.kobaz.net) |
04:11.31 | *** join/#asterisk thegoat (~thegoat@c-71-224-170-221.hsd1.pa.comcast.net) |
04:11.31 | *** join/#asterisk dym (~patrick@netsplit.me) |
04:11.31 | *** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de) |
04:11.31 | *** join/#asterisk wdoekes2 (~walter@wjd.osso.nl) |
04:11.31 | *** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye) |
04:11.31 | *** join/#asterisk tuxx- (~tuxx@2a02:2308::1c1:1337:1337) |
04:11.31 | *** join/#asterisk acidfoo (~nib@modemcable094.94-70-69.static.videotron.ca) |
04:11.31 | *** join/#asterisk caveat- (~false@gateway/shell/bshellz.net/x-nzekxlawjquavfeg) |
04:11.31 | *** join/#asterisk cnu (cnu@the.ultimate.lamer.la) |
04:11.31 | *** join/#asterisk freeedrich| (~eeePC@hansaserver.de) |
04:11.31 | *** join/#asterisk ectospasm (~ectospasm@66.172.33.249) |
04:11.31 | *** join/#asterisk Merlin (merlin@evendata.net) |
04:11.31 | *** mode/#asterisk [+o russellb] by niven.freenode.net |
04:12.34 | *** join/#asterisk tm1000 (~tm1000@li251-245.members.linode.com) |
04:32.57 | scubes13 | p3nguin - I got back into my system⦠here is the output of "iptables -L -nv" - http://pastebin.com/Z6pxvD61 |
04:33.47 | scubes13 | again, trying to use dynamic DNS with iptables following this -> http://www.jrepo.org/wp/dyndns-iptables-auto-update-script/ |
04:40.45 | p3nguin | This iptables output is from the same computer asterisk is on? |
04:41.02 | scubes13 | yes |
04:42.15 | p3nguin | What kind of dynamic DNS service are you trying to use? |
04:44.21 | scubes13 | dyndns.com |
04:45.04 | scubes13 | in short, we have a few locations, all of which use dynamic IP's from ISP.. trying to lock down so that iptables only allows SIP/etc from those locations |
04:45.25 | scubes13 | the asterisk is not behind a firewall (at least that I have access to) |
04:45.59 | p3nguin | You just showed me that it is. |
04:46.25 | scubes13 | you mean other than iptables? |
04:46.35 | p3nguin | No, I mean specifically iptables. |
04:47.09 | p3nguin | Anyway, dyndns should only rely on an outbound connection to the service to update the IP address. Related,established traffic is allowed back in with your rules, and nothing is being blocked going out. |
04:47.23 | p3nguin | So what was the problem you were having? |
04:48.03 | scubes13 | my SIP softphone is unable to connect to the server with the current rules in iptables⦠i get a 403 Forbidden error |
04:48.50 | scubes13 | my first assumption was/is that the rule being set by the dyndns update script is not properly adding the rule to iptables |
04:49.15 | scubes13 | (total noob to iptables⦠so⦠whatever that is worthâ¦) |
04:49.43 | p3nguin | line 8 and 9 in the pastebin are out of place. |
04:50.13 | p3nguin | line 35 in the pastebin is out of place. |
04:51.20 | scubes13 | ok, those were the three that the script generated (from three different tests) |
04:52.02 | scubes13 | how do you manually remove those lines? just edit the iptables file? |
04:52.11 | p3nguin | iptables -I RH-Firewall-1-INPUT 9 -p udp -m udp --dport 5060 -j ACCEPT |
04:52.13 | p3nguin | iptables -I RH-Firewall-1-INPUT 10 -p udp -m udp --dport 10000:20000 -j ACCEPT |
04:54.51 | p3nguin | iptables -D INPUT 6 && iptables -D INPUT 6 |
04:55.39 | p3nguin | After you've run those, show me iptables -L -nv again. |
04:56.30 | p3nguin | Will probably need iptables -D RH-Firewall-1-INPUT 18 as well. |
04:59.06 | scubes13 | suddenly have this - http://pastebin.com/r1tkYJhs |
04:59.17 | scubes13 | (before running the first commandâ¦.) |
04:59.32 | scubes13 | iptables -I RH-Firewall-1-INPUT 9 -p udp -m udp --dport 5060 -j ACCEPT |
04:59.32 | scubes13 | iptables: No chain/target/match by that name |
05:00.11 | p3nguin | Well, you deleted line 5 when I asked you to delete line 6 twice. |
05:00.48 | p3nguin | So that's an issue. |
05:00.56 | scubes13 | eh? I did in the order you posted in channel⦠no? |
05:01.05 | p3nguin | Maybe. |
05:01.24 | p3nguin | Did you copy and paste, or did you re-type what I gave you? |
05:01.33 | scubes13 | copy/paste |
05:01.46 | scubes13 | [00:52:11] <p3nguin> iptables -I RH-Firewall-1-INPUT 9 -p udp -m udp --dport 5060 -j ACCEPT |
05:01.46 | scubes13 | [00:52:13] <p3nguin> iptables -I RH-Firewall-1-INPUT 10 -p udp -m udp --dport 10000:20000 -j ACCEPT |
05:01.46 | scubes13 | [00:54:51] <p3nguin> iptables -D INPUT 6 && iptables -D INPUT 6 |
05:01.50 | p3nguin | Did you make any other changes between showing me the pastebin and copying my lines? |
05:01.56 | scubes13 | nope |
05:01.58 | p3nguin | Unless I just really can't count. |
05:02.13 | p3nguin | Look at the original pastebin. |
05:02.18 | p3nguin | Lines 8 and 9. |
05:02.25 | p3nguin | Line 8 is the 6th rule, no? |
05:02.29 | citywok | p3nguin: have him PB his history |
05:02.57 | citywok | then you'll know if you are going crazy or not lol |
05:03.01 | p3nguin | If you then Delete rule 6, now the 7th rule becomes rule6. So then you'd delete rule 6 a second time. |
05:03.18 | p3nguin | That would leave rul 5 in place. |
05:03.27 | scubes13 | http://pastebin.com/A1BWKNU7 |
05:03.31 | p3nguin | Rule 5 was the one containing a target of RH-Firewall-1-INPUT |
05:04.35 | scubes13 | (crontabs were where I added the flush that SeRi mentioned when I locked myself out) |
05:05.14 | p3nguin | What about history lines 1 - 22? |
05:05.42 | p3nguin | What you showed me doesn't even show where you deleted the rules you were supposed to delete. |
05:05.48 | p3nguin | nor add the ones you were supposed to add. |
05:06.05 | scubes13 | 1-22 were me setting up that dyndns script and trying it (before I came to the channel) |
05:06.32 | p3nguin | Maybe your crontab flushed your rules? |
05:06.44 | p3nguin | If so, you didn't put a long enough timer on it. |
05:07.26 | p3nguin | I think he suggested every 5 minutes. |
05:07.44 | scubes13 | yup, he did and I just copy/pasted |
05:07.46 | SeRi | scubes13, my script is very simple |
05:08.10 | p3nguin | I think the script flushed his rules when he didn't need it to. |
05:08.12 | scubes13 | SeRi yup, it is - thanks for sharing it with me |
05:08.23 | SeRi | [root@viejo ~]# cat /usr/local/admin/bin/flushiptables.sh |
05:08.23 | SeRi | #!/bin/sh |
05:08.23 | SeRi | /etc/init.d/iptables stop |
05:08.23 | SeRi | [root@viejo ~]# |
05:08.43 | p3nguin | So anyway... |
05:08.45 | SeRi | ## Flush IP Tables when working with them |
05:08.45 | SeRi | #*/5 * * * * /usr/local/admin/bin/flushiptables.sh |
05:09.03 | p3nguin | Get back to a place where you want to be, then I'll help you insert the rules accordingly. |
05:09.25 | p3nguin | It's only a few lost minutes, so I'm not worried yet. |
05:09.43 | scubes13 | :) thanks p3nguin I appreciate it, truly |
05:09.44 | p3nguin | Now if this goes on for another hour, then we may have a problem. |
05:10.35 | p3nguin | Are you on CentOS? |
05:11.19 | *** join/#asterisk singler (~singler@81-7-123-162.static.zebra.lt) |
05:11.20 | dijib | how do u think i can overcome this dependency issue p3nguin |
05:11.27 | p3nguin | If so, check to see what is in /etc/sysconfig/iptables (if anything). |
05:11.30 | scubes13 | yes, CentOS (piaf) |
05:12.04 | p3nguin | dijib: I don't know what issue it is. |
05:12.11 | dijib | cant ssh or sip authenticate to server scubes13 ? |
05:12.52 | dijib | attempting to install lumenvox, get libcurl.so.3 required error install stops. i have 4.1.1 installed. |
05:13.13 | dijib | have softlinks for 4 & 3 -> 4.1.1 |
05:13.14 | p3nguin | He was almost there, and I think his rules got flushed by the emergency flush handle. |
05:13.42 | SeRi | fuck looks like my alix its on its way out. |
05:14.03 | p3nguin | Did you run ldconfig after changing the libs around? |
05:14.18 | p3nguin | Before trying to install the other thing, I mean. |
05:14.52 | p3nguin | I assume it has a configure script that you run prior to make. |
05:15.08 | *** join/#asterisk depressed (~depressed@ca16.v6.us.gnics.net) |
05:16.10 | dijib | i did last server build... this time i think no i havn't |
05:16.32 | p3nguin | Run it once and then run the configure script and then make. |
05:16.49 | p3nguin | Was it configure or make that pooped out last time? |
05:17.04 | dijib | well i think thats where my problem is. its an rpm i believe |
05:17.11 | p3nguin | What is? |
05:17.17 | dijib | if i had the source... but i dont know where to find the lumenvox source |
05:17.19 | *** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl) |
05:17.20 | dijib | lumenvox |
05:17.26 | p3nguin | lumenol |
05:17.27 | *** join/#asterisk irroot (~irroot@pbx.distrotech.co.za) |
05:17.32 | dijib | huh? |
05:18.17 | p3nguin | luminol |
05:18.37 | dijib | or do you know of another speech regognition app? |
05:18.43 | p3nguin | *shrug* |
05:18.45 | [TK]D-Fender | Sphinx |
05:19.23 | dijib | not luminol... thats for CSI |
05:19.35 | dijib | opionions on the two? |
05:20.08 | p3nguin | scubes13: What did you find out? |
05:20.43 | thehar | lol |
05:20.55 | scubes13 | i have no idea how to get the rules back to the way they were before they got flushed (or whatever happened) |
05:21.04 | p3nguin | (0011.27) <p3nguin> If so, check to see what is in /etc/sysconfig/iptables (if anything). |
05:21.10 | p3nguin | HaVe ytou done that? |
05:21.55 | irroot | morning folks another lovely spring day it looks like |
05:22.07 | citywok | it's dark out and 10:30pm :P |
05:22.10 | scubes13 | http://pastebin.com/05hxe2dE |
05:22.33 | p3nguin | Spring morning? Are you on like the other side of the planet or something? |
05:22.47 | p3nguin | Err, srping day you said. |
05:23.01 | p3nguin | I'm a bit messed up, so don't mind me. |
05:26.03 | irroot | p3nguin lol yeah Johannesburg the bussiness end of africa |
05:26.19 | p3nguin | So you ran /etc/init.d/iptables save even though the rules were jacked. Wonderful. |
05:26.31 | p3nguin | Hyeah, I knew you were over there. |
05:27.03 | irroot | ah just waiting for a slave to come to office to make me coffee :P |
05:27.10 | p3nguin | We just hit autumn here. |
05:27.56 | p3nguin | scubes13: Give me a few minutes and I will recreate your rules from the paste earlier. |
05:29.16 | dijib | what irc channel should i look to for this speech recognition? |
05:38.50 | *** join/#asterisk fisted (~fisted@unaffiliated/fisted) |
05:40.02 | p3nguin | scubes13: http://pastebin.com/0A3rTcRF |
05:40.06 | p3nguin | Try this. |
05:40.26 | scubes13 | trying now... |
05:40.39 | p3nguin | That should give you damn near the same rules you had earlier. |
05:40.47 | p3nguin | but without the messed up ones. |
05:41.35 | scubes13 | iptables -L -nv gives me -> http://pastebin.com/0ur6a5zz after pasting yours |
05:43.17 | p3nguin | Go ahead and run "/etc/init.d/iptable save" right now. |
05:43.30 | p3nguin | Then we have to fix a couple problems with duplication. |
05:43.57 | scubes13 | done |
05:47.18 | p3nguin | Run this exactly four times: iptables -D INPUT 1 |
05:47.38 | scubes13 | done |
05:47.57 | p3nguin | iptable -L -nv again |
05:48.31 | p3nguin | s/iptable/iptables/ |
05:48.31 | scubes13 | http://pastebin.com/4xJ2cbzb |
05:49.48 | p3nguin | iptables -D fail2ban-APACHE 2 |
05:49.59 | p3nguin | iptables -D fail2ban-ASTERISK 2 |
05:50.08 | p3nguin | iptables -D fail2ban-BadBots 2 |
05:50.13 | p3nguin | iptables -D fail2ban-SSH 2 |
05:50.21 | p3nguin | iptables -D fail2ban-VSFTPD 2 |
05:50.32 | p3nguin | iptables -L -nv once more |
05:51.06 | scubes13 | iptables -D fail2ban-SSH 2 |
05:51.06 | scubes13 | iptables: Index of deletion too big |
05:51.31 | p3nguin | My bad. |
05:51.40 | p3nguin | SSH was the only one that didn't have a duplicate. |
05:51.54 | scubes13 | k, skip and do vsftpd? |
05:52.07 | p3nguin | I just listed all of 'em when I should have skipped the SSH one. |
05:52.10 | p3nguin | Yes. |
05:52.54 | scubes13 | http://pastebin.com/BGvnknsA |
05:53.22 | p3nguin | /etc/init.d/iptable save |
05:53.58 | p3nguin | Now you're back to where you were earlier, minus the mess-ups, plus the rules you wanted for SIP and RTP. |
05:55.10 | p3nguin | That should be all you need. Your rules are slightly different from how I usually make my own, but it should work your way. |
05:55.23 | p3nguin | I don't put state NEW on all my rules. |
05:56.02 | scubes13 | so, at this point, how should SIP react now? should it now accept an incoming connection from a phone? |
05:56.32 | p3nguin | SIP from anything outside is permitted to hit Asterisk. |
05:56.48 | p3nguin | and RTP is also allowed, as long as your range is 10000-20000. |
05:57.09 | *** join/#asterisk cerberus_za (~coert@41-134-110-162.dsl.mweb.co.za) |
05:57.32 | p3nguin | Now that you've set up the firewall, make sure you don't flush it again. |
05:57.43 | p3nguin | And save a copy of your /etc/sysconfig/iptables just in case. |
05:58.44 | scubes13 | backup made |
05:58.55 | *** join/#asterisk e7e5 (~rudenko@188.134.2.33) |
06:00.29 | scubes13 | ok, my softphone connected |
06:02.27 | scubes13 | now, how do I take where it is now⦠set iptables so that it rejects SIP/etc connections from all IP's except those that match up to specific dynamic dns records such as myuser.dyndns.com and anotheruser.dyndns.com? |
06:02.59 | scubes13 | *this is where I screwed the pooch initially* |
06:03.06 | p3nguin | Describe to me one more time how you'll have it set up. |
06:03.22 | scubes13 | ok, everyone works remotely |
06:03.42 | *** join/#asterisk freeman_u (~freeman@193.110.114.54) |
06:03.44 | p3nguin | Each phone will be on a dynamic host with a dyndns name? |
06:03.54 | scubes13 | exactly |
06:04.00 | p3nguin | That's going to be a problem. |
06:04.27 | p3nguin | I'm pretty sure that iptables will only do a name lookup when it is initially loaded. |
06:04.44 | p3nguin | That means if the host address changes, iptables will still be using the old host address. |
06:05.10 | *** join/#asterisk brdude (~brdude@c-24-5-194-184.hsd1.ca.comcast.net) |
06:05.18 | scubes13 | from what I was reading of the script I linked to⦠it was using a cron job to lookup the ip of a dynamic dns name, check to see if ip changed, if it did, then it was updating the iptables with the new ip |
06:05.27 | p3nguin | If I'm mistaken on that, somebody let me know. |
06:05.38 | p3nguin | Oh, I see. |
06:05.39 | *** join/#asterisk Ad-Hoc (~nimbus@194.30.241.105) |
06:05.48 | p3nguin | That's some hackery, but it could work. |
06:06.26 | scubes13 | I think the problem was that the script isn't putting the record in correcty (thus the three lines that were screwy) |
06:06.33 | p3nguin | I can help you set iptables to use a hostname, but the script to check and reload will be up to you. |
06:06.44 | p3nguin | Let's do that part for now. |
06:07.23 | scubes13 | ok, think I can work with that |
06:07.57 | p3nguin | Do you want to limit only the SIP part, or RTP as well? |
06:08.22 | scubes13 | both |
06:08.33 | p3nguin | We'll edit rule 9 and rule 10 in the RH-Firewall-1-INPUT chain for that... |
06:08.40 | scubes13 | k |
06:10.08 | p3nguin | iptables -R RH-Firewall-1-INPUT 9 -p udp -m udp -s dynhost.dyndns.org --dport 5060 -j ACCEPT |
06:10.26 | p3nguin | iptables -R RH-Firewall-1-INPUT 10 -p udp -m udp -s dynhost.dyndns.org --dport 10000:20000 -j ACCEPT |
06:10.52 | p3nguin | iptables -L RH-Firewall-1-INPUT -nv should reflect the changes. |
06:11.01 | SeRi | First problem you are using the RHEL built in firewall to create your rules. this is broken by nature |
06:11.15 | p3nguin | It's not anymore -- I just recreated it by hand. |
06:11.28 | SeRi | good job p3nguin |
06:11.34 | p3nguin | It's sane. |
06:11.43 | p3nguin | seri: http://pastebin.com/BGvnknsA |
06:12.39 | p3nguin | We could have left the rules in the INPUT chain like a normal person, but I chose to stick to the original design and put it in the new chain named RH-Firewall-1-INPUT |
06:13.00 | p3nguin | There's effectively no difference. |
06:13.05 | scubes13 | done |
06:13.10 | scubes13 | want a paste of the -nv ? |
06:13.14 | p3nguin | Sure. |
06:14.06 | scubes13 | http://pastebin.com/jcBATCwX |
06:14.08 | SeRi | p3nguin, Those are your new rules? |
06:14.41 | p3nguin | Okay, so iptables converted your host name into an IP address. That's good. |
06:14.52 | SeRi | scubes13, When you input manual rules do not open the rhel gui firewall. It will cause chaos and brake evrything. |
06:15.06 | SeRi | looks good p3nguin |
06:15.26 | scubes13 | SeRi - thanks |
06:15.34 | *** join/#asterisk akiims (~akiims@95.130.35.88) |
06:15.59 | p3nguin | Now if you have multiple hosts, you can add a new pair of rules just like the two we (R)eplaced using (I)nsert instead. |
06:16.24 | p3nguin | You can add them at 9 and 10 if you want. It will keep pushing the previous ones down the list. |
06:16.30 | scubes13 | ah! nice |
06:16.34 | p3nguin | Give one a try. |
06:16.42 | p3nguin | Remember, -I not -R this time. |
06:17.26 | p3nguin | When you insert a new one at 9 and a new one at 10, now the last two will become lines 11 and 12. |
06:17.41 | scubes13 | worked a treat |
06:17.53 | p3nguin | If you want to see line numbers, you can use iptables -L RH-Firewall-1-INPUT -nv --line-numbers |
06:18.15 | scubes13 | swee |
06:18.17 | scubes13 | sweet |
06:19.19 | scubes13 | so once the hosts are there, what next? ie, we have to do something to save/activate it? |
06:19.21 | p3nguin | You can't use -A to append new rules because you have a reject rule at the end. If you append with -A instead of -I, then the accept rule will be after it was already rejected and never used. |
06:19.33 | scubes13 | ah |
06:19.35 | p3nguin | If you see it with iptables -L, it's active. |
06:19.36 | scubes13 | makes sense |
06:19.46 | scubes13 | oh, kewl deal |
06:20.34 | p3nguin | If you wanted to ues -A to always add to the bottom of the list and never worry with line numbers, you need to change the default policy on that chain to DROP or REJECT, and then delete the rule that rejects. |
06:20.51 | p3nguin | Then anything not explicitly written will use the default policy. |
06:21.35 | p3nguin | Would you like to change to that behavior? |
06:21.40 | scubes13 | so how do you tell what is the default? |
06:21.55 | p3nguin | Look at the first line when you use -L |
06:22.28 | SeRi | thinks p3nguin is a r0b0t |
06:22.33 | SeRi | :P |
06:22.34 | p3nguin | Oh, that's not showing up in the new chain we created... |
06:22.43 | p3nguin | it's on the default chains,though. |
06:22.50 | p3nguin | Chain INPUT (policy ACCEPT 7146 packets, 1012K bytes) |
06:23.11 | SeRi | I am out to bed guys |
06:23.13 | SeRi | g/n |
06:23.16 | p3nguin | The policy on the INPUT chain is to ACCEPT anything not explicitly dealt with in the rules. |
06:23.19 | p3nguin | laytor. |
06:23.19 | scubes13 | night SeRi |
06:23.35 | irroot | do not use "iptables -I INPUT -j DROP -p udp ! --dport 5060" |
06:23.36 | SeR|afk | laterz all and g/n |
06:23.46 | p3nguin | Let me see about setting a policy on the new chain. |
06:24.16 | scubes13 | so, when we set the 5060 ports, we tell it to ignore the default ACCEPT and do what we tell it on those two specific lines? |
06:24.44 | wdoekes2 | good morning |
06:24.46 | scubes13 | ie, accept from these two hosts, all others go fly a kite |
06:24.58 | p3nguin | <PROTECTED> |
06:24.58 | p3nguin | <PROTECTED> |
06:25.01 | p3nguin | <PROTECTED> |
06:25.04 | p3nguin | <PROTECTED> |
06:25.14 | p3nguin | That's why we have no policy on that new RH-Firewall whatever chain. |
06:25.39 | p3nguin | So we either leave it as is, or move those rules into INPUT where there is a policy. |
06:26.24 | p3nguin | That's kind of a bother. Now I know why seri didn't like the RH firewall method. |
06:26.34 | scubes13 | sorry, I think I just glazed over⦠:) |
06:27.18 | p3nguin | RH-Firewall-1-INPUT is not a built-in chain. Something added it, so I had you add it back after it went away. |
06:27.29 | scubes13 | right |
06:27.35 | p3nguin | And apparently only built-in chains have a policy. |
06:27.49 | *** join/#asterisk gmaruzz (~gmaruzz@2-225-249-20.ip178.fastwebnet.it) |
06:27.50 | p3nguin | So that must be why they put a reject on the last line. |
06:28.07 | p3nguin | Ordinarily I'd set my policy to DROP and then only have rules for what I want to allow. |
06:28.09 | scubes13 | gotya |
06:29.02 | p3nguin | If you're okay with inserting rules at approximately line 9 and 10, that way will work fine. |
06:29.44 | scubes13 | I am |
06:30.33 | scubes13 | and to update the first host, I would use a -R for line 9 and 10â¦. for the second host, I would use a -R for 11 and 12, right? |
06:30.42 | p3nguin | I guess it's just a matter of preference of firewall design. |
06:31.00 | scubes13 | as long as it is secure, I am easy |
06:31.17 | p3nguin | Once you set the rules using the host name, you never have to -R (replace) that rule again. |
06:31.37 | p3nguin | You'll only have to reload iptables so it will resolve the new IP address from the name. |
06:31.58 | scubes13 | oh, ok, so it remembers the hostname? |
06:32.35 | p3nguin | Oh, that's another interesting angle. Check your /etc/sysconfig/iptables again. |
06:32.52 | p3nguin | If you see the IP address rather than the host name, change it in that file and save it. |
06:33.03 | scubes13 | yup, IP |
06:33.10 | p3nguin | That kind of sucks. |
06:33.38 | scubes13 | a simple nano will suffice to edit this? |
06:33.40 | p3nguin | In that case, I would probably never edit my rules directly again. |
06:33.42 | p3nguin | yes |
06:33.46 | scubes13 | k |
06:34.05 | p3nguin | I would probably always edit my config file, then reload after each change. |
06:34.26 | p3nguin | You'll probably find it's easier to do it that way anyway. |
06:35.01 | scubes13 | iptables save is the command to reload? |
06:35.08 | p3nguin | no! |
06:35.11 | scubes13 | ok |
06:35.12 | scubes13 | lol |
06:35.44 | p3nguin | Run /etc/init.d/iptables without any command arg, and it should show you a list of possibilities. |
06:35.52 | p3nguin | Like reload, save, stop, start. |
06:36.05 | scubes13 | {start|stop|restart|condrestart|status|panic|save} |
06:36.17 | scubes13 | so, just restart? |
06:36.20 | p3nguin | save will write you current rules (seen with iptables -L -nv) to that config file. |
06:36.29 | scubes13 | gotya |
06:36.36 | p3nguin | restart should be okay. |
06:36.47 | p3nguin | restart flushes the rules and then loads them fresh from the file. |
06:37.04 | p3nguin | literally, it runs stop then start. |
06:37.23 | p3nguin | Yay for init scripts. |
06:37.44 | scubes13 | lol |
06:37.46 | *** join/#asterisk schmidts (~schmidts@Lo20-rt01.lm33.sil.at) |
06:37.48 | schmidts | good morning |
06:38.20 | scubes13 | sweet⦠well, I think I can write up a simple script to test the IP's and then restart iptables if the ip changed, no biggie there |
06:38.26 | p3nguin | Now I'm curious about your DNS update script messing with iptables. Does it try to change the IP address, or just restart iptables when it detects the change? |
06:39.09 | scubes13 | the script I originally pointed to actually tried to -R or -A a line to the config of iptables with the updated IP |
06:39.20 | p3nguin | If you ever save iptables, your host names will be overwritten with the last IP address used when iptables loaded last. |
06:39.43 | p3nguin | That way would also work, and it may be a better solution for the reason I just mentioned. |
06:39.49 | scubes13 | i will be sure not to do that |
06:39.57 | p3nguin | That host name is going to get overwritten at some point, by accident. |
06:40.12 | p3nguin | Think about both ways. |
06:40.15 | scubes13 | could I not just make the file not writable? |
06:40.38 | p3nguin | You could chattr +i the file. |
06:40.55 | p3nguin | You'd have to chattr -i it if you ever wanted to edit it, though. |
06:41.16 | scubes13 | sure |
06:41.54 | p3nguin | Now that you've seen a little bit of what iptables does with certain commands, you can make a decision on how the script should update the firewall. |
06:42.16 | scubes13 | must say, I am impressed with iptables |
06:42.26 | scubes13 | forst time i have ever dealt directly with then |
06:42.38 | p3nguin | I don't mind giving feedback on the script once you set the ball in motion, but I'm not going to stay up and do it tonight. |
06:42.48 | scubes13 | lol, amen to that |
06:43.01 | scubes13 | 2:45am here - my pillow is screaming for attention ;) |
06:43.12 | p3nguin | I'm already an hour behind because I wanted to get this worked out. |
06:43.21 | dijib | whats asterisk's perl module named? |
06:43.34 | scubes13 | I really do appreciate your patience and insight in all of this |
06:43.37 | p3nguin | I have a tendency to do this from time to time. |
06:43.46 | scubes13 | I certainly did learn a lot going through it with you |
06:44.02 | dijib | Asterisk::AGI |
06:44.04 | dijib | i need |
06:44.40 | p3nguin | This is the other reason I often stay up too late: http://xkcd.com/386/ |
06:44.45 | scubes13 | night everyone, thanks again p3nguin |
06:45.01 | scubes13 | LOL! cute |
06:45.45 | p3nguin | astperl or something? |
06:45.48 | p3nguin | I can't recall. |
06:46.36 | dijib | im supposed to install the agi app |
06:46.42 | dijib | is it installed already or no? |
06:46.52 | p3nguin | http://asterisk.gnuinter.net/ |
06:47.01 | p3nguin | I'm sure you already have the agi app. |
06:47.10 | p3nguin | module show like agi |
06:47.13 | dijib | working off this guide |
06:47.15 | dijib | http://www.syednetworks.com/asterisk-integration-with-sphinx-voice-recognition-system |
06:55.40 | dijib | Executing [6000@phones:1] AGI("SIP/600-0000001c", "sphinx_test.agi") in new stack |
06:55.51 | dijib | Launched AGI Script /var/lib/asterisk/agi-bin/sphinx_test.agi |
06:55.51 | dijib | <PROTECTED> |
06:57.47 | wdoekes2 | chmod 755 /var/lib/asterisk/agi-bin/sphinx_test.agi ? |
06:57.50 | p3nguin | ls -l /var/lib/asterisk/agi-bin/sphinx_test.agi |
06:58.20 | *** join/#asterisk jacc0 (~jacc0@D522448D.static.ziggozakelijk.nl) |
07:00.15 | dijib | -rwxr-xr-x. 1 root root 2782 Jun 11 2008 /var/lib/asterisk/agi-bin/sphinx_test.agi |
07:01.32 | dijib | think i might have to leave this for another day |
07:01.41 | dijib | i need some rest. bust day tomorrow |
07:01.55 | dijib | g'ntite cheers |
07:02.34 | *** join/#asterisk waschtl (~waschtl@HSI-KBW-078-043-090-014.hsi4.kabel-badenwuerttemberg.de) |
07:07.23 | *** join/#asterisk ollii (~risker@2001:470:1f15:1384:62eb:69ff:fe31:b4) |
07:12.57 | *** part/#asterisk kaldemar (~kaldemar@unaffiliated/kaldemar) |
07:21.12 | *** join/#asterisk tamiel (~tamiel@213.30.183.226) |
07:23.18 | *** join/#asterisk ickmund (~ickmund@cli-5b7e85e2.bcn.adamo.es) |
07:30.30 | *** join/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190) |
07:32.23 | *** join/#asterisk oej (~olle@ns.webway.se) |
07:33.46 | *** part/#asterisk c0rnoTa (~c0rnoTa@78.24.154.190) |
07:37.18 | *** join/#asterisk rajiv (~rajiv@gentoo/developer/rajiv) |
07:38.21 | *** join/#asterisk Nasga (~Nasga@186.212.10.93.rev.sfr.net) |
07:43.47 | *** join/#asterisk Azrael808 (~peter@212.161.9.162) |
07:48.13 | *** join/#asterisk alinux__99 (~alinux@193.227.186.146) |
07:48.57 | alinux__99 | hi how does asterisk handle voicemail scalalability...I.e. if I want to setup 3 servers to serve as a voicemail cluster will voicemails be stored in BLOB database or should I use a common file storage ? |
07:52.56 | *** join/#asterisk oej (~olle@ns.webway.se) |
07:55.28 | *** join/#asterisk gxdssoft (~gxdssoft@190.43.164.228) |
08:04.43 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
08:12.54 | *** join/#asterisk Faustov (~fst@gentoo/user/faustov) |
08:24.43 | *** join/#asterisk chuckf (~chuckf@ubuntu/member/chuckf) |
08:38.10 | *** join/#asterisk tamiel (~tamiel@213.30.183.226) |
08:39.54 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
08:39.54 | *** join/#asterisk oej (~olle@ns.webway.se) |
08:39.54 | *** join/#asterisk alinux__99 (~alinux@193.227.186.146) |
08:39.54 | *** join/#asterisk Azrael808 (~peter@212.161.9.162) |
08:39.54 | *** join/#asterisk Nasga (~Nasga@186.212.10.93.rev.sfr.net) |
08:39.54 | *** join/#asterisk rajiv (~rajiv@gentoo/developer/rajiv) |
08:39.54 | *** join/#asterisk ickmund (~ickmund@cli-5b7e85e2.bcn.adamo.es) |
08:39.54 | *** join/#asterisk ollii (~risker@2001:470:1f15:1384:62eb:69ff:fe31:b4) |
08:39.54 | *** join/#asterisk waschtl (~waschtl@HSI-KBW-078-043-090-014.hsi4.kabel-badenwuerttemberg.de) |
08:39.55 | *** join/#asterisk e7e5 (~rudenko@188.134.2.33) |
08:39.55 | *** join/#asterisk irroot (~irroot@pbx.distrotech.co.za) |
08:39.55 | *** join/#asterisk tm1000 (~tm1000@li251-245.members.linode.com) |
08:39.55 | *** join/#asterisk Crowb4r (u1012@gateway/web/irccloud.com/x-dmjmcumkujoiypxl) |
08:39.55 | *** join/#asterisk nickfennell (~nick@cov1.appliansys.com) |
08:39.55 | *** join/#asterisk WiretapWork (~wiretap@unaffiliated/wiretap) |
08:39.55 | *** join/#asterisk ruied (~ruied@pa4-84-91-140-68.netvisao.pt) |
08:39.55 | *** join/#asterisk LittleFool (~LittleFoo@95.129.212.120) |
08:39.55 | *** join/#asterisk ph8 (~ph8@unaffiliated/ph8) |
08:39.55 | *** join/#asterisk aberrios (~aberrios@195.171.4.82) |
08:39.55 | *** join/#asterisk sunfone (~jeff@c-67-184-36-158.hsd1.il.comcast.net) |
08:39.55 | *** join/#asterisk magicrhesus (~magicrhes@aether.hipocoon.be) |
08:39.55 | *** join/#asterisk catphish (~catphish@gateway.office.atechmedia.net) |
08:39.55 | *** join/#asterisk Tim_Toady (~fuzzy@195.74.247.170.dsl.dyn.forthnet.gr) |
08:39.55 | *** join/#asterisk werdan7 (~w7@freenode/staff/wikimedia.werdan7) |
08:39.55 | *** join/#asterisk d_preston215 (~chatzilla@173-12-4-137-panjde.hfc.comcastbusiness.net) |
08:39.55 | *** join/#asterisk Diffen (~diffen@c-f477e555.042-17-73746f11.cust.bredbandsbolaget.se) |
08:39.55 | *** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com) |
08:39.55 | *** join/#asterisk seraphie (~erin@75.76.38.159) |
08:39.55 | *** join/#asterisk Leddy (~DPreuss41@rdns.ircreview.com) |
08:39.55 | *** join/#asterisk theoryjunkie (~ec2-user@ec2-184-73-122-112.compute-1.amazonaws.com) |
08:39.55 | *** join/#asterisk tzafrir_laptop (~tzafrir@212.179.75.202) |
08:39.55 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
08:39.55 | *** join/#asterisk darkbasic (~quassel@host37-245-static.119-2-b.business.telecomitalia.it) |
08:39.55 | *** join/#asterisk frem (~chatzilla@65.183.105.202) |
08:39.55 | *** join/#asterisk saxa (~sasa@host242-95-static.223-217-b.business.telecomitalia.it) |
08:39.55 | *** join/#asterisk mickecarlsson (~Micke@h10n3c1o1101.bredband.skanova.com) |
08:39.56 | *** join/#asterisk CrossWired (~chatzilla@65.210.186.34) |
08:39.56 | *** join/#asterisk Lipsum (~sengebret@77.40.154.242) |
08:39.56 | *** join/#asterisk logicwrath (~no@mail.vistitude.com) |
08:39.56 | *** join/#asterisk tonsofpcs (~tonsofpcs@cpe-69-205-240-64.stny.res.rr.com) |
08:39.56 | *** join/#asterisk moy (~moy@173.239.155.74) |
08:39.56 | *** join/#asterisk master_of_master (~master_of@p57B53FE5.dip.t-dialin.net) |
08:39.56 | *** join/#asterisk chazzam (~chazz@173-24-236-90.client.mchsi.com) |
08:39.56 | *** join/#asterisk florz (nobody@2001:1a50:503c::1) |
08:39.56 | *** join/#asterisk darksk1ez (~mhb@darkskiez.ipv6.darkskiez.co.uk) |
08:39.56 | *** join/#asterisk tris (tristan@2001:1868:a00a::4) |
08:39.56 | *** join/#asterisk SunTsu (miyamoto@unaffiliated/suntsu) |
08:39.56 | *** join/#asterisk niekie (~niek@CAcert/Assurer/niekie) |
08:39.56 | *** join/#asterisk p3nguin (~xwQ5kwYl6@cobalt.esxi.hosts.a2infotech.com) |
08:39.56 | *** join/#asterisk heffer (~felix@fedora/heffer) |
08:39.57 | *** join/#asterisk netmax (~netmax@is.linux-administrator.com) |
08:39.57 | *** join/#asterisk leifmadsen (~leifmadse@asterisk/documenteur-extraordinaire/blitzrage) |
08:39.57 | *** join/#asterisk Gugge (~gugge@46.30.120.1) |
08:39.57 | *** join/#asterisk dandre (~daniel@ble59-2-81-56-122-47.fbx.proxad.net) |
08:39.57 | *** join/#asterisk Juggie (~Juggie@unaffiliated/juggie) |
08:39.57 | *** join/#asterisk bjornts (~BTS@it010226.klientdrift.uib.no) |
08:39.57 | *** join/#asterisk merlin8282 (~merlin828@AStrasbourg-554-1-251-132.w81-51.abo.wanadoo.fr) |
08:39.57 | *** join/#asterisk xpot (~xpot@166-70-100-198.ip.xmission.com) |
08:39.57 | *** join/#asterisk magnus_ (~magnus@109-124-144-170.customer.t3.se) |
08:39.57 | *** join/#asterisk creativx (~creadurex@226.62-97-205.bkkb.no) |
08:39.57 | *** join/#asterisk StaRetji (~BigAll@80.93.240.171) |
08:39.57 | *** join/#asterisk ChannelZ (channelz@burner.com) |
08:39.57 | *** join/#asterisk Carlos_PHX_ (~Carlos@ip24-56-6-80.ph.ph.cox.net) |
08:39.57 | *** join/#asterisk Greenlight (~Wullie@cpc2-dund11-2-0-cust994.sgyl.cable.virginmedia.com) |
08:39.57 | *** join/#asterisk Praise (~Fat@unaffiliated/praise) |
08:39.57 | *** join/#asterisk TheCompWiz (~TheCompWi@wsip-68-109-200-102.mc.at.cox.net) |
08:39.57 | *** join/#asterisk awk (~awk@equipoise.hack.co.za) |
08:39.57 | *** join/#asterisk anonymouz666 (~anonymouz@187-28-37-118.poolip.RJO.embratel.net.br) |
08:39.57 | *** join/#asterisk malcolmd (~malcolmd@pdpc/sponsor/digium/malcolmd) |
08:39.57 | *** join/#asterisk Bidik (~bidik@74.117.156.225) |
08:39.57 | *** join/#asterisk trumee (~trumee@cpc2-cmbg7-0-0-cust855.5-4.cable.virginmedia.com) |
08:39.57 | *** join/#asterisk r1ppa (~McBoingBo@mail.hrsg.ca) |
08:39.57 | *** join/#asterisk mocker (~mocker@206.55.118.84) |
08:39.57 | *** join/#asterisk n3hxs (~ed@63.68.135.4) |
08:39.57 | *** join/#asterisk russellb (~russellb@asterisk/contributor-and-cool-guy/russellb) |
08:39.57 | *** join/#asterisk binbash_ (~peter@server.digitog.nl) |
08:39.57 | *** join/#asterisk Kyosh (~whoa@pool-74-108-19-39.nycmny.fios.verizon.net) |
08:39.58 | *** join/#asterisk pdtpatrick (~pdtpdt@mainstwan.farheap.com) |
08:39.58 | *** join/#asterisk Maxxed (~Maxxed@216.215.95.118) |
08:39.58 | *** join/#asterisk WiretapSeven (~Wiretap@unaffiliated/wiretap) |
08:39.58 | *** join/#asterisk justdave (~dave@unaffiliated/justdave) |
08:39.58 | *** join/#asterisk dmz (~dmz@64.203.235.49.dyn-cm-pool-34.pool.hargray.net) |
08:39.58 | *** join/#asterisk Kobaz (~kobaz@its.kobaz.net) |
08:39.58 | *** join/#asterisk thegoat (~thegoat@c-71-224-170-221.hsd1.pa.comcast.net) |
08:39.58 | *** join/#asterisk dym (~patrick@netsplit.me) |
08:39.58 | *** join/#asterisk WIMPy (~wimpy@e183095026.adsl.alicedsl.de) |
08:39.58 | *** join/#asterisk wdoekes2 (~walter@wjd.osso.nl) |
08:39.58 | *** join/#asterisk _mwoodj_ (~mwoodj@pdpc/sponsor/digium/hyper-eye) |
08:39.58 | *** join/#asterisk tuxx- (~tuxx@2a02:2308::1c1:1337:1337) |
08:39.58 | *** join/#asterisk acidfoo (~nib@modemcable094.94-70-69.static.videotron.ca) |
08:39.58 | *** join/#asterisk caveat- (~false@gateway/shell/bshellz.net/x-nzekxlawjquavfeg) |
08:39.58 | *** join/#asterisk cnu (cnu@the.ultimate.lamer.la) |
08:39.58 | *** mode/#asterisk [+ooo leifmadsen malcolmd russellb] by niven.freenode.net |
08:39.58 | *** join/#asterisk freeedrich| (~eeePC@hansaserver.de) |
08:39.58 | *** join/#asterisk ectospasm (~ectospasm@66.172.33.249) |
08:39.58 | *** join/#asterisk Merlin (merlin@evendata.net) |
08:41.40 | *** join/#asterisk Foxi352_work (~quassel@213.135.228.202) |
08:41.40 | *** join/#asterisk bmg505 (~leon@196-209-44-105.dynamic.isadsl.co.za) |
08:41.41 | *** join/#asterisk tomaw (tom@freenode/staff/tomaw) |
08:41.41 | *** join/#asterisk didnot (~didnot@unaffiliated/didnot) |
08:41.41 | *** join/#asterisk Takapa (vegard@svanberg.no) |
08:41.41 | *** join/#asterisk RypPn (~RypPn@unaffiliated/ryppn) |
08:41.41 | *** join/#asterisk simplydrew (~simplydre@unaffiliated/simplydrew) |
08:41.41 | *** join/#asterisk byronc (~byron@byron.theclarkfamily.name) |
08:41.41 | *** join/#asterisk nW44b (~Schnitzel@unaffiliated/benwa) |
08:41.41 | *** join/#asterisk ketas-av (~ketas@kvlt.eu) |
08:41.41 | *** join/#asterisk Katty (~Katty@mail.copi-rite.com) |
08:41.41 | *** join/#asterisk jaytee (~jforde051@unaffiliated/jaytee) |
08:41.41 | *** join/#asterisk Polis_ttt (~lasse@irc.mussla.se) |
08:41.41 | *** join/#asterisk b2 (~ion@pdpc/supporter/active/beckb) |
08:41.41 | *** join/#asterisk felipe_ (~felipe@unaffiliated/felipe) |
08:41.41 | *** join/#asterisk pabelanger (~pabelange@asterisk/contributor-and-bug-marshal/pabelanger) |
08:41.41 | *** mode/#asterisk [+o pabelanger] by niven.freenode.net |
08:41.52 | *** join/#asterisk gxdssoft (~gxdssoft@190.43.164.228) |
08:41.52 | *** join/#asterisk singler (~singler@81-7-123-162.static.zebra.lt) |
08:41.52 | *** join/#asterisk r33dtard (~r33dtard@gateway/tor-sasl/r33dtard) |
08:41.52 | *** join/#asterisk BuenGenio (~Gene@059148208218.ctinets.com) |
08:41.52 | *** join/#asterisk flytothemoon (~jkwon@nat/transgaming/x-xlmwzggvrdbgthkf) |
08:41.52 | *** join/#asterisk dwayne (~dwayne@c-76-29-230-45.hsd1.al.comcast.net) |
08:41.52 | *** join/#asterisk psilikon (~joel@rrcs-24-73-84-158.se.biz.rr.com) |
08:41.52 | *** join/#asterisk kdmessano (~nonya@unaffiliated/kdmessano) |
08:41.52 | *** join/#asterisk atheos (~atheos@208.119.68.16) |
08:41.52 | *** join/#asterisk slidesinger (~slidesing@c-68-44-99-163.hsd1.nj.comcast.net) |
08:41.52 | *** join/#asterisk jaskew (~jdaskew@netblock-75-79-182-110.dslextreme.com) |
08:41.52 | *** join/#asterisk jonmasters (~jcm@edison.jonmasters.org) |
08:41.52 | *** join/#asterisk Rufus (Rufus@unaffiliated/rufus) |
08:41.52 | *** join/#asterisk Micc (~Micc@c-98-232-46-178.hsd1.wa.comcast.net) |
08:41.52 | *** join/#asterisk dr_ (~dr@83.166.214.174) |
08:42.08 | *** join/#asterisk Ad-Hoc (~nimbus@194.30.241.105) |
08:42.08 | *** join/#asterisk depressed (~depressed@ca16.v6.us.gnics.net) |
08:42.08 | *** join/#asterisk carrar (tim@osburn.com) |
08:42.08 | *** join/#asterisk Qwell (~north@pdpc/sponsor/digium/Qwell) |
08:42.08 | *** join/#asterisk scubes13 (~scubes13@cpe-024-168-196-000.sc.res.rr.com) |
08:42.08 | *** join/#asterisk Nugget (nugget@carrera.macnugget.org) |
08:42.08 | *** join/#asterisk beek (~klinebl@pdpc/supporter/bronze/beek) |
08:42.08 | *** join/#asterisk micols (~0x2AA7F64@rlogin.dk) |
08:42.08 | *** mode/#asterisk [+o Qwell] by niven.freenode.net |
08:42.09 | *** join/#asterisk hobodave_ (~hobodave@pdpc/supporter/professional/hobodave) |
08:43.03 | *** join/#asterisk stix (~stix@193.89.191.209) |
08:45.33 | *** join/#asterisk knofte (knofte@ntp.openbsd.nu) |
08:45.41 | knofte | yo |
08:46.18 | knofte | Running asterisk+freepbx, but can't seem to put up any sip-trunks so i can make calls. Should'nt that be the sip.conf? |
08:46.46 | irroot | ~freepbx |
08:46.46 | infobot | [~freepbx] FreePBX is unable to be supported here. It is made up of complex dialplans and scripts which can't be easily supported by people who aren't deeply involved. Try joining #freepbx and asking there, or fpbx |
08:47.10 | knofte | ya, well, doesnt matter actually. same problem in asterisk-gui =) |
08:47.14 | knofte | So, problem remains. |
08:47.38 | oej | For a "plain" asterisk, yes, it's in sip.conf. |
08:47.58 | knofte | with asterisk-gui too? Or is that considered as plain? |
08:48.10 | *** join/#asterisk Tribbers (~joey@host217-37-142-238.in-addr.btopenworld.com) |
08:48.24 | oej | No gui at all. They're all different and have different concepts. |
08:48.36 | knofte | I've got it under sip-settings, but can't add it as trunk. |
08:48.37 | oej | Can't help you there. You have to find the proper channel for those. |
08:48.44 | knofte | allright mate. |
08:48.56 | oej | "trunk" is a marketing term, not a SIP concept really. |
08:49.02 | *** join/#asterisk puzzled (~patrick@puzzled.xs4all.nl) |
08:50.14 | irroot | knofte most the folks you find in these parts esp the devs will gladly help on vanilla asterisk we all want it better but 3party addons are not easy to support |
08:51.14 | knofte | irroot: thought *-gui was supported by Asteriskproject though. My mistake :) |
08:51.40 | knofte | oej: agreed. And somewhat confusing regarding networkissues <-> sip. |
08:52.27 | irroot | knofte there are people that use and support them and they can help but as oej said all of them are vastly different |
08:52.47 | knofte | Understandable. |
08:52.53 | irroot | i have my own custom php gui that we ship to users |
08:53.19 | irroot | part of a custom distro and no one will willingly support it |
08:57.12 | oej | The SIP forum has tried to streamline "sip trunk" with the SIPconnect specification. |
09:07.07 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
09:12.29 | *** join/#asterisk freeman_u (~freeman@193.110.114.54) |
09:23.34 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
09:24.29 | *** join/#asterisk Azrael808 (~peter@212.161.9.162) |
09:34.48 | *** join/#asterisk PhoenixMage (~Phoenix@CPE-120-146-192-94.static.vic.bigpond.net.au) |
09:42.09 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
09:46.57 | puzzled | hi |
09:48.41 | *** join/#asterisk wdoekes2 (~walter@wjd.osso.nl) |
09:52.45 | Tribbers | Hi what is the best way of witholding callerid, is it simply by setting CALLERID(num) and CALLERID(name) to withheld or is there a better way of doing this? |
09:54.23 | wdoekes2 | depends on your definition of "best" ;) |
09:54.34 | wdoekes2 | Set(CALLERPRES()=...) |
09:54.51 | ollii | Set(CHANNEL(callerpres)=...) ? |
09:55.31 | wdoekes2 | that would be the appropriate way.. but depending on your sendrpid setting, you may still send out the CLI. and then it depends on whether you want to hide the CLI from your trunk/peer or from the endpoint |
09:55.32 | *** join/#asterisk magicrhesus (~magicrhes@aether.hipocoon.be) |
09:57.18 | wdoekes2 | (that's talking SIP.. btw.. if you're using a different channel driver, my answers don't apply) |
09:57.42 | Tribbers | yes i am using sip |
10:02.55 | *** join/#asterisk akiims (~akiims@95.130.35.88) |
10:06.43 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
10:13.04 | *** join/#asterisk jacc0 (~jacc0@D522448D.static.ziggozakelijk.nl) |
10:18.26 | zamba | i'm looking for a sip client for linux.. one that integrates well with gnome |
10:18.50 | irroot | zamba ekiga |
10:19.52 | zamba | sorry, ekiga sucks |
10:20.12 | Tribbers | wdoeked2: thanks for your help, I went and read a little more, still learning :). I believe in 1.8 they have said to use CALLERID(num-pres) and set it to prohib and it works a treat. |
10:21.10 | Tim_Toady | zamba sflphone is another choice |
10:21.40 | zamba | Tim_Toady: ok, let's test.. thanks :) |
10:21.41 | Tim_Toady | a bit better than ekiga, but still a softphone :P |
10:22.11 | zamba | i just find it strange that noone has created a softphone that integrates fully with gnome |
10:22.31 | PhoenixMage | Hi guys, on the cisco 79xx phones at work we have a log in service so we can move desks at works. I am sure we are running call manager but is there a similar functionality in asterisk? |
10:22.38 | Tim_Toady | no worries, no one will be using gnome soon :P |
10:24.28 | zamba | Tim_Toady: promising! |
10:24.28 | ollii | zamba: linphone |
10:24.28 | zamba | Tim_Toady: what will we be using instead? :) |
10:24.47 | ollii | working well with gnome 2.x |
10:25.04 | Tim_Toady | zamba: dont know... something saner than gnome 3 |
10:25.21 | irroot | blink |
10:25.24 | *** join/#asterisk fipu (~fipu@fipu.usr.sh) |
10:28.30 | merlin8282 | mmm... |
10:29.20 | merlin8282 | The position announcements (in fact, all announcements) are not working... When I test I stay in the queue with moh, and no announcement is played. |
10:29.33 | merlin8282 | I tested with someone already in the queue. |
10:29.36 | zamba | sflphone looks very promising.. problem is that i can't get voice input to it |
10:29.40 | zamba | i'm using pulseaudio |
10:29.44 | merlin8282 | Someone has an idea of what's wrong ? |
10:34.07 | zamba | works perfectly in linphone, but not in sflphone |
10:34.13 | *** join/#asterisk mtbf (~ewilded@n0life.pl) |
10:35.10 | *** part/#asterisk StaRetji (~BigAll@80.93.240.171) |
10:35.58 | mtbf | Hi, could someone please help me? I'm trying to set different name for the recording in afterhours, but when I use gotoif() and set, extension gets into unknown state. http://pastie.org/2616196 here are the details. |
10:39.00 | Tim_Toady | mtbf: why dont u just use gotoiftime() ti simplify your dialplan |
10:40.09 | mtbf | I tried, with the same result, so this is not the point I guess, it should work.. |
10:40.35 | Tim_Toady | you can also have different contexts and use them depending on dtime and day, this propably will make things even more simple |
10:40.48 | Tim_Toady | something like this: http://www.voip-info.org/wiki/view/Asterisk+tips+openhours |
10:42.44 | *** join/#asterisk Trinitel (5eaa61e1@gateway/web/freenode/ip.94.170.97.225) |
10:43.34 | mtbf | Yeah, I've seen that before, I'd just like to get this working instead of trying again something new, these are six dialplan lines, how can this be possibly simpler... |
10:43.58 | Trinitel | hi guys, somebody to help me with special dialplan setting? |
10:45.48 | *** join/#asterisk hehol (~hehol@2001:1438:1009:200:495e:112e:4eb7:c211) |
10:45.54 | *** join/#asterisk bjhaid (~abejide@41-147.rv.ipnxtelecoms.com) |
10:46.04 | Trinitel | we need to have 2 extensions (100, 101) ringing at the same time for incoming calls. But if extension 100 is busy it should ring extension 102 instead |
10:46.24 | Trinitel | any idea how can we achieve this? |
10:46.36 | mtbf | Use the queue. |
10:46.41 | bjhaid | i am trying to trunk my outbound calls through switchvox, but rather than switchvox making the calls outbound it regards them as inbound, how can I get this fixed |
10:49.16 | Trinitel | how would the queue setup would looks like? how can I ring both extensions or detect busy ext 100 to send the call somewhere else? |
10:49.53 | irroot | Trinitel have a look at queues.conf |
10:51.23 | Trinitel | irroot I use queues on different sites but somehow I can't imagine how to set this up... |
10:52.09 | Tim_Toady | mtbf: cant think of something, maybe some problem with the filename? it contains a / |
10:53.15 | mtbf | Hm, but it works without that two first GotoIf and Set lines, which only change the CUSTOM_SUFFIX variable's value. |
10:54.38 | mtbf | I rather think it's some sort of conflict with other dialplan parts, since the context I'm editing is included by other one, generated automatically with freepbx, that's why I asked them too. |
10:55.29 | Tim_Toady | mtbf, maybe the filename gets too long ro smth, tried running it with debug set to 3, do u get any additional error emssages? |
10:55.56 | mtbf | Mhm, interesting, didn't think about it that way, I'll check it, thnx. |
10:56.12 | puzzled | tzafrir_laptop: I'm looking at creating dahdi 2.5.0.1 packages for EL6. noticed there is no fxload rpm in epel for EL6. is fxload still needed on EL6 for xpp stuff? |
10:57.21 | tzafrir_laptop | puzzled, right, I have not looked into it. There's an fxload package in Fedora. But not in RHEL6, IIRC |
10:57.34 | tzafrir_laptop | it's still needed for xpp stuff, yes |
10:58.11 | bjhaid | please do anyone have an idea how I can get my outbound calls from an asterisk box get routed through switchvox |
10:58.41 | puzzled | tzafrir_laptop: ok thanks. I can create one, that's no problem. I see 2 version of fxload: 2008_10_13 and 2002_04_11. does it need a particular version or can I go with latest and greatest? |
10:58.51 | puzzled | tzafrir_laptop: http://sourceforge.net/projects/linux-hotplug/files/fxload/ |
10:59.13 | tzafrir_laptop | Any of them will do |
10:59.19 | Trinitel | I know how to send the call to different extension if both agents are busy but I don't know how to do it if only one of the agent is busy |
10:59.19 | puzzled | ok thanks |
11:04.32 | Trinitel | any more hints? |
11:04.33 | mtbf | Tim_Toady: didn't help actually, it's not that. |
11:08.36 | *** join/#asterisk file (~file@asterisk/developer-and-muffin-lover/file) |
11:08.36 | *** mode/#asterisk [+o file] by ChanServ |
11:16.34 | *** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart) |
11:17.28 | *** join/#asterisk magicrhesus (~magicrhes@aether.hipocoon.be) |
11:28.51 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
11:31.35 | zamba | what's the status of openser? has it been replaced? |
11:32.06 | irroot | opensips and kamalio |
11:32.17 | irroot | there been plenty forks |
11:34.26 | coppice | and people to put the knife in |
11:34.41 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
11:55.29 | *** join/#asterisk sekil (~sekil@78.24.104.73) |
11:58.04 | *** part/#asterisk bjhaid (~abejide@41-147.rv.ipnxtelecoms.com) |
12:10.43 | *** join/#asterisk SteveWilliams (~SteveWill@122.160.52.178) |
12:11.16 | *** join/#asterisk Naikrovek (~mbluth@unaffiliated/naikrovek) |
12:13.20 | *** join/#asterisk StaRetji (~BigAll@80.93.240.171) |
12:13.28 | *** join/#asterisk [TK]D-Fender (~aoulton@216.191.106.162) |
12:17.10 | *** join/#asterisk gxdssoft (~gxdssoft@190.43.164.228) |
12:27.03 | *** part/#asterisk PhoenixMage (~Phoenix@CPE-120-146-192-94.static.vic.bigpond.net.au) |
12:27.18 | *** join/#asterisk aFly (~10402B323@host134-16-dynamic.9-79-r.retail.telecomitalia.it) |
12:29.00 | aFly | [Q] Does chan_misdn in Asterisk 1.8.7.0 work with mISDN v2? |
12:29.33 | WIMPy | no |
12:29.48 | WIMPy | for v2 you need LCR |
12:29.58 | WIMPy | http://voice.yeti.dk/Asterisk_vs_ISDN |
12:31.25 | aFly | So, I have to do a mISDNv2 <-> LCR <-> Asterisk, right? |
12:31.36 | WIMPy | However Karsten Keil has added new features fo mISDNuser. Not sure if that's an indication of something going on with chan_misdn. |
12:31.43 | WIMPy | yes |
12:32.41 | aFly | Ok. What about software faxing via ISDN on BRI over that complex chain? Is it reported to work (running on recent Xeon amd64 processor)? |
12:34.26 | WIMPy | Fax is a pretty complex matter. The only easy solution was via CAPI. You could take a look ate the isdn4linux mailing list archive, there has been a discussion of that subject not long ago. |
12:35.19 | *** join/#asterisk nighty^ (~nighty@TOROON12-1279662182.sdsl.bell.ca) |
12:35.34 | aFly | Oh, really? Wasn't the isdn4linux CAPI support deprecated in favor of mISDNv2 on recent linux kernels? |
12:35.50 | WIMPy | yes |
12:36.09 | WIMPy | But it seems noone cared for fax since then. |
12:36.38 | WIMPy | So the current solution would be via Asterisk. |
12:37.18 | aFly | Infact, that is what I was looking for. This complicates the matter a lot, but... does it work? |
12:37.53 | WIMPy | I've never tried fax with Asterisk. |
12:38.03 | ollii | WIMPy: fax is a whore |
12:38.18 | ollii | there are many fax devices in germany |
12:38.20 | WIMPy | Otherwise it's been the most stable combination I've tried so far. |
12:39.15 | aFly | ollii, there are still many fax devices in the world... |
12:39.28 | ollii | we're using some different combinations...asterisk as a bridge when using sangoma b700 (bri <-> analog) or in newer setups berofix with asterisk 1.8 and grandstream atas...berofix and grandstream supports both t38 |
12:39.31 | ollii | thats working really nice |
12:40.04 | aFly | Well, I instead got a Fritz!Card PCI... |
12:40.28 | ollii | a big distributor in europe told me that most fax device request come from germany |
12:41.25 | WIMPy | aFly: With that one you could use an old Linux and use CAPI. Ideal for fax, not so ideal for voice, but should work. |
12:41.31 | aFly | These berofix and grandstream are intelligent ISDN cards? |
12:42.25 | aFly | WIMPy, the problem is that I can't use an old Linux due to software constraints I have. |
12:42.30 | ollii | berofix uses hfc chips and its own linux ... available as a gateway in a box or as a pci card ...grandstream gxw400x is a analog <-> sip ata |
12:44.07 | ollii | the berofix cards/boxes are very modular...you buy a baseboard and then you plug a 4x pr, 1x bri, 4xbri, 2xbri/2x fxs or 4x fxs module to the board |
12:44.20 | aFly | The berofix would support fax over voice ISDN channels? |
12:44.55 | aFly | That seems very interesting for PBXes... |
12:45.03 | ollii | yeah...its a pstn <-> sip gateway... |
12:45.36 | ollii | you may use it to connect an asterisk to a bri pstn or an old isdn only pbx to a sip carrier |
12:45.56 | ollii | it is ... i love this card...had some problems lately with sangoma and driver quality |
12:46.30 | aFly | Ok, really interesting chat this one to me. Thank you WIMPy and ollii! |
12:46.40 | ollii | np |
12:46.53 | aFly | Hope to get back with some tests soon... ;) |
12:46.54 | *** join/#asterisk dmz (~dmz@64.203.235.49.dyn-cm-pool-34.pool.hargray.net) |
12:47.10 | *** part/#asterisk aFly (~10402B323@host134-16-dynamic.9-79-r.retail.telecomitalia.it) |
12:51.21 | WIMPy | The modular cards look nice. But it should have been 8 instead of 4 BRI. |
12:51.39 | *** join/#asterisk bchia (~Adium@nat/digium/x-bgyxjhdqlkgxzsoe) |
12:51.45 | ollii | WIMPy: you can combine 1-n boxes |
12:52.08 | ollii | timing is synchronized between them via pcm connector i thinkl |
12:52.28 | WIMPy | Yes, but the chips are 8 port. So why use 4? |
12:53.23 | ollii | ah okay i got it...you can use 8 port bri via Y-cable |
12:53.32 | WIMPy | You can? |
12:53.35 | ollii | yes |
12:53.45 | ollii | its configurable ... http://www.beronet.com/support/configurator/ |
12:54.28 | ollii | i love this card... did i mention this? ;) |
12:54.47 | WIMPy | Yes. That's 4 ports per module, not 8. |
12:55.42 | ollii | if youre using 2x 4bri modules you have to use y-cable which are included |
12:55.44 | WIMPy | So I don't see any mention of Y-cables as others use. |
12:56.06 | ollii | 4 ports via y-cable = 8 bri |
12:56.26 | singler | maybe you are mixing it with sangoma's bri card? |
12:56.37 | ollii | singler: they do it the same way |
12:56.42 | WIMPy | But you obviousely pay for two 4-port modules. |
12:56.58 | ollii | if you want 8 bri yeah |
12:57.15 | ollii | if you just want 4 bri then you just buy 1 4bri module and use 4 ports of this box |
12:57.45 | *** join/#asterisk gerhard7 (~gerhard7@82-171-103-215.ip.telfort.nl) |
12:57.52 | ollii | 1x 4bri => 4 ports used without y-cable....2x4 bri => 4 ports used with y-cable |
12:58.11 | WIMPy | Ok, it looks nice at first sight, but single cards might still be a better option. |
12:58.42 | WIMPy | I guess you always need Y-cable when using two modules. |
12:58.49 | ollii | no |
12:59.02 | ollii | you can also make a 4x pri box |
12:59.12 | ollii | or 2x1 pri |
12:59.28 | WIMPy | But 2x4FXS should need Y-cables just as well. |
12:59.31 | ollii | yes |
13:00.02 | ollii | if you have more then 4 of fxs/bri then you need a y-cable.... |
13:00.37 | *** join/#asterisk jeremy_g (jeremy_g@c-8aa1e755.022-186-73746f3.cust.bredbandsbolaget.se) |
13:00.54 | jeremy_g | damn |
13:00.59 | ollii | hi |
13:01.10 | jeremy_g | hi |
13:02.04 | jeremy_g | why does asterisk require a restart if new moh files are added? |
13:03.25 | WIMPy | The PCI bezels are simply too small. |
13:03.26 | irroot | jeremy_g it does not |
13:03.38 | irroot | you can reload res_musiconhold.so |
13:03.41 | jeremy_g | irroot:i am using 1.4 |
13:04.15 | irroot | it might work been a while unload module res_musiconhold.so and reload it ?? |
13:05.17 | *** join/#asterisk serafie (~erin@nat/digium/x-zvpuclecdxurvrpm) |
13:11.12 | *** join/#asterisk kaldemar (~kaldemar@unaffiliated/kaldemar) |
13:15.50 | *** join/#asterisk wesphillips (~wphill04@137-237-233-124.harris.com) |
13:16.43 | jeremy_g | irroot:unload res_musiconhold.so will kill the system - its production |
13:17.36 | puzzled | iirc it does not kill my 1.4 system |
13:20.53 | Katty | drags in |
13:27.35 | *** join/#asterisk coppice (~chatzilla@116.92.17.112) |
13:28.13 | ollii | puzzled: same here (1.4.42) |
13:32.55 | *** join/#asterisk tuxxie (~Ryan@rrcs-70-63-90-226.midsouth.biz.rr.com) |
13:33.35 | tuxxie | is it possible to pass asterisk variables to a php script? |
13:34.25 | nickfennell | tuxxie, yup |
13:34.30 | nickfennell | You can use the AGI I think |
13:34.36 | nickfennell | Google is your friend with that |
13:36.31 | kaldemar | tuxxie: yes it it. how do you want to call the script? |
13:36.40 | *** join/#asterisk vinhdizzo (~vinh@pool-173-60-112-55.lsanca.fios.verizon.net) |
13:37.03 | tuxxie | I have been looking at google. I would like to pass call detail such as Dnis,ain and so when the call hits a part in my dailplan |
13:37.40 | [TK]D-Fender | tuxxie, AGI it is... |
13:37.51 | irroot | tuxxie there is a php-agi class on the webz it does not work with latest php and not been updated in a while |
13:38.05 | *** join/#asterisk celord (~celord@201.195.243.194) |
13:38.09 | irroot | can send you it in working version |
13:38.24 | kaldemar | tuxxie: System(/path/to/script ${VAR1} ${VAR2}) |
13:38.25 | irroot | also have a php fast-agi daemon |
13:38.38 | *** join/#asterisk CRCinAU (~CRCinAU@another.bloody.irc.session.from.crc.id.au) |
13:38.45 | *** part/#asterisk CRCinAU (~CRCinAU@another.bloody.irc.session.from.crc.id.au) |
13:38.48 | [TK]D-Fender | kaldemar, Also viable for smaller needs |
13:38.50 | tuxxie | irroot: that wold be great |
13:38.52 | *** join/#asterisk CRCinAU_ (~CRCinAU@another.bloody.irc.session.from.crc.id.au) |
13:39.00 | CRCinAU_ | ok. |
13:39.26 | CRCinAU_ | if I have my 4 x dahdi channels set with different contexts, does anyone know why an incoming call would go to the default context? |
13:39.29 | CRCinAU_ | ie: http://www.fpaste.org/RwAO/ |
13:39.40 | kaldemar | [TK]D-Fender: i am viable for smaller needs? |
13:39.56 | CRCinAU_ | that just doesn't seem to make sense to me :\ |
13:40.15 | *** join/#asterisk adyn (~adyn@pdpc/supporter/active/adyn) |
13:40.30 | [TK]D-Fender | kaldemar, I'll have a survey for for you to fill out to validate your candidacy ;) |
13:40.45 | irroot | cheers suckers the weekend is upon me im heading off home and well continue for while when i get there |
13:40.53 | CRCinAU_ | hahah - never mind. I'm a dick. |
13:41.04 | frem | question: is 1.5mb up enough bandwidth to connect to a remote asterisk server and not have calls sound awful? there'd be a max of four simultaneous calls. |
13:41.27 | kaldemar | [TK]D-Fender: ha |
13:41.48 | kaldemar | frem: plenty, unless other traffic interferes. |
13:41.55 | CRCinAU_ | however, on another note, is there a recommended way to calibrate the gain on FXO / FXS channels on a TDM400/410? |
13:42.25 | [TK]D-Fender | CRCinAU_, rxgain / txgain |
13:42.34 | puzzled | frem: should be plenty. iirc regular ulaw/alaw calls over IP require something like 90Kb/s |
13:42.49 | kaldemar | CRCinAU_: fxotune that comes with dahdi-tools may help you with that. |
13:42.54 | CRCinAU_ | [TK]D-Fender: I mean more about what settings to use for those - ie vs just going by ear? |
13:43.12 | frem | kaldemar, puzzled, awesome, thanks. :) |
13:43.14 | CRCinAU_ | kaldemar: from what I understand, that only does echo cancelling calibration? |
13:43.14 | puzzled | freeedrich|: but make sure all your VoIP traffic gets prioritized over web, etc. traffic or calls will still suck |
13:43.19 | CRCinAU_ | however I might be wrong there. |
13:43.27 | puzzled | freeedrich|: oops that was for frem |
13:43.29 | kaldemar | CRCinAU_: it shows you the levels, nothing more. |
13:44.05 | CRCinAU_ | really? for me it came up with some settings on echo cancellation? :\ |
13:44.08 | kaldemar | CRCinAU_: whether you use it for echo canceling purposes, gain setting tuning or visual entertainment is up to you. |
13:45.14 | *** join/#asterisk as001 (~uros@82.117.198.142) |
13:45.18 | CRCinAU_ | see, there used to be ztmonitor |
13:45.48 | CRCinAU_ | ah - now replaced with dahdi_monitor I see ;) |
13:46.23 | puzzled | heh when you wait long enough people answer there own questions :) |
13:46.42 | as001 | Hi I am trying to make real time sip agents. I want to know how to set ringinuse. Manual says its tinyint(1) field and in my statis configuration it is No so I wonder which number means yes which no ? |
13:46.53 | CRCinAU_ | I was actually mistaken to believe that fxotune does gain as well |
13:47.10 | kaldemar | CRCinAU_: i was being an ass and mixed fxotune with dahdi_monitor. oh well... |
13:47.44 | CRCinAU_ | kaldemar: an easy mistake - I did the same ;) |
13:48.03 | coppice | fxotune just tries to find the optimum settings for the synthetic hybrid |
13:48.19 | puzzled | as001: usually 0 is no and 1 is yes |
13:48.20 | as001 | same question for fields monitor_type and shared_lastcall |
13:48.26 | [TK]D-Fender | as001, 0/1 in the normal concept. non-zerp = true |
13:48.31 | [TK]D-Fender | zero* |
13:48.33 | as001 | thanks |
13:49.10 | as001 | what about monitor-type ? |
13:49.58 | as001 | i wrote monitor in configuration but i need to put tiny int in that field too |
13:50.13 | *** join/#asterisk oldhack (~oldhack@cpe-24-28-23-78.austin.res.rr.com) |
13:50.58 | frem | puzzled: that's good info; thanks. |
13:52.35 | CRCinAU_ | see, sending a fax via the FXO comes back with the following diagnostics: |
13:52.37 | CRCinAU_ | Transmission level: -21.2dBm - TOO SOFT |
13:52.37 | CRCinAU_ | Line noise level: -48.3dBM - GOOD |
13:52.37 | CRCinAU_ | Error rate: 0 bits/188,888 - EXCELLENT |
13:52.38 | CRCinAU_ | Sending speed: 14488 bits/sec V.17 |
13:52.55 | *** join/#asterisk putnopvut (~putnopvut@asterisk/master-of-queues/mmichelson) |
13:52.55 | *** mode/#asterisk [+o putnopvut] by ChanServ |
13:52.57 | CRCinAU_ | so it seems I need to do some gain tuning somewhere ;) |
13:53.33 | *** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital) |
13:55.14 | *** join/#asterisk timahvo1 (~rogue@41.215.1.35) |
13:58.33 | Katty | file: woah, check out you and your schnazzy hat. |
13:58.40 | file | ^_^ |
13:58.55 | Katty | i applaud you |
13:59.19 | *** join/#asterisk _Corey_ (~chatzilla@64.121.4.75) |
13:59.45 | file | it's not just for special occasions, I also wear it out normally |
14:00.44 | *** join/#asterisk lmadsen (~Leif@asterisk/documenteur-extraordinaire/blitzrage) |
14:00.44 | *** mode/#asterisk [+o lmadsen] by ChanServ |
14:01.10 | Katty | anyone know how to make a pulled muscle in your neck stop hurting |
14:01.29 | knofte | "on topic" |
14:01.36 | Katty | i'm always on topic. |
14:01.39 | Katty | donchaknow |
14:01.50 | lmadsen | Katty: not a lot you can do about those ones unfortunately -- you should probably use a heating pad on it to keep it loose |
14:02.00 | Katty | bummer |
14:02.58 | SeR|afk | I dont even want to ask.... |
14:03.04 | SeR|afk | lol :P |
16:05.28 | *** join/#asterisk infobot (~infobot@rikers.org) |
16:05.28 | *** topic/#asterisk is #asterisk Asterisk: The Open Source PBX and Telephony Platform (asterisk.org) -=- Asterisk 10.0.0-beta2 (2011/09/27), 1.8.7.0 (2011/09/26), dahdi-linux 2.5.0.1 (2011/09/08), dahdi-tools 2.5.0.1 (2011/09/08), libpri 1.4.12 (2011/07/06) -=- Visit the official Asterisk wiki: wiki.asterisk.org -=- http://xkcd.com/806/ |
16:05.55 | *** part/#asterisk merlin8282 (~merlin828@AStrasbourg-554-1-251-132.w81-51.abo.wanadoo.fr) |
16:06.40 | *** join/#asterisk DelphiWorld (~VoIpGuy@openvpn/user/DelphiWorld) |
16:06.42 | DelphiWorld | Sup |
16:06.44 | DelphiWorld | oej: hey |
16:07.00 | p3nguin | If you think disk I/O is a problem, use iotop to watch it. |
16:07.00 | oej | ping |
16:07.15 | irroot | pong |
16:07.18 | DelphiWorld | oej: sipit yet? :P |
16:07.31 | oej | In a month's time |
16:07.34 | [TK]D-Fender | GulpitNOW |
16:07.43 | DelphiWorld | oej: i'm dzlink on twitter |
16:08.22 | DelphiWorld | anyone from egypt arround yet here ? |
16:08.42 | p3nguin | Looking for a date? |
16:09.56 | oej | Ahh. Dzlink. |
16:10.10 | oej | You where wrong about the test results I think. Or what were you looking for? |
16:11.30 | DelphiWorld | oej: not me:) |
16:13.15 | hobodave | hey guys, I'm trying to troubleshoot a custom PHP AGI script that is handling our Asterisk calls. Is there a way I can do some kind of "echo" type statement that will show in the Asterisk log/console what I am doing? |
16:13.46 | hobodave | I'm afraid I don't know much about how the AGI works, troubleshooting code I didn't write that uses a library I am not familiar with. |
16:13.58 | hobodave | All I can see in the console is that the script "exited returning 0" |
16:14.55 | irroot | hobodave one thing todo is open a tmp log file and dump progress in there |
16:15.18 | hobodave | hm I guess that would work; good idea irroot |
16:16.41 | irroot | you can use the verbose bits |
16:16.41 | [TK]D-Fender | hobodave, call Verbose |
16:17.09 | hobodave | could you point me to the docs re: Verbose? I'm quite the asterisk noob |
16:17.47 | [TK]D-Fender | hobodave, "core show application verbose" |
16:18.27 | hobodave | my library must support this I suppose |
16:18.28 | *** part/#asterisk gmaruzz (~gmaruzz@2-225-249-20.ip178.fastwebnet.it) |
16:20.09 | [TK]D-Fender | hobodave, this is an asterisk dialplan app. The poitn of AGI's is to be able to call those. If you can call any at all there should be no reason you can't call this one. |
16:20.10 | hobodave | thank you [TK]D-Fender and again irroot |
16:21.18 | *** join/#asterisk xpot-mobile (~james@166-70-100-198.ip.xmission.com) |
16:22.14 | *** part/#asterisk DelphiWorld (~VoIpGuy@openvpn/user/DelphiWorld) |
16:29.18 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
16:32.41 | *** join/#asterisk azv4 (~azv4@host-66-202-7-218.pit.choiceone.net) |
16:40.07 | *** join/#asterisk luckman212 (~irc@pool-108-41-8-176.nycmny.fios.verizon.net) |
16:50.01 | mtbf | Hey, I'm getting leave_voicemail: Unable to create message file: No such file or directory when trying to leave a message to some extension though it's /var/spool/asterisk/voicemail/default/EXTNUM contains only directories, no messages. |
16:50.47 | *** join/#asterisk KavanS (~KavanS@LINBIT/KavanS) |
16:51.13 | [TK]D-Fender | mtbf, Sheck your permissions |
16:51.16 | [TK]D-Fender | check* |
16:52.15 | p3nguin | You might also care to know which user runs asterisk: ps -C asterisk u |
16:52.48 | mtbf | Yup, that's what I'm doing now, there was no g+r for his dir, so I gave it with -R, but still something's wrong. |
16:54.23 | mtbf | And tmp was owned by root, huh. |
16:55.17 | mtbf | Ok, it's fixed. |
16:58.43 | *** join/#asterisk rdegges (FPNeyoT5ic@69.164.197.143) |
17:05.47 | *** join/#asterisk irroot (~irroot@41.55.197.145) |
17:10.32 | *** join/#asterisk umay (~chris@67-6-159-73.hlrn.qwest.net) |
17:10.44 | *** join/#asterisk irroot (~irroot@41.54.227.16) |
17:11.46 | *** join/#asterisk Azrael808 (~peter@212.161.9.162) |
17:13.32 | *** join/#asterisk dacm_work (~dan@host86-181-14-72.range86-181.btcentralplus.com) |
17:13.43 | dacm_work | Hi guys. |
17:14.18 | dacm_work | Do I need ztdummy (or similar) to play on hold music? (Trying to use quietmp3.) |
17:14.28 | [TK]D-Fender | nO |
17:14.33 | p3nguin | No. You shouldn't have ztdummy for anything. |
17:14.38 | [TK]D-Fender | You require MPG123 for that one. |
17:14.44 | p3nguin | Dahdi is the new Zap. |
17:19.37 | *** join/#asterisk michael-i (~anonymous@204.11.230.58.static.etheric.net) |
17:19.51 | dacm_work | p3nguin: Is there a dahdi-dummy? Should I have that? |
17:19.58 | p3nguin | Not anymore. |
17:20.00 | dacm_work | I've been getting the following message: |
17:20.01 | dacm_work | res_musiconhold.c: Unable to open pseudo channel for timing... Sound may be choppy. |
17:20.10 | dacm_work | Which is why I thought I might want ztdummy. |
17:20.22 | p3nguin | You do need to install dahdi and load the module to get the pseudo channel. |
17:20.28 | dacm_work | Guess the problem is elsewhere. |
17:20.34 | dacm_work | ok |
17:20.41 | dacm_work | I'll try that then. |
17:20.51 | dacm_work | Thanks. |
17:21.22 | p3nguin | In the past, dahdi had a dummy module. Now it does not. Load the dahdi kernel module, then load chan_dahdi.so in asterisk. dahdi show channels should show you the pseudo channel. |
17:23.55 | michael-i | I'm trying to find the right google fu for the new called party id additions. Were they in 1.8 or 10? I want to embed both sides' caller id into the cdrs. |
17:24.32 | dacm_work | Hmm, I've been using fedora's RPM packages. There are dahdi packages but none seem to explicitly state they are kernel modules. Is there a chance that I will be missing the kernel module. |
17:25.51 | mtbf | Mhm, voicemail messages for one of extensions are automatically deleted despite the setting in sip.conf, any clues? |
17:25.54 | rdegges | dacm_work: try running `lsmod | grep dahdi` on the cli, |
17:26.02 | rdegges | If that shows some output, then you've got the dahdi kernel modules loaded |
17:26.12 | rdegges | (lsmod displays all loaded modules) |
17:28.35 | [TK]D-Fender | dacm_work, What is the actual source you intend to use for your MoH? |
17:29.08 | dacm_work | rdegges: Then I don't have the module. :-( Thanks for the tip. |
17:29.26 | dacm_work | [TK]D-Fender: I'm intending to use an mp3 file or two. |
17:30.24 | dacm_work | [TK]D-Fender: Do I need to bed more specific? If so, what do you want to know about the file I'm testing with? |
17:30.57 | [TK]D-Fender | dacm_work, If you're planning on just using local audio files then use "mode=files" and forget mpg123 |
17:31.12 | Katty | OHAI |
17:31.58 | dacm_work | [TK]D-Fender: Hmm, doesn't mode=files require me to convert the mp3 into another format? |
17:32.09 | [TK]D-Fender | no |
17:32.32 | [TK]D-Fender | not is you install asterisk_addons to get format_mp3.so like normal |
17:32.32 | Qwell | That would, however, be the better option. |
17:33.17 | Qwell | I was listening to the default MoH in 16kHz the other day, and they actually have good bass at that quality. |
17:35.32 | florz | eh? |
17:35.37 | dacm_work | Installing mpg123 gives my music but it is choppy as the error message warns. |
17:35.53 | florz | Qwell: is that some kind of elaborate joke that I don't get? =:-) |
17:36.03 | dacm_work | sees if he can find a asterisk_addons package. |
17:36.13 | Katty | i think addons are included now |
17:37.49 | [TK]D-Fender | dacm_work, it is saying it may be chopping, not saying that it actually is |
17:38.00 | dacm_work | Katty: Doesn't look like fedora includes them. :-( |
17:38.08 | Qwell | florz: no, I'm saying that music can actually sound good |
17:38.23 | [TK]D-Fender | dacm_work, Look harder and compile it yourself if yuo have to |
17:38.24 | dacm_work | [TK]D-Fender: Yeah. But it turns out that it is quite choppy. :-) |
17:38.57 | dacm_work | [TK]D-Fender: I guess. Might be easier to convert the mp3s myself though. |
17:39.12 | [TK]D-Fender | dacm_work, A good idea regardless |
17:40.00 | florz | Qwell: well, you specifically said it had "good bass" at a supposedly high sample rate ... which doesn't really make much sense, does it?! |
17:40.17 | *** join/#asterisk ferdna (~yup@cpe-67-10-220-35.elp.res.rr.com) |
17:40.42 | Qwell | florz: it means the lows don't get cut out like they do at 8kHz |
17:41.21 | florz | Qwell: erm ... the lows don't get cut out at 8 kHz!? |
17:41.40 | Naikrovek | anyone have any good asterisk templates for cacti? i've found a ton of stuff on teh intarwebz but nothing appears to work, and i don't know python well enough to fix most of them. |
17:49.04 | Naikrovek | hmm. |
17:49.46 | scubes13 | p3nguin - you around? I have the dynamic dns iptables update working :) |
17:50.08 | p3nguin | Nice. |
17:51.04 | scubes13 | here is script - http://pastebin.com/Bag4QM6R |
17:51.20 | p3nguin | Did you decide on editing the config file and restarting, or editing the tables directly? |
17:52.24 | scubes13 | this is how it is being called ->>> ./dyn-iptables.sh >>/var/log/dynfirewall 2>>/var/log/dynfirewall & |
17:52.27 | p3nguin | That looks easy enough. |
17:53.08 | scubes13 | just adding domains to the config file |
17:53.11 | p3nguin | What's with the >>/var/log/dynfirewall 2>>/var/log/dynfirewall ? |
17:55.04 | scubes13 | not too sure, what the deal is with it.. I know it is logging the changes to that file and the actual restart of the services |
17:55.16 | scubes13 | not too clear on the 2>> portion |
17:55.20 | p3nguin | It's the same file, so why duplicate it? >>/var/log/dynfirewall 2>&1 |
17:55.47 | p3nguin | Whoever you got that from wasn't too sharp on stdio I guess. |
17:56.02 | scubes13 | lol |
17:56.13 | scubes13 | will update and try with 2>&1 |
17:56.14 | p3nguin | Or maybe they were using a different file for each. |
17:56.38 | scubes13 | but it is working a treat :) |
17:57.01 | p3nguin | I could see using >>/var/log/dynfirewall 2>>/var/log/dynfirewall_error |
17:59.14 | *** join/#asterisk vinhdizzo (~vinh@199.58.165.196) |
17:59.50 | scubes13 | thanks again for assisting me through all this last night, you were a God send |
18:00.02 | p3nguin | What is going to happen in the script when you have a DNS failure? |
18:00.17 | *** join/#asterisk kerx (~kerx@76-240-161-60.lightspeed.irvnca.sbcglobal.net) |
18:00.20 | p3nguin | Will the result always be null? |
18:03.15 | scubes13 | hmmm⦠not sure⦠gonna have to test for that |
18:03.26 | p3nguin | I also have another question... |
18:04.51 | p3nguin | Where are you checking an old value and a new value? |
18:05.21 | *** join/#asterisk imox (~imox@91-65-180-148-dynip.superkabel.de) |
18:05.49 | p3nguin | $IP has no value. |
18:05.59 | scubes13 | it is given the value in the while loop |
18:06.02 | p3nguin | So $OIP will have no value. |
18:06.18 | scubes13 | looks |
18:06.22 | p3nguin | And then IP gets a value, and compares it to $OIP (which is null). |
18:06.56 | p3nguin | Once you figure out that part, I have yet another question. :) |
18:07.10 | scubes13 | lol |
18:12.19 | *** join/#asterisk aidinb (~aidin@unaffiliated/aidinb) |
18:12.20 | p3nguin | I'll go ahead and ask the next one before I forget: In the script, you're checking your own host name against the IP address. How is that going to be useful to find out of several other hosts have changed? |
18:12.53 | scubes13 | one script per host |
18:13.11 | p3nguin | Oh, I see. |
18:13.59 | *** join/#asterisk _Corey_ (~chatzilla@64.121.4.75) |
18:14.42 | scubes13 | ok, so when the script starts⦠IP is nullâ¦. it sets OIP to IP which is still null⦠it then looks up the host and puts the host's ip into IP⦠|
18:15.18 | scubes13 | it then compares null != 123.123.123.123 (ie, OIP != IP) and that IP is not nullâ¦. |
18:15.36 | p3nguin | Yes, but every time the script runs, IP is null and OIP will be null. |
18:15.53 | scubes13 | if that is true⦠it then we do have an actual ip in IP and it restarts the iptables service |
18:15.54 | p3nguin | You aren't updating IP and saving it. You're making IP null every time it runs. |
18:15.54 | Katty | neck popped!!!! |
18:15.58 | Katty | happy dance |
18:16.02 | *** join/#asterisk bob_kelso (~john@nat/digium/x-xtckdqsktvbvhhko) |
18:16.10 | Katty | i think i can turn it to the right about 2 more inches than before :> |
18:16.22 | scubes13 | it then puts the the IP into OIP and checks the ip again |
18:16.23 | p3nguin | Convenient! |
18:16.26 | SeRi | scubes13, you back at it. LOL |
18:16.27 | [TK]D-Fender | Katty, </exorcist> |
18:16.47 | scubes13 | IP="" is outside of the while loop.... |
18:16.47 | Katty | :< |
18:16.57 | scubes13 | so IP is never set to "" again... |
18:17.28 | p3nguin | scubes13: Ah, you run the script once, forever, and it continues for all eternity. |
18:17.39 | scubes13 | right, until killed |
18:17.43 | p3nguin | I was thinking the script ran on an interval. |
18:17.54 | scubes13 | gotya |
18:18.22 | p3nguin | If you're doing that, you don't need a script for each host... put them all in one script with its own variable. |
18:18.31 | p3nguin | HOST_a= |
18:18.35 | p3nguin | HOST_b= |
18:18.51 | *** join/#asterisk imox (~imox@91-65-180-148-dynip.superkabel.de) |
18:19.03 | scubes13 | ah, true |
18:19.05 | *** join/#asterisk dacm_work (~dan@host86-180-219-135.range86-180.btcentralplus.com) |
18:19.08 | dacm_work | Right then. I have choppy music on hold but it's much better than nothing. |
18:19.14 | dacm_work | Thanks for all the help guys! |
18:19.33 | p3nguin | Did you fix the dahdi pseudo channel problem? |
18:19.40 | dacm_work | p3nguin: Not yet. |
18:19.47 | dacm_work | Which is guess is why it's choppy. |
18:19.55 | p3nguin | I thought that's what you were working on. |
18:20.02 | dacm_work | p3nguin: One of the things. |
18:20.15 | p3nguin | Install dahdi-linux. Load the kernel module. Load chan_dahdi.so in asterisk. |
18:20.40 | dacm_work | I'll probably have to compile the kernel module from source, which isn't ideal. |
18:20.51 | p3nguin | What OS are you using? |
18:20.53 | dacm_work | But that's a job for next time I think. |
18:20.58 | dacm_work | p3nguin: Fedora. |
18:20.58 | p3nguin | And why isn't it ideal? |
18:21.17 | p3nguin | Install the digium/asterisk repo. Install dahdi-linux with yum. |
18:21.46 | dacm_work | p3nguin: I don't like to mix compiled from source stuff with packages. Much nicer to just use packages. |
18:21.51 | p3nguin | If it isn't available for your kernel, get dahdi-linux source. make it, use checkinstall to roll it into a package which can be managed easily. |
18:21.54 | p3nguin | checkinstall |
18:21.55 | p3nguin | done. |
18:22.07 | dacm_work | I guess. |
18:22.34 | dacm_work | Anyway, thanks for the pointers p3nguin. |
18:22.36 | p3nguin | I suppose you're not familiar with it. |
18:22.45 | *** join/#asterisk Defraz (~Defraz@corp.fuzecore.com) |
18:22.56 | dacm_work | I don't roll my own packages very often, but I'd manage. |
18:23.16 | p3nguin | checkinstall does it for you, quickly, easily, etc. |
18:23.24 | SuperNull | anyone know of a nice packet sniffer designed specifically for VOIP (SIP/RTP and codecs) ? |
18:23.59 | p3nguin | make ; make install |
18:24.02 | p3nguin | s/make install/checkinstall/ |
18:24.06 | p3nguin | Easy as that. |
18:24.25 | p3nguin | And what I mean is use checkinstall instead of make install. |
18:24.36 | dacm_work | p3nguin: Wow, that sounds nice. I'll look into that, |
18:24.52 | dacm_work | Thanks again guys. |
18:24.55 | dacm_work | See ya. |
18:24.59 | p3nguin | It's not a perfect tool, but it gets the job done. |
18:25.37 | *** join/#asterisk r33dtard (~r33dtard@gateway/tor-sasl/r33dtard) |
18:29.56 | *** join/#asterisk dijib (~nobodysho@bas10-kitchener06-1176002162.dsl.bell.ca) |
18:31.46 | *** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com) |
18:33.54 | scubes13 | p3nguin - how would I go about blocking access to the iax / 4569 port? |
18:34.04 | Katty | the perfect tool |
18:34.09 | Katty | sounds like a guy i dated once |
18:34.12 | p3nguin | heh |
18:34.53 | p3nguin | scubes13: Delete the line which is allowing port 4569. iptables -L RH-Firewall-1-INPUT -nv --line-numbers |
18:35.05 | scubes13 | line 8 |
18:35.08 | p3nguin | Find it, use iptables -D RH-Firewall-1-INPUT # |
18:35.15 | p3nguin | where # is apparently 8 |
18:35.25 | p3nguin | But wait, there's more! |
18:35.30 | scubes13 | lol |
18:35.36 | p3nguin | Now go to your conf and delete the line there, too. |
18:35.39 | p3nguin | and do not save iptables. |
18:35.49 | scubes13 | k |
18:35.53 | p3nguin | Always remember that. |
18:36.06 | *** join/#asterisk imox_ (~imox@74.115.1.90) |
18:36.09 | p3nguin | You'll edit the conf for next time, but edit the rules directly for immediate action. |
18:36.39 | p3nguin | If you weren't doing that host name thing, you'd only need to edit the rules directly. |
18:36.53 | p3nguin | (saving iptables when done) |
18:37.53 | *** join/#asterisk vinhdizzo (~vinh@pool-173-60-112-55.lsanca.fios.verizon.net) |
18:41.22 | SuperNull | Hey guys is there a pbx_users DB Table that will update with what the asterisk source ip was or some way to keep track of what server a enduser connects to |
18:45.49 | [TK]D-Fender | SuperNull, no |
18:47.40 | SuperNull | so how does one tell if you are sharing a sipusers table.. with mutliple instances.. which one it came from ? |
18:51.14 | [TK]D-Fender | ... You shouldn't be sharing tables like that in the first place... |
18:52.14 | SuperNull | ... why is that. |
18:52.23 | leifmadsen | SuperNull: that's what the regserver column is for |
18:52.37 | SuperNull | thank you leifmadsen .. simple answer. |
18:52.47 | SuperNull | i have to add the column we are still running old asterisk versions here. |
18:56.04 | anonymouz666 | I have been using IAX2 between two local boxes and I'm happy to say that I am very impressed |
18:56.08 | anonymouz666 | "Just works" |
19:02.28 | *** join/#asterisk JustinCampbell (~justinCam@pool-71-255-101-137.phlapa.east.verizon.net) |
19:05.09 | *** join/#asterisk _Corey_ (~chatzilla@64.121.4.75) |
19:08.39 | leifmadsen | anonymouz666: that's kind of the point :) |
19:12.06 | irroot | leifmadsen anonymouz666 had a meeting with a vibe sales person who was telling me all about there product it sounds impresseve bassicially similar to IAX trunking |
19:12.06 | Nugget | What am I gonna do with 40 subscriptions to Vibe?! |
19:12.34 | SuperNull | lol |
19:12.46 | SuperNull | good movie. Still mostly accurate. |
19:13.00 | leifmadsen | shrugs |
19:13.05 | SuperNull | Thanks for holding, Just a moment! |
19:13.57 | *** join/#asterisk vinhdizzo (~vinh@pool-173-60-112-55.lsanca.fios.verizon.net) |
19:15.26 | SuperNull | Accounts payable Nina speaking, just a moment. |
19:16.51 | Katty | infobot: sql |
19:16.52 | infobot | hmm... sql is handy for somethings but I think it might be overkill for PIM data. |
19:17.41 | *** join/#asterisk _Corey_ (~chatzilla@64.121.4.75) |
19:25.53 | *** join/#asterisk vinhdizzo (~vinh@pool-173-60-112-55.lsanca.fios.verizon.net) |
19:28.42 | *** join/#asterisk malcolmd (~malcolmd@pdpc/sponsor/digium/malcolmd) |
19:28.43 | *** mode/#asterisk [+o malcolmd] by ChanServ |
19:30.23 | ruied | Hi, I'm using "exten => 9,n,Record(/tmp/Record_%d:wav) " for a test, the file is being recorded, but the # key is not working to stop recording. I have the phone with # key as dial key (also tested with the key off) |
19:31.06 | *** join/#asterisk gogasca (~Adium@nat/cisco/x-lccqbyarotugosay) |
19:31.23 | irroot | ruied DTMF works from this line ?? also look at k option |
19:32.16 | irroot | im going shut eye been hectic week cheers |
19:35.13 | *** join/#asterisk hugogee (~hugogee@72.8.184.58) |
19:35.29 | ruied | irroot, think dtmf iso ok in sip.conf (rfc2833) the phone has all on (sip info, rfc an audio), going to test 'k' option |
19:35.45 | hugogee | I have an asterisknow setup. calls come in then hangsup after 2 seconds. |
19:36.14 | hugogee | Can anyone point me in the right direction? |
19:36.45 | p3nguin | core set verbose 3 |
19:36.52 | p3nguin | Are you using SIP phones? |
19:37.32 | p3nguin | sip set debug on |
19:37.39 | p3nguin | (took too long to respond) |
19:40.17 | hugogee | p3nguin: yes i am using polycomm phones |
19:40.34 | hugogee | p3nguin: sorry i was researching this problem. |
19:41.45 | michael-i | I'm getting "sorry, we cannot complete your call" calling through asterisk v10 to googlevoice using the wiki instructions. The voice is definitely from google so the call gets there. Anyone experienced this? Are they blocking asterisk? |
19:41.58 | *** join/#asterisk JustinCampbell (~justinCam@c-71-224-204-129.hsd1.pa.comcast.net) |
19:42.08 | hugogee | p3nguin, the system was up and running. only chanage is my isp gave me a new IP. i have updated the system since. but not sure what this could be. I will try as you said sip debug. tanx |
19:52.03 | *** join/#asterisk jayson_r (~jayson@cpe-071-076-046-081.sc.res.rr.com) |
19:58.38 | *** join/#asterisk Netgeeks (~chris@gw1.netgeeks.net) |
19:59.49 | SuperNull | Hey leifmadsen, i have added just the regserver field and i believe i need more than just that (going from 1.4 compatability to 1.8.6) |
20:00.00 | leifmadsen | entirely possible |
20:00.34 | *** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net) |
20:02.51 | p3nguin | If I take that sip peer description patch and apply it to fresh sources and make chan_sip, can I drop that into an older version in the same branch and have it work correctly? I would build it against 1.8.7.0 and drop it in place on a 1.8.2.2 installation. |
20:03.34 | *** join/#asterisk cwells (~cliff@nginx/adept/cwells) |
20:03.41 | SuperNull | is it not possible to get matching sources ? |
20:05.03 | cwells | hi, is there a way from cli to send caller id number with originate command? e.g. with "channel originate woomera/g1/5551231234 application playback tt-monkeys" |
20:05.32 | WIMPy | Use your dialplan via a local channel. |
20:06.15 | cwells | so then i can just use "originate mychannel/5551231234 ... " instead? |
20:06.47 | cwells | sorry for dumb questions, only been using asterisk for about a week |
20:07.26 | *** join/#asterisk grEvenX (~even@cC0FD00C3.dhcp.bluecom.no) |
20:07.27 | [TK]D-Fender | cwells, Indeed you can do it as part of the dialplan, or use a call-file or AMI Originate instead |
20:08.08 | cwells | call file can set the cid? |
20:08.21 | *** part/#asterisk otwieracz (~gonet9@v6.gen2.org) |
20:08.37 | [TK]D-Fender | yes |
20:08.51 | cwells | ok, i didn't see any examples of that |
20:08.54 | cwells | i will google more |
20:09.47 | cwells | thanks |
20:11.03 | jaytee | currently on Chapter 2 of Mastering Hyper-V Deployment and hoping the aneurysm strikes before I get to Chapter 3 |
20:11.31 | SuperNull | haha. |
20:11.48 | SuperNull | Jaytee i might be in that boat soon we are using ESXi on a IPTV Deploy.. |
20:12.01 | jaytee | not the same boat |
20:12.07 | *** join/#asterisk cwells (~cliff@nginx/adept/cwells) |
20:12.16 | jaytee | If I had my druthers I'd rather have VMWare |
20:12.39 | jaytee | but one of our clients listened to "Bob" who said Hyper-V was the way to go. |
20:12.55 | citywok | jaytee: we use hyperv and haven't had any problems |
20:12.57 | Qwell | it's Hyper, so obviously faster. |
20:13.07 | SuperNull | jaytee is it all microsoft windows on them ? |
20:13.08 | citywok | we have 3 seperate failover clusters with 4-8 nodes each |
20:13.23 | jaytee | I'm gonna lay in wait for "Bob" one of these dark, rainy nights.....he'll rue the day, lemme tell ya! |
20:13.49 | citywok | what's so bad about hyperv? lol |
20:14.08 | jaytee | SuperNull, yeah it'll be All Microsoft/ All the Time... a regular Redmond Love Fest |
20:14.36 | SuperNull | that prolly why .. CDW pushes hyperv for all windows deploys too .. |
20:14.59 | jaytee | there are some nice architectural features to it I have to admit but a tad more convoluted than VMWare |
20:15.13 | jaytee | and no NIC teaming (yet) |
20:18.47 | SuperNull | can anyone confirm that regserver option is used in 1.8 ? i does not appear to be filling with anything.. |
20:18.59 | Katty | AAAAAAAAAAAHHHHHHHHHHIEEEEEEEEEEEE |
20:19.01 | Katty | throws things. |
20:19.14 | SuperNull | bad katty. |
20:19.17 | Katty | spins in chair, furiously. |
20:19.24 | Katty | breathes |
20:19.28 | Katty | k, i'm good! next! |
20:19.29 | SuperNull | profits |
20:20.13 | *** join/#asterisk neurosys (~neurosys@69.198.208.97) |
20:21.07 | jaytee | "The differencing disk also has some of the behavior of a differencing disk." |
20:21.07 | jaytee | Finn, Aidan (2010-10-26). Mastering Hyper-V Deployment (Kindle Location 1074). Sybex. Kindle Edition. |
20:21.18 | jaytee | well that's a hell of a relief! |
20:21.31 | *** join/#asterisk hugogee (~hugogee@72.8.184.58) |
20:22.44 | p3nguin | It's good that a thing has the behavior of said thing. |
20:22.56 | jaytee | couldn't agree more! :-) |
20:23.12 | _Corey_ | That's some quality writing/editing there |
20:23.29 | jaytee | I had to read it like three times before I realized that it was THEM and not ME |
20:23.37 | [TK]D-Fender | checkout time, back way later..... |
20:24.50 | jaytee | sooooo glad it's friday and I only have a half hour to go |
20:25.14 | jaytee | somehow this week seemed longer than most |
20:27.25 | *** join/#asterisk hugogee (~hugogee@72.8.184.58) |
20:28.01 | *** join/#asterisk TimeRider (~steve@188-220-33-123.zone11.bethere.co.uk) |
20:30.44 | sunfone | Has a T.38 capable recvfax been backported to 1.4? |
20:38.04 | Micc | any ideas when 1.8.8-rc1 will be released? |
20:38.42 | *** join/#asterisk fofware (~fabian@wdctf.siup.gov.ar) |
20:40.22 | *** join/#asterisk wonderworld (~ww@port-92-201-67-238.dynamic.qsc.de) |
20:46.19 | *** join/#asterisk fofware (~fabian@wdctf.siup.gov.ar) |
20:50.54 | cusco | hi |
20:51.13 | cusco | how can I pass a var value from one asterisk box to another via sip? |
20:51.53 | cusco | I would like to pass asterisk-gateway hangupcause to local-asterisk |
20:52.22 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.218.194) |
20:52.39 | cusco | seems that SIP_HEADER can only be read in the beginning, right? |
20:53.47 | cusco | [TK]D-Fender: perhaps you could answer, how can I pass gateway-asterisk's hangupcause value to local-asterisk ? |
20:54.05 | cusco | when local-asterisk is dialing gateway-asterisk via SIP |
21:04.19 | *** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net) |
21:05.20 | *** join/#asterisk timahvo1 (~rogue@41.223.57.73) |
21:06.38 | nix8n82-phone | Why do you need the hangup cause to be sent back to the local asterisk box? |
21:07.20 | WIMPy | s/SIP/IAX2/ |
21:08.02 | *** join/#asterisk nighty^ (~nighty@69-165-220-105.dsl.teksavvy.com) |
21:11.05 | nix8n82-phone | Just curious what you are trying to do. |
21:11.15 | *** part/#asterisk wesphillips (~wphill04@137-237-233-124.harris.com) |
21:13.57 | *** join/#asterisk Ineedabettername (~Ineedabet@pool-98-119-41-128.lsanca.fios.verizon.net) |
21:15.37 | Ineedabettername | need to change iax port...does it need to be set somewhere other than iaxprov.conf? debug looks like it's not picking up the change |
21:17.42 | *** join/#asterisk loconut (~loconut@173-16-61-8.client.mchsi.com) |
21:18.26 | loconut | hello. I have a AMI user (on Asterisk 1.8.x) who has read=all, and yet ListCommands doesn't list Agents and Agents says Invalid command, even with an ActionID: specified. |
21:18.26 | loconut | any ideas why? |
21:22.49 | [TK]D-Fender | Ineedabettername: iax.conf |
21:23.28 | Ineedabettername | have it there too under both [general] and my trunk |
21:23.41 | [TK]D-Fender | Ineedabettername: show us |
21:23.44 | [TK]D-Fender | ~pb |
21:23.45 | infobot | [~pb] A "pastebin" is a web-based service where you should paste anything over 3 lines so you don't flood the channel. Here are links to a few: http://www.pastebin.com , http://pastebin.us , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://bin.cakephp.org/ , http://asterisk.pastey.net/ ; or install pastebinit with yum or aptitude. |
21:25.43 | Ineedabettername | http://pastebin.com/5cx44AYB - it's sanitized |
21:26.25 | [TK]D-Fender | Ineedabettername: Wrong parameters |
21:26.32 | [TK]D-Fender | Ineedabettername: bindport under [general] |
21:26.39 | Ineedabettername | thank you |
21:26.52 | [TK]D-Fender | Ineedabettername: And the port you specif in the peer is for where you send to them, not what you yourself use |
21:28.06 | Ineedabettername | ok...so port under the peer and bindport under general ---- bindport is the local port being used and port is which remote udp port to call? |
21:29.01 | [TK]D-Fender | Your port has little to do with the destination port. I don't yet know if you need both changed. |
21:29.12 | [TK]D-Fender | Ineedabettername: What are you really needing to accomodate for? |
21:29.22 | Ineedabettername | due to a restrictive firewall policy i cant use 4569 |
21:29.34 | Ineedabettername | port has to be >65000 |
21:29.49 | [TK]D-Fender | One just one persons side |
21:29.51 | [TK]D-Fender | ? |
21:30.14 | [TK]D-Fender | maybe you can't but what about that remote peer? Are you in control of both sides? |
21:30.14 | Ineedabettername | correct...and that would be the remote end of the trunk from this config's point of view |
21:30.22 | loconut | i gave write=all, and now Agents doesn't complain, but I get nothing back. |
21:31.05 | Ineedabettername | i have a hosted freepbx+asterisk solution at one end and the end that i put in PB is an asterisk server I have root on |
21:31.22 | SuperNull | erg. how do i debug SQL statements (odbc, mysql) ? |
21:31.45 | [TK]D-Fender | Ineedabettername: Are both under the same restrictions? |
21:31.56 | Ineedabettername | only the hosted freepbx site |
21:32.33 | [TK]D-Fender | Ineedabettername: then only change the bindport on the hosted side and mak sure the peer on the other system does port=theportonremote |
21:32.43 | [TK]D-Fender | Ineedabettername: and that should work fine |
21:33.11 | Ineedabettername | so i have the port=65001 set in that peer, i have iax2 debug on and the packets going out are remote_ip:4569 still |
21:34.58 | *** join/#asterisk depressed (~depressed@ca16.v6.us.gnics.net) |
21:35.54 | [TK]D-Fender | Ineedabettername: The things I told you to set are each on separate machines... you did get that I hope |
21:37.03 | Ineedabettername | yeah i get that...site a set peer to send out on port x and set site b set bindport to port x....site b set port to y and site a set bindport to y |
21:37.29 | Ineedabettername | oh i got it! |
21:37.38 | Ineedabettername | register line...add :port to end of host |
21:37.46 | Ineedabettername | thanks for the help...you guys are great |
21:40.04 | [TK]D-Fender | Ineedabettername: You're welcome. |
21:44.30 | Ineedabettername | seriously...i inherited this and previously knew nothing about asterisk or pbx's...the help is greatly apprciated |
21:47.53 | [TK]D-Fender | Ineedabettername: Glad you're getting a hang on it. It'll grow on you... |
21:52.04 | *** join/#asterisk sawgood (~sawgood@173-13-158-27-sfba.hfc.comcastbusiness.net) |
21:55.24 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.218.194) |
21:55.36 | [TK]D-Fender | oops |
22:02.48 | *** join/#asterisk Carlos_PHX_ (~Carlos@ip24-56-6-80.ph.ph.cox.net) |
22:12.46 | *** part/#asterisk Carlos_PHX_ (~Carlos@ip24-56-6-80.ph.ph.cox.net) |
22:17.48 | saxa | [Sep 30 23:34:01] NOTICE[6198] iax2-provision.c: No IAX provisioning configuration found, IAX provisioning disabled. |
22:17.51 | saxa | [Sep 30 23:34:02] NOTICE[6102] chan_iax2.c: Registration of 'rcitaly' rejected: 'Registration Refused' from: |
22:18.01 | saxa | why do I'm getting this ? |
22:18.09 | *** join/#asterisk loconut (~loconut@173-16-61-8.client.mchsi.com) |
22:18.50 | loconut | I'm trying to write an AMI client that looks at the QueueStatus, and for each member that's on a call, it finds out how long they've been on. Is there a way to map extension id to a current channel so I can then query Status on the channel? |
22:20.09 | navaismo | saxa maybe the calltoken |
22:20.32 | saxa | navaismo: whats the calltoken ? |
22:20.44 | navaismo | what asterisk version are you using? |
22:20.47 | saxa | I get one box well registerd to one side |
22:20.56 | saxa | the other side wont register |
22:21.03 | saxa | 1.8.7.0 |
22:21.08 | saxa | on both sides |
22:21.10 | navaismo | can you pastebin the complete output for the failed registration |
22:21.20 | saxa | yes |
22:21.31 | rdegges | Hey guys, would someone mind helping me debug my ChanSpy problem? I'm attempting to get ChanSpy's X option working, the option that lets you break out of ChanSpy and enter other extensions in the same context. Here is my code (very simple), and my Asterisk log: http://pastie.org/private/f7egiouvvdvolpoi1qfusw |
22:21.46 | rdegges | For some reason--no matter what I do (or what version of Asterisk I use), I can't get the X option working. |
22:21.55 | rdegges | I've tried it over and over again, in various patterns. |
22:22.00 | rdegges | I must be missing something obvious, here. |
22:23.08 | navaismo | rdegges what if you use SIP/XX instead SIP, where XX are the 2 numbers in the beginning of your extensions |
22:23.36 | rdegges | navaismo: doesn't make a difference, unfortunately :( |
22:23.37 | navaismo | I use SIP/12 for chanspy sip/12XX extensions and use * to change to next channel |
22:23.45 | navaismo | oh I see |
22:24.36 | rdegges | Also: if I remove the X option, and use *any other* options, it works. |
22:24.38 | saxa | http://pastebin.com/N7t7y4ri |
22:24.53 | rdegges | But when I use the X option, it just seems to continuously loop over and over, never actually letting me spy on anyone. |
22:25.35 | navaismo | X: Allow the user to exit ChanSpy to a valid single digit numeric extension in the current context or |
22:25.36 | navaismo | the context specified by the SPY_EXIT_CONTEXT channel variable. The name of the last channel |
22:25.36 | navaismo | that was spied on will be stored in the SPY_CHANNEL variable. |
22:25.45 | rdegges | yep! |
22:26.10 | rdegges | In my log there, I defined spy,1,1 -- spy,2,1-- etc |
22:26.20 | rdegges | So it *should* break out to that if I hit one of those numbers while in chanspy |
22:26.28 | rdegges | But I can never actualy get into chanspy, it just immediately exits :( |
22:27.47 | navaismo | saxa try with requierecalltoken=no in both and enabled the IAX2 debug for get the reason of the rejected |
22:27.49 | navaismo | peer |
22:28.05 | saxa | navaismo: ok let me try |
22:28.54 | navaismo | rdegges this happens in 1.8.7? |
22:28.59 | navaismo | only? |
22:29.06 | rdegges | also in 1.6.1.1 |
22:29.10 | rdegges | which is the other version i'm testing on |
22:29.24 | rdegges | (and: 1.8.7.0, to be precise) |
22:30.15 | loconut | anyone have any ideas on my question? |
22:30.25 | rdegges | navaismo: want me to copy the code into a pastie? |
22:30.31 | rdegges | copies |
22:31.02 | navaismo | yes |
22:31.21 | rdegges | This is the code I'm running to test it: http://pastie.org/private/zubjdxzv9mdwuvipiw1vbq |
22:31.33 | rdegges | I basically call in once and don't press anything (so the caller goes into an infinite loop) |
22:31.39 | rdegges | Then I call in again, and press 9 to start spying. |
22:31.52 | rdegges | And that's how I'm getting the failure. |
22:31.59 | rdegges | If I remove that X option, however, everything works as expected. |
22:34.16 | saxa | navaismo: http://pastebin.com/X6acn9Cp |
22:36.27 | navaismo | saxa try with iax2 set debug on |
22:36.51 | navaismo | then iax reload, can you show us the iax config for the peer |
22:38.42 | saxa | navaismo: i will, but since its very late here |
22:38.51 | navaismo | np |
22:38.52 | saxa | I will continue tomorrow morning over here |
22:38.56 | navaismo | k |
22:38.58 | saxa | thanks for now |
22:39.00 | saxa | ;) |
22:39.04 | saxa | night |
22:39.52 | *** join/#asterisk Cain (~Geek@unaffiliated/cain) |
22:40.07 | navaismo | rdegges stupid question what happens if you only use ${SPY_CHANNEL} in the NoOp |
22:40.23 | rdegges | navaismo: lemme give it a try |
22:40.26 | rdegges | 1 sec ;) |
22:41.16 | rdegges | navaismo: same thing :( |
22:42.02 | rdegges | This is so frustratin! |
22:42.11 | navaismo | yep |
22:42.23 | navaismo | so you enter in the spy context |
22:42.25 | rdegges | p3nguin told me that he acutally tested out the X option yesterday on 1.8.7.0, and it worked. But I can't get it work no matter what I do. |
22:42.47 | navaismo | but the channel never answer and dance betwwen active channels? |
22:43.37 | rdegges | Well, what happens is that ChanSpy (as soon as it is ran), immediately exits, and Asterisk starts executing spy,s,1 again, so it goes into this infinite loop. |
22:43.50 | rdegges | And ChanSpy only shows up in the CLI for like a quarter of a second, then it immediately loops over and over again. |
22:43.58 | rdegges | So it never even spies on a channel at all. |
22:44.04 | rdegges | Just keeps immediately exiting |
22:44.08 | rdegges | It's so weird. |
22:44.17 | rdegges | Here, I'll also post a log of it working without the X option. |
22:44.20 | rdegges | Maybe I'm crazy or something |
22:44.34 | navaismo | do you tried with direct exten without goto? |
22:45.29 | *** part/#asterisk Cain (~Geek@unaffiliated/cain) |
22:45.45 | rdegges | Here's a log of me doing it with just ChanSpy(SIP): http://pastie.org/private/kpje4iejjcxfug8zgtblwq |
22:45.50 | rdegges | Works fine, :( |
22:46.10 | rdegges | navaismo: what do you mean? Have Asterisk answer, and immediately run chanspy? |
22:47.46 | navaismo | sorry my english its bad, so im trying to explain when the channel says beep, then the number of spied channel |
22:48.13 | rdegges | Oh, like if I do: ChanSpy(SIP/blah,X)? |
22:49.04 | navaismo | like this http://pastebin.com/HiecxMWi |
22:49.31 | rdegges | Ah, ok |
22:49.35 | rdegges | 1 minute, i'll give that another try |
22:51.13 | rdegges | navaismo: nope, same thing: http://pastie.org/private/kjrv8mqvcdsy61olj6peg |
22:52.18 | *** join/#asterisk c0dyhi11 (~chill@gw9.umcaz.edu) |
22:52.54 | navaismo | i dont have 1.8.7 only 1.8.6 |
22:53.00 | rdegges | hrm |
22:53.04 | rdegges | and it works for you in 1.8.6? |
22:53.16 | navaismo | let me paste your config |
22:53.19 | rdegges | i'll try to downgrade ^^ |
22:53.26 | rdegges | thanks ^^ |
22:57.46 | *** part/#asterisk shido6 (~shido6@nat/yahoo/x-rfmoeauuhajfdgvw) |
23:00.18 | navaismo | it works http://pastebin.com/Vc2R51yn |
23:02.20 | navaismo | brb |
23:02.38 | rdegges | how the heck |
23:02.42 | rdegges | i guess i'll downgrade! |
23:02.43 | rdegges | thanks! |
23:14.44 | navaismo | im back |
23:14.51 | rdegges | cool |
23:15.01 | rdegges | Well, thanks for helping me test that btw. I'm install 1.8.6 now |
23:15.04 | rdegges | :) |
23:15.07 | navaismo | ok |
23:17.16 | *** join/#asterisk werdan7 (~w7@freenode/staff/wikimedia.werdan7) |
23:36.53 | *** join/#asterisk rdahlin_1 (~rdahlin_1@78-73-19-238-no168.tbcn.telia.com) |
23:48.20 | *** join/#asterisk DrDigital (~mmurphy@gallery/DrDigital) |