Re: [OpenSIPS-Users] Best practices inquiry: database timezone

2009-03-31 Thread Alex Hermann
On Tuesday 31 March 2009 04:55:17 Phil Vandry wrote: How do you handle the timezone problem in the database? Options: When using MySQL, use a TIMESTAMP field instead of DATETIME. -- Alex Hermann ___ Users mailing list Users@lists.opensips.org

[OpenSIPS-Users] XMPP Issue

2009-03-31 Thread JayaPrakash
Hi All, I installed Opensips 1.5. I enabled XMPP module in component mode. Jabber server (ejabberd 2.0.1) is running in the same machine. I am trying to communicate between Opensips and Jabber server. Opensips is configured with XMPP as described below.

Re: [OpenSIPS-Users] serialize_branches/next_branches problem

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Jeff, Jeff Pyle wrote: Evidently responding publically to my own question is some sort of cheap therapy. any therapy that has results is a good one :) Anyway, I found some old examples of how this is supposed to work, and all the examples included a t_on_branch() statement. My config

Re: [OpenSIPS-Users] XMPP Issue

2009-03-31 Thread Olle E. Johansson
31 mar 2009 kl. 10.11 skrev JayaPrakash: Coming to jabber server (here it is ejabberd), it is able to allow connections from outer xmpp servers.(It is able to connect to Gtalk and communicate with it) Can you please give me a suggesion to fix this issue. A jabber server can be connected

Re: [OpenSIPS-Users] Call control warning

2009-03-31 Thread Dan Pascu
On Monday 30 March 2009, ASHWINI NAIDU wrote: hi all, when i start the opensips i get the following warning * WARNING:call_control:postprocess_request: dialog to trace controlled call was not created. discarding callcontrol.* can anyone help me in solving this. It means that either

Re: [OpenSIPS-Users] Call control warning

2009-03-31 Thread ASHWINI NAIDU
But t_relay has been called. how can i correct this On Tue, Mar 31, 2009 at 2:55 PM, Dan Pascu d...@ag-projects.com wrote: On Monday 30 March 2009, ASHWINI NAIDU wrote: hi all, when i start the opensips i get the following warning * WARNING:call_control:postprocess_request: dialog

Re: [OpenSIPS-Users] Opensips fifo - dp_reload hangs

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Dan, Do you get some error during the dp_reload on the opensips side ? have you checked the CPU usage (maybe something hangs) ? AFAIR, nothing was change on this part between 1.4 and 1.5. Regards, Bogdan Dan-Cristian Bogos wrote: Hey Guys, something I noticed after upgrading from 1.4.x

Re: [OpenSIPS-Users] Call control warning

2009-03-31 Thread ASHWINI NAIDU
ok Thanks for the help On Tue, Mar 31, 2009 at 3:07 PM, Dan Pascu d...@ag-projects.com wrote: On Tuesday 31 March 2009, ASHWINI NAIDU wrote: But t_relay has been called. how can i correct this I don't know. According to the callcontrol module the dialog was not created. On Tue, Mar

Re: [OpenSIPS-Users] How to catch a bad URI?

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Chris, that is true - the problem is that along the RURI, the TO URI is also broken. And OpenSIPS is not able to construct the reply as it need the mirror the FROM, TO, CSEQ and CALLID headers. As a generic way of catching parsing error , you can use the error_route:

Re: [OpenSIPS-Users] XMPP Issue

2009-03-31 Thread Anca Vamanu
JayaPrakash wrote: Hi All, I installed Opensips 1.5. I enabled XMPP module in component mode. Jabber server (ejabberd 2.0.1) is running in the same machine. I am trying to communicate between Opensips and Jabber server. Opensips is configured with XMPP as described below.

Re: [OpenSIPS-Users] control of routes by loose_route()

2009-03-31 Thread Bogdan-Andrei Iancu
H Uwe, Uwe Kastens wrote: Hi, I know that the record route entries of my systems could contain only 2 different ip adresses. So how can I prevent to use routes that is somebody injecting from externaly. I was wondering if I can use check_route_param() for that. The other thing is, that I

Re: [OpenSIPS-Users] NAT Contact address issues with Nokia Mobile

