[02:38] Defraz (n=t0tal@fw.centrisys.com) left irc: Read error: 104 (Connection reset by peer) [02:51] Defraz (n=t0tal@fw.centrisys.com) joined #openser. [03:31] patrickv0x (n=patrick@64.235.249.83) joined #openser. [03:31] hi all [03:32] how is everyone doing ? [03:50] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) left irc: Remote closed the connection [04:04] hohum (n=dcorbe@c-71-62-76-68.hsd1.va.comcast.net) joined #openser. [04:35] patrickv0x, heya. [07:35] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Read error: 110 (Connection timed out) [07:35] CrazyTux (n=CrazyTux@216.142.88.85) joined #openser. [08:14] CrazyTux (n=CrazyTux@216.142.88.85) left irc: Connection timed out [08:15] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [09:39] qdk (n=qdk@213.150.62.32) joined #openser. [10:08] Defraz_ (n=t0tal@24-116-152-177.cpe.cableone.net) joined #openser. [10:08] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Read error: 54 (Connection reset by peer) [10:13] Defraz (n=t0tal@fw.centrisys.com) left irc: "Trillian (http://www.ceruleanstudios.com" [10:21] susinths (n=susinths@ifi-8021x-dhcp276.uio.no) joined #openser. [10:48] susinths (n=susinths@ifi-8021x-dhcp276.uio.no) left irc: Read error: 110 (Connection timed out) [10:49] susinths (n=susinths@ifi-8021x-dhcp096.uio.no) joined #openser. [11:15] Defraz_ (n=t0tal@24-116-152-177.cpe.cableone.net) left irc: "Trillian (http://www.ceruleanstudios.com" [11:25] DanB (n=danbogos@87.139.12.167) joined #openser. [11:26] Morning! [11:39] DanB (n=danbogos@87.139.12.167) left irc: "User pushed the X - because it's Xtra, baby" [11:39] DanB (n=danbogos@87.139.12.167) joined #openser. [11:53] henning_ (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) joined #openser. [12:17] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [12:37] susinths (n=susinths@ifi-8021x-dhcp096.uio.no) left irc: Read error: 110 (Connection timed out) [12:59] susinths (n=susinths@1x-193-157-180-143.uio.no) joined #openser. [13:04] hohum (n=dcorbe@c-71-62-76-68.hsd1.va.comcast.net) left irc: "This computer has gone to sleep" [13:25] susinths_ (n=susinths@uio-8021x-153-0-25-89.uio.no) joined #openser. [13:25] susinths (n=susinths@1x-193-157-180-143.uio.no) left irc: Read error: 110 (Connection timed out) [13:44] miconda (n=daniel@81.180.83.75) joined #openser. [13:47] |Johny| (n=gomesper@bacus.corp.fccn.pt) joined #openser. [13:47] <|Johny|> is anyody having problems with "internetcalls" and "voipstunt" today? [14:02] splnky (n=spnky@adsl-10-65-5.mia.bellsouth.net) left irc: "Leaving" [14:05] skirmisha (i=507e4918@gateway/web/cgi-irc/ircatwork.com/x-5bd228b56862e5ac) joined #openser. [14:05] hello [14:05] anybody home [14:21] qdk (n=qdk@213.150.62.32) left irc: Read error: 113 (No route to host) [14:39] skirmisha, yup [14:42] huh [14:42] CrazyTux: do u know how can i make openser to look for routes in sql table [14:42] skirmisha, lcr? [14:43] is this the correct module [14:44] also how many forward condition i can have in one route [14:44] CrazyTux: ? [14:45] skirmisha, I'm not sure what you're trying to do, LCR is for routing to certain gateways etc. [14:46] skirmisha, sounds like you're trying to do something else? Give me a better example. [14:48] what i try is to make routing table that is changeable every min or so [14:48] for exmaple number 123456 at this moment is going to gw 1.1.1.1 but on next moment is going to 1.2.3.4 [14:48] so i want to update that table every min [14:48] it is not necesary to be sql table [14:48] it can be pure text file [14:49] but the problem is how to do it and where should i start [14:49] any ideas [14:53] where can i find openser conf file [15:02] skirmisha: I would say u use LCR module with some scripts which are playing with priorities in the LCR table every minute or how u want [15:02] CrazyTux: are u there [15:02] openser config should be in /etc/openser/openser.cfg or /usr/local/etc/openser/openser.cfg [15:03] DanB: is it possible to make those routing in text file [15:03] i mean in openser config file [15:03] so everytime route changes i can update this file [15:05] openser reads this file only at startup [15:20] Say guys... [15:20] |Johny| (n=gomesper@bacus.corp.fccn.pt) left irc: [15:21] I'm trying to get acc.so to work on 1.1.1 with little success... anyone have a website worth looking at, or any pointers? [15:26] skirmisha (i=507e4918@gateway/web/cgi-irc/ircatwork.com/x-5bd228b56862e5ac) left irc: "CGI:IRC (Ping timeout)" [15:48] essobi_: if it is about radius u can check a bit outdated document but still usefull: http://www.openser.org/docs/openser-radius-1.0.x.html [15:50] No, I'm trying to do sysloging. [15:51] http://voip-info.org/wiki/view/OpenSER+Accounting [16:12] susinths_ (n=susinths@uio-8021x-153-0-25-89.uio.no) left irc: Remote closed the connection [16:20] hohum (n=dcorbe@mercury.sunrocket.com) joined #openser. [16:22] TY! [16:23] Oh [16:23] I've read that. [16:23] It's just not putting anything in my syslog. [16:23] Heh [16:23] well.. unless I've got debug=1 [16:23] err debug level set to 1 [16:37] Hey all, [16:37] do somebody knows about development documentation for mi_fifo? in the wiki and readme is nothing [16:37] i want to use this interface in a module [16:46] mellen (n=tmh@85.235.250.110) joined #openser. [16:51] Is there a way to make alias_db_lookup first try getting a match with a domain, and if it didn't find anything, attempt the lookup again without the domain (or a blank / or null domain)? [17:02] santibiotico (n=santi@ip23498.bcn.altecom.net) joined #openser. [17:02] hi [17:03] i want to use openser as a SIP registrar server for lots of SIP clients [17:03] then, I'd like to have at least 2 asterisk servers [17:04] and my idea is to get SIP clients registered at the openser box, but then redirected (completely) to any of the asterisk servers [17:04] and then? [17:04] is it possible using openser? [17:04] sure [17:04] because i've read about using asterisk voicemail, etc. [17:04] almost trivial [17:04] but what i want is only openser to act as a registrar server [17:04] and then distribute the load of clients between 2 or more asterisk servers [17:05] an any link to documentation explaining it, please? [17:05] because all i've found is just using openser and some asterisk features [17:05] not everything is documented [17:06] i know [17:06] but i'm a newbie in openser...so i would thank a lot some help...(e.g. documentation) [17:08] How do you tell if a AVP is null? if ( $avp(i:1) == NULL ) ? [17:16] if ( $avp(i:1) == "" ) ? [17:16] if ( ! $avp(i:1) ) ? [17:16] test each case :) [17:27] mellen (n=tmh@85.235.250.110) left irc: "Konversation terminated!" [17:55] essobi_, simply print out the avp to log [17:56] It's coming up null in some cases, and I need to perform an if on null [17:58] AFAIK if the avp is null it dosent exist [17:58] essobi_, if(is_avp_set("$avp(i:1)")) { ... } else { } [17:59] Ah. [17:59] essobi_, does that help any? :) [17:59] yea [17:59] is there a module to test the length of a string? [18:00] essobi_, 1.2 $avp.strlen I believe [18:00] damn.. 1.1.1.. [18:00] essobi_, < 1.2 you have to use regex [18:00] roger that [18:00] essobi_, what are you setting up if you dont mind me asking? [18:00] 216.26 [18:01] CrazyTux Using avp_db_query to set the PAI header. [18:01] essobi_, ah what company are you here from? [18:01] sometimes if (avp_db_query()) is setting it to null. [18:01] .... [18:01] NDA. ;) [18:01] essobi_, hmmm.... [18:02] Action: CrazyTux has to stop helping :P [18:02] haha [18:02] No worries. [18:02] essobi_, is it a hosting company? [18:02] No. [18:02] essobi_, ok. [18:02] Action: CrazyTux grudges [18:02] lol [18:03] essobi_, where are you at NY? [18:03] Kentucky. [18:03] ah [18:04] that appears fixed... [18:04] santibiotico (n=santi@ip23498.bcn.altecom.net) left irc: [18:04] Action: CrazyTux is just very paranoid [18:04] I need to figure out why I can't syslog now.. [18:04] Hmm. [18:05] essobi_, syslog :) [18:06] yea, syslog accounting isn't dumping anything to accounting. [18:06] err.. syslog. [18:06] essobi_, make sure you set it up right [18:06] essobi_, what system are you using. [18:06] I don't suppose anyone has made an emacs mode for openser cfgs... [18:06] Debian etch. [18:06] I set the log_level, 1 and log_flag 1.. [18:07] then setflag.. [18:07] essobi_, so NDA stops you from disclosing company name? [18:07] These channels show up on IRC. [18:07] err.. [18:07] to check if an AVP is null just use if($avp(...)==null) in 1.2.0 [18:07] These channels show up on google. [18:07] And the watch google like a hawk for the company name.. [18:07] miconda, hows it going bodgan [18:08] essobi_, private message me [18:08] henning_ : what do you need to to with mi_fifo? [18:08] mi_fifo is just a transport for MI [18:09] miconda, err daniel* lol, <-- tired [18:09] hey daniel [18:09] I think you want to add MI functionality to your module ... [18:09] which is independent of transport in openser 1.2.0 [18:10] miconda, when is 1.2 going to be stable any hints as of date? :P [18:10] ok [18:10] Yes, i want to add the mi functionality to my module [18:11] ETA for 1.2.0 is March 12 [18:12] henning_: just see how other modules do that :-) e.g., pdt, usrloc [18:12] there is no devel doc right now [18:12] but is very simple [18:12] I have looked at the usrloc module [18:13] Does modparam("acc", "log_level", 2) correlate to debug=X directly? [18:13] I don't seem to get any syslog accounting when debug=0 [18:13] what is the purpose of the "mi_ul_cid" parameter? [18:13] log_level should be less than debug level [18:13] to get acc records in syslog [18:13] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) joined #openser. [18:13] Is this some kind of id? Is this neccessary? [18:13] miconda Ah. so can I use -1? :) [18:14] should be possible [18:14] to use -1 [18:14] henning: in which function is used? [18:14] I do not know by hart [18:14] ul_mi.c in usrloc [18:15] it is the call id for contacts inserted via MI [18:15] UA is the user agent [18:16] miconda: thanks, ok! So its not neccesary for other modules [18:16] no [18:16] it is used to fake a REGISTRAR from what comes out of MI transport [18:18] miconda:so if i provide the mi_cmds[] struct, and register the functions there, it should be work? Or must i use call some kind of init func? [18:22] henning_, what are you making? [18:23] oops, the whois get through the server? sorry about that, just klicked to fast [18:23] CrazyTux: or what do you mean? [18:23] henning_, What kind of add on module are you writing [18:24] ah, ok. I try to port some custom written modules [18:24] henning_, from 1.1.* to 1.2? [18:24] i mean, internal development against 0.9.5 to 1.2 [18:24] henning_, ah nice. [18:25] miconda, I havent yet had a chance to dig into 1.2, but I think I will this weekend. [18:25] you just need to put mi commands in exported module structure [18:25] if you need to do some initialization , then you can add mi init function [18:25] CrazyTux: ok :-) [18:25] CrazyTux: this specific module is some kind of data base abstraction layer for distributed dbs [18:25] it is quite big step forward [18:26] miconda, Yes, I've looked at the changes. [18:26] lot of new features [18:26] miconda: ok, this sound quite easy.. i will try this on monday :-) Thanks a lot! [18:32] welcome [18:35] henning_ (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) left irc: Remote closed the connection [18:56] qdk (n=qdk@80.243.125.204) joined #openser. [18:58] if i have a phone behind nat that seems to be sending REGISTER from one of the upper ports but expects a reply on 5060 can I change the port where challenge is send in openser? :) [19:03] pat: if your NAT router will allow it, u can do anything in openser [19:04] JerJer (n=PhatJ@pdpc/supporter/bronze/jerjer) left irc: Read error: 104 (Connection reset by peer) [19:04] how would i do it in openser? [19:12] So how do I change the format of syslog EDRs into something worth a crap? ;) [19:12] Anyone have a good format line handy? [19:12] Heh. [19:26] Mmm. Suppose I'll have to write a parsing library. [19:27] miconda (n=daniel@81.180.83.75) left irc: "Leaving." [19:27] pal: I would say u change the port with avps before replying and saving into the location table [19:28] essobi_:http://www.openser.org/docs/modules/1.1.x/acc.html [19:28] essobi_: param: log_fmt [19:38] DanB I meant the overall var=whatever, var=whatever format.. not very good for transport/storage, etc.. [20:28] Mmm. [20:37] ZaVoid (n=colin@c-67-165-25-195.hsd1.ct.comcast.net) joined #openser. [20:37] sup tux [20:51] Mmm. [20:51] Nope.. [20:51] Doesn't appear with log_extra you can illiminate the "word=value" format for syslogging. [20:56] ZaVoid, how goes it [20:58] sup tux [20:58] geting some wierd FAS issues with openser [20:58] openser --> asterisk. [21:00] Where can I a list of all the vars support in the AVP stuff? [21:00] Like... $ruri/username <--- [21:04] essobi_, http://openser.org/dokuwiki/doku.php [21:11] Umm. Yea, that's the wiki. ;) [21:15] essobi_, it explains [21:15] essobi_, does it not? :) [21:20] Umm. No. [21:21] http://www.openser.org/dokuwiki/doku.php/pseudovariables:1.1.x <-- Ruri isn't even on that page. [21:21] :| [21:22] essobi_, thats because its $ru [21:23] essobi_, you have to keep in mind ser became openser, so some of the documentation will be deprecated / for ser, yet ported over. [21:23] essobi_, $ru/username, $ru/domain [21:59] bpintea (n=kvirc@62.220.31.130) joined #openser. [22:08] Ah, [22:10] Say umm... I've got a non-standard URI that I need to parse.. in the Diversion header... [22:11] Is there any funcs that can parse a URI from $hdr(whatever)? [22:21] bpintea (n=kvirc@62.220.31.130) left irc: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" [22:22] ZaVoid (n=colin@c-67-165-25-195.hsd1.ct.comcast.net) left #openser. [22:24] Anyone? [22:29] Oh, $di is availble.. [22:30] $di/username isn't [22:30] :| [22:44] DanB (n=danbogos@87.139.12.167) left #openser. [22:48] Damn. [22:48] <_Bilbo_> hm [22:51] <_Bilbo_> i still don't get it... the permissions module is strange. :-> [00:00] --- Sat Mar 3 2007