Re: [OpenSIPS-Users] opensips crash

2010-03-30 Thread Bogdan-Andrei Iancu
Hi Daniel, could you check if in sources, in modules/tm/t_fwd.c +132 the line is: memcpy( p, request-dst_uri.s, request-dst_uri.len); what SVN reversion are you running ? Thanks for the scenario, but I come back to my question - is the crash reproducible ? Regards, Bogdan Daniel Ribeiro

Re: [OpenSIPS-Users] opensips-cp cdrviewer acc options

2010-03-30 Thread Bogdan-Andrei Iancu
Hi Brett, yes, the early media will produce 2 start records - the procedure is designed to generate a CDR for each start (when a single stop with more starts) in order to work with multi leg accounting (when you have multiple starts, for each leg). Can you see any difference between the start

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread brianpocock
Thanks, I've got the login in sorted now. I'm now configuring the boxes.global.inc.php and I need to configure the IP address of the MI connector and I was wondering how you find out the port number of this. I have set it to what it says in the documentation (8080) but I get an error:

[OpenSIPS-Users] opensips crash

2010-03-30 Thread Daniel Ribeiro
Hi Bogdan, According to file: if (t-on_branch) { /* need to pkg_malloc the dst_uri */ if ( request-dst_uri.len ) { if ( (p=pkg_malloc(request-dst_uri.len))==0 ) { LM_ERR(no more pkg mem\n); ser_error=E_OUT_OF_MEM; goto

[OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Andrew Pogrebennyk
Hello, I'm trying to get OpenXCAP 1.1.2 to work on CentOS 5.3. I have installed python-2.5.5 and all dependencies listed on http://openxcap.org/wiki/Installation under /usr/local/ either from source or using pip. I have python-gnutls-1.2.0 installed. Now OpenXCAP crashes with segmentation

Re: [OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Jesus Rodriguez
Hello, Hello, I'm trying to get OpenXCAP 1.1.2 to work on CentOS 5.3. I have installed python-2.5.5 and all dependencies listed on http://openxcap.org/wiki/Installation under /usr/local/ either from source or using pip. I have python-gnutls-1.2.0 installed. Now OpenXCAP crashes with

Re: [OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Adrian Georgescu
We are in the process of generating up to date packages for all Debian and Ubuntu supported versions and architectures for all AG Projects software. We shall make it easier for other distros, now I agree it is not. Stay tuned. On Mar 30, 2010, at 2:18 PM, Andrew Pogrebennyk wrote:

[OpenSIPS-Users] How to save seceive ip in location?

2010-03-30 Thread CheeWii
Hi, Now I used Opensips as a sip sms gateway. I used save(location) to store the register information. However, when my client is behind NAT,opensips will relay MESSAGE to an private ip address. It just as 192.168.111.100. So I want to my Opensips can remember the receive ip,not the

Re: [OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Andrew Pogrebennyk
On 30.03.2010 15:20, Jesus Rodriguez wrote: Replace python-gnutls 1.2.0 by 1.1.8 version. Thanks. I have compiled python-gnutls-1.2.0 against gnutls-2.6.6 and libgcrypt-1.4.4, installed it, set LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH and ran ldconfig, so it appears to work now. --

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread Brett Nemeroff
Make sure that it's actually listening on that port. On a typical linux, you can issue netstate -nlp and get an idea of whos listening where.. I had a similar issue where the interface was on the loopback instead of the main IP address I was expecting.. -Brett On Tue, Mar 30, 2010 at 5:55 AM,

Re: [OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Andrew Pogrebennyk
There is another problem I am working on now - some issue with MySQLdb, however dsn in config.ini is correct: # /usr/local/bin/openxcap --no-fork Starting OpenXCAP 1.1.2 xcap.server.HTTPFactory starting on 443 TLS started error: Traceback (most recent call last): error: File

Re: [OpenSIPS-Users] How to save seceive ip in location?

2010-03-30 Thread Andrew Pogrebennyk
On 30.03.2010 15:49, CheeWii wrote: Now I used Opensips as a sip sms gateway. I used save(location) to store the register information. However, when my client is behind NAT,opensips will relay MESSAGE to an private ip address. It just as 192.168.111.100. Just use fix_nated_register():

[OpenSIPS-Users] Control Pane 4.0 and MDB2_Error

2010-03-30 Thread Karl Harris
I have two boxes I am trying to install opensips-cp 4.0 on. Both are running Ubuntu 8.04 LTS. I have followed the instructions on the INSTALL file included with the cp 4.0 but when I try to login the web interfaces using admin/admin I get the following error: *Fatal error*: Call to undefined

Re: [OpenSIPS-Users] OpenXCAP on CentOS dies with segmentation fault

2010-03-30 Thread Andrew Pogrebennyk
On 30.03.2010 16:37, Andrew Pogrebennyk wrote: error: exceptions.TypeError: 'reconnect' is an invalid keyword argument for this function Problem solved by switching to MySQL-python-1.2.1_p2. -- Sincerely, Andrew Pogrebennyk ___ Users mailing list

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread brianpocock
I've used: netstat -nlp | grep sip, this was the result udp0 0 *.*.*.*:5060 0.0.0.0:* 28323/opensips #PUBLIC ADDRESS udp0 0 192.168.1.2:50600.0.0.0:* 28323/opensips #PRIVATE

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread Brett Nemeroff
The management interface won't be on 5060 (well.. very unlikely). netstat -nlp|grep opensips would be more insightful. :) ie: what's opensips listening on. According to the docs, the default port should be 8080. I'm not sure what IP it listens on. I see in the 1.6 docs that it specifically says

Re: [OpenSIPS-Users] drouting question

2010-03-30 Thread Andrew Pogrebennyk
On 26.03.2010 12:30, Bogdan-Andrei Iancu wrote: the module extracts the FROM uri from the original message, so it will not see your change on the from hdr. Interesting.. I will have to re-check it but I think that it worked for me in the past for a similar purpose: # validate based on

Re: [OpenSIPS-Users] drouting question

2010-03-30 Thread Brett Nemeroff
I do something similar to this.. Here's how... 1. Make a new table of IP to route group. 2. On opensips startup, have it load that key value pair into memcache 3. when a call comes in, toss $si (or $fD or whatever) against the memcache key/value pair to return a route group and then pass THAT to

Re: [OpenSIPS-Users] opensips crash

2010-03-30 Thread Bogdan-Andrei Iancu
Daniel Ribeiro wrote: Hi Bogdan, According to file: if (t-on_branch) { /* need to pkg_malloc the dst_uri */ if ( request-dst_uri.len ) { if ( (p=pkg_malloc(request-dst_uri.len))==0 ) { LM_ERR(no more pkg mem\n);

[OpenSIPS-Users] Conflicting info for q-value order

2010-03-30 Thread Brett Nemeroff
Hi All, I'm trying to figure out an issue with q-values on 302 redirects. I'm being told that I'm following q-values wrong on a 302. OpenSIPs is delivering to a URI with a q-value of 0.25 before a q-value of 0.5. From the RFC: As the target set grows, the client MAY generate new requests to

Re: [OpenSIPS-Users] Control Pane 4.0 and MDB2_Error

2010-03-30 Thread Karl Harris
Thanks for the reply - db.inc.php was the problem - I had not set the db password there. On Tue, Mar 30, 2010 at 10:54 AM, Alex Ionescu a...@opensips.org wrote: Hi, This sounds like you did not install pear-MDB2. Check if you have MDB2 installed and if config/db.inc.php is properly

Re: [OpenSIPS-Users] newbie question -- anyone have OpenSIPS working with an AVAYA PBX?

2010-03-30 Thread Christian Vo
Thanks for the help, Without access to our Avaya CM, I've tried to implement the following rules in my config (as per the nice book Building Telephony Systems with OpenSIPS) (see below) After restart of the Opensips server , and fixing a few things... I can see the following in the

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread brianpocock
The only thing that I can see opensips is listening on is those three interfaces/port? Thanks -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4826273.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

Re: [OpenSIPS-Users] Control Panel: Can't login

2010-03-30 Thread Brett Nemeroff
Do you have the mi_xmlrpc module loaded? :) http://www.opensips.org/html/docs/modules/1.6.x/mi_xmlrpc.html On Tue, Mar 30, 2010 at 1:22 PM, brianpocock briankeithja...@googlemail.com wrote: The only thing that I can see opensips is listening on is those three interfaces/port? Thanks --

[OpenSIPS-Users] Presence and Linksys phones - not working 1.6.1

2010-03-30 Thread James Lamanna
Hi, I'm trying to get presence (BLF) working with some Linksys 942 phones. I've noticed that I get the error, handle_subscribe: Missing or unsupported event header field value I did a trace and the phone is trying to subscribe to the x-spa-cti event. Is there a way to support/fix this? Is there

Re: [OpenSIPS-Users] Presence and Linksys phones - not working 1.6.1

2010-03-30 Thread James Lamanna
Sorry, I realized I had a configuration error on my phone, but the presence still does not work. The phone now subscribes to the event: dialog. Here are relevant parts of my opensips config: modparam(presence, server_address, sip:s...@xxx.xxx.xxx.xxx:5060) modparam(presence, expires_offset, 10)

Re: [OpenSIPS-Users] Presence and Linksys phones - not working 1.6.1

2010-03-30 Thread Andrew Pogrebennyk
James, Are you using pua_dialoginfo to get device state? If so are you telling the dialog module to monitor the interesting dialogs and calling dialoginfo_set()? Note that once you get this working you will likely need this fix: