Re: [OpenSIPS-Users] CDRTool 6.9.9 + opensips-1.6.0-tls + mysql eror

2009-12-18 Thread Saúl Ibarra Corretgé
Hi, On 18/12/09 8:48 AM, Darshak Modi wrote: Hi, When I try to login in cdr tool it gives error Invalid SQL: select * from trusted MySQL error: 1146 (Table 'opensips.trusted' doesn't exist) Where in opensips, it says the table is merged with address table. Where can I change to point to

Re: [OpenSIPS-Users] CDRTool 6.9.9 + opensips-1.6.0-tls + mysql eror

2009-12-18 Thread Darshak Modi
Ok Thanks its done. Thanks a lot! -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Saúl Ibarra Corretgé Sent: Friday, December 18, 2009 1:33 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] CDRTool 6.9.9 +

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-18 Thread ha do
Hi Bogdan the scripts/dbtext/opensips/sip_trace works without creating new sip_trace when opensips stop and start again :) the option modparam(db_text, db_mode, 1) doesnt help on writing :( the db_flatstore does store real time message but the INVITE, RINGING, 200ok, ACK are stored in

Re: [OpenSIPS-Users] How to send SIP header 302 registration request to Asterisk

2009-12-18 Thread Ahmed Munir
Hi, Thanks for your reply, I'm attaching the file named trace. Where OpenSIPs IP is: yy.yy.yy.yy, Asterisk IP: zz.zz.zz.zz and my UAC IP: xx.xx.xx.xx. As you can see I'm getting unauthourized error from Asterisk side, even using these credentials I can get registered on my Asterisk machine

Re: [OpenSIPS-Users] question on B2B module

2009-12-18 Thread ha do
Hi Anca let me describe the topology: VOIP Service Provider SIP trunk port 5070Opensips1 --sip trunk port 5060Opensips2Ip phone the Opnesips1 has 2 interface :   interface 1 : IP address 192.168.1.2 -- trunking with opensips2   interface 2 : IP address 115.22.22.3

Re: [OpenSIPS-Users] question on B2B module

2009-12-18 Thread Anca Vamanu
Hi, ha do wrote: Hi Anca let me describe the topology: VOIP Service Provider SIP trunk port 5070Opensips1 --sip trunk port 5060Opensips2Ip phone the Opnesips1 has 2 interface : interface 1 : IP address 192.168.1.2 -- trunking with opensips2 interface 2

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
Hello again, An jeu., déc 17, 2009, opensipsl...@encambio.com schrieb: An jeu., déc 17, 2009, Bogdan-Andrei Iancu schrieb: opensipsl...@encambio.com wrote: REGISTER messages seem to be handled correctly, but I'm still having troubles with INVITEs: Dec 16 19:03:05 name.host.tld error

Re: [OpenSIPS-Users] number of opensips children

2009-12-18 Thread opensipslist
Hello, An lun., déc 14, 2009, Stanisław PITUCHA schrieb: 2009/12/14 Jeff Pyle jp...@fidelityvoice.com: I'm trying to determine the proper number of opensips children for my setup. Me too. Unless you supply telephony to everyone in a small city, it will be below 32 ;) Okay, I've decided to

Re: [OpenSIPS-Users] Help with sip trace errors please

2009-12-18 Thread Bogdan-Andrei Iancu
Hi Ha, ha do wrote: Hi Bogdan the scripts/dbtext/opensips/sip_trace works without creating new sip_trace when opensips stop and start again :) cool :) the option modparam(db_text, db_mode, 1) doesnt help on writing :( I was expecting this.. the db_flatstore does store real time

Re: [OpenSIPS-Users] number of opensips children

2009-12-18 Thread Bogdan-Andrei Iancu
Brian, there are modules creating separate processes for handling additional events (like the mi_ modules). To see what processes you have and what they are doing, do: opensipsctl fifo ps Regards, Bogdan opensipsl...@encambio.com wrote: Hello, An lun., déc 14, 2009, Stanisław PITUCHA

[OpenSIPS-Users] Disable logging of mediaproxy

2009-12-18 Thread Jayesh Nambiar
Hello All, Can someone please guide me on disabling the logs generated by Media Dispatcher. Basically my messages file are just being filled up with lot of logs generated by the media relay and media dispatcher !! Any setting in config.ini or somethin?? Any help will be greatly appreciated.

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
Hello, An ven., déc 18, 2009, opensipsl...@encambio.com schrieb: An jeu., déc 17, 2009, opensipsl...@encambio.com schrieb: An jeu., déc 17, 2009, Bogdan-Andrei Iancu schrieb: opensipsl...@encambio.com wrote: REGISTER messages seem to be handled correctly, but I'm still having troubles with

[OpenSIPS-Users] new CDRTool release 7.0.0

2009-12-18 Thread Adrian Georgescu
Changelog: cdrtool (7.0.0) unstable; urgency=low * You must update Freeradius configuration with sql.conf and reload the radius_accounting.proc in the radius database depending on your setup * You must apply the database changes from setup/mysql/ alter_tables.mysql * CSV

Re: [OpenSIPS-Users] CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

2009-12-18 Thread Bogdan-Andrei Iancu
Hi Josip, A key question - how many records do you have in usrloc? I'm asking because opensips is flushing the usrloc at shutdown and if you have too many records, this will take some time. Also, the shutdown time is control by an alarm (couple of seconds), so if the shutdown takes too long,

Re: [OpenSIPS-Users] Load Blancer module, and Dispatcher module difference

2009-12-18 Thread Bogdan-Andrei Iancu
Hi, see http://www.opensips.org/Resources/DocsTutLoadbalancing it explains what is the difference. Regards, Bogdan Yoo Chan Jeon wrote: Hi, I have a little confusion about two modules. Both are for the load balancer. . The Load balancer module handles only INVITE related message and a

Re: [OpenSIPS-Users] install siptrace

2009-12-18 Thread Bogdan-Andrei Iancu
Hi, indeed, if you intensively use siptrace, the DB access may become an issue - use a light DB backend (not mysql) like db_flatstore witch writes into a text file. Regards, Bogdan urmi lakkad wrote: Hi Sebastian, I m having one query regarding siptrace. So, please guide me, if possible.

Re: [OpenSIPS-Users] Planning release 1.6.1

2009-12-18 Thread Bogdan-Andrei Iancu
Hi Ovidiu, you mean to assign it a proper number 8 instead of being whatever number ? Regards, Bogdan Ovidiu Sas wrote: Hello Bogdan, I came across this issue with the dispatcher module: I need to dispatch calls using the 'non implemented' method - the first entry in set is chosen. It

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread Bogdan-Andrei Iancu
Hi Michael , It is not really a hack :) i tend to think this number vary from OS to OS, from server to server .like how slow the write ops take place - on some system is faster, on other is not. so nothing to feel bad about :) maybe we should simply increase the default number to

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread Bogdan-Andrei Iancu
Hi Brian, I guess you are trying to connect to some destination which is not listening - check with tcpdump where opensips tries to open the TCP connection and see if there is a really app listening there. Regards, Bogdan opensipsl...@encambio.com wrote: One solution fixed both errors

