00:00.15 | *** join/#asterisk adeel (~adeel@72.53.78.136) |
00:03.57 | *** join/#asterisk nobodyshome (~root@bas10-kitchener06-1176002391.dsl.bell.ca) |
00:04.15 | nobodyshome | WE ARE THE CHAMPIONS MON FREIR |
00:10.54 | dijib | so p3nguin ive got it 95% working. one of my grub kernels isnt working |
00:11.02 | dijib | but the system is back up ad running under raid |
00:11.24 | *** join/#asterisk Jabroni (~ident@201.143.43.253.dsl.dyn.telnor.net) |
00:11.33 | *** join/#asterisk Linuturk_ (~linuturk@unaffiliated/linuturk) |
00:21.20 | *** join/#asterisk mr_pete (5ce892a4@gateway/web/freenode/ip.92.232.146.164) |
00:22.26 | mr_pete | Hi - anyone able to help a confused (and tired) person trying to migrate from asterisk 1.4 to 1.6? |
00:22.44 | mr_pete | I have an SPA3102 set with digest auth for outgoing calls under 1.4 - all fine |
00:22.55 | mr_pete | but can't get it going via 1.6 (using asterisk-gui atm) |
00:23.02 | p3nguin | One of your grub kernels? Huh? |
00:23.21 | dijib | my linux kernels in grub |
00:24.24 | p3nguin | How many kernels do you have configured in the grub menu? |
00:24.30 | dijib | 2 |
00:24.41 | dijib | where was the superblock supposed to be /boot or /? |
00:24.51 | p3nguin | Every partition has a superblock. |
00:25.04 | p3nguin | It contains the meta data for the partition. |
00:25.16 | dijib | well then i dont know |
00:25.26 | p3nguin | Do you really need two kernels? |
00:25.42 | mr_pete | does 1.6 support md5 digest-auth anymore? |
00:25.50 | dijib | no im going to be fixing that now.. i had an issue with the uname -r not being the full kernel path |
00:25.56 | *** join/#asterisk phix (~threat@123-243-44-131.static.tpgi.com.au) |
00:26.13 | p3nguin | uname -r doesn't have a path at all. uname -r only prints the kernel version. |
00:26.28 | p3nguin | 7.3-RELEASE |
00:26.32 | p3nguin | (for example) |
00:26.44 | dijib | well then i must have been using the old kernel when i patched and it didnt patch the never kernel |
00:26.53 | p3nguin | Ah, that means I need to upgrade. |
00:27.04 | p3nguin | What did you patch? |
00:27.05 | dijib | I or you? |
00:27.11 | dijib | the old one |
00:27.20 | p3nguin | What kind of patch? |
00:27.28 | dijib | dracut |
00:27.36 | dijib | the initrd thing |
00:27.41 | dijib | im tired i was up all night |
00:28.25 | dijib | 2.6.32-220.el6.x86_64 vs. 2.6.32-220.7.1.el6.x86_64. |
00:28.29 | p3nguin | So, again... what exactly did you patch? |
00:28.45 | dijib | i patched the old kernel 220.el6 |
00:29.00 | dijib | i was just about to patch the other now |
00:29.06 | p3nguin | Again, what kind of patch? |
00:29.18 | dijib | initrd repack? |
00:29.24 | dijib | initramfs |
00:29.40 | p3nguin | The words you are saying make sense when used alone, but in the combinations you are using them, they don't add up. |
00:29.53 | dijib | lol typical to me |
00:30.00 | p3nguin | There is no patching involved in the things you've told me about. |
00:31.22 | p3nguin | Back to the beginning. What problem are you having? If it's that your OTHER kernel isn't working, do you really need THAT kernel? |
00:31.30 | p3nguin | If the system runs, what more do you want from it? |
00:31.31 | dijib | repacking 220.7.1.e6.x86_64 now |
00:31.46 | p3nguin | I don't understand what you're saying. |
00:31.56 | dijib | so should i just remove it from GRUB/? |
00:32.07 | p3nguin | You're just making a new initrd for an old kernel? |
00:32.20 | p3nguin | If you don't need that kernel, ignore or remove it. |
00:32.40 | dijib | the old kernel is what im using, system was using the nerwer kernel which was not patch till right now as the uname -r pointed it incorrectly |
00:32.56 | p3nguin | There's no patch. Stop saying patch. |
00:33.31 | dijib | if one drive completely dies, how does the other have grub on it to boot? |
00:33.50 | p3nguin | Didn't you set up raid 1? |
00:33.58 | dijib | yes |
00:33.59 | p3nguin | That's how. |
00:34.30 | p3nguin | I'm getting the impression that you have no clue what raid 1 is. |
00:34.59 | dijib | its a stripped? mirror? |
00:35.03 | dijib | i have a clue |
00:35.22 | p3nguin | The term is "striped," not stripped. And RAID 1 is mirroring. |
00:35.40 | p3nguin | RAID 0 is striping. |
00:35.44 | dijib | should i write grub to /dev/md0 ? |
00:35.55 | p3nguin | I'd guess you already did that. |
00:36.11 | p3nguin | Feel free to check it. |
00:36.14 | dijib | how? |
00:36.28 | p3nguin | Is md0 mounted to /boot? |
00:36.34 | dijib | yes |
00:36.47 | p3nguin | Check for the stage files in /boot/grub/ |
00:37.10 | dijib | what about the stage files? |
00:37.28 | p3nguin | If they are present, then grub is there. |
00:37.35 | dijib | ok well their there |
00:37.45 | dijib | so i guess grub is on both of the md0 pair |
00:37.55 | p3nguin | That's what raid 1 does. |
00:38.06 | dijib | ok so off topic you might have the answer. |
00:38.07 | p3nguin | Check the raid. more /proc/mdstat |
00:38.16 | dijib | how do you stop apache from checking DNS? |
00:38.22 | dijib | raid is good |
00:38.38 | dijib | md0 : active raid1 sda1[0] sdb1[1] 511936 blocks [2/2] [UU] |
00:38.38 | dijib | md1 : active raid1 sda2[2] sdb2[0] 77636536 blocks super 1.2 [2/2] [UU] |
00:38.57 | p3nguin | Nice. |
00:39.02 | dijib | i also took a drive out and it chaned sdc to sdb |
00:39.10 | p3nguin | yeah |
00:39.12 | dijib | but see there ony md1 says superblock |
00:39.29 | dijib | im affraid if i put that disk back it it will change back to sdc |
00:39.30 | p3nguin | You used meta data 1.2 on md1. |
00:39.31 | dijib | will it? |
00:39.44 | p3nguin | It depends on the hardware if it will change. |
00:39.45 | dijib | should md0 be 0.90? |
00:39.49 | p3nguin | yes |
00:39.53 | dijib | which controller is which? |
00:39.59 | dijib | bus |
00:40.23 | dijib | ottawa vs pittsburge game is on |
00:40.25 | dijib | http://player.640toronto.com/ |
00:41.07 | p3nguin | mdadm --detail /dev/md{0,1}|grep Version |
00:41.23 | dijib | perfect it is .90 |
00:41.24 | p3nguin | Back to the apache thing. What is the problem you have with it? |
00:41.54 | p3nguin | # mdadm --detail /dev/md{0,1}|grep Version Version : 0.90 Version : 0.90 |
00:41.57 | dijib | ive got multiple interfaces configured for it. .1, .10, .15-19 |
00:42.08 | dijib | and it takes forever trying to find dns on each interface at boot |
00:42.35 | dijib | virtual interfaces |
00:42.48 | p3nguin | What is the purpose of that? |
00:43.02 | dijib | so i can host multiple websites on :80 |
00:43.08 | p3nguin | That's silly. |
00:43.13 | dijib | thans |
00:43.19 | dijib | thanks |
00:43.20 | p3nguin | No, that's ridiculous. |
00:43.24 | dijib | why? |
00:43.31 | dijib | .10 is for asterisk |
00:43.53 | p3nguin | It's completely unnecessary and just makes things harder to manage for you. |
00:44.17 | dijib | well it was the way i figured out how to do it after attempting other methods without any success |
00:44.20 | p3nguin | If you wanted to host multiple sites, you should be using name-based virtualhosts. |
00:44.41 | p3nguin | You should have asked sooner. |
00:44.50 | dijib | meh |
00:45.04 | p3nguin | So undo all that crap and do it right. |
00:45.10 | dijib | why name based? thats silly. i was an I{P |
00:45.11 | dijib | IP |
00:45.20 | p3nguin | You were an IP? |
00:45.28 | dijib | want |
00:45.30 | dijib | lol |
00:45.38 | dijib | yes i am internet protocal |
00:45.46 | p3nguin | I'm not so sure. |
00:46.09 | dijib | well its not a big deal except for this DNS lookup |
00:46.40 | p3nguin | I'd guess the DNS wouldn't be a problem if you hadn't set it up wrong. |
00:46.43 | dijib | "HostnameLookups Off" |
00:46.47 | dijib | it is. |
00:48.46 | dijib | nevermidn thats not the setting |
00:50.05 | p3nguin | I got my magazines for my pistol today, so you don't have to go out and steal them now. |
00:50.16 | dijib | lol. |
00:50.21 | dijib | i thought tht was a rifle |
00:50.39 | p3nguin | Nah, the 5906 is a 9mm pistol. |
00:50.59 | p3nguin | I got two mags and a new set of grips for $47. Online, one mag costs that much. |
00:51.48 | p3nguin | I don't really like the grips, but I can't find OEM replacements. |
00:52.21 | dijib | hgun show? |
00:52.38 | p3nguin | I just went to a gun shop that I hadn't even been to before. |
00:52.49 | dijib | this is my appache error |
00:52.51 | dijib | Temporary failure in name resolution: Failed to resolve server name for |
00:52.57 | dijib | coo |
00:53.06 | dijib | go plinking? |
00:53.11 | p3nguin | Not today. |
00:53.40 | p3nguin | I'll probably get a couple hours to go out within the next week. |
00:53.48 | dijib | yikes |
00:53.54 | dijib | working too much on #asterisk |
00:54.20 | p3nguin | I'm usually on here more at night, when I can't go shooting. |
00:54.30 | dijib | fair enouh |
00:57.55 | urvg4 | hi,did a new asterisk install on ubuntu but nothing comes up on the CLI even with verbosity at 7 |
00:58.04 | urvg4 | and the calls don't connect |
00:58.20 | dijib | permission issue |
00:58.31 | dijib | who is running asterisk? |
00:58.31 | urvg4 | how do I fix it? |
00:58.44 | dijib | first you need to start asterisk as asterisk:asterisk |
00:58.53 | dijib | then you chown all the asterisk driectoies |
00:58.59 | urvg4 | pls what is the sytax? |
00:59.13 | dijib | let me try and look im a bit of a nub |
00:59.22 | mr_pete | no-one knows if md5 auth works with spa3102 in 1.6? |
00:59.33 | urvg4 | dijib:pm? |
00:59.39 | p3nguin | lol |
00:59.42 | dijib | stay in pub |
00:59.57 | urvg4 | ok |
01:02.10 | dijib | put these into /etc/asterisk/asterisk.conf under the options context |
01:02.12 | dijib | runuser=asterisk |
01:02.12 | dijib | rungroup=asterisk |
01:02.33 | urvg4 | ok |
01:03.13 | dijib | p3nguin: where was the other username/group setting? |
01:03.40 | p3nguin | Depends on the OS. For CentOS, it is in /etc/sysconfig/asterisk. |
01:03.54 | dijib | thats the one |
01:04.03 | p3nguin | Ubuntu has a similar structure, so maybe the same place. |
01:04.12 | dijib | AST_USER="asterisk" |
01:04.13 | dijib | AST_GROUP="asterisk" |
01:04.21 | dijib | thats the variables in /sysconfig/asterisk |
01:04.34 | dijib | at the top. |
01:04.44 | dijib | and permissions... uhm... |
01:06.20 | p3nguin | ~chown asterisk |
01:06.21 | infobot | Assuming you run the asterisk process as uid asterisk and gid asterisk (like a sane person should), "chown -R asterisk:asterisk /etc/asterisk /var/lib/asterisk /var/log/asterisk /var/spool/asterisk /var/run/asterisk" should provide correct file ownership. |
01:06.31 | dijib | chown asterisk:asterisk /var/run/asterisk /etc/asterisk /var/lib/asterisk /dev/dahdhi /var/log/asterisk /var/spool/asterisk |
01:06.34 | dijib | thanks |
01:06.53 | dijib | oh ya and var/run |
01:06.53 | urvg4 | http://pastebin.com/cHGpr7vZ |
01:07.11 | p3nguin | Not /var/run, no. |
01:07.20 | p3nguin | Other things use /var/run. |
01:07.32 | dijib | urvg4: thats supposed to be under the [options] context |
01:07.55 | urvg4 | ok |
01:08.07 | dijib | i need to server harden |
01:08.57 | urvg4 | http://pastebin.com/LusGE5hQ |
01:09.33 | dijib | that one looks ok |
01:10.11 | urvg4 | ok let me try it again |
01:11.50 | dijib | your going to need to do all three things. |
01:12.02 | dijib | what is your OD urvg4 ? |
01:12.23 | urvg4 | sorry what do u mean by OD? |
01:12.34 | dijib | OS sorry |
01:13.16 | urvg4 | Linux XXXXX 3.0.0-16-server #29-Ubuntu SMP Tue Feb 14 13:08:12 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux |
01:13.57 | dijib | ubuntu ok |
01:14.14 | p3nguin | Does asterisk start? |
01:15.02 | urvg4 | one sec |
01:15.15 | dijib | back in a few smoke break |
01:21.21 | urvg4 | chown: cannot access `/dev/dahdhi': No such file or directory |
01:22.38 | urvg4 | asterisk starts but nothing on CLI |
01:22.46 | vlt | kaldemar: Thank you. What is Record() for without using option k? I mean, why would I record something but not keep it? |
01:22.59 | p3nguin | ps -C asterisk u <----- check which user runs asterisk |
01:23.49 | p3nguin | You know what I really need? I need an administrators' provisioning guide/manual for SPA products such as the PAP2 ATA. |
01:25.20 | urvg4 | p3nguin: http://pastebin.com/MqEJeFtD |
01:26.26 | p3nguin | root is still running it. Try restarting asterisk once. |
01:28.06 | urvg4 | Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
01:31.45 | p3nguin | Did you restart asterisk yet? |
01:32.30 | urvg4 | not yet |
01:33.05 | urvg4 | it did start but I can't connect to asterisk -r |
01:33.51 | urvg4 | # service asterisk restart |
01:33.51 | urvg4 | <PROTECTED> |
01:33.51 | urvg4 | <PROTECTED> |
01:33.51 | urvg4 | <PROTECTED> |
01:35.33 | p3nguin | Stop asterisk. |
01:35.49 | p3nguin | Check to make sure it is dead. pkill -9 asterisk |
01:35.50 | urvg4 | done |
01:35.54 | p3nguin | Start asterisk. |
01:36.31 | urvg4 | ok |
01:36.32 | p3nguin | Did it start? Check to see what user is running it. ps -C asterisk u |
01:37.02 | urvg4 | USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
01:37.02 | urvg4 | root 2670 2.3 0.9 525800 37104 ? Ssl 03:36 0:00 /usr/sbin/asterisk |
01:37.02 | urvg4 | root 2695 0.0 0.0 25328 2040 pts/6 T 03:36 0:00 rasterisk r |
01:37.23 | p3nguin | Still wrong. |
01:37.38 | urvg4 | ok......how do I fix it? |
01:37.49 | p3nguin | Are you starting it with an init script? |
01:38.06 | urvg4 | no used service asterisk start |
01:38.21 | p3nguin | I would have thought that would use the init script. |
01:38.38 | p3nguin | Stop asterisk and start it again using the init script just to see if it behaves differently. |
01:39.08 | urvg4 | what is the sytax for init script? |
01:39.21 | p3nguin | /etc/init.d/asterisk start |
01:39.21 | p3nguin | (usually) |
01:40.11 | urvg4 | ~# /etc/init.d/asterisk start |
01:40.11 | urvg4 | <PROTECTED> |
01:40.11 | urvg4 | <PROTECTED> |
01:40.34 | p3nguin | You must not have made sure it was dead. |
01:40.34 | dijib | what does ubuntu use as a daemon manager? |
01:40.50 | p3nguin | I've never heard of a daemon manager before. |
01:41.42 | urvg4 | <PROTECTED> |
01:41.43 | urvg4 | USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
01:41.43 | urvg4 | root 3159 10.3 0.9 535872 37684 ? Ssl 03:41 0:00 /usr/sbin/asterisk |
01:41.49 | dijib | FLOOD! |
01:41.54 | urvg4 | sorry |
01:41.55 | dijib | am i even here? |
01:42.04 | dijib | ok yes i am |
01:42.08 | dijib | got lost there a min |
01:42.09 | Kobaz | this is not here |
01:42.10 | p3nguin | Something still isn't right. Can you pastebin your entire /etc/init.d/asterisk file for me? |
01:42.16 | Kobaz | here is neither there |
01:42.23 | urvg4 | ok one sec |
01:42.24 | dijib | give me some ssh access |
01:42.27 | dijib | i'll fix ya up |
01:42.30 | urvg4 | ok |
01:42.33 | dijib | lol |
01:42.33 | p3nguin | snarfs |
01:42.50 | Kobaz | a quick rm -rf / will fix it for sure |
01:43.00 | p3nguin | If it doesn't say webmin on it, dijib can't operate it. |
01:43.23 | dijib | im an operating operator in operations |
01:43.33 | p3nguin | I see. |
01:43.57 | dijib | it only took me like 12 hours to fix my kernel panic |
01:44.05 | dijib | * shakes head |
01:44.08 | *** join/#asterisk slash` (~slash@123.49.23.156) |
01:44.08 | p3nguin | I guess that's not TOO bad. |
01:44.09 | dijib | how do you action? |
01:44.14 | dijib | i also did sleep |
01:44.19 | slash` | hi all |
01:44.23 | dijib | ok maybe 14 with 6hour sleep |
01:44.24 | p3nguin | /me performs action |
01:44.38 | dijib | performs gasp |
01:44.42 | p3nguin | haha |
01:44.45 | dijib | gasp |
01:44.49 | Kobaz | hah |
01:44.49 | dijib | gasps |
01:44.58 | p3nguin | rotfl |
01:45.00 | slash` | whats up all |
01:45.04 | p3nguin | You're killin' me, dude. |
01:45.16 | dijib | ok so back to buddies issue |
01:45.21 | dijib | whats his PB's saying? |
01:45.34 | p3nguin | Haven't seen what I was asking for yet. |
01:45.46 | p3nguin | It keeps running as root, but I want to see it run as asterisk. |
01:45.55 | dijib | /etc/sysconfig/asterisk /etc/asterisk/asterisk.conf and ps? |
01:46.01 | slash` | is anybody pls help me to do this one? |
01:46.03 | p3nguin | I think the init script is at fault. |
01:46.08 | dijib | did he enabe to daemon on boot? |
01:46.12 | slash` | :[ |
01:46.15 | dijib | yes |
01:46.17 | dijib | me2 |
01:46.21 | p3nguin | Doesn't matter if he did or not. |
01:46.29 | dijib | whats the daemon manager? |
01:46.34 | p3nguin | Since he isn't booting up right now, that's irrelevant. |
01:46.39 | p3nguin | What's a daemon manager? |
01:46.53 | urvg4 | p3nguin:http://pastebin.com/keUvYAh4 |
01:47.09 | dijib | no its not as if you do like a service restart asterisk or equivalent it would go there |
01:47.20 | dijib | that was my issue last install no? |
01:47.26 | slash` | hellooo |
01:47.37 | p3nguin | He was starting it with service, but also ran the init script directly. |
01:48.21 | dijib | does /etc/init.d/asterisk even have user options.... dont htink so just paths to configs |
01:48.25 | p3nguin | urvg4: Check /etc/default/asterisk |
01:48.25 | dijib | bounce the box |
01:48.27 | slash` | anybody pls tell me how to register my asterisk sip client server with Cisco asa? |
01:48.34 | urvg4 | ok |
01:48.48 | dijib | not really urvg4 im just wasting time and causing kernel panic fires |
01:48.52 | p3nguin | Set the AST_USER and AST_GROUP to asterisk |
01:49.01 | slash` | p3nguin:can u ask u something plsss |
01:49.06 | dijib | in /etc/sysconfig/asterisk |
01:49.10 | dijib | if applicable in ubunut |
01:49.19 | slash` | p3nguin:can i ask u something plsss |
01:49.22 | dijib | slash ask me |
01:49.24 | p3nguin | slash`: I can't even read what you're saying, so I doubt I can do whatever it is you are asking. |
01:49.24 | dijib | lol |
01:49.34 | slash` | :[ |
01:49.37 | dijib | ask moi |
01:49.42 | p3nguin | Use actual words. |
01:49.42 | slash` | sorry |
01:50.02 | dijib | use whatever you want i can attempt to decipher |
01:50.08 | slash` | im really newbie .... but im just stuck at last point |
01:50.20 | dijib | im nubby aswell |
01:50.21 | *** join/#asterisk kessius (~cassio@201.21.173.58) |
01:51.20 | slash` | p3nguin:i want to Connect my multi Sip client With thier VOIP devices behind NAT to Connect Sip Server |
01:51.36 | p3nguin | urvg4: After you set AST_USER=asterisk and AST_GROUP=asterisk in /etc/default/asterisk, then start asterisk again. Make sure it is DEAD before you try. |
01:52.00 | slash` | p3nguin:(5060 port is blocked so what should i do can u pls give me Server Side Example PLS?) |
01:52.08 | urvg4 | ok |
01:52.30 | dijib | unblock 5060 slash` |
01:52.35 | dijib | S/D |
01:53.31 | *** join/#asterisk bmg505 (~leon@196-209-152-75.dynamic.isadsl.co.za) |
01:54.06 | dijib | urvg4: pkill -9 asterisk |
01:54.20 | urvg4 | yea did that |
01:54.30 | dijib | just passing on my nub knowledge |
01:54.44 | urvg4 | p3nguin: http://pastebin.com/vy82PPnN |
01:55.57 | slash` | hello |
01:56.17 | slash` | urvg4... can u pls help me? |
01:56.50 | urvg4 | what do u want to do? |
01:57.20 | dijib | urvg4: wtf |
01:57.37 | urvg4 | lol |
01:57.41 | urvg4 | what! |
01:57.50 | dijib | that doesnt make sense |
01:58.04 | slash` | p3nguin:i want to Connect my multi linux client server With attach VOIP devices behind NAT to Connect Sip Server |
01:58.08 | dijib | you did all the permissions, touched asterisk.conf /sysconf/asterisk |
01:58.12 | dijib | what else do you need? |
01:58.14 | slash` | urvg4:i want to Connect my multi linux client server With attach VOIP devices behind NAT to Connect Sip Server |
01:58.14 | dijib | .... |
01:58.55 | slash` | maybe im baneed nobody see ma msg :[ |
01:59.01 | urvg4 | slash:set nat=yes in the user settings |
01:59.06 | dijib | your not banned |
01:59.17 | dijib | i just dont have the resources available |
01:59.23 | dijib | one issue at a time |
02:01.14 | urvg4 | p3nguin: asterisk still not accepting calls |
02:02.16 | dijib | urvg4: how do you add a newly built program? and how did you install asterisk? |
02:02.32 | dijib | apt-get? |
02:02.35 | urvg4 | yea |
02:02.49 | dijib | k. and how do you eneable to daemon? |
02:02.58 | urvg4 | no I don't |
02:03.05 | urvg4 | what is the sytax? |
02:03.21 | dijib | im asking you |
02:03.31 | *** join/#asterisk bmg505 (~leon@196-209-152-75.dynamic.isadsl.co.za) |
02:03.37 | dijib | im wondering if you can specify the user:group where you enable it |
02:03.56 | slash` | urvg4:i mean what should i set asterisk Server Side? |
02:04.06 | slash` | and what should i set Client Server Side? |
02:04.24 | slash` | and how do i reduce bandwdith |
02:04.36 | urvg4 | slash: set nat=yes in sip general setting |
02:06.00 | urvg4 | in the server side |
02:06.30 | urvg4 | and nat=yes at the client user setting |
02:08.49 | slash` | both side same config sir? |
02:10.14 | dijib | urvg4: /etc/event.d/asterisk ? does ubuntu still use upstart? |
02:10.30 | dijib | in there does it start it as AST_USER AST_GROUP |
02:10.31 | dijib | ? |
02:10.52 | dijib | wait no..... |
02:11.14 | urvg4 | let me check |
02:11.40 | dijib | did you have a /etc/sysconfig/asterisk file? |
02:11.45 | *** join/#asterisk bmg505 (~leon@196-209-152-75.dynamic.isadsl.co.za) |
02:12.57 | urvg4 | no I don't |
02:13.00 | dijib | disable selinux ! |
02:13.35 | *** join/#asterisk GGD (~deberle@pool-173-72-204-39.clppva.fios.verizon.net) |
02:14.14 | dijib | # setenforce 0 |
02:14.18 | urvg4 | ok |
02:14.18 | dijib | # vi /etc/sysconfig/selinux |
02:14.22 | dijib | SELINUX=disabled |
02:14.36 | dijib | save it. |
02:14.58 | dijib | i had this issue a couple days ago and i couldnt figure it out |
02:15.03 | dijib | and i just remembered the fix |
02:15.45 | dijib | shit |
02:15.49 | dijib | thats not a linux command |
02:15.55 | dijib | it didnt work did it? |
02:15.59 | urvg4 | no |
02:16.19 | dijib | i need to find the ubuntu variant |
02:18.19 | urvg4 | ok |
02:18.41 | dijib | im asking #liux |
02:19.40 | urvg4 | ok |
02:21.14 | *** join/#asterisk bmg505 (~leon@196-209-152-75.dynamic.isadsl.co.za) |
02:22.42 | *** join/#asterisk mahiti-irc (~mahiti@117.18.229.17) |
02:22.58 | mahiti-irc | hi |
02:23.38 | mahiti-irc | anyone knows whether the Digium PRI cards supports SS7 ? |
02:27.24 | *** join/#asterisk topriddy (~Seamfix@41.155.22.231) |
02:31.12 | p3nguin | Ha, there's no SELinux in Ubuntu. |
02:31.41 | p3nguin | Maybe it's AppArmor. |
02:33.25 | p3nguin | urvg4: Did you ever set the user and group in /etc/default/asterisk? |
02:33.38 | urvg4 | yea i did |
02:34.55 | p3nguin | Did you stop asterisk and make sure it is dead? |
02:35.30 | p3nguin | Then use the init script to start asterisk again. |
02:35.50 | dijib | thats what my issue was the other day selinux |
02:36.26 | *** join/#asterisk wudles (~wudles@gateway.secureinstrument.com) |
02:37.13 | p3nguin | (2131.11) <p3nguin> Ha, there's no SELinux in Ubuntu. |
02:37.14 | p3nguin | ^ |
02:37.26 | p3nguin | (2131.40) <p3nguin> Maybe it's AppArmor. <------- |
02:37.58 | *** part/#asterisk GGD (~deberle@pool-173-72-204-39.clppva.fios.verizon.net) |
02:38.28 | urvg4 | yea I stopped asterisk |
02:38.37 | dijib | raid is working perfectly. |
02:38.51 | urvg4 | and did the init script |
02:38.53 | dijib | saw that |
02:39.19 | dijib | yo boys its showerday so i might be back might now. will see u in a bit if not |
02:40.12 | p3nguin | Asterisk should be starting as uid asterisk after setting the values in /etc/default/asterisk and also setting runuser/rungroup in asterisk.conf. |
02:40.31 | urvg4 | let me confirm that |
02:40.39 | urvg4 | it keep starting as root |
02:41.05 | p3nguin | That's crap. It's like the init script isn't even working correctly. |
02:41.14 | *** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net) |
02:41.34 | p3nguin | And I don't know how to tell you to find out why and fix it. |
02:41.59 | p3nguin | Also, you mentioned something about phones not working. Did you disable your firewall? |
02:42.33 | urvg4 | yea I did |
02:43.33 | urvg4 | #AST_USER=asterisk |
02:43.33 | urvg4 | #AST_GROUP=asterisk |
02:44.03 | p3nguin | That's a problem. |
02:44.13 | p3nguin | The # prevents them from being read. |
02:44.16 | mahiti-irc | anyone knows whether the Digium PRI cards supports SS7 ? |
02:44.32 | urvg4 | ok |
02:45.13 | urvg4 | USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND |
02:45.14 | urvg4 | asterisk 8273 20.7 0.9 538864 37980 ? Ssl 04:44 0:00 /usr/sbin/asterisk -U asterisk -G asterisk |
02:45.22 | p3nguin | That's better. |
02:45.28 | p3nguin | Now it isn't running as root. |
02:45.33 | urvg4 | ok |
02:45.54 | p3nguin | You can connect to the CLI with asterisk -r now? |
02:45.58 | urvg4 | yea |
02:46.06 | p3nguin | Do you have phones configured? |
02:46.22 | p3nguin | At least one phone. |
02:46.27 | jercos | mahiti-irc: a PRI card provides, well, a PRI. It supports SS7 the same way your ethernet card supports TCP/IP ;) |
02:46.37 | p3nguin | Do you have a peer configured in asterisk for the phone? |
02:46.49 | urvg4 | yea |
02:47.05 | mahiti-irc | oh okk jercos |
02:47.16 | mahiti-irc | thanks that made me relax :) |
02:48.12 | urvg4 | p3nguin: nothing coming up on CLI |
02:48.25 | p3nguin | Enable sip debug. |
02:48.28 | p3nguin | sip set debug on |
02:48.50 | urvg4 | ok done |
02:49.15 | urvg4 | sip set debug on |
02:49.15 | urvg4 | No such command 'sip set debug on' (type 'core show help sip set' for other possible commands) |
02:51.12 | p3nguin | What is your asterisk version? |
02:52.27 | urvg4 | asterisk 1.6 |
02:52.34 | p3nguin | That isn't a version. |
02:52.53 | p3nguin | core show version |
02:53.06 | urvg4 | ok |
02:53.26 | urvg4 | Asterisk 1.8.3.3 built by root @ nt535rb01 on a x86_64 running Linux on 2012-03-24 22:59:24 UTC |
02:53.47 | p3nguin | Okay, so you are using version 1.8.3.3 |
02:53.58 | p3nguin | And you haven't configured it yet. |
02:54.36 | p3nguin | You're going to have to configure asterisk before it can work. |
02:54.48 | *** join/#asterisk rhce7320 (~rhce7320@59.167.200.141) |
02:54.53 | urvg4 | ok ....what is the sytax? |
02:54.59 | p3nguin | ~book |
02:54.59 | infobot | Asterisk: The Definitive Guide, 3rd Edition (ISBN 0-596-51734-3) available at http://oreilly.com/catalog/9780596517342 - Asterisk: The Definitive Guide is released under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/3.0/us/) and is available for reading online at http://www.asteriskdocs.org/ or see ~buybook |
02:55.05 | urvg4 | ok |
02:55.26 | p3nguin | You'll probably want to look at sip.conf soon. |
02:56.14 | urvg4 | ok thanks |
02:56.51 | p3nguin | I'm going to go watch some TV while you read the book for configuring your system. |
02:57.10 | urvg4 | ok |
02:57.55 | *** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net) |
03:13.34 | *** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk) |
03:15.38 | *** join/#asterisk v4x (~v4x@d209-89-85-139.abhsia.telus.net) |
03:22.22 | p3nguin | How's it going on the book reading? |
03:25.14 | dijib | longest shower of my life |
03:27.33 | dijib | lol urvg4 are you for real even my nub butt knew that |
03:42.28 | *** join/#asterisk slash` (~slash@123.49.23.156) |
04:21.57 | *** join/#asterisk wudles (~wudles@gateway.secureinstrument.com) |
04:24.24 | *** join/#asterisk jkroon (~jkroon@dsl-244-21-199.telkomadsl.co.za) |
04:34.49 | slash` | helo |
04:37.31 | ChannelZ | OH HAI! |
04:39.08 | slash` | hello ChannelZ |
04:39.12 | slash` | how r u dongf |
04:46.04 | ChannelZ | Me and my dong are just lovely, and you? |
04:57.33 | *** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk) |
05:00.45 | *** join/#asterisk retentiveboy (~retentive@74-95-28-33-Atlanta.hfc.comcastbusiness.net) |
05:01.42 | *** join/#asterisk roham (~ali@31.184.187.2) |
05:14.19 | *** join/#asterisk QbY (~QbY@c-24-126-144-131.hsd1.ga.comcast.net) |
05:16.11 | QbY | Is it possible, using *.call files (moved to /var/spool/asterisk/outgoing) to send the call to multiple carriers -- in the event of failure ? I have a call that I must have go out, if I specify CHANNEL=sip/1234567890@CARRIERA if CARRIERA fails the call is retried at CARRIERA. What I'd like to do is have it dump to a context, where it tries CARRIERA, CARRIERB, CARRIERC…. And when there's an answer it then executes the Context/Exten/Pri |
05:16.12 | QbY | I originally wanted.. |
05:17.53 | *** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk) |
05:20.10 | ChannelZ | What is the other side of the call file doing? is it calling an extension or.. |
05:21.31 | ChannelZ | actually I guess it doesn't matter. Instead of using SIP/whatever you could use a Local/ channel and send it into your dialplan which can do pretty much anything you want. |
05:22.08 | *** join/#asterisk lanning (~lanning@173-8-187-197-SFBA.hfc.comcastbusiness.net) |
05:24.15 | Kobaz | speaking of call files |
05:24.46 | Kobaz | i'm running into a problem where i write out the call file and instead of spawning when it's supposesd to spawn based on the timestamp, it spawns immediately |
05:29.47 | ChannelZ | Are you writing the file directly into the spool directory and then modifying the timestamp? |
05:30.26 | ChannelZ | I think you have to write it elsewhere, change the modified time of the file, and then move it into the spool directory so that it has the desired timestamp at the time it appears in the spool and is noticed by asterisk |
05:36.19 | QbY | ok.. |
05:36.22 | QbY | I'll try Local |
05:46.52 | Kobaz | ChannelZ: setting the timestamp and then moving the file there |
05:46.59 | Kobaz | ChannelZ: works fine on one machine, doesn't on another |
05:47.24 | Kobaz | haven't really looked at the code in pbx_spool yet |
05:50.33 | p3nguin | Okay, so once upon a time there was this company called Altus Communications Group, which must have the absolute worst customer service of any VoIP services company on the entire planet. This opinion exists because there was this potential customer who wanted to test drive the service, so he sent a few emails to customer support trying to get a trial account, which was advertised and promised to him. After a half dozen emails ... |
05:50.39 | p3nguin | ... and four entire months, the company still hasn't managed to configure the trial account for the potential customer. That must be a really shitty company or simply have really shitty people running it. I just wanted to share this little story. I hope you enjoyed it. If you have any questions, feel free to ask. |
05:57.30 | *** join/#asterisk slash` (~slash@180.211.220.28) |
05:57.43 | QbY | Altus Communications Group/Altus Carrier Services prefers to handle carrier-level customers, and while it may be "judging a book by its cover" most customers whom do not have a static IP are considered non-carrier level, and are in more need of retail services that companies like Flowroute can provide. |
05:58.25 | p3nguin | Retail services shouldn't be advertised if the demand can't be met. |
05:59.54 | QbY | Additionally, Altus Carrier tends to ignore requests when potential customers send in inflammatory emails attacking it for its policies. Lastly, the profits one million minutes a month generate are minuscule compared to the profits a few billion generate, therefore Altus tends to ignore customers whom only bring a million minutes when they initiate the relationship with hateful, emails. |
06:00.17 | ChannelZ | Kobaz: Do they both run the same filesystem? Wonder if it's something funky with how Asterisk sees the files |
06:01.01 | QbY | OH… Yeah, that's right, we don't provide retail services.. We're wholesale, we tried retail, and found a bunch of hobbyists who needed much more love and attention that we were capable or wanting to provide. Sorry guy, you can always contact one of our resellers.. There's several of them out there. |
06:05.55 | *** join/#asterisk Russ (foobar@ip68-106-254-4.ph.ph.cox.net) |
06:07.02 | *** join/#asterisk Sorcier_FXK (~nsystem@unaffiliated/sorcierfxk) |
06:12.45 | Kobaz | ChannelZ: same fs |
06:16.53 | ChannelZ | hmm |
06:17.38 | Kobaz | yeap |
06:18.02 | Kobaz | i'll step through the code at some point and see what the dilly is |
06:18.07 | Kobaz | anyway, nap time |
06:30.15 | *** join/#asterisk ChrisInSydney (~Chris@60-242-81-231.tpgi.com.au) |
06:39.40 | *** join/#asterisk Kroms (~Kroms@cpe-76-175-206-64.socal.res.rr.com) |
07:00.09 | *** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl) |
07:11.26 | *** join/#asterisk chasing`Sol (~cS@197.135.51.80) |
07:45.15 | *** join/#asterisk eicto (~morgoth@144-71.dsl.aichyna.com) |
07:52.59 | *** join/#asterisk kasanop (~chatzilla@95-25-238-6.broadband.corbina.ru) |
08:19.02 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
08:22.04 | ChannelZ | Hmm. Are the Asterisk docs actually getting worse? |
08:22.51 | ChannelZ | It seems like the Guide actually has less in it each version |
08:23.04 | KNERD | how else they expect to make money off support? |
08:27.14 | ChannelZ | I guess it's no worse than every other open source project |
08:30.39 | *** part/#asterisk kieppie (~jaco@ip-58-28-154-35.static-xdsl.xnet.co.nz) |
08:39.36 | *** join/#asterisk topriddy (~Seamfix@41.155.54.163) |
08:43.39 | KNERD | It happens to them all. As it becomes mor epopular they start turnining more commercial |
08:43.55 | KNERD | and the documentation gets worse |
08:48.42 | *** join/#asterisk gavimobile (~user@bzq-84-108-109-1.cablep.bezeqint.net) |
08:49.54 | gavimobile | hi folks if 100 is police emergency in my country, does this mean I shouldn't create any users with the number 100 to reach them? |
08:50.09 | gavimobile | or is there a way to separate the 2? |
08:52.21 | ChannelZ | If by users you mean extensions, probably not |
08:53.14 | gavimobile | ChannelZ: asterisk doesn't like to call it extentions from what I understand, cause an extention can be a name as well |
08:53.17 | gavimobile | wasn't sure how to word it |
08:54.13 | ChannelZ | Well, no... extensions are extensions |
08:54.27 | gavimobile | ChannelZ: you ran away from me yesterday. the support team stil didn't get back to me regarding the leading 00's |
08:54.28 | ChannelZ | An extension is a number that you dial. |
08:54.48 | gavimobile | ChannelZ: it definetly sounds better when you put it that way |
08:54.59 | ChannelZ | What we try not to get people to do is equate extensions with devices |
08:55.23 | gavimobile | ChannelZ: thanks for the clarification |
08:55.44 | gavimobile | so what's your 2 cents on the subject? |
08:55.53 | ChannelZ | Which? |
08:56.26 | gavimobile | if I want 100 for dialing police, does this mean I can not use 100 for anything else? |
08:57.08 | gavimobile | I was wondering how people in the states do this for example 911. they use 911 for an emergency call, however what happens if they have an peer who's ext is 911 |
08:57.24 | ChannelZ | I said it's probably a bad idea, but I suppose it depends on how accident prone your users are and if they would accidentally dial 100 a lot when they meant to dial 109 or something |
08:57.25 | lanning | 9 to get out, then 911 |
08:57.36 | gavimobile | would there be a conflict of some sort or they prevent this from the begenning |
08:57.59 | ChannelZ | I would never make an extension called 912 for instance |
08:58.16 | gavimobile | Why? |
08:58.36 | ChannelZ | Because someone might accidentally dial 911 instead.. |
08:58.41 | lanning | in most companies, to dial 911, you would dial "9911" or the security office, because the trunks go off to someother city. |
08:58.56 | gavimobile | lanning: I was wondering about this |
08:59.02 | ChannelZ | People dial fast, they might accidentally double-tap the 1 while dialing 912 |
08:59.05 | gavimobile | thats is what I ment |
08:59.17 | gavimobile | or maybe if I did 100# is the ext and 100 is the police |
08:59.35 | gavimobile | ChannelZ: my pbx has less than 5 users probably, LOL |
08:59.37 | ChannelZ | Yes that'd work too. |
08:59.47 | ChannelZ | It also depends on your devices and how you set their dialplans up. |
09:00.00 | ChannelZ | If someone dials 100 but then forgets to hit # within a couple seconds... |
09:01.02 | ChannelZ | It also makes dialing 100 in an emergency cause a delay since the phone/system is waiting to see if they are going to hit the # or not. So I'd, at minimum, make your 'internal' extensions be 101 and above so that 100 can be non-ambiguous |
09:01.14 | gavimobile | ChannelZ: so maybe I should make a small ivr when calling 100, "the extention you dialed is also used for emergency calls" to dial the police press one now, otherwait wait on the line and your call will be transferred to extention 100 |
09:01.48 | gavimobile | well 101 is hospital or fire dispatch |
09:01.51 | lanning | for the purpose of 911, you just avoid the number |
09:01.58 | ChannelZ | Yes, that's what I do. If someone dials 911 it says 'Emergency' and waits 1 second before actually dialing out, in case someone makes a mistake. They will realize it fast enough to hang up |
09:02.05 | gavimobile | I might just end up using 9 to make a call |
09:02.33 | gavimobile | its smart how they thought about it in the states to use the 9xx serries |
09:02.38 | gavimobile | what were they thinking here in my country |
09:02.41 | ChannelZ | If 100s are emergency numbers in your region then I'd avoid them for local extensions at all |
09:02.42 | gavimobile | haha |
09:03.03 | gavimobile | got it! you guys cleared things up for me! thanks |
09:03.12 | lanning | like in the US PSTN, you won't find a prefix "911" |
09:03.31 | lanning | or an area code 911 |
09:04.53 | lanning | what always got me was the UK dialing, and their different lengths |
09:10.20 | *** join/#asterisk puzzled (~patrick@2001:980:5e31:1:6ef0:49ff:fe50:659d) |
09:16.25 | gavimobile | ok, I just asked my neighbors who don't use a ip call center, 100 is the secretary and 9100 is the police |
09:18.59 | lanning | ya, "9" to get out |
09:19.51 | *** join/#asterisk Russ (foobar@ip68-106-254-4.ph.ph.cox.net) |
09:20.42 | lanning | to dial US 408 information: 914085551212 |
09:22.45 | *** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com) |
09:29.54 | gavimobile | lanning: yup, I just fixed my rules to do that all outgoing calls require 9 |
09:30.31 | gavimobile | but im still a bit unsure about creating the dialplan rule for the emergency calls. in the book it says exten => 9911,Goto(nopsap,1) ; for people who dial '9' before external calls |
09:30.47 | gavimobile | not sure what that means Goto(nopsap,1) |
09:31.02 | gavimobile | why doesn't it use dial? |
09:32.23 | gavimobile | nevermind |
09:32.26 | gavimobile | silly mistake |
09:32.55 | gavimobile | [TK-Defender] would have killed me for that one |
09:36.21 | gavimobile | so psap is Public Safety Answering Point, but that applies for people who are in the states. how can I get information about something simmilar to Public Safety Answering Point in my country |
09:41.25 | *** join/#asterisk kieppie (~jaco@ip-58-28-154-35.static-xdsl.xnet.co.nz) |
09:42.20 | kieppie | hi all. is anyone able to comment on video chat & intergation w XMPP? seems complimentary technology & somethinng I'll be looking into when I've become more acustomed to Asterisk's workings |
09:58.33 | *** join/#asterisk Russ (foobar@ip68-106-254-4.ph.ph.cox.net) |
10:06.20 | *** join/#asterisk gerhard7 (~gerhard7@82-168-115-40.ip.telfort.nl) |
10:12.29 | *** join/#asterisk CeruleanSky (~sky@unaffiliated/ceruleansky) |
10:23.55 | *** part/#asterisk kieppie (~jaco@ip-58-28-154-35.static-xdsl.xnet.co.nz) |
10:30.04 | CeruleanSky | What do you guys thing is the easiest/simplest dual Voice Command and DTMF supporting IVR that is free for a yes/no question, to integrate into asterisk, maybe even a distro with asterisk that has one already? |
10:31.19 | CeruleanSky | Something for a question like Do you need assistance/help/explanation? Say yes or press one |
10:39.35 | *** join/#asterisk mick_laptop (~mick@clamwin/admin/mickhome) |
10:39.51 | mick_laptop | hi everyone |
10:40.04 | mick_laptop | is general voip client talk allowed here too? |
10:40.35 | CeruleanSky | Well there doesn't seem anybody up yet to disagree to such things |
10:41.31 | mick_laptop | heh |
10:43.01 | mick_laptop | I'm looking for an open source voip client (sip or iax) for an older iphone (iOS3). linphone looks awesome, but the itunes d/l says it is for iOS4+ (which contradicts the website from Dec 2011 saying that iOS3 was supported) |
10:44.35 | mick_laptop | I'd like to be able to submit fixes if I find bugs |
10:45.21 | CeruleanSky | Well the iphone version says it was last released Monday 25 October 2010 |
10:45.26 | CeruleanSky | unless I am mistaken |
10:46.10 | CeruleanSky | so there is probably a lot of bugs between then and now that were submitted |
10:46.21 | CeruleanSky | unless the linphone download page is wrong |
10:48.42 | mick_laptop | iOS 4.3 is required according to the phone |
10:49.16 | *** join/#asterisk mr_pete (5ce892a4@gateway/web/freenode/ip.92.232.146.164) |
10:49.21 | mick_laptop | I've asked a few days ago in #linphone btw (2 people there) :) |
10:49.28 | mr_pete | Hello :) |
10:49.50 | mick_laptop | hello there |
10:49.55 | mr_pete | Can anyone assist in my (painful) migration from 1.4 to 1.6? I have an SPA3102 I cannot get working. Suspect I need to do something with DAHDI but I have *no* clues! |
10:52.59 | CeruleanSky | mick_laptop: http://lists.nongnu.org/archive/html/linphone-developers/2011-02/msg00092.html they seemed to care at least around feb 2011 |
10:56.11 | mick_laptop | I guess I'll need to try to compile myself |
10:58.27 | mick_laptop | I didn't find a bug tracking system for them though :-. |
11:01.55 | mr_pete | no clues on SPA boxes and Asterisk 1.6? :\ |
11:02.27 | CeruleanSky | well it is still 7am sunday in america, not sure where most of the people here are from, so you might want to ask in 5-8 hours |
11:02.50 | CeruleanSky | and that is east coast, even earlier for the rest of the country |
11:09.48 | mick_laptop | ya, my TZ |
11:09.58 | mick_laptop | time for me to sleep soon |
11:09.59 | mick_laptop | :P |
11:10.35 | *** join/#asterisk StaRetji (~LittleAll@178.79.11.103) |
11:23.37 | *** join/#asterisk StaRetji (~LittleAll@178.79.11.103) |
11:25.35 | mr_pete | does *anyone* know how to get 1.6 working with an ATA? |
11:25.49 | mr_pete | or did that functionality vanish into the ether? |
11:26.44 | *** join/#asterisk StaRetji (~LittleAll@178.79.11.103) |
11:29.16 | *** join/#asterisk fisted_ (~fisted@unaffiliated/fisted) |
11:30.14 | *** join/#asterisk StaRetji (~LittleAll@178.79.11.103) |
11:51.33 | *** part/#asterisk StaRetji (~LittleAll@178.79.11.103) |
11:51.38 | *** join/#asterisk TimeRider (~steve@188-220-34-144.dsl.cnl.uk.net) |
11:55.22 | topriddy | hello asterisk |
11:55.35 | topriddy | I am trying to implement a call data centre with asterisk and I am interested in the kind of hardware that would be neeccessary |
11:58.10 | CeruleanSky | topriddy: since the people who are experienced at such things aren't awake yet, this introduction has popular hardware that is used and may answer your question: http://www.freepbx.org/support/documentation/getting-started/parts-of-a-freepbx-system |
11:58.42 | CeruleanSky | It could be very helpful in choosing the hardware you need for your application |
11:58.53 | CeruleanSky | and has model numbers and brand names |
12:06.20 | *** join/#asterisk topriddy (~Seamfix@41.155.54.163) |
12:12.29 | *** join/#asterisk nicola_pav (~chatzilla@62.219.238.196) |
12:14.44 | nicola_pav | hello. I have asn asterisk pbx installed on centos and there is pri E1 sangoma card installed. we send calls to a cellular provider with progress PI 8. |
12:15.21 | nicola_pav | they send us back and they want us to send them ALERTING with PI 8. is this possible in asterisk? what parameters should I add or modify? |
12:15.29 | nicola_pav | any hints please? |
12:17.03 | *** join/#asterisk davlefou (~david@unaffiliated/davlefou) |
12:52.05 | topriddy | CeruleanSky: hi friend |
12:52.21 | CeruleanSky | hello |
12:54.39 | *** join/#asterisk d00gster (~dt@77.31.13.27) |
12:55.40 | *** join/#asterisk dxd828 (~dxd828@host86-138-179-116.range86-138.btcentralplus.com) |
13:01.11 | *** join/#asterisk tzafrir (~tzafrir@local.xorcom.com) |
13:04.45 | *** join/#asterisk d00gster (~dt@77.31.13.27) |
13:16.03 | *** join/#asterisk Bullmoose (~Bullmoose@71-33-30-40.bois.qwest.net) |
13:16.53 | *** join/#asterisk bratner (~bratner@109.232.228.27) |
13:17.11 | bratner | hi! I'm having a lot of these on the console: chan_sip.c:1906 __sip_xmit: sip_xmit of 0x937d14c (len 524) to 10.0.0.3:0 returned -1 |
13:17.17 | bratner | what am i doing wrong? |
13:19.59 | topriddy | CeI want to have thousands of callers be able to call one single PUBLIC line (e.g 08023045611) and then have this hit my asterisk box somehow and then my asterix reroutes it to one of my IP phones |
13:20.06 | topriddy | I want to have thousands of callers be able to call one single PUBLIC line (e.g 08023045611) and then have this hit my asterisk box somehow and then my asterix reroutes it to one of my IP phones |
13:20.16 | topriddy | Not sure exactly how this can be done |
13:23.20 | *** join/#asterisk mr_pete (5ce892a4@gateway/web/freenode/ip.92.232.146.164) |
13:23.35 | mr_pete | Huzzah, I have sorted asterisk 1.6 with the SPA3102. |
13:23.40 | mr_pete | now I have another weird bug :) |
13:24.06 | mr_pete | I'm forcing all calls over a trunk (PSTN) and it's working. |
13:24.38 | mr_pete | but if I set a rule to force everything starting with 9 to go via that trunk, stripping 1 char from the front, asterisk is still passing the 9 to the trunk? |
13:25.10 | mr_pete | :exten = _9.,1,Macro(trunkdial-failover-0.3,${pstn-spa3k}/${EXTEN:1},,pstn-spa3k,) |
13:25.46 | mr_pete | anyone spot anything obvious? |
13:32.39 | mr_pete | solved. |
13:36.49 | *** part/#asterisk CeruleanSky (~sky@unaffiliated/ceruleansky) |
13:49.29 | *** join/#asterisk Dovid (~Dovid@office.mypbxmanager.net) |
13:50.10 | Dovid | hi all. i have an issue where randomly asterisk will not log a call to /var/log/full. the whole call is missing. any idea why that would be? I have another server with the same version that does not have the issue |
14:01.12 | *** join/#asterisk justdave (~dave@unaffiliated/justdave) |
14:07.22 | *** join/#asterisk FiReSTaRT (~dlyh@unaffiliated/firestart) |
14:08.44 | *** join/#asterisk wonderworld (~ww@dsdf-4db53af5.pool.mediaWays.net) |
14:09.39 | *** join/#asterisk SeRi (~wtf@c-98-200-177-50.hsd1.tx.comcast.net) |
14:12.23 | *** join/#asterisk Dovid (~Dovid@office.mypbxmanager.net) |
14:12.26 | Dovid | hi all. i have an issue where randomly asterisk will not log a call to /var/log/full. the whole call is missing. any idea why that would be? I have another server with the same version that does not have the issue |
14:42.55 | *** join/#asterisk [TK]D-Fender (~chatzilla@64.235.218.194) |
14:43.34 | Dovid | hi tk |
14:52.23 | *** join/#asterisk eicto (~morgoth@144-71.dsl.aichyna.com) |
14:59.27 | *** join/#asterisk chasing`Sol (~cS@197.135.152.240) |
15:00.58 | *** join/#asterisk YelBo (~YelBo@host81-130-105-94.in-addr.btopenworld.com) |
15:01.16 | YelBo | afternoon all... |
15:13.54 | leifmadsen | morning :) |
15:30.26 | *** part/#asterisk jgowdy (~jgowdy@basharteg.com) |
15:36.33 | *** join/#asterisk radic (~radic@dslb-178-007-128-202.pools.arcor-ip.net) |
15:44.59 | *** join/#asterisk wudles (~wudles@gateway.secureinstrument.com) |
16:01.01 | *** join/#asterisk AmirBehzad (~behzad@31.58.76.48) |
16:05.57 | AmirBehzad | we're developing a service for people, to hear valuable contents (such as horoscope). The whole system is implemented using Asterisk and a agi scripts, written in PHP |
16:06.42 | AmirBehzad | The php-agi scripts are written a long time ago, and we want to do some refactoring |
16:06.53 | AmirBehzad | Now we're in a situation to decide between PHP or Python to create agi scripts |
16:07.05 | AmirBehzad | what is more common? PHP-AGI or Python-AGI |
16:07.35 | AmirBehzad | I'm a php-developer, but i somehow feel that Python is better for writing agi scripts, since php is a "web" scripting language |
16:07.59 | *** join/#asterisk User_CL (~UserRegis@pc-27-137-241-201.cm.vtr.net) |
16:08.04 | AmirBehzad | Is there any comparison? does any one has a experience with php vs. python for agi scripting? |
16:11.33 | davlefou | hi, |
16:12.15 | davlefou | i looks up to mgcp doc, where i can find? |
16:13.33 | [TK]D-Fender | davlefou: www.ietf.org |
16:13.54 | *** part/#asterisk MarkS- (~mark@unaffiliated/mark21) |
16:14.26 | *** join/#asterisk timahvo1 (~rogue@197.179.109.212) |
16:14.28 | davlefou | [TK]D-Fender: have you already use this protocol? |
16:14.39 | *** join/#asterisk GGD (~deberle@pool-173-72-204-39.clppva.fios.verizon.net) |
16:17.18 | *** join/#asterisk mbrevda (u5500@gateway/web/irccloud.com/x-niogajruegzpcojo) |
16:17.59 | mbrevda | is there any way to tell from the dialplan if a (once-)parked call is still parked? |
16:20.51 | [TK]D-Fender | mbrevda: Yes. A lot is taken |
16:21.06 | mbrevda | what? |
16:21.20 | mbrevda | oh - gotchya. How can you tell? |
16:21.29 | [TK]D-Fender | Parking lot extension is clearly mapped and you can query it |
16:21.35 | [TK]D-Fender | davlefou: No |
16:21.48 | mbrevda | [TK]D-Fender: like with hints? |
16:22.12 | [TK]D-Fender | mbrevda: "core show function DIALPLAN_EXISTS" |
16:23.40 | p3nguin | When you park the call, it creates the extension, but when you unpark, doesn't the extension stay there until something else overwrites it or you otherwise manually clear it? |
16:24.22 | mbrevda | im trying to figure that out as well. But hints seems like a rather tempting way to check... |
16:24.52 | [TK]D-Fender | p3nguin: automatically added and cleared |
16:25.11 | [TK]D-Fender | mbrevda: that function covers it. |
16:25.41 | mbrevda | cool, ill look in to that. Im guessing that the context is whatever you have set for that parkinglot? |
16:25.49 | *** join/#asterisk [sr] (~kvirc@pal-213-228-140-150.netvisao.pt) |
16:25.54 | [sr] | howdy |
16:26.06 | p3nguin | Hmm. Now I'm wondering why I thought the park extension remained after it wasn't being used. |
16:26.25 | [sr] | hi p3nguin, have u seen wimpy? |
16:26.39 | p3nguin | ~seen wimpy |
16:26.45 | infobot | wimpy <~wimpy@e183095026.adsl.alicedsl.de> was last seen on IRC in channel #asterisk, 17d 14h 16m 21s ago, saying: '~pb'. |
16:27.04 | [sr] | hum he may be on vacation |
16:27.41 | *** join/#asterisk thebitguru (~thebitgur@24-177-200-174.dhcp.ftbg.wi.charter.com) |
16:31.09 | *** join/#asterisk pa (~pa@unaffiliated/pa) |
16:52.46 | *** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com) |
17:06.10 | *** join/#asterisk n0tk (~n0tk@gateway/tor-sasl/n0tk) |
17:21.53 | *** join/#asterisk slidesinger-lt (~jtatum@173-161-172-121-Philadelphia.hfc.comcastbusiness.net) |
17:38.00 | *** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |
17:38.01 | *** mode/#asterisk [+o mjordan] by ChanServ |
17:53.40 | *** join/#asterisk vinhdizzo (~vinh@cpe-66-74-182-202.socal.res.rr.com) |
18:03.11 | *** join/#asterisk Foxi352 (~Foxi352@v-172-136.access.restena.lu) |
18:06.58 | *** join/#asterisk wudles (~wudles@gateway.secureinstrument.com) |
18:09.43 | *** join/#asterisk Naikrovek (~mbluth@unaffiliated/naikrovek) |
18:12.13 | *** join/#asterisk Naikrovek (~mbluth@unaffiliated/naikrovek) |
18:26.24 | *** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |
18:26.25 | *** mode/#asterisk [+o mjordan] by ChanServ |
18:30.02 | *** join/#asterisk gavimobile (~user@bzq-84-108-109-1.cablep.bezeqint.net) |
18:30.20 | gavimobile | ChannelZ: are you around by any change? |
18:30.23 | gavimobile | chance* |
18:33.38 | *** join/#asterisk jsjc (~Adium@199.Red-79-150-67.dynamicIP.rima-tde.net) |
18:38.16 | *** join/#asterisk eicto (~morgoth@144-71.dsl.aichyna.com) |
18:49.12 | p3nguin | What a boring, gloomy day. |
18:53.09 | [sr] | true |
18:54.46 | *** join/#asterisk lwbnet (~luke@194.71.111.4) |
18:56.04 | lwbnet | can someone tell me why the /var/lib/asterisk/agi-bin is empty after installing asterisk? |
18:56.25 | lwbnet | from reading around there should be example config in there? |
18:56.32 | kaldemar | lwbnet: why wouldn't it be? |
18:57.07 | lwbnet | what do i need to install to make sure perl agi scripts work |
18:57.17 | kaldemar | lwbnet: AGI samples are not installed by default. |
18:57.52 | kaldemar | lwbnet: if you have res_agi, AGI works. it's not a matter of used language. |
18:58.32 | lwbnet | kaldemar: thanks |
18:59.12 | lwbnet | what is res_agi ? im basically moving an exsiting asterisk server to a freshly built one |
19:00.14 | lwbnet | the old one had a few agi scripts like /uks/agi/callout-NOC.pl |
19:00.25 | lwbnet | that are just referenced from extensions.conf |
19:00.49 | lwbnet | do i need to install anything else other than basic asterisk |
19:00.57 | lwbnet | (other thank perl ofc :p) |
19:01.40 | kaldemar | lwbnet: res_agi.so, a resource module that is installed by default. |
19:02.23 | lwbnet | OK, thanks |
19:02.51 | lwbnet | i was just worried seeing the examples in /var/lib/asterisk/agi-bin on the old server |
19:02.56 | MrOli | lwbnet: this is the asterisk module that handles running AGI scripts |
19:02.58 | kaldemar | what you need to install depends on your AGI scripts. if they use some 3rd party library, then you need to install it. callout-NOC.agi is not a part of asterisk, it is something extra. |
19:03.00 | lwbnet | but not on the new one i just installed asterisk on |
19:04.46 | kaldemar | the sample scripts are optional and can be selected for installation in the "make menuselect" menu. |
19:05.00 | lwbnet | aha i see |
19:05.23 | MrOli | lwbnet: do you use the command "AGI" anywhere in your dialplan ? |
19:06.55 | lwbnet | yes, there's around 7 custom perl scripts in /uks/agi/ that are referenced in extensions.conf |
19:08.04 | lwbnet | i just wanted to make sure i wasnt missing a module or something on the newly built asterisk server, as i didnt see the examples |
19:08.08 | lwbnet | just a blank dir |
19:08.55 | lwbnet | sorry for the 1000 questions, i am a network engineer, but the only one brave enough to play with our phone systme |
19:09.04 | *** join/#asterisk Tim_Toady (~fuzzy@130.43.51.201.dsl.dyn.forthnet.gr) |
19:10.09 | MrOli | lwbnet: make sure of 2 things. your new asterisk shouls show "res_agi" when you run "module show" , and your linux distribution should have perl installed. try "rpm -qa | grep -i perl |
19:10.51 | MrOli | lwbnet: you are showing an empty agi directory because you didn't select "agi samples" in the "make menuconfig" step of compiling asterisk |
19:11.56 | lwbnet | MrOli: good advice, will definitely need to make sure perl is installed :p |
19:12.41 | lwbnet | MrOli: thanks |
19:14.31 | *** join/#asterisk Phreaked (~Phreaked@2.25.236.204) |
19:18.25 | *** part/#asterisk Phreaked (~Phreaked@2.25.236.204) |
19:32.27 | *** join/#asterisk topriddy (~Seamfix@41.155.48.231) |
19:33.03 | Kobaz | axeterisk |
19:39.04 | p3nguin | axeterix |
19:40.38 | lwbnet | assterisk |
19:41.45 | lwbnet | anyone else using magrathea |
19:41.45 | *** join/#asterisk stasdizzi (~stas@198-153-133-95.pool.ukrtel.net) |
19:42.38 | ChrisInSydney | I heard a free switch person call it arseterisk |
19:42.42 | ChrisInSydney | mornin all. |
19:44.23 | MrOli | hi ChrisInSydney |
19:50.20 | *** join/#asterisk wudles (~wudles@gateway.secureinstrument.com) |
19:55.15 | *** join/#asterisk evil_gordita (robert@ip70-188-50-186.rn.hr.cox.net) |
20:03.45 | *** join/#asterisk alexoc (~alexoc@187.64.254.47) |
20:09.56 | *** part/#asterisk mbrevda (u5500@gateway/web/irccloud.com/x-niogajruegzpcojo) |
20:15.35 | vlt | Hello. What do I need for fax detection (not receiving) from a SIP channel? |
20:18.35 | *** join/#asterisk tzafrir (~tzafrir@bzq-218-155-147.cablep.bezeqint.net) |
20:33.14 | *** join/#asterisk mchou (~quassel@unaffiliated/mchou) |
20:38.43 | *** join/#asterisk keith4_ (~keith@unaffiliated/keith4) |
20:42.28 | keith4_ | is there some trick to getting a VPMOCT032 on a TE121 working with dahdi? |
20:43.56 | keith4_ | if I set "echocanceller=hwec,1-23", as suggested in the digium kb, dahdi_cfg fails with "DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22)" |
20:51.15 | *** join/#asterisk Tim_Toady (~fuzzy@130.43.51.201.dsl.dyn.forthnet.gr) |
20:52.03 | *** join/#asterisk timahvo1 (~rogue@197.177.78.33) |
21:27.13 | MrOli | vlt: have you tried NVFaxDetect ? it works for SIP/IAX |
21:39.09 | MrOli | tinyurl.com/vltirc |
21:47.25 | *** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |
21:47.25 | *** mode/#asterisk [+o mjordan] by ChanServ |
22:04.09 | vlt | MrOli: Thank you. |
22:06.01 | Kobaz | hmm, iax is seriously screwy in 1.8 |
22:06.31 | Kobaz | if i make an asterisk iax to iax call which lands in a meetme, and hang one end up, I get infinite [2012-03-25 17:58:35] WARNING[23886]: app_meetme.c:3681 conf_run: Unable to write frame to channel IAX2/co01-129 |
22:20.14 | MrOli | Kobaz: which version of 1.8 are you running ? |
22:27.07 | davlefou | hi, is somebody have use mgcp protocol? |
22:35.25 | *** join/#asterisk ferdna (~ferdna@cpe-67-10-220-35.elp.res.rr.com) |
22:39.04 | davlefou | I am afraid by your anwser! |
22:41.17 | *** part/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |
23:14.09 | ChrisInSydney | MrOli: hey |
23:15.45 | Kobaz | MrOli: 1.8.5 |
23:16.43 | Kobaz | MrOli: i fixed it... there was a spot in app_meetme where it's doing a can_write, and if it fails it just loops around forever |
23:17.56 | Kobaz | it probably should try a few times and then bail |
23:18.00 | Kobaz | but for now that works |
23:33.43 | *** join/#asterisk Praise (~Fat@unaffiliated/praise) |
23:44.24 | *** join/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |
23:44.24 | *** mode/#asterisk [+o mjordan] by ChanServ |
23:44.54 | *** part/#asterisk mjordan (~mjordan@user-69-1-6-49.knology.net) |