Re: [OpenSIPS-Users] drouting module - dr_gateways table attrs field

2009-01-23 Thread Bogdan-Andrei Iancu
Hi Ibrahim, Thanks for report - fixed on the SVN (again, typo issues :( ) - please update and give another try. Regards, Bogdan ibrahim tunali wrote: > Hi Bogdan, > > I tried now and opensips started without the problem. But i did not > get the value after calling "do_routing()". > > I see NULL

Re: [OpenSIPS-Users] drouting module - dr_gateways table attrs field

2009-01-23 Thread Bogdan-Andrei Iancu
Hi Brett, but you have the GW IP (that was used) already in the RURI...or ? Regards, Bogdan Brett Nemeroff wrote: > Is there not a way to store in an AVP the gateway that was used in the > call? I have this need as well.. > -Brett > > > On Thu, Jan 22, 2009 at 9:44 AM, ibrahim tunali > mailto:

Re: [OpenSIPS-Users] Asteriak load balance

2009-01-23 Thread Bogdan-Andrei Iancu
Hi Gonzalo, aside the dispatcher module, there is under work a real "load-balancing" module - the difference is that the current dispatcher module is simple doing probabilistic dispersion of the calls over a set of destinations - it is not actual considering the load of each destination when se

[OpenSIPS-Users] FREERADIUS problem

2009-01-23 Thread ASHWINI NAIDU
hi all, I have freeradius-1.1.3 running on debain machine. i have integrated it with openser-1.3.4. when i try to make a call i get the following errors Jan 23 13:27:44 localhost /sbin/openser[9910]: ERROR:acc:acc_rad_request: radius-ing failed Jan 23 13:28:17 localhost /sbin/openser[990

Re: [OpenSIPS-Users] Include

2009-01-23 Thread Matti Zemack
Thanks Kevin! I've started using m4 as Iñaki showed me yesterday, basically for setting parameters on different systems. This I've already implemented and using "happily ever after". :-) Is there a better way of using M4 for bigger pieces of code, than the example below: divert(-1) define(`RO

Re: [OpenSIPS-Users] FREERADIUS problem

2009-01-23 Thread Bogdan-Andrei Iancu
Hi Ashwini, You have to configure the accounting radius server in the "radiusclient.conf" file - this may be (if using radiusclient-ng) in /usr/local/etc/radiusclint-ng or in /etc/radiusclient-ng. If you compiled against the freeradius client, than check the freeradius cfg dir. Regards, Bogda

[OpenSIPS-Users] Warning during initializing opensips

2009-01-23 Thread mmarzuola
Hi all. When I start the proxy in the syslog I see this WARNING: WARNING:core:fm_free: free(0) called What does it mean? Thanks. Matteo Marzuola Vuoi essere presente online? Vuoi dare voce alla tua attivita`? Acqu

[OpenSIPS-Users] [patch] modified cdrtool docs to explain how to generate .deb packages

2009-01-23 Thread Joan
diff -Naur /tmp/CDRTool/doc/INSTALL.txt ./doc/INSTALL.txt --- /tmp/CDRTool/doc/INSTALL.txt2009-01-18 13:18:23.0 +0100 +++ ./doc/INSTALL.txt 2009-01-23 11:31:30.0 +0100 @@ -7,11 +7,12 @@ You can install CDRTool in the following ways: -a. As a Debian package +a. As a d

Re: [OpenSIPS-Users] Warning during initializing opensips

2009-01-23 Thread Bogdan-Andrei Iancu
Hi Matteo, it mean a module is doing free(0) :).can you list the debug context of this warning - just to figure out the guilty module. Thanks and regards, Bogdan mmarzu...@interfree.it wrote: > Hi all. > When I start the proxy in the syslog I see this WARNING: > > WARNING:core:fm_free: free

Re: [OpenSIPS-Users] Warning during initializing opensips

2009-01-23 Thread mmarzuola
Hi. This is the log. It appears that the Dynamic Routing is causing the warning. Jan 23 10:49:20 opensips-lab /usr/local/sbin/opensips[3906]: DBG:core:db_bind_mod: using db bind api for db_mysql Jan 23 10:49:20 opensips-lab /usr/local/sbin/opensips[3906]: DBG:core:init_mod: initializing module

[OpenSIPS-Users] Fix for the freeradius patch (within cdrtool) for version 1.1.7

2009-01-23 Thread Joan
When following the details on how to compile freeradius with to support cdrtool from CDRTool/setup/radius/FreeRadius/readme.txt The patch there applies cleanly, there's only a issue when applying the patch I attached to the mail, because it is already fixed in 1.1.7 version. Other than that, the p

Re: [OpenSIPS-Users] Warning during initializing opensips

2009-01-23 Thread Bogdan-Andrei Iancu
OK - it should be fixed now - update and try again. Thanks and Regards, Bogdan mmarzu...@interfree.it wrote: > Hi. > This is the log. > It appears that the Dynamic Routing is causing the warning. > > Jan 23 10:49:20 opensips-lab /usr/local/sbin/opensips[3906]: > DBG:core:db_bind_mod: using db bi

Re: [OpenSIPS-Users] FREERADIUS problem

2009-01-23 Thread Bogdan-Andrei Iancu
Hi, the radius.conf is the cfg file for the radius server. What you need is the cfg file for the radius client - the radiusclient.conf. Regards, Bogdan ASHWINI NAIDU wrote: > > hi, > > If you mean to see i have to do configurations in radiud.conf then > these are my configurations which r done

Re: [OpenSIPS-Users] Fix for the freeradius patch (within cdrtool) for version 1.1.7

2009-01-23 Thread Adrian Georgescu
Just to double check where did you get the latest sources from? Adrian On Jan 23, 2009, at 12:34 PM, Joan wrote: When following the details on how to compile freeradius with to support cdrtool from CDRTool/setup/radius/FreeRadius/readme.txt The patch there applies cleanly, there's only a iss

Re: [OpenSIPS-Users] FREERADIUS problem

2009-01-23 Thread Norman Brandinger
Take a look at radiusclient-ng. The two files of interest are: radiusclient.conf and servers. Regards, Norm ASHWINI NAIDU wrote: > hi all, > > >I have freeradius-1.1.3 running on debain machine. i have > integrated it with openser-1.3.4. when i try to make a call i get the > followi

Re: [OpenSIPS-Users] FREERADIUS problem

2009-01-23 Thread ASHWINI NAIDU
Thanks Norman I have solved the issue already The main problem was i had to resolve the ip-address properly jp is my hostname local means localhost jp.local means host jp is trying to access the system itself I had to just place jp.local in /etc/radiusclient-ng/radiusclient.conf (acctserve

Re: [OpenSIPS-Users] drouting module - dr_gateways table attrs field

2009-01-23 Thread Brett Nemeroff
I'm using an older version in production of openser with the LCR module and I've tried using $rd to account where the call went. I get a lot of problems doing this because of things like RE-INVITES and such. It's been a real headache. It doesn't seem to be consistently accurate. I can't reproduce t

Re: [OpenSIPS-Users] Asteriak load balance

2009-01-23 Thread Robin Rodriguez
Gonzalo Gonzalez wrote: Thanks. Could somebody share a simple config file using dispatcher module. Thanks Gonzo http://www.dialogic.com/products/docs/appnotes/10833_HMP_OpenSER_SIP_an.pdf is the most concise example i've ever seen on using dispatcher, should be enough to get you going

Re: [OpenSIPS-Users] Include

2009-01-23 Thread Pauba, Kevin L
The example you provided is the method I used -- once you get used to the odd (but necessary) syntax, the syntax doesn't seem as bad. Here's an example of some code that is similar to what I've done (although I have more than 50 macros defined in my current source). The m4 source is copied to

Re: [OpenSIPS-Users] Failed builing rev 5182

2009-01-23 Thread Dan Pascu
On Thursday 22 January 2009, Iñaki Baz Castillo wrote: > El Jueves, 22 de Enero de 2009, Dan Pascu escribió: > > On Thursday 22 January 2009, Iñaki Baz Castillo wrote: > > > El Miércoles, 21 de Enero de 2009, Dan Pascu escribió: > > > > You should know better. > > > > > > IMHO such comment is not n

Re: [OpenSIPS-Users] Failed builing rev 5182

2009-01-23 Thread Dan Pascu
On Thursday 22 January 2009, Joan wrote: > 2009/1/21 Dan Pascu : > > On Tuesday 20 January 2009, Joan wrote: > >> I am having problems when building opensips 1.5 rev 5182 on a ubuntu > >> 8.04 On the 2009-01-15 build there was no problem on the same > >> system, something might have been broken aft

[OpenSIPS-Users] client.conf file for CDRTool

2009-01-23 Thread Gabriel Bermudez
Hi everyone, I'm following CDRTool's install guide from http://cdrtool.ag-projects.com/wiki/Install. But I don't know what the contents for the /etc/opensips/radius/client.conf file referenced on the guide show be. It's used in the configurations files of opensips.cfg and mediaproxy's confi

Re: [OpenSIPS-Users] client.conf file for CDRTool

2009-01-23 Thread Norman Brandinger
The reference in the opensips.cfg file should generally be to radiusclient-ng/radiusclient.conf Regards, Norm Gabriel Bermudez wrote: > Hi everyone, > > I'm following CDRTool's install guide from > http://cdrtool.ag-projects.com/wiki/Install. But I don't know what the > contents for the > >

[OpenSIPS-Users] Troubles running mediaproxy 2.0

2009-01-23 Thread Sergio Gutierrez
Hello to all members. I am trying to run OpenSIPS 1.4.4, with Mediaproxy 2.3.2 for NATted users; OpenSIPS and MediaDispatcher are running on SPARC, and relay is running on Debian. When starting both, they connect with errors, but when a call goes to mediaproxy, on dispatcher side appears the foll

[OpenSIPS-Users] mediaproxy and radius integration

2009-01-23 Thread Gabriel Bermudez
Hi list, Got this issue with mediaproxy. The mediaproxy dispatcher is not able to read the radius configuration file [Radius] config_file = /etc/radiusclient-ng/radiusclient.conf additional_dictionary = radius/dictionary.opensips The file is there, opensips can read it, but mediaproxy dispatcher