Re: [OpenSIPS-Users] Simple ACC test with MySQL

2010-11-14 Thread David Santiago
. Have you tried that? -Brett On Fri, Nov 5, 2010 at 11:48 AM, David Santiago david.santi...@almiralabs.com wrote: Hi, I'm trying to generate CDRs in an OpenSIPS test server. I have checked the stored procedure that comes with opensips-cp to perform this task and have noticed that queries

Re: [OpenSIPS-Users] Simple ACC test with MySQL

2010-11-10 Thread David Santiago
: On Wed, Nov 10, 2010 at 5:16 AM, David Santiago david.santi...@almiralabs.com wrote: Modified... and still no records in the ACC table nor errors in the syslog (although I have set the debug level to 9). Are you sure you are looking at the right logs? Put some xlogs into your code

[OpenSIPS-Users] Simple ACC test with MySQL

2010-11-05 Thread David Santiago
Hi, I'm trying to generate CDRs in an OpenSIPS test server. I have checked the stored procedure that comes with opensips-cp to perform this task and have noticed that queries the ACC table in order to populate the CDRS table. Well, first things first. I have used the basic opensips.cfg.sample

Re: [OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-28 Thread David Santiago
(mozaa - local_route - du after update = $du); exit; } ## if (is_method(BYE) ) { ## acc_log_request(internally generated BYE); ## } } On Mon, Oct 18, 2010 at 4:29 PM, David Santiago david.santi...@almiralabs.com wrote: Hi again, I have made several changes to the script

Re: [OpenSIPS-Users] Problem creating tables for OpenSIPS with PostgreSQL

2010-10-25 Thread David Santiago
: Hi David, The error says that your current postgres user (you are running the opensips script with) has no permission / privilege to create new access users (opensips and opensipsrw) for postgres. Regards, Bogdan David Santiago wrote: The call to opensipsdbctl create is asking me

[OpenSIPS-Users] Problem creating Registrar database for OpenSIPS with PostgreSQL

2010-10-22 Thread David Santiago
Hello, I have successfully compiled and installed OpenSIPS 1.6.3 (no tls) with the PostgreSQL module for an OpenSIPS Registrar testing installation. I have edited the *opensipsctlrc* file to specify the connection details for a remote PostgreSQL database server I want to use as the persistence

Re: [OpenSIPS-Users] Problem creating Registrar database for OpenSIPS with PostgreSQL

2010-10-22 Thread David Santiago
Installing postgresql-client package and configuring a ./pgpass file with the following format fixed the problem: hostname:port:database:username:password Regards, David On Fri, Oct 22, 2010 at 3:26 PM, David Santiago david.santi...@almiralabs.com wrote: Hello, I have successfully compiled

[OpenSIPS-Users] Problem creating tables for OpenSIPS with PostgreSQL

2010-10-22 Thread David Santiago
The call to opensipsdbctl create is asking me for the password on every single table created. But the real problem is that after several tables have been created the following error happens: ... ... -e Creating core table: drouting Password for user almira: NOTICE: CREATE TABLE will create