Re: [OpenSIPS-Users] CRITICAL:core:sig_alarm_abort: BUG - shutdown timeout triggered, dying...

2009-12-18 Thread Josip Djuricic
Hi Bogdan, I've had to swithch to v1.6 stable, so It's working now :) What I notice is that on trunk version I had this UsrLoc Stats: usrloc:registered_users = 387432 usrloc:location-users = 387432 usrloc:location-contacts = 12005 usrloc:location-expires = 375427 but on stable 1.6 I have this:

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
Hello Bogdan, An ven., déc 18, 2009, Bogdan-Andrei Iancu schrieb: It is not really a hack :) i tend to think this number vary from OS to OS, from server to server .like how slow the write ops take place - on some system is faster, on other is not. What I'm not understanding is the

Re: [OpenSIPS-Users] [OpenSIPS-Devel] Planning release 1.6.1

2009-12-18 Thread Ovidiu Sas
Yes. Assigning a proper number would be nice. Also, any other whatever number will default to '8' (just like the current behavior). Thanks, Ovidiu On Fri, Dec 18, 2009 at 7:48 AM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Ovidiu, you mean to assign it a proper number 8 instead of

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
Hello Bogdan, An ven., déc 18, 2009, Bogdan-Andrei Iancu schrieb: opensipsl...@encambio.com wrote: One solution fixed both errors (assuming there really were two different erros) as you see below. Whoops I spoke too soon. It seems that patching MAX_SSL_RETRIES only fixed the

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
An ven., déc 18, 2009, opensipsl...@encambio.com schrieb: An ven., déc 18, 2009, Bogdan-Andrei Iancu schrieb: maybe we should simply increase the default number to cover also the slow cases. I disagree. You said yourself that 'this number varies' so lets do what we always do with such variables,