2009-03-31 Thread Bogdan-Andrei Iancu
Hi, if the online-user info is correct, it looks like the fix_nated_register() is not done. Please post the output of opensipsctl ul show, for that specific user. Also test by using xlog if the at register time your processing gets inside the if (!search(^Contact:[ ]*\*) nat_uac_test(19)) {.

Re: [OpenSIPS-Users] pua_xmpp issue

2009-03-31 Thread Anca Vamanu
Hi Jaya, I think that your problem is because you load the pua_xmpp module before loading the xmpp module. Check this. JayaPrakash wrote: Hi All, I installed opensips 1.5 with mysql authentication. I am willing to work on xmpp module in component mode. Jabber server(ejabberd) is ready and

Re: [OpenSIPS-Users] NAT Contact address issues with Nokia Mobile

2009-03-31 Thread oso che bol
Dear Bogdan I change the config of NATed REGISTER request to: *if (nat_uac_test(19)) { if (is_method(REGISTER) || !search(^Record-Route)) { log(LOG: HTK Someone trying to register from private IP, rewriting\n); fix_nated_contact(); # Rewrite contact with

Re: [OpenSIPS-Users] Changes in ACC Modules for 1.5?

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Raul, in both cases it is exactly the same. there is no difference between :). Regards, Bogdan Raúl Alexis Betancor Santana wrote: AFAIK, it's a very bad idea to change flag status inside failure_route, branch_route or reply_route. I suggest you to do it on route[] blocks, and call it

Re: [OpenSIPS-Users] Changes in ACC Modules for 1.5?

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Brett, the transactions you miss in the acc are replied in failure_route with t_reply() or you are passing the received reply ? also, are you sharing the failed_transaction_flag with other flags ? Regards, Bogdan Brett Nemeroff wrote: Hello All, I'm going to reply to my own message. I'm

Re: [OpenSIPS-Users] XMPP Issue

2009-03-31 Thread JayaPrakash
Hi Anca, As you said, ejabberd is configured to connect to opensips in component mode at port 5347, as described below. {5347, ejabberd_service, [ {access, all}, {shaper_rule, fast}, {ip, {127, 0, 0, 1}},

Re: [OpenSIPS-Users] Best practices inquiry: database timezone

2009-03-31 Thread Bogdan-Andrei Iancu
Hi, I have to agree here - using UTC for DB is the best practice, IMO. This ensure the consistency across your platform and also easy to sync data between your platform and external sources (like CDR mediation with the PSTN providers). Regards, Bogdan Vasil Kolev wrote: В 22:55 -0400 на

Re: [OpenSIPS-Users] OpenSIPS 1.5 with integrated xcap server leads to core dump

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Franz, What architecture are you using? 32 or 64? Do you still have the core file? Regards, Bogdan Franz Edler wrote: Hi all, I have started some simple tests with OpenSIPS (revision 5553) and the integrated xcap server. I always get a core dump when I setup a session. The

Re: [OpenSIPS-Users] Changes in ACC Modules for 1.5?

2009-03-31 Thread Brett Nemeroff
Bogdan, RURI modified by carrierroute, then t_relay(). Far end replies with 503. Call carrierroute again, which errors since the only other route has a prob=0. Without the failed_transaction_flag actually armed before the failure_route, I get no database activitiy at all.. Nothing else is using

Re: [OpenSIPS-Users] CDRTool query display problems

2009-03-31 Thread Jeff Pyle
Adrian, I took a brand new Ubuntu 8.10 install and followed the CDRTool INSTALL directions to the letter. The Next button on the result list and the ³Max results per page² option on the query page don¹t have any effect. These are the same symptoms I had on a CentOS 5.2 system. I am doing a few

Re: [OpenSIPS-Users] ERROR:core:pv_parse_spec: bad parameters after upgrading to 1.5

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Carlo, I found the bug...right now I'm testing the fix. I will shortly send you a patch to test before backporting to 1.5. Thanks and regards, Bogdan Carlo Dimaggio wrote: Il giorno 26/mar/09, alle ore 17:38, Carlo Dimaggio ha scritto: Hi Bogdan, I have 5 blocks in which I use the

Re: [OpenSIPS-Users] db_mysql error, crash

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Jacek, but are you using the latest SVN trunk or 1.5 ? if yes, and still crashes, could you run in debug=6 and send me the logs (from startup to crash) ? maybe off list if the file is too big. Thanks and regards, Bogdan Jacek Konieczny wrote: On Fri, Mar 27, 2009 at 11:53:47AM +0100,

Re: [OpenSIPS-Users] Best practices inquiry: database timezone

2009-03-31 Thread Vasil Kolev
В 10:19 -0400 на 31.03.2009 (вт), Phil Vandry написа: On Tue, Mar 31, 2009 at 12:18:34PM +0300, Vasil Kolev wrote: In my experience (which is mostly postgres) the local type timestamp with timezone is what you need - it records the date in UTC with the timezone it was in, so in the end you

Re: [OpenSIPS-Users] About Routing Logic in opensips.cfg

2009-03-31 Thread Bogdan-Andrei Iancu
Hi, try to read this http://www.opensips.org/index.php?n=Resources.DocsTsStart in order to see why your opensips is not starting. Regards, Bogdan maanasa wrote: Hi Cheng, I have the same problem as you, where a 600 Busy everywhere message is sent for the same setup as yours (OpenSIPS and

[OpenSIPS-Users] XMLRPC again

2009-03-31 Thread Matti Zemack
Hi all, Getting to use mi_xmlrpc is becoming really tough (at least for me). On my standard OpenSips OpenSUSE 11.1 I couldn't even get 1.5 to compile, probably because I've messed up the system and can't get xmlrpc-c-devel to install... Not much to do I suppose, just start a new VmWare

Re: [OpenSIPS-Users] Best practices inquiry: database timezone

2009-03-31 Thread Phil Vandry
On Tue, Mar 31, 2009 at 08:44:48AM +0100, Alex Hermann wrote: On Tuesday 31 March 2009 04:55:17 Phil Vandry wrote: How do you handle the timezone problem in the database? Options: When using MySQL, use a TIMESTAMP field instead of DATETIME. Hmm, that seems flaky to me: TIMESTAMP values are

Re: [OpenSIPS-Users] Best practices inquiry: database timezone

2009-03-31 Thread Phil Vandry
On Tue, Mar 31, 2009 at 05:35:48PM +0300, Vasil Kolev wrote: Haven't checked the module which does this, but using the time from opensips is not a good idea anyway, I've always use the time in the database. So, mostly, insert into call(start_time) values (NOW()), and then update call set

Re: [OpenSIPS-Users] NAT Contact address issues with Nokia Mobile

2009-03-31 Thread oso che bol
Dear Bogdan, Thanks very much for your time. Regards, -LN On Tue, Mar 31, 2009 at 8:53 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Please use fix_nated_register() for REGISTER requests - this will set the appropriate info to be saved in usrloc. fix_nated_register() is not

[OpenSIPS-Users] error while using sphere parameter in presence rules.

2009-03-31 Thread Visu.M
Team, I am trying to use sphere based presence rules. openXCAP is my xcap server. sipsimpleclient is the client. (I set the enable_sphere_check parameter in server). I am getting the following error, when publishing from the client. My PA with RLS, openXCAP and client are co-located in the same

[OpenSIPS-Users] Fetching Local Routing Number from the North-American Local Number Portability database

2009-03-31 Thread Francois Menard
Folks, We have recently become a CLEC and we are entitled to query the North- American LNP database for routing information. The information we want from the database, is the local routing number associated with a phone number which has been ported to another competitor of the ILEC. We

Re: [OpenSIPS-Users] serialize_branches/next_branches problem

2009-03-31 Thread Jeff Pyle
Hi Bogdan, It appears my therapy was not complete. I reinstalled a current build from the devel repository since 1.4.5 was crashing/stopping in weirder ways than 1.5.0. I'm back to having the two Contacts from the 302 being sent in parallel. Here are the debugs, the same as before I believe:

Re: [OpenSIPS-Users] Fetching Local Routing Number from the North-American Local Number Portability database

2009-03-31 Thread Ovidiu Sas
You should be able to do all this with stock opensips and a lot of transformations: http://opensips.org/index.php?n=Resources.DocsCoreTran Cordialement, Ovidiu Sas On Tue, Mar 31, 2009 at 2:36 PM, Francois Menard fmen...@xittel.net wrote: Folks, We have recently become a CLEC and we are

Re: [OpenSIPS-Users] Fetching Local Routing Number from the North-American Local Number Portability database

2009-03-31 Thread Jeff Pyle
Francois, I also use a SIP-based LRN query service, on Opensips. I assign the Contact (pseudovariable $ct) of the 302 reply in a dedicated reply_route, and further process it in the failure_route to extract the rn= header, reformat into 10-digits, etc. For my purposes it just worked out better

[OpenSIPS-Users] MediaProxy and gnutls_srp_free_client_credentials error

2009-03-31 Thread DangVinh Nguyen
Dear all I open this thread because i don't know how to follow-up this thread http://www.mail-archive.com/users@lists.opensips.org/msg00921.html What a shame :( Back to main topic, I found that libgnutls.so.26 in Fedora 10 does not have gnutls_srp_free_client_credentials. I've downloaded

[OpenSIPS-Users] Presence problem

2009-03-31 Thread Romanov Vladimir
Hi all! From time to time we have strange problem with presence. Some user publish status and another user or same user get NOTIFY with empty body. Here you can see log. 1) User 300311 subscribed to 300300. (not in log) 2) User 300300 publish closed status (not in log)

[OpenSIPS-Users] OpenSIPS 1.5 gives ERROR:core:init_mod: failed to initialize module registrar

2009-03-31 Thread Khan
OpenSIPS is not running due to errors, these errors are about registrar.so. The error occurs on starting opensips. I have 64bit box running ubuntu server, all the dependencies were installed before installing OpenSIPS, earlier i removed version 1.4.4 due to several crashes. Following is the link

Re: [OpenSIPS-Users] OpenSIPS 1.5 gives ERROR:core:init_mod: failed to initialize module registrar

2009-03-31 Thread Sergio Gutierrez
Hello Khan After some changes in API in OpenSIPS, a new module was developed which export some functions which are required by other modules, for example registrar. You must load modules in this order. tm sl signaling It would correct your problem. Feel free to ask further questions.

Re: [OpenSIPS-Users] OpenSIPS 1.5 gives ERROR:core:init_mod: failed to initialize module registrar

2009-03-31 Thread Sergio Gutierrez
Hello Khan. I miss to mention; those modules must be loaded previous to registrar module Regards. Sergio On Tue, Mar 31, 2009 at 11:52 PM, Sergio Gutierrez sag...@gmail.com wrote: Hello Khan After some changes in API in OpenSIPS, a new module was developed which export some functions