[01:41] Defraz (n=t0tal@fw.centrisys.com) joined #openser. [01:48] Defraz (n=t0tal@fw.centrisys.com) left irc: "Trillian (http://www.ceruleanstudios.com" [01:49] Defraz (n=t0tal@fw.centrisys.com) joined #openser. [02:29] l-fy (n=marian@yate/developer/l-fy) joined #openser. [02:29] l-fy (n=marian@yate/developer/l-fy) left #openser ("Leaving"). [02:33] Defraz (n=t0tal@fw.centrisys.com) left irc: Read error: 104 (Connection reset by peer) [02:33] Defraz (n=t0tal@fw.centrisys.com) joined #openser. [02:37] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [02:43] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: [02:53] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) left irc: Remote closed the connection [03:26] Defraz (n=t0tal@fw.centrisys.com) left irc: Read error: 104 (Connection reset by peer) [03:55] osochebol (i=HPTVN@222.253.94.90) joined #openser. [04:16] CunningPike (n=CunningP@204.239.8.149) joined #openser. [04:28] clona_ (n=clona@bjs2-dhcp111.studby.uio.no) left irc: Read error: 110 (Connection timed out) [04:50] osochebol (i=HPTVN@222.253.94.90) left irc: "Leaving" [06:07] CunningPike (n=CunningP@204.239.8.149) left irc: "And so, to bed" [06:07] L|NUX (n=linux@unaffiliated/lnux/x-10290) joined #openser. [06:09] CunningPike (n=CunningP@S010600095b33697f.vc.shawcable.net) joined #openser. [06:17] newmember (n=newmembe@70.72.58.104) joined #openser. [07:04] habakuk (n=chatzill@c-24-6-224-243.hsd1.ca.comcast.net) joined #openser. [07:14] supjigatr (n=syslod@152.53.17.2) joined #openser. [07:14] Hello. [07:16] hello [07:18] I'm having trouble figuring out why fowarding isn't working with my openser script. [07:19] Looks like it fails trying to authenticate. [07:19] I'm using t_reply on the failure route along with uac module which is replacing the R-URI field with the correct value. [07:36] newmember (n=newmembe@70.72.58.104) left irc: "Trillian (http://www.ceruleanstudios.com" [07:44] rkioko (n=rkioko@mhc.accesskenya.com) joined #openser. [07:45] Hi [07:55] supjigatr: what is failing to authenticate? can you describe the problem more? [07:58] henning (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) joined #openser. [08:14] habakuk (n=chatzill@c-24-6-224-243.hsd1.ca.comcast.net) left irc: "Chatzilla 0.9.77 [Firefox 1.5.0.10/2007021601]" [08:20] I'm not sure what its doing [08:21] I see an ACK after the auth but it just stops there. [08:21] not sure if it can't find the contact or something else is going on. [08:21] I wish I had a working trace of one that worked. [08:21] THen I would know what it's supposed to look like. [08:22] I think it might be trying to auth from the R-URI rather than the from [08:51] supjigatr (n=syslod@152.53.17.2) left irc: [08:54] CunningPike (n=CunningP@S010600095b33697f.vc.shawcable.net) left irc: Remote closed the connection [09:41] vishal (n=vishal@hunter.netmodule.com) joined #openser. [09:41] hi .... [09:41] has any one used the presence module ? [10:03] L|NUX (n=linux@unaffiliated/lnux/x-10290) left irc: Nick collision from services. [10:04] qdk (n=qdk@213.150.62.32) joined #openser. [10:09] h3x0r (n=hex@ip68-224-50-207.lv.lv.cox.net) joined #openser. [10:27] h3x (n=hex@ip68-224-50-207.lv.lv.cox.net) left irc: Read error: 110 (Connection timed out) [10:37] vishal (n=vishal@hunter.netmodule.com) left #openser. [11:01] DanB (n=danbogos@87.139.12.167) joined #openser. [11:01] Morning! [11:07] Good morning Dan, how are you? [11:08] morning henning, I am good, what's up on your side? [11:09] fine, thank you. i try to understand the openser internals.. Quite large all this stuff.. [11:10] once u will understand it you will find it very logical [11:10] yea, i hope so :-). I read the old documentation about ser 0.8.8 [11:11] is there anything newer about the core? [11:11] I guess so, u must ask this the developers, I am just a user [11:12] ah, ok. You are registered at sf, so i think you are a developer too [11:13] I do some other stuff, but not openser developer, sorry mate... [11:13] ok, i confuse you with the other Dan, sorry :) [11:14] np :) [12:17] miconda (n=daniel@81.180.83.75) joined #openser. [13:44] henning (n=henning@et-1-5.gw-nat.bs.ka.oneandone.net) left irc: Remote closed the connection [14:44] qdk (n=qdk@213.150.62.32) left irc: Read error: 113 (No route to host) [15:58] rkioko (n=rkioko@mhc.accesskenya.com) left irc: Read error: 110 (Connection timed out) [17:18] Defraz (n=t0tal@fw.centrisys.com) joined #openser. [17:52] CunningPike (n=CunningP@dhcp-10-234.district.north-van.bc.ca) joined #openser. [18:02] hohum (n=dcorbe@mercury.sunrocket.com) joined #openser. [19:04] miconda (n=daniel@81.180.83.75) left #openser. [19:50] Curi (n=creinero@200.24.227.122) joined #openser. [19:55] can anyone help me with the uac module? [19:56] i'm trying to replace the FROM user in the sip packet flow, but when openser receives a challenge it doesn't respond with a digest [19:56] supjigatr (n=syslod@152.53.16.10) joined #openser. [19:56] hello [19:59] Curi: u should do the replace after challanging the user [20:07] Anyone have 302 moved that should forward and I can't get it to work. Anyone have this working? [20:08] I can't seem to find an example of for the UA initating the foward. [20:10] DanB: this is what i'm trying to do: user -> asterisk -> openser -> vendor-gw , the user authenticate with asterisk and then it needs to forward the call to the vendor-gw, but to do that i need to exchange the FROM in the SIP packet, from the user data to some other data [20:14] Curi: do u want to change the from just for the CLI displaying, or u want to completly hide the from? [20:14] i want to change the user data [20:15] i know that the digest information needs to be re encoded, but from what i've read the uac module can do that [20:17] Curi: does the vendor-gw need to authenticate your request, because I find it easier to allow the call passthrough openser (maybe with trusted table) and then just proxy the request to the vendor-gw [20:17] it needs to authenticate [20:20] Curi: sorry then, I cannot help u because I never needed to generate digest credentials in openser, I feel like this is a UA related thing, but u can ask further [20:21] DanB: thanks anyone, i really need to solve this and it's becoming a pain in the a** [20:21] anyway* [20:28] Curi, what exactly do you need help with? [20:29] uac module does what you need.. [20:29] apardo (n=apardo@87.217.144.4) joined #openser. [20:30] L-info: yes, i just can't make it work, for example in an INVITE it changes the data on the first request, then it gets a challenge from the gw and at this point it fails [20:30] is there a way to flag a call as strict routing on the 3xx calls? [20:30] I think if I did that it would would fall into uri==myself and work rather than falling into the loose route section [20:30] L-info: it keeps sending the packet without the digest credential [20:31] what have you got set in your onreply route? [20:31] that handles the 407 response from the initial invite [20:33] L-info: i followed and example, and used a t_on_failure("1"); and there it supposedly handles the 407 [20:33] sorry yeah.. the on_failure route block not the on_reply block [20:33] am sat in a conference at the moment so attention span is somewhat short :) [20:34] L-info: haha no worries, i can wait... [20:37] L-info: maybe you can help and give me a tiny example with a .cfg that should work, i haven't found much documentation on the uac module and i'm new to openser... if i get some .cfg working i can work my way from there [20:53] okay.. whats your on_failure route got in it? [20:54] you are sending the invite, getting the 407 back, and you are not constructing the secind INVITE with the correct cred's, right? [20:57] it doesn't send the auth when it needs to [20:58] right [21:00] i get this on syslog: [21:00] Mar 1 16:51:18 localhost /usr/local/sbin/openser[3181]: ERROR:uac:replace_from: decline FROM replacing in sequential request in auto mode (has TO tag) [21:00] you have to set the modparam statement from_restore_mode [21:00] its default is auto [21:00] and i'm guessing you havent explicitly set it to 'none' [21:01] exactly, but then if i set it to none, what else do i need to change in the config? [21:01] well if its an in-transaction reply you are good to go [21:01] what happens with it set? [21:02] you need to use uac_replace_from [21:02] let me see [21:02] send the request [21:02] and then call uac_auth [21:02] yes i have this [21:03] fro your failure route that handles the 407 [21:03] failure_route[1] [21:03] { [21:03] # authentication reply received? [21:03] if ( t_check_status("401|407") ) [21:03] { [21:03] # have we already tried to authenticate? [21:03] if (isflagset(7)) [21:03] Channel flood from Curi -- kicking [21:03] { [21:03] Curi kicked from #openser by opensir: flood [21:03] Curi (n=creinero@200.24.227.122) joined #openser. [21:03] Curi, use pastebin.ca for text [21:04] and then paste the link in the channel [21:04] right [21:04] but from what i saw before you got kicked, that should be fine.. check for response, then call uac_auth [21:04] and it should build the digest response [21:05] it doesnt actually send the message tho right, so you still need to t_relay [21:05] there's a t_relay at the end [21:05] well all should be well [21:05] http://pastebin.ca/377471 [21:07] give it a whirl with that modparam statement, check your syslog and sip trace.. whats the results? [21:08] i'm on it, just a sec [21:08] np :) [21:10] ok, so now it replies, but using the credentials from the original message [21:11] if I were you i'd insert some regular xlog() statements throughout your filure route to make sure its getting executed correctly [21:12] this is what i want (from): user (10101) -> asterisk (10101) -> openser (203) -> gw [21:12] sure I understand.. openser is not a B2BUA, so the UAC module is an effort to do what you want, but it has limitations [21:12] and depending on your gateway, it may not work [21:13] but can it create the new credentials? [21:13] for example if the CSeq is increased by the gw, the response might be rejected [21:13] i know that my provider is using SER [21:14] so to do this is better to use a b2bua? [21:14] like vovidas b2bua? [21:14] yep [21:14] humm [21:15] vovida's maybe.. asterisk can do it too [21:15] really!?!? how [21:15] call comes in and generates an outbound call and then bridges the media (in its most simple form) [21:15] i started to search for other options because i thought asterisk wouldn't let me change the credentials [21:16] you cant register using sip.conf register=> paramter? [21:16] i know, but i need to change the FROM in a call to call basis [21:18] FROM and digest information [21:37] supjigatr (n=syslod@152.53.16.10) left irc: [22:34] Curi (n=creinero@200.24.227.122) left #openser. [22:52] hohum (n=dcorbe@mercury.sunrocket.com) left irc: "This computer has gone to sleep" [22:53] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Connection timed out [22:54] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [23:07] CrazyTux (n=CrazyTux@64.95.219.140) left irc: Read error: 60 (Operation timed out) [23:08] CrazyTux (n=CrazyTux@64.95.219.140) joined #openser. [23:32] DanB (n=danbogos@87.139.12.167) left irc: "Client exited" [23:53] splnky (n=spnky@adsl-10-65-5.mia.bellsouth.net) joined #openser. [23:58] apardo (n=apardo@87.217.144.4) left irc: Remote closed the connection [00:00] --- Fri Mar 2 2007