[00:19] xpot: syslog [00:27] sack_ (n=sack@161.Red-83-46-156.dynamicIP.rima-tde.net) left irc: Read error: 104 (Connection reset by peer) [00:32] cypromis (n=michal@host213-123-136-142.in-addr.btopenworld.com) joined #openser. [00:33] sack_ (n=sack@235.Red-81-38-35.dynamicIP.rima-tde.net) joined #openser. [01:06] Nick change: _FuL|OUT -> FuL|OUT [01:07] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) left irc: Remote closed the connection [01:28] cypromis (n=michal@host213-123-136-142.in-addr.btopenworld.com) left irc: [01:36] cypromis (n=michal@host213-123-136-142.in-addr.btopenworld.com) joined #openser. [02:28] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) left irc: Remote closed the connection [02:28] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) joined #openser. [02:41] codestr0m (n=asura@207.135.120.85) left irc: Remote closed the connection [02:59] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) left irc: Remote closed the connection [02:59] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) joined #openser. [04:58] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [04:59] bblack (n=bblack@38-118-35-20.rapiddsl.net) left irc: [05:19] osas: what is the default directory for OpenSER syslog? [06:29] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) left irc: Remote closed the connection [06:30] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) joined #openser. [06:45] clona (n=Atle@bjo2-1x-dhcp403.studby.uio.no) joined #openser. [07:23] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: Read error: 104 (Connection reset by peer) [07:24] DocHolliday (i=RgRabbit@gateway/gpg-tor/key-0x0E4F6D6C) left irc: "Leaving" [07:28] Defraz_ (n=t0tal@fw.fuzecore.com) joined #openser. [07:28] Defraz (n=t0tal@fw.fuzecore.com) left irc: Read error: 104 (Connection reset by peer) [07:34] clona (n=Atle@bjo2-1x-dhcp403.studby.uio.no) left irc: Read error: 110 (Connection timed out) [07:35] Good morning all. [07:39] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [07:39] codestr0m (n=asura@207.135.120.85) joined #openser. [07:46] good morning [07:47] Mornin... [07:55] redundancy with virtual ip adress with solaris does work now [07:55] :) [07:56] Defraz (n=t0tal@fw.fuzecore.com) joined #openser. [07:56] with a SUN T2000 it doesnt work :() [07:56] :( [07:57] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: [07:57] Defraz_ (n=t0tal@fw.fuzecore.com) left irc: Read error: 104 (Connection reset by peer) [07:58] on a t2000 i cant send a gratitious arp packet with the libnet library [07:58] martin--: does it have arping? [07:58] If so just arping the gw or client ip 1x [07:59] or switch to ipv6 where arp doesn't exist anymore ;) [08:01] imho arping also useses libnet [08:02] Nick change: DoberMann[ZZZzzz -> DoberMann [08:06] we've already sent back the T2000 test machines [08:06] but t2000 is cool [08:07] 8 cores, 32 threads [08:08] 10 billion, million dollars [08:08] well not really [08:09] make -j was nice, linking takes longer then compiling :) [08:14] Chris-NB (n=chris@ng1.kurtkrenn.com) joined #openser. [08:16] hwaastad (n=hwaastad@195.18.193.78) joined #openser. [08:25] hwaastad (n=hwaastad@195.18.193.78) left #openser. [08:37] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [08:39] stimpie (n=michiel@ip565faf27.direct-adsl.nl) joined #openser. [08:44] Nix (n=Nix@81.213.125.220) joined #openser. [08:48] Nick change: DoberMann -> DoberMann[PullA] [08:51] Nix (n=Nix@81.213.125.220) left irc: Remote closed the connection [09:10] Chris-NB (n=chris@ng1.kurtkrenn.com) left irc: Remote closed the connection [09:45] stimpie (n=michiel@ip565faf27.direct-adsl.nl) left irc: "Leaving" [09:52] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: Connection timed out [10:10] DoberMann_ (n=james@AToulouse-156-1-137-173.w90-30.abo.wanadoo.fr) joined #openser. [10:21] DoberMann[PullA] (n=james@AToulouse-156-1-184-24.w90-38.abo.wanadoo.fr) left irc: Read error: 110 (Connection timed out) [10:33] cypromis (n=michal@host213-123-136-142.in-addr.btopenworld.com) left irc: [11:07] codestr01 (n=asura@88.232.113.28) joined #openser. [11:08] codestr0m (n=asura@207.135.120.85) left irc: Nick collision from services. [11:08] codestr01 (n=asura@88.232.113.28) left irc: Client Quit [11:09] codestr0m (n=asura@88.232.113.28) joined #openser. [11:46] DanB (n=danbogos@87.139.12.167) joined #openser. [11:46] Morning All! [11:56] brettnem (n=brettnem@72.29.102.158) left irc: Remote closed the connection [11:56] brettnem (n=brettnem@72.29.102.158) joined #openser. [11:56] cypromis (n=michal@87-194-69-156.bethere.co.uk) joined #openser. [12:41] henningw (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) joined #openser. [12:44] L-info (n=l-info@87-194-69-156.bethere.co.uk) joined #openser. [12:49] DanB, Good morning [12:50] Morning CrazyTux! [12:52] codestr0m (n=asura@88.232.113.28) left irc: Read error: 110 (Connection timed out) [12:53] DanB, Think you can give me a hand real quick? I'm having one problem, when I make an outgoing call OpenSER -> PSTN, and hang up on PSTN end, it does not properlly send BYE to UAC [12:55] CrazyTux: are you calling loose_route() to manage your BYE's? [12:56] L-info, I call loose_route() yes, on a more in-depth look, the BYE PSTN -> OpenSER -> UAC (192.168.* it's not fix_nated_contact() for the BYE [12:56] L-info, It should be the recieved IP, yet it sends to the private IP [12:56] behind NAT [12:57] you've done NAT processing for the registering UA right? [12:57] L-info, Yea, but it has some quirks I guess [12:57] L-info, think you can take a look at the conf real quick? [12:57] codestr0m (n=asura@88.232.113.28) joined #openser. [13:00] L-info, http://pastebin.ca/467135 [13:04] you are not calling save() for your users that are attempting to register with you? [13:04] L-info, thats farther down [13:04] L-info, this is only a clip of main route{} [13:05] ok [13:07] L-info, does that look ok? [13:07] L-info, like outgoing calls work fine, only on BYE is fix_nated_contacts() not being called [13:12] yes it looks fine from what you've posted [13:19] codestr01 (n=asura@88.232.71.188) joined #openser. [13:20] L-info, can you take a look at the bigger file, can I send in priv? [13:20] codestr0m (n=asura@88.232.113.28) left irc: Read error: 110 (Connection timed out) [13:20] Nick change: codestr01 -> codestr0m [13:21] NormB (n=NormB@smoothwall.goes.com) joined #openser. [13:23] L-info, can I message you in private real quick? [13:25] L-info, It has to do with the Contact: header sent to PSTN so at time of outgoing call its not fix_nated_contacts [13:42] tcseke (n=chatzill@22-36.adsl.etel.hu) joined #openser. [13:43] CrazyTux, I dont remember anymore what was the reason, but I do a nat_uac_test("19") inside the loose_route and then fix_nated_contact [13:44] tkr, so inside of the loose route you do it... I wonder what the reasoning is [13:44] CrazyTux: I think this will not help u since u have the problem with INVITES, not with BYEs [13:45] DanB, where do you think it residees? [13:45] DanB, well with the Invite, but shouldnt that handle correctly? [13:46] if(nat_uac_test("3")) { fix_nated... [13:47] make sure the invite matches there and not in some other place... [13:47] CrazyTux, I dont remember what the reason was. but I guess it doesnt apply to you if nat ACKs etc are routed correctly. [14:06] henningw (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) left irc: Remote closed the connection [14:45] DanB (n=danbogos@87.139.12.167) left irc: "Gotta Go!" [14:49] henningw (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) joined #openser. [15:12] brettnem (n=brettnem@72.29.102.158) left irc: Remote closed the connection [15:12] brettnem_ (n=brettnem@72.29.102.158) joined #openser. [15:12] Nick change: brettnem_ -> brettnem [15:12] DanB (n=danbogos@87.139.12.167) joined #openser. [15:27] Defraz_ (n=t0tal@24-116-152-177.cpe.cableone.net) joined #openser. [15:40] DanB, tkr something else funky has to be going on, because if there is a BYE on the PSTN, it is not accounted either... [15:46] Defraz (n=t0tal@fw.fuzecore.com) left irc: Read error: 104 (Connection reset by peer) [15:47] Defraz_ (n=t0tal@24-116-152-177.cpe.cableone.net) left irc: "Trillian (http://www.ceruleanstudios.com" [15:47] Defraz_ (n=t0tal@24-116-152-177.cpe.cableone.net) joined #openser. [15:55] stimpie (n=michiel@ip565faf27.direct-adsl.nl) joined #openser. [16:28] Nix (n=Nix@85.105.18.36) joined #openser. [17:19] bblack (n=bblack@38-118-35-20.rapiddsl.net) joined #openser. [17:58] bblack (n=bblack@38-118-35-20.rapiddsl.net) left irc: [18:09] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) joined #openser. [18:18] codestr0m (n=asura@88.232.71.188) left irc: Read error: 113 (No route to host) [18:19] _0penser_ (n=Administ@202.40.184.50) joined #openser. [18:26] tcseke (n=chatzill@22-36.adsl.etel.hu) left irc: "ChatZilla 0.9.78.1 [Firefox 2.0.0.3/2007030919]" [18:31] Nick change: sack_ -> sack [18:44] cayorde (n=flexable@host184-111-dynamic.17-87-r.retail.telecomitalia.it) joined #openser. [18:49] Nick change: DoberMann_ -> DoberMann[PullA] [18:54] henningw (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) left irc: Remote closed the connection [19:01] anyone else have trouble adding entries to usrloc with openserctl? [19:11] openserctl ul add 1234 sip:12345@foo.bar gives me "two few or two many arguments" [19:13] two ? [19:13] three few or three many arguments [19:13] lets go for volume [19:14] sorry "too few or too many arguments" [19:14] 400 Too few or too many arguments [19:15] ul add ............ introduce a permanent UrLoc entry [19:15] thats exactly what I'm doing [19:15] yet it complains at me and doesn't work [19:19] Nick change: Defraz_ -> Defraz [19:20] so I don't get it [19:21] JT (n=jon@unaffiliated/jt) left irc: Connection timed out [19:21] Nix (n=Nix@85.105.18.36) left irc: "home time" [19:23] Nick change: DoberMann[PullA] -> DoberMann [19:38] miconda (n=daniel@81.180.83.75) joined #openser. [19:49] _0penser_ (n=Administ@202.40.184.50) left irc: Read error: 113 (No route to host) [19:52] miconda (n=daniel@81.180.83.75) left #openser. [20:17] bblack (n=bblack@38-118-35-20.rapiddsl.net) joined #openser. [20:30] DanB (n=danbogos@87.139.12.167) left #openser. [20:38] ok openserctl is driving me nuts [20:55] cypromis (n=michal@87-194-69-156.bethere.co.uk) left irc: [21:07] Nix (n=Nix@81.213.125.220) joined #openser. [21:08] yeah? [21:08] you using 1.2 i'm guessing? [21:11] greenlion (n=alexande@208.251.204.30) joined #openser. [21:11] Hello everyone, ive got a pretty remedial question thats along the lines of sequential forking, anyone interested in lending a hand? [21:13] L-info (n=l-info@87-194-69-156.bethere.co.uk) left irc: [21:13] L-info: I am [21:13] trying to anyway [21:14] Hey Hmmheysays, greets... okay here is my scenario [21:14] a call comes in, i want to t_relay() to a "server" if the server doesnt want to handle the call, then it will send back something like 504, in the case that it sends back 504, i want to lookup("location") and then t_relay again to the location stored in the registry.... [21:14] pretty simple, but i cant get it to work [21:15] if tried using t_on_failure, but that seems to execute after the main routing block finishes [21:15] I tried using t_relay( "host:port", "0x02" ) to try and squelch it sending the 504 back to the UAC, but this doesnt seem to work either [21:16] sorry greenlion: didn't mean to get your hopes up, I doubt I can help you [21:16] hahahaha, well thanks for trying anyway [21:16] stimpie (n=michiel@ip565faf27.direct-adsl.nl) left irc: "Leaving" [21:17] im looking on the net for examples of people that implemented CFB -> voicemail. it should be similar enough [21:19] okay here is a simpler question., how do i use log() to printout pseudo variables like "uri' [21:19] lol [21:21] i got the answer if you are curious [21:22] after i do a lookup("location") [21:22] i need to do an "append_branch();" before i do the t_relay() in the failure route!!! [21:23] botanist1 (n=olivier@84-74-187-120.dclient.hispeed.ch) left irc: Read error: 104 (Connection reset by peer) [21:24] botaniste (n=olivier@84-74-187-120.dclient.hispeed.ch) joined #openser. [21:29] Is it fairly normal to get a "ERROR:tm:t_forward_nonack: discarding fwd for a cancelled transaction" message when a call is cancelled? [21:59] It sounds pretty harmless, did someone hang up during a forwarded call (e.g. hang up after transfer to voicemail?) (im guessing here) [22:02] can anyone tell me where the log file are stored for OpenSER? [22:03] cayorde (n=flexable@host184-111-dynamic.17-87-r.retail.telecomitalia.it) left irc: "Leaving" [22:04] it logs to syslog [22:04] in linux you can find that in /var/log/messages [22:05] note that the amount it will log is configured in the openser.cfg or on the commandline (i.e. -ddd) google for more details [22:05] greenlion: thank you [22:05] np [22:06] greenlion: It seems like it happens whenever someone makes a call through openser and hangs up while it's ringing or something. [22:17] greenlion: If OpenSER starts with -> ERROR: bad config file (3 errors) , will the information post to syslog? My openser.cfg is set to debug=10 [22:17] It should, mine is set to 9 and it logs bad config file errors [22:18] im using 1.2.x i think [22:18] I just installed the lates a few days ago... my syslog does not show anything pertaining to OpenSER? I am not sure what is wrong. [22:19] fyi: running CentOS [22:19] how are you starting it? are you using monit as documented on the openser site? [22:19] I dont have any experience with CentOS, sorry [22:20] I was just typing -> openser restart [22:20] I will look into monit on the site.. thank you for your time [22:20] np, sorry i couldnt be more help [22:21] xpot, set fork=no log_stderror=yes in openser.cfg , and run openser -C [22:22] openser will log to console and won't fork to background [22:30] have any of you tried to use openserctl to add a usrloc entry? [22:30] no i havent [22:30] yeah its driving me nuts, no matter what I do in v1.2 it gives me a "too many or too few arguments" error [22:30] I might go back to v1.1 [22:32] Hmmhesays: are you using the svn version of 1.2? [22:32] osas no [22:32] you shoud upgrade [22:32] the tarball has lots of bugs [22:32] or downgrade, lol [22:32] mabe it is time for 1.2.1 ... [22:33] and set the VERBOSE=true [22:33] or 1 [22:33] under openserctlrc [22:33] ok I'll try the svn version. I had another problem with openser opening my reply pipe after I sent it some commands via perl [22:33] yeah osas I have that [22:33] everything looks kosher in the output [22:33] according to the fifo documentation [22:34] try simple things first [22:34] after that use perl scripts :-) [22:34] the command gets there ine [22:34] *fine [22:35] openser couldn't open my reply pipe [22:35] do I want "latest 1.2.0" or head [22:35] latest 1.2 means stable [22:35] head means the latest development [22:36] so it is up to you [22:36] if you wanna play, try head [22:36] yeah I think I'm going to go back to 1.1 [22:36] if you wanna build a real server soon, try 1.2 [22:36] noooo [22:36] I had 1.1 in production for a few months [22:36] 1.2 is way more fun [22:36] and it worked fine [22:36] why is 1.2 more fun? [22:37] more features [22:37] I don't need features [22:37] way more flexible scripting [22:37] nor do I need flexible scripting [22:37] you can implement feature easyer [22:38] ok [22:38] :-) [22:38] this application is super simple [22:38] if from_uri=~"sip:12345@.+" { sl_send_reply("302", "REDIRECT"); } [22:38] is about what it amounts to [22:38] both should work fine then (1.1.1 and 1.2) [22:39] you wanna build a redirector? [22:39] except openserctl ul add seems to be broken in 1.2 [22:39] I played with that and it worked [22:39] I'm using 1.2 from svn [22:39] osas: basically I have 1000 different numbers that I need to redirect to 3 different gateways [22:39] based on the origination number [22:41] pretty simple, just a lot of if statements [22:41] yup [22:41] and a slight modification to config.h [22:42] ok i'm compiling the svn copy of 1.2 [22:46] I'll be damned it worked [22:46] heh [22:46] osas: the reason I wanted that to work is I kind of wanted to keep my numbers in usrloc instead of a static config file [22:46] that way I can modify it without restarting openser [22:47] does that make sense? [22:49] yup [22:49] you can remove them and ad them [22:49] and it will survive a restart [22:50] since when do usrloc entries survive a restart? [22:50] or you can use some regex to match the numbers ... [22:50] yes [22:50] if you set the proper mode for db [22:50] 1 or 2 , right ? [22:50] no db, I want these in memory for speed [22:51] why no both ? [22:51] at the risk of sounding painfully n00bish.... [22:51] refreshing memory time to time from database ? [22:51] how? [22:52] no no .. i don't mean that i work on this way now [22:52] s/i/it/ [22:52] I was just going to have my init script update usrloc [22:53] with a crazy loop [22:53] ok then you can use your perl script to save the usrloc number in some database backend [22:53] CRAZY LOOP [22:53] sack yeah, that was the plan [22:53] database <--> perl script --> fifo -> openser [22:53] flat text file <--> perl --> fifo --> openser actually [22:54] why flat text ? [22:54] database will be better [22:54] for 1000 numbers I don't need to run a whole rdbms [22:54] maybe for 10000 [22:54] at least sqlite [22:54] or gdbm [22:54] Action: Hmmhesays shrugs [22:54] why? [22:54] flat file is weird ! [22:54] LOL, weird and super simple [22:55] yes and super unstable [22:55] who? [22:55] *how? [22:55] you'll notice :) [22:55] when? [22:55] you are searching performance , right ? [22:56] performance in openser [22:56] the numbers themselves will rarely change [22:56] ok , then no problem [22:56] yeah we're not talking constant updates [22:58] more like start openser --> populate usrloc, if server reboots do it again [22:59] what I'm curious about is the amount of memory usage for say 10,000 usrloc entries [23:00] How stable is perl with openser .? .. i'm curious [23:00] you can calculate ... just taking a look to usrloc struct in source ... [23:03] sack: well to start off I'd just be using perl to call openserctl [23:04] after I tinker for awhile I'll just send the commands directly to openser fifo [23:04] after I figure out how to get it to stop freaking out trying to open my reply pipe [23:05] I used mkfifo to create a reply pipe but openser doesn't seem to be able to open it [23:07] yes i was trying also mkfifo with the same result [23:08] sack if you can get it to work somehow let me know [23:08] ok [23:12] is it possible in openser to prepend digits to the destination uri based on what is found in the contact field after you lookup('location'); ? [23:16] CunningPike_ (n=CunningP@204.239.12.189) joined #openser. [23:17] Hmmhesays, that seems lcr [23:17] of course you can use , subs_uri() if i'm not wrong [23:17] to a lesser extent [23:32] stimpie (n=michiel@ip565faf27.direct-adsl.nl) joined #openser. [23:33] codestr0m (n=asura@88.232.57.206) joined #openser. [23:37] ageratos (n=Unknown@unaffiliated/ageratos) joined #openser. [23:41] stimpie (n=michiel@ip565faf27.direct-adsl.nl) left irc: "Leaving" [00:00] --- Thu May 3 2007