[00:06] QbY (n=Kelvin@66.236.241.67.ptr.us.xo.net) left #openser. [00:22] Nick change: DoberMann[PullA] -> DoberMann [00:23] erider, what are you trying to setup? [00:25] CrazyTux: at first a voip server but that looks like it going to be awhile before I understand how to manage it but to learn the basics I would say a sms gateway [00:26] erider, why not try and setup normal routing? [00:27] erider, start small go big. [00:27] CrazyTux: I would do that if I know the pecking order :/ [00:27] erider, [00:28] erider, http://siprouter.onsip.org/doc/gettingstarted/SER-GettingStarted.html [00:28] erider, start there, a bit outdated, but very informational [00:28] CrazyTux: ok thanks [00:28] erider, read it, live it, learn it [00:29] CrazyTux: what do I need to know before I tackle this [00:29] erider, unix/linux generals [00:29] erider, common sense, etc [00:29] lol [00:48] Nick change: DoberMann -> DoberMann[ZZZzzz [01:48] CrazyTux: should I be good at netstat usage and other tools [01:51] codestr0m (n=asura@88.232.131.179) left irc: Read error: 110 (Connection timed out) [01:56] NormB (n=NormB@smoothwall.goes.com) left irc: "Leaving" [02:03] maxedout (n=maxstout@user-38lm3ok.cable.mindspring.com) left irc: "Leaving" [02:04] blitzrage (n=blitzrag@asterisk/documenteur-extraordinaire/blitzrage) joined #openser. [02:13] maxdoubt: how do I test to see if ekiga will register? [02:27] CrazyTux: ping [02:36] L-info: ping [02:38] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) left irc: Remote closed the connection [02:56] openserct ul show [02:56] openserctl ul show [03:03] osas: database engine 'MYSQL' loaded [03:03] Control engine 'FIFO' loaded [03:03] entering fifo_cmd ul_dump [03:03] ERROR: Error opening openser's FIFO /tmp/openser_fifo [03:03] ERROR: Make sure you have line fifo=/tmp/openser_fifo in your config [03:04] load the mi_fifo module [03:04] read the doc [03:04] osas: the problem I'm having is when I run the client I get a port error [03:04] and check the example configs that are provided with openser [03:05] what kind of port error? [03:05] when openser is running and I start twinkle I get a port error [03:07] osas: its loading mi_fifo [03:10] osas: I'm just trying to get the hello world setup running with no luck [03:11] check this: http://old.iptel.org/ser/doc/seruser/seruser.html [03:11] it's a good start [03:12] parse error (20,1-5) <-- means an error on line 20 of the openser.cfg file right? [03:12] yup [03:13] hrmmm [03:13] fifo="/tmp/openser_fifo" shouldn't cause an issue... :) [03:13] it should in 1.2 [03:14] osas: what can't I run my sip client well openser is running in the background [03:14] s/what/why [03:14] Action: erider needs a break [03:14] b/c both of them are trying to bind to the same port ... and guess what? [03:15] osas: oh ya? in 1.2 it doesn't like that eh? [03:15] Action: blitzrage obviously needs to read the upgrade file [03:15] right [03:15] and the doc [03:15] the modules [03:16] Action: erider goes to watch CSI [03:17] Action: osas goes to do homework with daughter :) [03:18] osas: thx for the tip... I've been working for too many hours today [03:19] and it's just the beginning ;) [03:20] osas: aye... I'm reading the upgrade doc [03:34] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Operation timed out [03:35] osas: well all the intro readings say to start openser then register the instances of phones to talk to each other on the same local lan [03:35] DoberMann (n=james@AToulouse-156-1-82-196.w86-196.abo.wanadoo.fr) joined #openser. [03:38] CrazyTux (n=CrazyTux@216.142.88.85) joined #openser. [03:46] erider, you are trying to use openser and a sip UA on the same host, bith binding to the same port [03:46] this will not work [03:47] use a different port fot the client (let's say 5070) [03:47] then it will register [03:47] or use a SIP UA on a different box [03:48] DoberMann[ZZZzzz (n=james@AToulouse-156-1-100-194.w90-30.abo.wanadoo.fr) left irc: Read error: 110 (Connection timed out) [04:31] maxedout (n=maxstout@user-38lm3ok.cable.mindspring.com) joined #openser. [04:31] CrazyTux, got time to help me analyze my ngrep dump? [04:35] CrazyTux, if so... http://pastebin.ca/447116 [04:45] CrazyTux (n=CrazyTux@216.142.88.85) left irc: No route to host [04:46] CrazyTux (n=CrazyTux@216.142.88.85) joined #openser. [05:15] CrazyTux, what's with the bad gateway response from the 2nd client? is that because of my openser configuration? [05:29] escribzz (n=escribzz@VDSL-130-13-37-65.PHNX.QWEST.NET) joined #openser. [06:15] blitzrage (n=blitzrag@asterisk/documenteur-extraordinaire/blitzrage) left irc: "teh zleep!" [06:46] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [06:52] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: Read error: 104 (Connection reset by peer) [06:54] CunningPike (n=CunningP@S010600095b33697f.vc.shawcable.net) joined #openser. [07:21] CrazyTux (n=CrazyTux@216.142.88.85) left irc: Read error: 110 (Connection timed out) [07:21] CrazyTux (n=CrazyTux@216.142.88.85) joined #openser. [07:31] Chris-NB (n=chris@ng1.kurtkrenn.com) joined #openser. [08:41] Defraz (n=t0tal@fw.fuzecore.com) left irc: Read error: 104 (Connection reset by peer) [09:03] Nick change: DoberMann -> DoberMann[PullA] [09:05] stimpie (n=michiel@ip565faf27.direct-adsl.nl) joined #openser. [09:24] codestr0m (n=asura@88.232.13.41) joined #openser. [09:34] CunningPike (n=CunningP@S010600095b33697f.vc.shawcable.net) left irc: Remote closed the connection [10:12] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [10:25] DanB (n=danbogos@87.139.12.167) joined #openser. [10:25] Morning All! [10:34] voipman (i=distorti@junipero.3sheep.com) left irc: Read error: 104 (Connection reset by peer) [10:34] voipman (i=distorti@junipero.3sheep.com) joined #openser. [11:13] qdk (n=qdk@0x50c627be.bynxx11.adsl-dhcp.tele.dk) left irc: Read error: 60 (Operation timed out) [11:23] qdk (n=qdk@213.150.62.32) joined #openser. [11:26] dhakatel (n=root@58.65.224.5) joined #openser. [11:47] just testing [11:48] exit [11:57] dhakatel (n=root@58.65.224.5) left irc: Remote closed the connection [11:57] DoberMann[PullA] (n=james@AToulouse-156-1-82-196.w86-196.abo.wanadoo.fr) left irc: Remote closed the connection [12:05] DoberMann[PullA] (n=james@AToulouse-156-1-82-196.w86-196.abo.wanadoo.fr) joined #openser. [12:15] dhakatel (n=root@58.65.224.5) joined #openser. [12:15] hello world! [12:19] [12:19] [12:24] dhakatel (n=root@58.65.224.5) left #openser. [12:28] Nix (n=Nix@85.105.18.36) joined #openser. [12:30] tcseke (n=chatzill@22-36.adsl.etel.hu) joined #openser. [12:40] dhakatel (n=root@58.65.224.5) joined #openser. [12:45] dhakatel (n=root@58.65.224.5) left irc: SendQ exceeded [12:46] Chris-NB (n=chris@ng1.kurtkrenn.com) left irc: Read error: 60 (Operation timed out) [12:49] dhakatel (n=root@58.65.224.5) joined #openser. [12:50] hi [12:53] Last message repeated 1 time(s). [12:55] [12:55] [12:55] [12:55] [12:55] [12:55] dhakatel: ffs [12:55] dhakatel: wtf is wrong with you? [12:55] LOL [12:55] dhakatel: If you have a question just ask or you'll get kicked [12:55] idiot [12:56] dhakatel: suffering from some sort of mental deficiency? [12:56] i'm really sorry [12:56] this is my first time irc uses [12:56] ok [12:57] people just don't like being flooded [13:24] Action: Nix is away: starbuck [13:25] Chris-NB (n=chris@ng1.kurtkrenn.com) joined #openser. [13:36] stimpie (n=michiel@ip565faf27.direct-adsl.nl) left irc: Remote closed the connection [13:42] NormB (n=NormB@smoothwall.goes.com) joined #openser. [14:21] Action: Nix is back [14:23] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: Client Quit [14:36] hi [14:36] can someone help me with openser.cfg [14:37] If I dial a sip-uri from a sip client, connected to ser, I want it to route to asterisk (same box) and asterisk should then process it [14:37] how can I reach that? [14:38] Chris-NB: there are various ways of doing it: eg: t_relay() [14:39] yor can use rewritehostport(ip:port) [14:39] else if (uri=~"sip:.*@.*") { [14:39] xlog("L_INFO", "CALL: Call to SIP URI\n"); [14:39] rewritehostport("ox.kurtkrenn.com:5065"); [14:39] } [14:39] I'm using that. but it's not working : / [14:39] I can see that in the debug: [14:39] 4(27948) CALL: Call to SIP URI [14:39] 3(27947) WARNING: run_actions: null action list (rec_level=1) [14:39] 4(27948) DATA to : SIP Client@Asterisk [14:39] Channel flood from Chris-NB -- kicking [14:39] sip debug on asterisk side shows nothing [14:39] Chris-NB kicked from #openser by opensir: flood [14:39] Chris-NB (n=chris@ng1.kurtkrenn.com) joined #openser. [14:40] Chris-NB: still u must have a relay function after rewritehostport to send it to your asterisk [14:40] sry : D [14:40] the t_relay() ? [14:40] yeah [14:41] insert after rewri... ? [14:42] but it depends what u want to achieve, if you want to send the uri untached, don't need to use rewritehostport(), just t_relay("ip.of.your.asterisk"); [14:42] ok [14:42] what I want to do: use openser( port 5060) to handle all sip clients [14:43] it should be possible to call from sip client - openser - sip client [14:43] what is working [14:43] and calls to phone nr. and calls to sip-uri's go to asterisk (port 5065) [14:44] openser and asterisk reside on the same box [14:45] then use t_relay("localip:port") for the calls which u want to send to asterisk [14:46] you are not clear with your scenario because sip client is a sip uri [14:47] another sip-uri [14:47] outside my 'domain'/box [14:47] yeah, but how do u make the differences between the two of them, do u mean location or domain? [14:48] SoftIce (n=phil@vc-196-207-45-253.3g.vodacom.co.za) joined #openser. [14:49] how do u define your domain, is it alias in config, or domain in domain table? [14:49] hi codestr0m [14:49] SoftIce: Hej [14:49] __Henning__ (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) joined #openser. [14:50] DanB. when I call a sip client within my box, I only dial the prefix. If I dial outside, I dial prefix@domain.tld [14:51] is there any way to genarate Bye message from openser [14:51] ? [14:52] if it is easier. route everything what isn't connected to openser, to asterisk [14:53] If I add the t_relay, I geht these errs: [14:53] 1(28099) ERROR:tm:t_forward_nonack: no branch for forwarding [14:53] 1(28099) ERROR:tm:w_t_relay: t_forward_nonack failed [14:53] 1(28099) ERROR: t_relay failed 1(28099) RECORD. [14:53] is there any other way, i mean modifing the code [14:54] like dialog module [14:54] Chris-NB, can u post your full config somewhere, so I can look on it? [14:54] k. mom. [14:57] DanB, http://rafb.net/p/osGCgP43.html [14:59] eine Mischung aus default config, meinem Senf und Zutaten von andren usern : D [15:05] I would sugest to you to change the structure of the script, you can get a loot of loops in [15:06] Chris-NB: maybe a good start is http://sipwise.com/wizard [15:07] DanB: anyway I am looking where u can patch your existing one ... [15:07] :) [15:08] misstype [15:10] DanB, hey, nice starting point! thanks. I've to admit, that I'm not so familiar with openser configuration : / [15:12] Chris-NB: it is important to have a good backbone for later build [15:12] just start there, and come up with your questions... [15:13] ok [15:17] <__Henning__> Chris-NB: viel spass :-) [15:17] ja, danke : / [15:17] alles nur weil asterisk kein presence kann : / [15:18] <__Henning__> hehe.. [15:42] dhakatel (n=root@58.65.224.5) left #openser. [15:52] stimpie (n=michiel@ip565faf27.direct-adsl.nl) joined #openser. [15:57] maxedout (n=maxstout@user-38lm3ok.cable.mindspring.com) left irc: "Leaving" [16:19] hohum (n=dcorbe@mercury.sunrocket.com) joined #openser. [16:23] anybody arround with imc module experience? [16:47] CrazyTux (n=CrazyTux@216.142.88.85) left irc: Read error: 113 (No route to host) [16:48] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [17:18] CrazyTux, ping [17:42] DanB (n=danbogos@87.139.12.167) left irc: "Gotta Go!" [17:44] qdk (n=qdk@213.150.62.32) left irc: Read error: 113 (No route to host) [17:45] qdk (n=qdk@0x50c627be.bynxx11.adsl-dhcp.tele.dk) joined #openser. [18:02] Chris-NB (n=chris@ng1.kurtkrenn.com) left irc: Read error: 113 (No route to host) [18:09] Defraz (n=t0tal@fw.fuzecore.com) joined #openser. [18:09] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) joined #openser. [18:25] I'm just taking a quick look at how openser is getting built.. and noticed that after a postgres upgrade the build is failing.. modules/postgres/Makefile that file is incorrect and not sure how it's being generated [18:25] specifically [18:25] DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/pgsql/include \ [18:25] -I$(SYSBASE)/include/postgresql -I$(SYSBASE)/include/postgresql/8.0 [18:25] LIBS=-L$(LOCALBASE)/lib -L$(LOCALBASE)/pgsql/lib -L$(LOCALBASE)/lib/pgsql \ [18:25] -lpq [18:25] which should call pg_config in order to pull the correct info.. [18:25] do i have to setup the tables in mysql for openser, or is that done automatically? with a script? [18:38] pre_auth(): Credentials received are not filled properly [18:39] what does this mean? [18:45] SoftIce (n=phil@vc-196-207-45-253.3g.vodacom.co.za) left irc: Read error: 104 (Connection reset by peer) [18:47] maxdoubt: hi [18:47] erider, what's up? [18:47] I'm trying to register my client :/ [18:48] maxdoubt: I think you have to setup you own tables [18:49] erider, argh... what a pain... there's gotta be a script to help out? [18:54] maxdoubt: well I think I got them to at least talk [18:54] but I'm having a credential issue now [18:54] erider, good job! [18:55] maxdoubt: /path/to/openser/scripts/mysqldb.sh [18:55] or something like that [18:56] maxdoubt: I can get into my mysql server now :/ [18:57] L-info, heh... default debian install doesn't look like it has a scripts dir [18:57] you installed from apt-get? [18:57] L-info, yup [18:58] L-info, ah, but there's an openser-mysql script to create them [19:03] escribzz (n=escribzz@VDSL-130-13-37-65.PHNX.QWEST.NET) left irc: Read error: 110 (Connection timed out) [19:07] erider, ok... i got mysql, but i can't register... do you have to manually add users into mysql? [19:16] ah... openserctl [19:18] ok I deleted my tables [19:18] maxdoubt: I'm going to setup my mysql from scratch [19:31] Nix (n=Nix@85.105.18.36) left #openser. [19:37] tcseke (n=chatzill@22-36.adsl.etel.hu) left irc: "ChatZilla 0.9.78.1 [Firefox 2.0.0.3/2007030919]" [19:39] erider, any idea what the default password for the mysql openser user is? [19:45] openserro [19:45] maxdoubt: i think [19:46] maxdoubt: sorry its openserrw [19:48] erider, ah... yes, thx [19:48] __Henning__ (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) left irc: Remote closed the connection [19:49] maxdoubt: how are you making a dbase? [19:49] erider, but i can get my added subscribers to authenticate [19:49] er.. can't [19:49] maxdoubt: why [19:49] erider, on debian... there's a script called openserctl [19:49] erider, and it lets you create users and a db [19:50] erider, in addition to adding subscribers domains, etc.. [19:50] erider, but i don't know why its not authenticating the user i just added [19:51] database engine 'MYSQL' loaded [19:51] Control engine 'FIFO' loaded [19:51] ERROR 1049 (42000): Unknown database 'openser' [19:51] maxdoubt: do you know how I can make openser? [19:52] maxdoubt: its not in my dbase [19:53] L-info, said there was a /path/to/openser/scripts dir that my have the script you need? [19:53] erider, [19:53] erider, what distro are you on? [19:57] maxdoubt: ubuntu [19:57] erider, do you have the openserctl script? [19:59] does anybody know if there are versions dependencies of serweb? only works with openser1.1, etc? [19:59] maxdoubt: I have it [19:59] erider, okay... read the man page for it, and it will show you how to create your db/tables, etc.. [20:00] ok [20:02] erider, aha... it registered! [20:03] erider, so once you set up the tables, you have to add a domain, and a user for that domain [20:03] erider, all via the openserctl script [20:17] maxdoubt: example if you have one [20:18] erider, umm... example what? [20:18] argh! i got it all setup and the media stream still doesn't connect through the NAT [20:18] setup [20:19] erider, which setup? i don't know what you're referring to? config file? [20:19] erider, db schema? [20:19] ERROR:auth_db:auth_fixup: Unable to open database connection 0(0) ERROR: fix_actions: fixing failed (code=-1) at cfg line 146 0(0) ERROR: fix_expr : fix_actions erro [20:20] erider, so you've got the db all setup, so it might be something in your .cfg file? [20:20] erider, there are some cfg files that don't even use mysql, and will just let any client register [20:20] maxdoubt: it was working a minute ago but now I don't know what I did [20:21] Eimann (i=eimann@chaconne.etherkiller.de) left irc: "Core dumped" [20:22] Nick change: DoberMann[PullA] -> DoberMann [20:25] maxdoubt: is the user name in the sip client the one I just created [20:25] erider, yep [20:26] pre_auth(): Credentials received are not filled properly [20:27] maxdoubt: thats what i'm getting when I try to register [20:27] codestr0m (n=asura@88.232.13.41) left irc: Read error: 104 (Connection reset by peer) [20:27] erider, maybe you don't have the domain set? [20:28] erider, i'm not sure how twinkle handles user accounts [20:30] maxdoubt: I'm geting the same error damit! [20:31] erider, i'm sorry... its hard to say what could be going wrong [20:31] codestr0m (n=asura@88.232.49.98) joined #openser. [20:32] maxdoubt: I have walk thru two sets of directions [20:33] erider, well... i can get mine to work with two different nathelper.cfg files, one that uses mysql, and one that doesn't, but i still can't get the media stream to connect... so as you can see, SIP is a pain in the ass [20:34] techie (n=gus@voip.routedsystems.com) left irc: "My damn controlling terminal disappeared!" [20:36] maxdoubt: well I have had enough for now [20:36] Action: erider is going to work on some cgi programs [20:36] erider, yeah... give yourself some breathing room if you get too frustrated [20:36] erider, good luck [20:39] maxdoubt: thanks [21:51] NormB (n=NormB@smoothwall.goes.com) left irc: "Leaving" [21:53] NormB (n=NormB@smoothwall.goes.com) joined #openser. [22:09] NormB (n=NormB@smoothwall.goes.com) left irc: Remote closed the connection [22:14] NormB (n=NormB@smoothwall.goes.com) joined #openser. [22:28] codestr0m (n=asura@88.232.49.98) left irc: "Leaving." [22:28] codestr0m (n=asura@88.232.49.98) joined #openser. [22:47] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Operation timed out [22:47] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [23:00] stimpie (n=michiel@ip565faf27.direct-adsl.nl) left irc: "Leaving" [23:02] NormB (n=NormB@smoothwall.goes.com) left irc: Read error: 104 (Connection reset by peer) [23:18] NormB (n=NormB@smoothwall.goes.com) joined #openser. [23:21] hohum (n=dcorbe@mercury.sunrocket.com) left irc: "This computer has gone to sleep" [23:31] Nix (n=Nix@81.213.125.220) joined #openser. [23:47] Sweeper (i=sweeper@scriggleit.com) joined #openser. [23:47] so, call barge-in, possible with openSER? [00:00] --- Fri Apr 20 2007