[Kamailio-Users] Mediaproxy relay error: 'module' object has no attribute 'Interface'

2009-05-25 Thread Juha Heinanen
CSB writes: > When attempting to start the MediaProxy relay I get the following: > > May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: Starting MediaProxy > Relay 2.3.4 > > May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: fatal error: failed to > create MediaProxy Relay: 'module' o

[Kamailio-Users] Mediaproxy relay error: 'module' object has no attribute 'Interface'

2009-05-25 Thread Juha Heinanen
CSB writes: > When attempting to start the MediaProxy relay I get the following: > > May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: Starting MediaProxy > Relay 2.3.4 > > May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: fatal error: failed to > create MediaProxy Relay: 'module' o

[Kamailio-Users] Mediaproxy relay error: 'module' object has no attribute 'Interface'

2009-05-25 Thread CSB
When attempting to start the MediaProxy relay I get the following: May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: Starting MediaProxy Relay 2.3.4 May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: fatal error: failed to create MediaProxy Relay: 'module' object has no attribute 'Interfa

Re: [Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Raúl Alexis Betancor Santana
Also I have seen an extrange output on the debug = 6 level .. If I change auth_db params to use pre-calculated ha1 values: modparam("auth_db", "password_column", "ha1") modparam("auth_db", "password_column_2", "ha1b") modparam("auth_db", "calculate_ha1", 1) And force the phone to register, that

Re: [Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Raúl Alexis Betancor Santana
Hi all, I have retest and don't know what's happens, because it doesn't run. That is what a I did, step by step: - edit kamctlrc and set all DB related params - kamdbctl create (all ok) - kamctl add 1...@192.168.2.130 kajun (all ok) - start kamailio 1.5.1 - Force the Snom360 phone to REGISTER n

[Kamailio-Users] OpenBSD port updated to version 1.5.1

2009-05-25 Thread Don Jackson
Hello, I have updated the OpenBSD port of Kamailio to support the 1.5.1 release. The port is available at: http://kamailio.org/pub/kamailio/1.5.1/packages/openbsd/ The posting to the OpenBSD ports mailing list is here: http://archives.neohapsis.com/archives/openbsd/2009-05/1702

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Bruce Ferrell
Those seem useful suggestions and give me a direction in which to look. Thanks Alex Alex Balashov wrote: > In that case, dialplan is not what you want. Use carrierroute, lcr, or > do your own queries with sqlops. > > -- > Sent from mobile device > > On May 25, 2009, at 9:05 AM, Bruce Ferrell

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Alex Balashov
In that case, dialplan is not what you want. Use carrierroute, lcr, or do your own queries with sqlops. -- Sent from mobile device On May 25, 2009, at 9:05 AM, Bruce Ferrell wrote: > Can you point me to some examples of how to use dialplan? > > I want to be able to direct traffic to carrier

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Juha Heinanen
Edson - Lists writes: > But with Your proposed change (lcr-id), what about functionality overlap > with CarrierRoute (or vice-versa)? They already have, but LCR is much > simpler and more 'direct' for a single domain/'routing policy' > installation... i'm not worried with possible overlap.

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Edson - Lists
Juha Heinanen escreveu: > Edson - Lists writes: > > > LCR module: good for RURI manipulations and routing decisions, > > but no granularity control (applies to whole system); > > there is from regex that may help to improve granularity. > > perhaps it would be possible to add a lc

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Juha Heinanen
Edson - Lists writes: > LCR module: good for RURI manipulations and routing decisions, > but no granularity control (applies to whole system); there is from regex that may help to improve granularity. perhaps it would be possible to add a lcr_id to lcr table and thus get multiple

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Bruce Ferrell
Can you point me to some examples of how to use dialplan? I want to be able to direct traffic to carrier gateways based on the dial digits and not have to change the config file and bring kamailio down to do it. I always thought that was silly. Alex Balashov wrote: > Depends on what precisely

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Edson - Lists
Well, I just passed a similar doubt... Let see if I can help and shine some light... ;) DIALPLAN module: good for RURI manipulations, but not for routing decisions; LCR module: good for RURI manipulations and routing decisions, but no granularity control (applies to

Re: [Kamailio-Users] Looking for a way to do routing from a database

2009-05-25 Thread Iñaki Baz Castillo
2009/5/25 Bruce Ferrell : > I've spent many hours looking over the module docs and examples. > > is there a way to do dialplans from a database? What is a "dialplan" for you? -- Iñaki Baz Castillo ___ Kamailio (OpenSER) - Users mailing list Users@li

Re: [Kamailio-Users] perl module, "pv_sprintf: Memory exhausted!"

2009-05-25 Thread Christian Koch
Hello Henning, hello Daniel, Henning Westerholt schrieb: > Can you configure the kamailio server that it generates a core file? > Then take a look to the backtrace where the invalid memory access was > done, to verify if its really crashed in the core function, or perhaps > some other parts has

Re: [Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Raúl Alexis Betancor Santana
On Lunes, 25 de Mayo de 2009 10:14:22 Daniel-Constantin Mierla escribió: > On 05/25/2009 11:58 AM, Raúl Alexis Betancor Santana wrote: > > On Monday 25 May 2009 08:46:51 you wrote: > >> there were no radical changes to auth modules, afaik, do not know about > >> postgres. Can you run in debug mode

Re: [Kamailio-Users] perl module, "pv_sprintf: Memory exhausted!"

2009-05-25 Thread Henning Westerholt
On Mittwoch, 20. Mai 2009, Christian Koch wrote: > [..] > After solving all the performance issues with syslog we now made a > stress test with memdebug enabled. Now kamailio terminates itself > (perhaps because memory is corrupted?). Hi Christian, yes, this looks like the memory is corrupt, as i

Re: [Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Daniel-Constantin Mierla
On 05/25/2009 11:58 AM, Raúl Alexis Betancor Santana wrote: > On Monday 25 May 2009 08:46:51 you wrote: > >> there were no radical changes to auth modules, afaik, do not know about >> postgres. Can you run in debug mode and see why second 401 is sent? Also >> return code $rc will show some hin

Re: [Kamailio-Users] Another table version issue

2009-05-25 Thread Raúl Alexis Betancor Santana
On Monday 25 May 2009 09:23:09 Henning Westerholt wrote: > On Sonntag, 24. Mai 2009, Raúl Alexis Betancor Santana wrote: > > ERROR:core:db_check_table_version: invalid version 2 for table > > carrierfailureroute found, expected 3 (check table structure and > > table "version") > > > > If I manualy

Re: [Kamailio-Users] Error with table version

2009-05-25 Thread Raúl Alexis Betancor Santana
On Monday 25 May 2009 09:11:06 Henning Westerholt wrote: > On Montag, 25. Mai 2009, Raúl Alexis Betancor Santana wrote: > > [..] > > > > > > [uri_db_mod.c] > > > > > > > > and SUBSCRIBER_TABLE_VERSION has value 6 > > > > > > > > is there something I'm doing wrong?, last time I compile myself this >

Re: [Kamailio-Users] Another table version issue

2009-05-25 Thread Henning Westerholt
On Sonntag, 24. Mai 2009, Raúl Alexis Betancor Santana wrote: > ERROR:core:db_check_table_version: invalid version 2 for table > carrierfailureroute found, expected 3 (check table structure and > table "version") > > If I manualy set carrierfailureroute table version to 3 (UPDATE version SET > tabl

Re: [Kamailio-Users] Error with table version

2009-05-25 Thread Henning Westerholt
On Montag, 25. Mai 2009, Raúl Alexis Betancor Santana wrote: > [..] > > > [uri_db_mod.c] > > > > > > and SUBSCRIBER_TABLE_VERSION has value 6 > > > > > > is there something I'm doing wrong?, last time I compile myself this I > > > was forced to comment that block of code on the uri_db sources. > >

Re: [Kamailio-Users] Error with table version

2009-05-25 Thread Raúl Alexis Betancor Santana
On Monday 25 May 2009 08:48:42 you wrote: > Hello, > > On 05/24/2009 12:45 PM, Raúl Alexis Betancor Santana wrote: > > This is and old issue that I still have around here ... > > > > -Kamailio 1.5.1 (svn) > > -PostgreSQL database > > -Database created with "kamdbctl create", so just clean > > - in

Re: [Kamailio-Users] Error with table version

2009-05-25 Thread Daniel-Constantin Mierla
Hello, On 05/24/2009 12:45 PM, Raúl Alexis Betancor Santana wrote: > This is and old issue that I still have around here ... > > -Kamailio 1.5.1 (svn) > -PostgreSQL database > -Database created with "kamdbctl create", so just clean > - in kamailio.cfg: > [...] > loadmodule "uri_db.so" > modparam("

Re: [Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Daniel-Constantin Mierla
Hello, On 05/25/2009 10:41 AM, Raúl Alexis Betancor Santana wrote: > Hi all, I'm getting a lot of problems to migrate to 1.5.1, the last one is > with auth. > I'm using postgresql as DB and auth_db with the next params: > > [...] > loadmodule "auth.so" > modparam("auth", "nonce_expire", 300) > mo

[Kamailio-Users] Auth problems with 1.5.1

2009-05-25 Thread Raúl Alexis Betancor Santana
Hi all, I'm getting a lot of problems to migrate to 1.5.1, the last one is with auth. I'm using postgresql as DB and auth_db with the next params: [...] loadmodule "auth.so" modparam("auth", "nonce_expire", 300) modparam("auth", "realm_prefix", "sip.") modparam("auth", "rpid_suffix", ";party=cal