Re: [OpenSIPS-Users] Reducing INVITE delay until UAC sees 180 RINGING

2009-12-18 Thread opensipslist
Hello list, An ven., déc 18, 2009, opensipsl...@encambio.com schrieb: I'm assuming that a delay of 1 second is reachable through config tuning, and wondering as well what kind of result (in terms of delay time) the maximum tuning yields. Already I've looked at things like:

Re: [OpenSIPS-Users] Load Blancer module, and Dispatcher module difference

2009-12-18 Thread Yoo Chan Jeon
Thanks for your response Bogdan. I checked the website. Now I see the difference. But I still do not know if the Dispatcher module dose the load balancing on the SUBSCRIBE, and REGISTER message too. I know that it does on the INVITE message. Thanks, Yoo Chan On Fri, Dec 18, 2009 at 7:27 AM,

Re: [OpenSIPS-Users] Load Blancer module, and Dispatcher module difference

2009-12-18 Thread Stanisław Pitucha
On 18/12/09 14:01, Yoo Chan Jeon wrote: But I still do not know if the Dispatcher module dose the load balancing on the SUBSCRIBE, and REGISTER message too. I know that it does on the INVITE message. dispatcher will handle whatever request you're processing right now. It doesn't matter what

[OpenSIPS-Users] Error 'tls_verify' in documentation

2009-12-18 Thread opensipslist
Hello list, There is a documentation error, namely setting 'tls_verify' in the config file leads to the following error: # /pfx/sbin/opensips CRITICAL:core:yyerror: parse error in config file, line 103, column 1-11: syntax error ERROR:core:main: bad config file It seems that tls_verify

Re: [OpenSIPS-Users] How to send SIP header 302 registration request to Asterisk

2009-12-18 Thread Muhammad Zulqarnain
Hello Ahmed! Use rewritehost() and send 302 reply to user, I am using permission module and redirecting to zz.zz.zz.zz. ip if authenticated by permission module. if (check_source_address(1,$avp(i:9))) { xlog(L_INFO,GW sends INVITE and was found in DB: $avp(i:9)\n);

Re: [OpenSIPS-Users] Failed INVITE tcp_send

2009-12-18 Thread opensipslist
Hello, An ven., déc 18, 2009, Bogdan-Andrei Iancu schrieb: opensipsl...@encambio.com wrote: You may try to increase the number of tries to something higher - 3200, just to see if that is the problem: see tls/tls_server.c , line 689 #define MAX_SSL_RETRIES 320 This doesn't make

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-18 Thread osiris123d
I get the same error also. My radius schema is correct and looks like this mysql desc radacct - ; +-+--+--+-+-++ | Field | Type | Null | Key | Default |

Re: [OpenSIPS-Users] CDRtool freeradius mysql error

2009-12-18 Thread osiris123d
OK. I am now able to start Freeradius. I had to edit the /etc/freeradius/proxy.conf file and rename the radiusp to be the IP of my freeradius box, but I am still getting the same MySQL error Dec 18 13:45:03 CDRTool cdrtool[1089]: Checking user quotas for data source OpenSIPS Proxy/Registrar

Re: [OpenSIPS-Users] LDAP authentification

2009-12-18 Thread Iñaki Baz Castillo
El Jueves, 17 de Diciembre de 2009, Olle E. Johansson escribió: Basically, the LDAP module will query the LDAP server for a username and password (which has to be in clear text). Because of the MD5 digest authentication, the proxy can't use LDAP auth for SIP. AFAIK some LDAP servers do