Re: [OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-19 Thread David Santiago
module has the destination correctly set to the internal jain slee server, instead of the public ip address of the opensips server. Regards, David On Tue, Oct 19, 2010 at 11:39 AM, Anca Vamanu a...@opensips.org wrote: Hi David, On 10/18/2010 05:29 PM, David Santiago wrote: Hi again, I

Re: [OpenSIPS-Users] OpenSIPS swallows BYEs

2010-10-13 Thread David Santiago
it? On Mon, Oct 11, 2010 at 6:35 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi David, ok, so the BYE is sent to the wrong destination - how do you route BYE in your script? do you use the standard loose_route block ? Regards, Bogdan David Santiago wrote: As I said it is being

Re: [OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-13 Thread David Santiago
www.voice-system.ro On 10/11/2010 01:48 PM, David Santiago wrote: Hi all, After cleaning up the initialization problems in the b2bua related modules I'm testing a configuration I want to use in order to enable the top hiding scenario, plus using the dispatcher module so I can configure

[OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-11 Thread David Santiago
Hi all, After cleaning up the initialization problems in the b2bua related modules I'm testing a configuration I want to use in order to enable the top hiding scenario, plus using the dispatcher module so I can configure the internal jain slee server that receives the requests from the opensips

Re: [OpenSIPS-Users] Initialization error for b2b test

2010-10-08 Thread David Santiago
to test the top hiding scenario. Thx! On Wed, Oct 6, 2010 at 6:28 PM, Anca Vamanu a...@opensips.org wrote: See the configiration file example here- http://www.opensips.org/Resources/B2bConfigExample -- Anca Vamanu www.voice-system.ro On 10/06/2010 07:10 PM, David Santiago wrote: Hello

Re: [OpenSIPS-Users] Initialization error for b2b test

2010-10-08 Thread David Santiago
? On Fri, Oct 8, 2010 at 2:34 PM, Anca Vamanu a...@opensips.org wrote: Hi David, Are there any errors before that? Which is the first error that you see in log ( look after ERROR or CRITICAL). Anca On 10/08/2010 03:02 PM, David Santiago wrote: I have checked my configuration with that example

Re: [OpenSIPS-Users] Initialization error for b2b test

2010-10-08 Thread David Santiago
Fixed. The provided Makefile excludes the b2b_logic module, so it's not compiled nor available later. On Wed, Oct 6, 2010 at 6:10 PM, David Santiago david.santi...@almiralabs.com wrote: Hello, I'm trying to test the top hiding scenario but I get the following error at opensips startup

Re: [OpenSIPS-Users] How to change Contact header

2010-10-06 Thread David Santiago
Solved! Adding a \r did the thing... if ( subst('/^Contact: sip:([0-9]+)@(.*)$/Contact: sip:\...@new_ip_address_here\r/ig') ) { xlog(contact modified!); }; On Tue, Oct 5, 2010 at 6:34 PM, David Santiago david.santi...@almiralabs.com wrote: Hi all, I need to modify

[OpenSIPS-Users] OpenSIPS swallows BYEs

2010-10-06 Thread David Santiago
Hi all, I have a running OpenSIPS installation that I'm using for testing purposes. The fact is that I'm forwarding requests from a voip provider to a jain slee server and everything is working fine (INVITEs, ACKs, RTP flow,...), except for the BYEs generated from the server side. They reach the

Re: [OpenSIPS-Users] How to change Contact header

2010-10-06 Thread David Santiago
the @IP part, like (Contact: .*@)[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3} Regards, Bogdan David Santiago wrote: Solved! Adding a \r did the thing... if ( subst('/^Contact:sip:([0-9]+)@(.*)$/Contact: sip:\...@new_ip_address_here\r/ig') ) { xlog

Re: [OpenSIPS-Users] OpenSIPS swallows BYEs

2010-10-06 Thread David Santiago
, Is the BYE replied or forwarded to whatever destination ? probably your record routing is somehow broken. OpenSIPS may misroute the BYE because the invalid route set - posting the 200 OK for INVITE and the BYE will help in investigating this. Regards, Bogdan David Santiago wrote: Hi all, I

[OpenSIPS-Users] Initialization error for b2b test

2010-10-06 Thread David Santiago
Hello, I'm trying to test the top hiding scenario but I get the following error at opensips startup: ... Oct  6 18:03:49 ip-10-122-54-163 opensips: DBG:core:find_cmd_export_t: b2b_init_request not found Oct  6 18:03:49 ip-10-122-54-163 opensips: DBG:core:find_cmd_export_t: b2b_init_request not

Re: [OpenSIPS-Users] Initialization error for b2b test

2010-10-06 Thread David Santiago
, David Santiago david.santi...@almiralabs.com wrote: Hello, I'm trying to test the top hiding scenario but I get the following error at opensips startup: ... Oct  6 18:03:49 ip-10-122-54-163 opensips: DBG:core:find_cmd_export_t: b2b_init_request not found Oct  6 18:03:49 ip-10-122-54-163

[OpenSIPS-Users] How to change Contact header

2010-10-05 Thread David Santiago
Hi all, I need to modify the host part of a contact header. I'm trying something like: if ( subst('/^Contact: sip:([0-9]+)@(.*)$/Contact: sip:\...@new_ip_address_here/ig') ) { xlog(contact modified!); }; but the resulting Contact header is wrong and cannot be processed.

[OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread David Santiago
Hi, I need to add a P-Preferred-Service header to the SIP messages that are sent from my OpenSIPS installation to the destination slee server. What is the recommended way to do this? Thanks in advance, David ___ Users mailing list

Re: [OpenSIPS-Users] Adding P-Preferred-Service header

2010-10-01 Thread David Santiago
#id271351 http://www.opensips.org/html/docs/modules/1.4.x/textops.html#id271351Something like this: insert_hf(P-Preferred-Service: header value, Contact); - Jeff On Oct 1, 2010, at 11:09 AM, David Santiago wrote: Hi, I need to add a P-Preferred-Service header to the SIP messages