00:00.19 | sivana | thanks |
00:00.31 | aejlum | If I use database configuration for iax.conf, what kind of authentication method is used? md5? plaintext? |
00:01.12 | pfn | aejlum whichever you specify in your configuration :p |
00:01.45 | aejlum | pfn: I actually don't specify any. I just have the database information in sip.conf |
00:01.50 | aejlum | i mean iax.conf |
00:02.14 | iCEBrkr | sweet |
00:02.17 | iCEBrkr | It's fixed. |
00:02.37 | iCEBrkr | (*xx|[3469]11|0|00|[2-9]xxxxxx|1[2-9]xx[2-9]xxxxxx|2xxx|[2-9]xx[2-9]xxxxxx) |
00:02.56 | aejlum | pfn: the fields in my table are name, secret, context, ipaddr, port, regseconds |
00:03.10 | *** part/#asterisk stonefly (~stonefly@209.33.216.182) |
00:03.23 | *** join/#asterisk brc_ (~Danvari@ip24-251-182-226.ph.ph.cox.net) |
00:08.17 | aejlum | pfn: here's my iax.conf; attempt from 209.53.197.200 |
00:08.17 | aejlum | Aug 18 17:09:04 NOTICE[131080]: chan_iax2.c:5251 socket_read: Rejected connect attempt from 209.53.197.200 |
00:08.17 | aejlum | Aug 18 17:09:09 NOTICE[131080]: chan_iax2.c:5251 socket_read: Rejected connect attempt from 209.53.197.200 |
00:08.17 | aejlum | Aug 18 17:09:12 NOTICE[131080]: chan_iax2.c:5251 socket_read: Rejected connect attempt from 209.53.197.200 |
00:08.17 | aejlum | Aug 18 17:09:16 NOTICE[131080]: chan_iax2.c:5251 socket_read: Rejected connect attempt from 209.53.197.200 |
00:08.28 | aejlum | sorry. |
00:08.37 | aejlum | http://pastebin.ca/672 |
00:10.22 | wsuff | that's better aejlum |
00:10.52 | |stefan| | how do i use the queue ? =) |
00:11.37 | JerJer | ne1 ever play with the iax2 provision stuff in asterisk? |
00:11.41 | *** join/#asterisk suma (~suma@81-86-92-57.dsl.pipex.com) |
00:11.54 | aejlum | wsuff: sorry about the mess, I pasted wrong =P |
00:12.24 | aejlum | JerJer: I'm experimenting on it..... are you stuck on anything? |
00:12.29 | *** join/#asterisk sauber (~ask@Gf6ec.g.pppool.de) |
00:12.33 | pfn | aejlum iax2 debug |
00:12.38 | pfn | aejlum that just says rejected but not why |
00:12.41 | *** join/#asterisk HiTech69 (hitech@34-29.202-68.tampabay.rr.com) |
00:13.19 | aejlum | pfn: it says 'No authority found' |
00:13.29 | pfn | aejlum are you sure your username is correct, etc. |
00:13.30 | JerJer | then create some authority |
00:13.37 | aejlum | pfn: I'm wondering if the authentication method doesn't match. |
00:13.40 | JerJer | aejlum: have you figured out what the 'template' is ? |
00:13.43 | suma | when i ask asterisk to make a call to a sip user to connect to another local sip user on the same server with sip, it gives me -- Got SIP response 482 "Loop Detected" back from 192.168.0.11 May i know how can i rectify this errir |
00:13.57 | pfn | suma dial SIP/peer |
00:14.02 | pfn | not SIP/user@localmachine |
00:14.16 | suma | yes |
00:14.27 | aejlum | jerjer: no, I'm trying to use database configuration. |
00:14.36 | suma | this is a scheduled call using spool in asterisk |
00:14.46 | aejlum | pfn: can it be that iax2 doesn't support database config? |
00:14.51 | pfn | suma make sure the local user doesn't also dial that user again |
00:14.51 | suma | i use 1.call and placed in the asterisk directory |
00:14.54 | pfn | aejlum no |
00:14.57 | suma | nope |
00:15.05 | suma | it actually lands in a extension |
00:15.29 | aejlum | JerJer: have you provisioned your iaxy's? |
00:15.33 | pfn | suma paste your dialplan and sip.conf |
00:15.37 | suma | and from where the user needs to dial a extension to reach the local user |
00:15.38 | ManxPower | suma: As far as I know you can't run a sip client on asterisk when asterisk runs sip |
00:15.45 | suma | give me a minute |
00:16.01 | pfn | oh |
00:16.02 | JerJer | aejlum: yes its online now... i wana see if i can make a codec change remotely |
00:16.11 | pfn | you need to specify another port # then |
00:16.12 | pfn | :p |
00:16.13 | pfn | or something |
00:16.20 | pfn | I can't dial my enum entry |
00:17.03 | suma | sip.conf : |
00:17.04 | suma | [441517000303] |
00:17.04 | suma | dtmfmode=rfc2833 |
00:17.04 | suma | type=friend |
00:17.04 | suma | username=441517000303 |
00:17.04 | suma | secret=vijay |
00:17.05 | suma | host=dynamic |
00:17.17 | aejlum | JerJer: ah, ic..... I looked at that too and didn't know what to put for template. |
00:17.20 | pfn | http://pastebin.ca/673 |
00:17.24 | pfn | is anything wrong with that sip message? |
00:17.51 | suma | extensions.conf: exten => 441517000303,1,Dial(SIP/441517000303) |
00:17.57 | pfn | not here |
00:17.58 | pfn | pastebin |
00:18.30 | pfn | suma what is 441517000303 |
00:18.46 | pfn | I sent my 7940 that sip message, I see no request for syncinfo.xml |
00:18.48 | suma | it is the local sip user connected to asterisk |
00:19.03 | suma | that is the username of the sip user as you can see from sip.conf |
00:19.10 | pfn | what is local sip user connected to asterisk? |
00:19.18 | pfn | what local sip user connected to asterisk |
00:19.19 | pfn | what is it |
00:19.30 | pfn | I know what it is from your isp.conf entry, duh |
00:19.32 | suma | is it a ata 186 sip cloent |
00:19.37 | ManxPower | suma: is that user ALSO [441517000303] |
00:19.43 | suma | yep |
00:19.47 | pfn | suma sip show peers |
00:19.53 | pfn | paste the line from 44157000303 |
00:20.35 | suma | 441517000303/44 192.168.0.12 D 255.255.255.255 5060 Unmonitored |
00:20.41 | pfn | what IP is your asterisk machine? |
00:20.47 | suma | 192.168.0.11 |
00:21.09 | aejlum | JerJer: have you tried storing iax.conf configuration in a database? |
00:21.13 | pfn | what happens if you dial that yourself |
00:21.19 | pfn | aejlum iax2 debug!!! |
00:21.22 | pfn | when will you listen |
00:21.23 | dnc | i always try to use 441517000303,1,Dial(SIP/${EXTEN}) wherever possible |
00:21.26 | suma | it works fine when wi dial manually |
00:21.35 | pfn | whaddya mean when you dial manually |
00:21.51 | suma | when i dial with another sip user |
00:22.53 | aejlum | pfn: I did! Keeps on saying 'No authority found' |
00:23.02 | pfn | there is more to it than that |
00:23.10 | pfn | paste the output of iax2 debug to pastebin.ca |
00:23.21 | blitzrage | "because .ca is better" |
00:23.26 | pfn | no shit it's no authority found, there's an underlying cause |
00:23.55 | dnc | that'll be your authorisation for the incoming call then |
00:24.05 | wsuff | cause pastebin.ca is owned/run by people part of #asterisk |
00:24.08 | wsuff | =) |
00:24.16 | dnc | check iax.conf entries and stuff... do a reload if you havent in a while |
00:24.17 | aejlum | pfn: here's the debug http://pastebin.ca/674 |
00:24.30 | dnc | kill a chicken, sprinkle its blood around the server |
00:24.46 | pfn | there's much much more to the debug than that |
00:24.51 | suma | pfn: i solved that, it gos to another pattern matched extension, thanks for your help it really helped me |
00:24.54 | pfn | you only pated the reject |
00:25.00 | pfn | pasted |
00:25.41 | aejlum | pfn: that's what it's showing.... let me try again. |
00:25.48 | pfn | and then after that, you're only pasting the regreq->regack->ack |
00:25.50 | pfn | there's more to it |
00:26.31 | aejlum | pfn: sorry, I missed the top portion http://pastebin.ca/675 |
00:28.15 | pfn | aejlum pastebin your iax.conf entry for this user |
00:28.25 | pfn | or the config values from db |
00:28.27 | pfn | whichever |
00:29.14 | aejlum | pfn: ok, hold on.. |
00:29.55 | pfn | damnit, I can't make my 7940 read syncinfo.xml |
00:30.26 | pfn | http://pastebin.ca/676 |
00:30.41 | pfn | that's what my NOTIFY message looks like |
00:30.49 | pfn | but substitute pfnguyen.best... with my phone's IP |
00:31.09 | pfn | I've tried 100@ as well, no dice |
00:31.35 | aejlum | pfn: here it is http://pastebin.ca/677 |
00:34.19 | Legend` | jr99: nope |
00:34.29 | brett_ | i'm sure many people here can email it to you |
00:34.55 | jr99 | yea, ok. and it's not actually loaded on the phone but booted from the network when the phone boots, right? |
00:35.07 | brett_ | it's flashed on the phone via tftp |
00:35.25 | jr99 | so could it be that some of the phones on ebay have the sip firmware already? |
00:35.30 | brett_ | it only gets loaded over the network to flash a new ver |
00:35.32 | brett_ | could be |
00:35.43 | brett_ | sorta doubtful ;) |
00:37.13 | pfn | jr99 6.3 can be loaded on the phone |
00:37.25 | pfn | 7.xx must be booted off of tftp which contains at least a *part* of the firmware |
00:38.21 | jr99 | and 6.3 vs 7.xx is just more features? I'm really interested in doing the display stuff. |
00:38.34 | *** join/#asterisk ivesti (ogd@adsl-69-208-193-23.dsl.emhril.ameritech.net) |
00:38.38 | *** join/#asterisk C4thY (~cbishop@immoral.iniquity.net) |
00:38.47 | pfn | aejlum iax2 show users/peers |
00:38.49 | pfn | iax2 show users |
00:38.51 | pfn | paste that |
00:39.05 | Legend` | jr99: display stuff? like what? |
00:39.13 | pfn | XML services can be done with any version |
00:39.16 | |Vulture| | anyone having problems getting onto the * FTP? |
00:39.20 | pfn | 7.2 fixed bugs, dunno what 7.1 did vs. 6.3 |
00:39.43 | jr99 | Legend`: like paitients waiting, or patients in each room or chair.. stuff like that.. whatever data I want to display.. |
00:39.45 | *** part/#asterisk Bobby_Ewing (~Chat@82.152.11.145) |
00:39.55 | jr99 | Legend`: the weather.. |
00:39.55 | Legend` | jr99: you can't push data |
00:40.09 | aejlum | pfn: it shows nothing..... |
00:40.13 | Legend` | jr99: the user will need to choose what to display |
00:40.30 | jr99 | Legend`: yea, thats fine.. just want to see what is possible really... |
00:41.02 | ivesti | hello,is it possible to forward fwd to an sip provider? |
00:41.09 | pfn | aejlum then your config from db is *not* working |
00:41.16 | *** join/#asterisk burton27_ (mimx@w201.ljudmila.org) |
00:41.55 | aejlum | pfn: hmmm, but I'm able to call the phone from a sip phone. |
00:42.27 | aejlum | pfn: do you want to see a debug of that? |
00:43.39 | *** join/#asterisk xyxz (~nnnnn@c-24-10-198-127.client.comcast.net) |
00:43.59 | ivesti | is it possible to access my sip provider account using a voip gateway like notaduck.com? |
00:44.27 | pfn | aejlum iax2 show peers should list the iaxy then |
00:44.37 | Legend` | ivesti: turkey? |
00:44.57 | ivesti | Legend`: burundi |
00:44.58 | pfn | aejlum your config is messed up |
00:45.12 | Legend` | ivesti: nevermind |
00:46.07 | aejlum | pfn: ok, but if I go sip show peers it shows nothing too. Maybe it's because I'm using database configuration where the users aren't loaded into memory. |
00:46.16 | pfn | iax2 show peers |
00:46.20 | pfn | not sip show peers |
00:46.22 | ivesti | where is asterisk available for windows? |
00:46.22 | pfn | I guess maybe not |
00:46.56 | aejlum | yes, I'm saying both that sip and iax2 show peers show nothing. However my sip is working fine. |
00:47.14 | aejlum | oh well. |
00:48.11 | file[laptop] | the MySQL stuff built into sip and iax2 don't work like that |
00:48.20 | file[laptop] | it's all realtime lookup, it's not loaded into the internal database |
00:48.43 | aejlum | yes, and that's why it shows nothing when you go iax2 show peers |
00:48.49 | file[laptop] | yup |
00:49.30 | jr99 | this can't be legal, right? http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5715926045 |
00:49.50 | Legend` | jr99: hehehee |
00:50.01 | pfn | the show peers/show users command should be made to dig into the db to find them |
00:50.11 | file[laptop] | pfn: it doesn't |
00:50.19 | pfn | I didn't say it does |
00:50.22 | pfn | I said it should be made to |
00:50.29 | file[laptop] | I suppose so |
00:50.32 | pfn | oh well, I don't use it so it doesn't matter to me :p |
00:50.45 | ivesti | is it possible to set up a fwd account with the intent of forwarding the incoming call to another sip provider account? |
00:51.13 | aejlum | pfn: mysql should be more scalable, that's why I chose it. |
00:51.24 | pfn | mysql suckass :p |
00:51.29 | aejlum | pfn: now it's a pain to setup =P |
00:51.39 | aejlum | yes, it's not even a real database. |
00:52.24 | ivesti | anyone can help me? |
00:52.41 | pfn | ivesti forward it yourself |
00:52.54 | ivesti | pfn,how can I do that? |
00:53.07 | pfn | www.voip-info.org/wiki-Asterisk |
00:53.22 | ivesti | pfn,where can I find asterisk for windows? |
00:53.30 | pfn | you run it on colinux |
00:53.38 | pfn | ftp://ftp.nacs.net/asterisk/ |
00:55.17 | tzanger | wtf |
00:55.24 | tzanger | I'm running tcpdump on host A |
00:55.32 | tzanger | and host A makes an arp request for host B |
00:55.40 | tzanger | host B replies (I see the reply on the TCPdump output) |
00:55.49 | tzanger | yet the arp table for host A is not updated... still shows <incomplete> |
00:55.58 | pfn | same subnet? |
00:56.18 | tzanger | pfn yes |
00:56.27 | pfn | that sounds bizarre |
00:56.46 | tzanger | eth0:5 Link encap:Ethernet HWaddr 00:0D:87:FF:6F:EA |
00:56.46 | tzanger | <PROTECTED> |
00:56.48 | tzanger | ok |
00:56.49 | tzanger | and |
00:57.00 | tzanger | eth2 Link encap:Ethernet HWaddr 00:05:5D:6D:A9:EF |
00:57.00 | tzanger | <PROTECTED> |
00:58.15 | tzanger | I don't have rp_filter on or any thing like that |
00:59.22 | pfn | so host A and B are the same machine? |
00:59.31 | bkw_ | hrm |
00:59.34 | bkw_ | hyper threading is nice |
00:59.59 | jr99 | quick should I go for it? |
00:59.59 | pfn | I hope my power brick is waiting for me when I get home tonight |
01:00.00 | jr99 | http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=61840&item=5714290996&rd=1&ssPageName=WDVW |
01:00.03 | pfn | so many new toys to play with :) |
01:00.09 | tzanger | pfn no |
01:00.12 | tzanger | two different machines |
01:00.25 | tzanger | host A is the router which is why it has so many subinterfaces |
01:00.44 | pfn | no running iptables on it? |
01:00.50 | pfn | jr99 kinda expensive, imo |
01:00.53 | pfn | oh, with 1:22 left |
01:00.57 | pfn | bid if you like.... |
01:01.01 | tzanger | yes there is iptables but the only thing in there is a mangle filter which marks P2P |
01:01.04 | tzanger | no blocking or anything |
01:01.07 | pfn | oh, mint, not new |
01:01.12 | jr99 | yea, not new. |
01:01.14 | jr99 | i'll pass then. |
01:01.19 | ivesti | pfn,to do the forwarding from fwd to another sip provider through asterisk,do I need an fxo card? |
01:01.19 | jr99 | some scratches too. |
01:01.20 | pfn | keep watching |
01:01.27 | pfn | jr99 check the prices of closed auctions to get an idea |
01:01.29 | jr99 | jbidwatcher baby... |
01:01.29 | pfn | ivesti no |
01:02.07 | ivesti | thank you pfn |
01:02.25 | ivesti | is any manual for the asterisk which runs on windows? |
01:02.34 | *** join/#asterisk shaug (~shaug@cpe-66-74-181-242.socal.rr.com) |
01:02.36 | pfn | ivesti, you have to keep in mind, even though you're running on windows, you'll still need a thorough knowledge of linux in order to run asterisk |
01:02.40 | pfn | no manual |
01:02.47 | tzanger | ivesti: you're running it under colinux anyway why not just run the real thing and avoid the hassles? |
01:02.49 | pfn | and it only runs on windows 2000+ |
01:03.03 | pfn | tzanger some people can't spare the resources to run a separate linux machine? |
01:03.26 | tzanger | pfn: I suppose... I doubt it though |
01:03.32 | ivesti | pfn,what about win xp? |
01:03.40 | pfn | xp counts as 2000+ |
01:03.53 | ivesti | ok |
01:03.56 | pfn | tzanger for many people it's not worthwhile (end-user/consumer types) |
01:04.09 | pfn | I leave 3 or 4 computers running 24/7 at home, and my power bill reflects that :( |
01:04.15 | pfn | ~$90/mo in power |
01:04.22 | tzanger | pfn pah |
01:04.28 | tzanger | my fridge and freezer consume more power |
01:04.48 | tzanger | my badass server consumes less than 360W |
01:04.49 | pfn | lets say a computer takes up 100W |
01:05.02 | tzanger | yes |
01:05.03 | pfn | ok, you run a badass server, 300W, 24/7/30 |
01:05.11 | pfn | .13/KWH |
01:05.28 | pfn | 1KWH every 3.3hrs |
01:05.44 | pfn | 5040 / 3.33 |
01:05.44 | pfn | 1513.51351351351351351351 |
01:05.44 | pfn | 1513 * .13 |
01:05.44 | pfn | 196.69 |
01:05.49 | tzanger | 300Wh * 24h a day is 7.2kWh per day |
01:05.57 | pfn | er |
01:06.00 | pfn | oops, too many hours |
01:06.05 | pfn | I did 24 * 7 * 30 heh |
01:06.23 | pfn | 216 * .13 |
01:06.24 | pfn | 28.08 |
01:06.33 | pfn | $30/mo to run a 300W server |
01:06.36 | tzanger | 7.2kWh * 31 days is 223kWh |
01:06.43 | jr99 | I was gonna say.. $170? |
01:06.48 | tzanger | say 225 |
01:07.03 | pfn | anyway, I rounded down already, 216KWH @ .13/KWH = $28 |
01:07.10 | tzanger | 225kWh * 0.043 is $9 for the month |
01:07.12 | tzanger | $10 |
01:07.19 | pfn | it's .13/KWH here |
01:07.29 | jr99 | $0 if you run an extension cord to the neighbors... |
01:07.29 | tzanger | yeah we will probably hit 9 or 10 |
01:07.34 | tzanger | jr99: ;-) |
01:07.36 | dant | $0.13/KWH? |
01:07.43 | dant | !! |
01:07.44 | pfn | california... whoop.... |
01:07.46 | tzanger | my closest neighbour is 500 feet away |
01:07.58 | dant | actually |
01:08.00 | tzanger | the loss in the cable would be significant |
01:08.02 | pfn | it's .13/KWH if you're over baseline |