[OpenSIPS-Users] Help please - OpenSIPS Runtime Errors

2009-01-05 Thread Khan Friend
Hello everyone,

I am having runtime errors in OpenSIPS, I have tried to locate the root of
the problem but being newbee I'm confused where does the problem lies. I
have Debian running with OpenSIPS, Asterisks, RTPproxy, MySQL database
running.

I have debian machine running all those servers, when i do ifconfig i get
following response:

eth0  Link encap:UNSPEC  HWaddr
00-60-1D-00-00-00-05-B2-00-00-00-00-00-00-00-00
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:18984 (18.5 KiB)

eth1  Link encap:Ethernet  HWaddr 00:c0:49:63:64:a0
  inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::2c0:49ff:fe63:64a0/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:22591 errors:0 dropped:0 overruns:0 frame:0
  TX packets:22471 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:8050374 (7.6 MiB)  TX bytes:3810685 (3.6 MiB)
  Interrupt:169 Base address:0xd800

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:7184 errors:0 dropped:0 overruns:0 frame:0
  TX packets:7184 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:3347190 (3.1 MiB)  TX bytes:3347190 (3.1 MiB)


when i register my X-lite within the network it registers fine. when i look
in log i see error

Jan  5 20:38:15myosips[5021]: ERROR:core:forward_reply: no 2nd via found in
reply

I tried changing script many ways, finally i put a simple script but still
facing same problem. Can somone tell me where is the problem.

some of the things i see as problem is listed below but complet log is
attached.

###

Jan  5 20:37:17myosips[5017]: DBG:core:db_do_init: connection 0x819ed30 not
found in pool
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_new_connection: opening
connection: mysql://:x...@localhost/opensips
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_new_connection:
connection type is Localhost via UNIX socket
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_new_connection: protocol
version is 10
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_new_connection: server
version is 5.0.75-1
Jan  5 20:37:17myosips[5017]: DBG:core:db_new_result: allocate 28 bytes for
result set at 0x819edf0
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_get_columns: 1 columns
returned from the query
Jan  5 20:37:17myosips[5017]: DBG:core:db_allocate_columns: allocate 4 bytes
for result names at 0x819ee18
Jan  5 20:37:17myosips[5017]: DBG:core:db_allocate_columns: allocate 4 bytes
for result types at 0x819ee28
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_get_columns: allocate 8
bytes for RES_NAMES[0] at 0x819ee38
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x819ee38)[0]=[table_version]
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_get_columns: use DB_INT
result type
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_convert_rows: allocate 8
bytes for rows at 0x819ee48
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_convert_row: allocate 20
bytes for row values at 0x819ee58
Jan  5 20:37:17myosips[5017]: DBG:db_mysql:db_mysql_str2val: converting INT
[6]


Jan  5 20:38:15myosips[5021]: DBG:core:parse_msg: SIP Request:
Jan  5 20:38:15myosips[5021]: DBG:core:parse_msg:  method:  
Jan  5 20:38:15myosips[5021]: DBG:core:parse_msg:  uri: 

Jan  5 20:38:15myosips[5021]: DBG:core:parse_msg:  version: 
Jan  5 20:38:15myosips[5021]: DBG:core:parse_headers: flags=2
Jan  5 20:38:15myosips[5021]: DBG:core:parse_via_param: found param type
232,  = ; state=6
Jan  5 20:38:15myosips[5021]: DBG:core:parse_via_param: found param type
235,  = ; state=17
Jan  5 20:38:15myosips[5021]: DBG:core:parse_via: end of header reached,
state=5
Jan  5 20:38:15myosips[5021]: DBG:core:parse_headers: via found, flags=2
Jan  5 20:38:15myosips[5021]: DBG:core:parse_headers: this is the first via
Jan  5 20:38:15myosips[5021]: DBG:core:receive_msg: After parse_msg...
Jan  5 20:38:15myosips[5021]: DBG:core:receive_msg: preparing to run routing
scripts...
Jan  5 20:38:15myosips[5021]: DBG:core:parse_headers: flags=100
Jan  5 20:38:15myosips[5021]: DBG:core:parse_to: end of header reached,
state=10
Jan  5 20:38:15myosips[5021]: DBG:core:parse_to: display={}, ruri={sip:
domain.com}
Jan  5 20:38:15myosips[5021]: DBG:core:get_hdr_field:  [22]; uri=[sip:
domain.com]
Jan  5 20:38:15myosips[5021]: DBG:core:get_hdr_field: to body [^M ]
Jan  5 20:38:15myosips[5021]: DBG:core:get_hdr_field: cseq : <10

Re: [OpenSIPS-Users] moving openser 1.2 to Opensips

2009-01-05 Thread Khan Friend
I would be interested in tutorial too, please keep me updated.

-- 
Thank you,


Khan

On Mon, Jan 5, 2009 at 5:22 AM, Asim Riaz  wrote:

> Hi Bogdan,
> could you please explain me what is involve in the migration from openser
> 1.2 to opensips or send me link.
>
> Thanks,
> Asim
>
> On Mon, Jan 5, 2009 at 11:16 AM, Bogdan-Andrei Iancu <
> bog...@voice-system.ro> wrote:
>
>> Hi Asim,
>>
>> Sure it is possible - I was planing to write down a migration
>> tutorial.
>>
>> Regards,
>> Bogdan
>>
>> Asim Riaz wrote:
>>
>>>
>>>
>>>
>>> Hi,
>>> could anyone advice me,  if its possible to move from openser 1.2 to
>>> opensips ?
>>>
>>>
>>> Thanks in Advance.
>>>
>>> -Asim
>>>
>>> 
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread Adrian Georgescu

I updated the Installation guide here:

http://openxcap.org/wiki/Installation

Regards,
Adrian


On Jan 5, 2009, at 7:11 PM, J Santos wrote:


Thank you Adrian,


I downloaded the package but I don't know how to install / load it.

I couldn't find enough information in the package or in the archive.

Is there any documentation available ?

-- JS

-Original Message-
From: Adrian Georgescu [mailto:a...@ag-projects.com]
Sent: Monday, January 05, 2009 9:30 AM
To: J Santos
Cc: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] opensips on centos 64

You can use the RPC proxy instead of the bultin xmlrpc server, which  
is not reliable as is freezing out of the blue. You need to install  
Python for it.


Your can find the proxy it here:

openser-mi-proxy-1.0.0.tar.gz

Adrian


On Jan 5, 2009, at 6:21 PM, J Santos wrote:

There is no such package available in my system. That's why I am  
trying to

build it from rpm source without success.

J. Santos








-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro]
Sent: Monday, January 05, 2009 3:16 AM
To: J Santos
Cc: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] opensips on centos 64


Hi,

Try using the xmlrpc-c3 package available on your system (whatever
version it is) and ignore the compile warning from the
mi_xmlrpc module.

Regards,
Bogdan

J Santos wrote:

I am retrying this so may be someone out there could kindly take a
look and provide me some directions.

I am using Centos 64 and I am having difficulties to make

xmlrpc-c to

work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to
create a rpm from rpm-source.

When rpmbuild -ba xmlrpc.spec  I am getting 'machine x86_64 is not
recognized'.

Does anybody out there succesfully installed opensips in a 64 bit
machine ?

thanks

Jair Santos








--

--

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release
Date: 1/3/2009 2:14 PM




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release Date:  
1/3/2009 2:14 PM




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread J Santos
Nope,

When I try to start opensips I got the following on /var/log/messages

Jan  5 10:39:54 localhost opensips: ERROR:core:set_mod_param_regex: no
module matching mi_xmlrpc found |
Jan  5 10:39:54 localhost opensips: CRITICAL:core:yyerror: parse error in
config file, line 191, column 22-23: Can't set module parameter
Jan  5 10:39:54 localhost opensips: ERROR:core:main: bad config file (1
errors)


On opensips.cfg I have modparam("mi_xmlrpc", "port", 8080) uncommented, so
it is not finding the module.

I've been trying to build it from rpm source but I am getting errors like

 rpmbuild -ba SPECS/xmlrpc-c.spec 

checking host system type... Invalid configuration
`x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized

checking build system type... Invalid configuration
`x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized

Thanks

JS

> -Original Message-
> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
> Sent: Monday, January 05, 2009 10:30 AM
> To: J Santos
> Cc: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] opensips on centos 64
> 
> 
> Not even the newest versions of libxmlrpc-c3?
> 
> Regards,
> Bogdan
> 
> J Santos wrote:
> > There is no such package available in my system. That's why I am 
> > trying to build it from rpm source without success.
> >
> > J. Santos
> >
> >
> >  
> >  
> >  
> >
> >
> >   
> >> -Original Message-
> >> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro]
> >> Sent: Monday, January 05, 2009 3:16 AM
> >> To: J Santos
> >> Cc: users@lists.opensips.org
> >> Subject: Re: [OpenSIPS-Users] opensips on centos 64
> >>
> >>
> >> Hi,
> >>
> >> Try using the xmlrpc-c3 package available on your system (whatever
> >> version it is) and ignore the compile warning from the 
> >> mi_xmlrpc module.
> >>
> >> Regards,
> >> Bogdan
> >>
> >> J Santos wrote:
> >> 
> >>> I am retrying this so may be someone out there could 
> kindly take a 
> >>> look and provide me some directions.
> >>>  
> >>> I am using Centos 64 and I am having difficulties to make
> >>>   
> >> xmlrpc-c to
> >> 
> >>> work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to
> >>> create a rpm from rpm-source.
> >>>  
> >>> When rpmbuild -ba xmlrpc.spec  I am getting 'machine 
> x86_64 is not 
> >>> recognized'.
> >>>  
> >>> Does anybody out there succesfully installed opensips in a 64 bit 
> >>> machine ?
> >>>  
> >>> thanks
> >>>  
> >>> Jair Santos
> >>>  
> >>>  
> >>>
> >>>  
> >>>
> >>>  
> >>>
> >>>   
> >> 
> -
> >> -
> >> 
> >>> --
> >>>
> >>> ___
> >>> Users mailing list
> >>> Users@lists.opensips.org
> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >>>   
> >>>   
> >> No virus found in this incoming message.
> >> Checked by AVG - http://www.avg.com
> >> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
> >> Date: 1/3/2009 2:14 PM
> >>
> >> 
> >
> >
> >   
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
> Date: 1/5/2009 9:44 AM
> 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] modparam("mi_xmlrpc", "port", 8080)

2009-01-05 Thread Bogdan-Andrei Iancu
When you try to load the module, what is the error you get?

Regards,
Bogdan

J Santos wrote:
> Thanks
>
> I am sure it is NOT loaded.
>
> J. Santos
>  
>  
>  
>
>
>   
>> -Original Message-
>> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
>> Sent: Monday, January 05, 2009 3:10 AM
>> To: J Santos
>> Cc: users@lists.opensips.org
>> Subject: Re: [OpenSIPS-Users] modparam("mi_xmlrpc", "port", 8080)
>>
>>
>> Hi,
>>
>> Are you sure the mi_xmlrpc module is loaded - check the 
>> messages before 
>> the error your reported. Maybe because some issues with 
>> linking to the 
>> libxmlrpc-c3 lib, the module is not loaded by the opensips core.
>>
>> Regards,
>> Bogdan
>>
>> J Santos wrote:
>> 
>>> Hello,
>>> I've been trying to compile opensips with libxmlrpc-c3. I installed
>>> version 1.10 because version < 1.06 doesn't support 64 bits 
>>>   
>> OS. I am 
>> 
>>> using CentoOS 64.
>>> The documentation says
>>> "if libxmlrpc-c3[-dev] package is not available on your system, you 
>>> may check if packages for your OS are not available on the 
>>> "xmlrpc-c"project ( http://xmlrpc-c.sourceforge.net/). 
>>>   
>> Otherwise you 
>> 
>>> need to install the library and devel headers from the sources. In 
>>> both cases, keep in mind to use the 0.9.10 version!!. "
>>> I read somewhere that versions later than 0.9.1.10 could be 
>>>   
>> used though.
>> 
>>> When recompiling opensips I got
>>> Makefile:49: You are using an unsupported libxmlrpc-c3 
>>>   
>> version (1.10), 
>> 
>>> compile at your own risk!
>>> and when starting it I got
>>> Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: 
>>>   
>> parse error 
>> 
>>> in config file, line 191, column 22-23: Can't set module parameter
>>> Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad 
>>>   
>> config file 
>> 
>>> (1 errors)
>>> Line 191 is
>>> modparam("mi_xmlrpc", "port", 8080)
>>> So my question is , how can I make version 0.9.1.0 work for 
>>>   
>> 64 bits OS 
>> 
>>> ? Or any other better option will be welcomed.
>>> Please help
>>> thanks
>>> Jair Santos
>>>
>>>
>>>
>>>   
>> --
>> 
>>> --
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org 
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>   
>>>   
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
>> Date: 1/3/2009 2:14 PM
>>
>> 
>
>
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread Bogdan-Andrei Iancu
Not even the newest versions of libxmlrpc-c3?

Regards,
Bogdan

J Santos wrote:
> There is no such package available in my system. That's why I am trying to
> build it from rpm source without success.
>
> J. Santos
>
>
>  
>  
>  
>
>
>   
>> -Original Message-
>> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
>> Sent: Monday, January 05, 2009 3:16 AM
>> To: J Santos
>> Cc: users@lists.opensips.org
>> Subject: Re: [OpenSIPS-Users] opensips on centos 64
>>
>>
>> Hi,
>>
>> Try using the xmlrpc-c3 package available on your system (whatever 
>> version it is) and ignore the compile warning from the 
>> mi_xmlrpc module.
>>
>> Regards,
>> Bogdan
>>
>> J Santos wrote:
>> 
>>> I am retrying this so may be someone out there could kindly take a
>>> look and provide me some directions.
>>>  
>>> I am using Centos 64 and I am having difficulties to make 
>>>   
>> xmlrpc-c to
>> 
>>> work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to 
>>> create a rpm from rpm-source.
>>>  
>>> When rpmbuild -ba xmlrpc.spec  I am getting 'machine x86_64 is not
>>> recognized'.
>>>  
>>> Does anybody out there succesfully installed opensips in a 64 bit
>>> machine ?
>>>  
>>> thanks
>>>  
>>> Jair Santos
>>>  
>>>  
>>>
>>>  
>>>
>>>  
>>>
>>>   
>> --
>> 
>>> --
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org 
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>   
>>>   
>> No virus found in this incoming message.
>> Checked by AVG - http://www.avg.com 
>> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
>> Date: 1/3/2009 2:14 PM
>>
>> 
>
>
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Patch to correct database detection in osipsconsole

2009-01-05 Thread Bogdan-Andrei Iancu
Hi,

Fixed!

Thanks and regards,
Bogdan

Joan wrote:
>> There's a problem in opensips when you're using mysql as the database
>> and you have no postgres installed. Adding a condition solves the
>> problem.
>> 
> Hi, good to see you've applied the patch, somehow I see in:
> http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/scripts/osipsconsole?sortby=date&r1=5118&r2=5117&pathrev=5118
>
> Ther's one line that has been duplicated altought the patch is right :O
>
> The line is ...
> &locate_tool('psql');
>
>   
>> Cheers
>>
>> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread Adrian Georgescu
You can use the RPC proxy instead of the bultin xmlrpc server, which  
is not reliable as is freezing out of the blue. You need to install  
Python for it.


Your can find the proxy it here:

openser-mi-proxy-1.0.0.tar.gz

Adrian


On Jan 5, 2009, at 6:21 PM, J Santos wrote:

There is no such package available in my system. That's why I am  
trying to

build it from rpm source without success.

J. Santos








-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro]
Sent: Monday, January 05, 2009 3:16 AM
To: J Santos
Cc: users@lists.opensips.org
Subject: Re: [OpenSIPS-Users] opensips on centos 64


Hi,

Try using the xmlrpc-c3 package available on your system (whatever
version it is) and ignore the compile warning from the
mi_xmlrpc module.

Regards,
Bogdan

J Santos wrote:

I am retrying this so may be someone out there could kindly take a
look and provide me some directions.

I am using Centos 64 and I am having difficulties to make

xmlrpc-c to

work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to
create a rpm from rpm-source.

When rpmbuild -ba xmlrpc.spec  I am getting 'machine x86_64 is not
recognized'.

Does anybody out there succesfully installed opensips in a 64 bit
machine ?

thanks

Jair Santos








--

--

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release
Date: 1/3/2009 2:14 PM




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread J Santos
There is no such package available in my system. That's why I am trying to
build it from rpm source without success.

J. Santos


 
 
 


> -Original Message-
> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
> Sent: Monday, January 05, 2009 3:16 AM
> To: J Santos
> Cc: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] opensips on centos 64
> 
> 
> Hi,
> 
> Try using the xmlrpc-c3 package available on your system (whatever 
> version it is) and ignore the compile warning from the 
> mi_xmlrpc module.
> 
> Regards,
> Bogdan
> 
> J Santos wrote:
> > I am retrying this so may be someone out there could kindly take a
> > look and provide me some directions.
> >  
> > I am using Centos 64 and I am having difficulties to make 
> xmlrpc-c to
> > work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to 
> > create a rpm from rpm-source.
> >  
> > When rpmbuild -ba xmlrpc.spec  I am getting 'machine x86_64 is not
> > recognized'.
> >  
> > Does anybody out there succesfully installed opensips in a 64 bit
> > machine ?
> >  
> > thanks
> >  
> > Jair Santos
> >  
> >  
> >
> >  
> >
> >  
> > 
> --
> > --
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org 
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >   
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
> Date: 1/3/2009 2:14 PM
> 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] modparam("mi_xmlrpc", "port", 8080)

2009-01-05 Thread J Santos
Thanks

I am sure it is NOT loaded.

J. Santos
 
 
 


> -Original Message-
> From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro] 
> Sent: Monday, January 05, 2009 3:10 AM
> To: J Santos
> Cc: users@lists.opensips.org
> Subject: Re: [OpenSIPS-Users] modparam("mi_xmlrpc", "port", 8080)
> 
> 
> Hi,
> 
> Are you sure the mi_xmlrpc module is loaded - check the 
> messages before 
> the error your reported. Maybe because some issues with 
> linking to the 
> libxmlrpc-c3 lib, the module is not loaded by the opensips core.
> 
> Regards,
> Bogdan
> 
> J Santos wrote:
> > Hello,
> > I've been trying to compile opensips with libxmlrpc-c3. I installed
> > version 1.10 because version < 1.06 doesn't support 64 bits 
> OS. I am 
> > using CentoOS 64.
> > The documentation says
> > "if libxmlrpc-c3[-dev] package is not available on your system, you 
> > may check if packages for your OS are not available on the 
> > "xmlrpc-c"project ( http://xmlrpc-c.sourceforge.net/). 
> Otherwise you 
> > need to install the library and devel headers from the sources. In 
> > both cases, keep in mind to use the 0.9.10 version!!. "
> > I read somewhere that versions later than 0.9.1.10 could be 
> used though.
> > When recompiling opensips I got
> > Makefile:49: You are using an unsupported libxmlrpc-c3 
> version (1.10), 
> > compile at your own risk!
> > and when starting it I got
> > Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: 
> parse error 
> > in config file, line 191, column 22-23: Can't set module parameter
> > Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad 
> config file 
> > (1 errors)
> > Line 191 is
> > modparam("mi_xmlrpc", "port", 8080)
> > So my question is , how can I make version 0.9.1.0 work for 
> 64 bits OS 
> > ? Or any other better option will be welcomed.
> > Please help
> > thanks
> > Jair Santos
> >
> >
> > 
> --
> > --
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org 
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >   
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.176 / Virus Database: 270.10.2/1873 - Release 
> Date: 1/3/2009 2:14 PM
> 


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Patch to correct database detection in osipsconsole

2009-01-05 Thread Joan
> There's a problem in opensips when you're using mysql as the database
> and you have no postgres installed. Adding a condition solves the
> problem.
Hi, good to see you've applied the patch, somehow I see in:
http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/scripts/osipsconsole?sortby=date&r1=5118&r2=5117&pathrev=5118

Ther's one line that has been duplicated altought the patch is right :O

The line is ...
&locate_tool('psql');

>
> Cheers
>

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Default policy for presence authorization

2009-01-05 Thread Juha Heinanen
Anca Vamanu writes:

 > It's a good idea and I think it is useful now since only very few 
 > clients support Xcap auth. I will put it on the todo list

if i remember correctly, it would have been easy to implement for
initial subscribes, but more difficult for in-dialog subscribes, because
there was no existing place to store info about presentity's xcap
capability.

-- juha

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] mediaproxy 2.3: reinvites' SDP not modified

2009-01-05 Thread Ruud Klaver
Hi Jeff,

On 29 Dec 2008, at 14:52, Jeff Pyle wrote:

> Hello,
>
> I have a fairly functional OpenSIPS + Mediaproxy 2.3 configuration.   
> Here’s the scenario:  Call comes in from carrier to customer’s fax  
> number, via OpenSIPS.  Call establishes at G.729, with proxied RTP  
> due to engage_media_proxy().  All is well.  The customer gateway  
> sends a reinvite for T.38.  The carrier sends a 200 OK and the call  
> goes to T.38.
>
> In the 200 OK that OpenSIPS forwards to the customer gateway, for  
> some reason the c= line in the SDP still has the carrier’s gateway.   
> Media is not proxied.
>
> I think in the past this hasn’t been an issue.  Obviously something  
> has changed, but I’m not sure what that might be.  What’s the best  
> way to debug this?
>
>
> Thanks,
> Jeff

Can you tell if the media relay is even contacted about this re- 
INVITE? Could you include the relevant parts of the dispatcher and  
relay logs please, so that we may analyze it?

Ruud Klaver
AG Projects
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] SIP URI for presence testing: al...@ag-projects.com

2009-01-05 Thread Adrian Georgescu

Hello,

For development and testing of presence clients and servers I setup a  
test SIP address. You can test by sending a SUBSCRIBE for event  
presence to sip:al...@ag-projects.com, you will receive NOTIFY  
messages back.


Alice's account has a random state generator that publishes state  
changes every minute. The PIDF contains Person, Device and Service  
with information like place-is, mood, notes and activities:


Subscribing to "sip:al...@ag-projects.com" for the presence event, at 
udp:85.17.186.7:5060


Received NOTIFY:

Presence for al...@ag-projects.com:
  Person id: tquafqbd
Timestamp: 2009-01-03 15:25:09
Note(en): You may worry about your hair-do today, but tomorrow  
much peanut butter will be sold.

Mood: neutral
Place information:
  Audio: ok
  Video: dark
  Text: uncomfortable
Time offset from UTC: 60 minutes
  ---
  Service id: curvcjxx
Timestamp: 2009-01-03 15:25:09
Status: closed
Contact: sip:al...@ag-projects.com
Relationship: self
  ---
  Device id: gcdzvwje
Timestamp: 2009-01-03 15:10:09
Note(en): Powered by ag-projects/sipclient-0.3.0-pjsip-1.0.1


I hope this is found useful.

Regards,
Adrian

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] MediaProxy

2009-01-05 Thread Ruud Klaver
Hi,

On 31 Dec 2008, at 22:52, subscriptions wrote:

> I have installed OpenSips and Mediaproxy on a Fedora 10 box.
> When running ./media-dispatcher I get an error in /var/log/messages
>
> <...>
> Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] AttributeError: / 
> usr/
> lib/libgnutls.so.26: undefined symbol:
> gnutls_srp_free_client_credentials
>
>
> I have 2.4.2 of gnutls installed.
>
> Thanks for any help.

I can think if two possible causes:

1) Your version of gnutls 2.4.2 is lacking some feature that was not  
included at compile time.
2) You have more than one version of gnutls installed and gnutls is  
using the system default one.

I think 2 is much more likely. Make sure you install gnutls 2.4.2 in / 
usr/lib, not e.g. /usr/local/lib.

Ruud Klaver
AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] setup openxcap

2009-01-05 Thread Adrian Georgescu
You must install the dependencies on your system. They are described  
here:


http://openxcap.org/wiki/Installation

Adrian


On Dec 24, 2008, at 7:05 PM, troxlinux wrote:



somebody in the list with a help..

Stopping OpenXCAP server: openxcap .
Starting OpenXCAP server: openxcap Traceback (most recent call last):
  File "/usr/local/bin//openxcap", line 41, in 
from xcap.logutil import start_log
  File "/usr/local/lib/python2.5/site-packages/xcap/logutil.py",  
line 4, in 

from twisted.web2 import responsecode
ImportError: No module named web2


--
rickygm
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Mediaproxy: problem with dns_check_interval

2009-01-05 Thread Ruud Klaver
Hi,

On 22 Dec 2008, at 16:39, mmarzu...@interfree.it wrote:

>
> Hi all.
> I have installed the Mediaproxy-2.3.1 version.
> In the syslog I noticed that every 60 seconds, i.e. every time that  
> there is the check in DNS if the SRV and A records for the  
> dispatcher have changed, there are this message:
>
>> Dec 22 16:01:52 opensips-lab media-relay[2951]:  
>> [twisted.names.dns.DNSDatagramProtocol (UDP)] Unhandled error in  
>> Deferred:
>> Dec 22 16:01:52 opensips-lab media-relay[2951]:  
>> [twisted.names.dns.DNSDatagramProtocol (UDP)] Traceback (most  
>> recent call last):
>> Dec 22 16:01:52 opensips-lab media-relay[2951]:  
>> [twisted.names.dns.DNSDatagramProtocol (UDP)] Failure:  
>> twisted.names.error.DNSServerError: > instance at 0x85872ec>
>
> What do this messages mean?
>
> Thanks in advance.
>
> Marzuola Matteo

It means the relay encountered some DNS error while trying to lookup  
the domain you specified in the config in order to find the  
dispatcher. However, Mediaproxy doesn't seem to catch this and display  
an error message describing it. It will be fixed in the next release,  
thanks for the report.

Ruud Klaver
AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] setup openxcap

2009-01-05 Thread Anca Vamanu
Hi rickygm,

I think you will bet a better reply if you post your question as a 
ticket on openxcap site: http://openxcap.org/report

regards,
Anca

troxlinux wrote:
>
> somebody in the list with a help..
>
> Stopping OpenXCAP server: openxcap .
> Starting OpenXCAP server: openxcap Traceback (most recent call last):
>   File "/usr/local/bin//openxcap", line 41, in 
> from xcap.logutil import start_log
>   File "/usr/local/lib/python2.5/site-packages/xcap/logutil.py", line 
> 4, in 
> from twisted.web2 import responsecode
> ImportError: No module named web2
>
>
> -- 
> rickygm
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Default policy for presence authorization

2009-01-05 Thread Anca Vamanu
Juha Heinanen wrote:
> Anca Vamanu writes:
>
>  > You must not set the force_active parameter - remove the line 
>  > modparam("presence_xml", "force_active", 1) from your configuration 
>  > file. Default value for it is 0 - meaning that the authorization state 
>  > is computed according to the rules in xcap documents and that in case no 
>  > rule is defined, the subscription will be in pending state.
>
> anca,
>
> it would have been nice if an avp could be used to determine if xcap
> should be used for the presentity of subscribe request.
>
> i once looked at the code, but it was difficult to implement.  so i eded
> up making a default xcap document for users whose UA does not support
> xcap.
>
> -- juha
>   
Hi Juha,

It's a good idea and I think it is useful now since only very few 
clients support Xcap auth. I will put it on the todo list

regards,
Anca

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Default policy for presence authorization

2009-01-05 Thread Juha Heinanen
Anca Vamanu writes:

 > You must not set the force_active parameter - remove the line 
 > modparam("presence_xml", "force_active", 1) from your configuration 
 > file. Default value for it is 0 - meaning that the authorization state 
 > is computed according to the rules in xcap documents and that in case no 
 > rule is defined, the subscription will be in pending state.

anca,

it would have been nice if an avp could be used to determine if xcap
should be used for the presentity of subscribe request.

i once looked at the code, but it was difficult to implement.  so i eded
up making a default xcap document for users whose UA does not support
xcap.

-- juha

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] BLF under OpenSIPS tutorial?

2009-01-05 Thread Anca Vamanu
Hi Yehavi,

The explication that Inaki gave about the errors that you see in the log 
is very good. It has to do with you restarting the server, cleaning pua 
table but not location table also.
But this is only related to pua_usrloc module.

The extracts from your configuration file are all right.  I hope that it 
is complete though and that you do have the processing needed in the 
main route:
- calling route processing for Notfies with event dialog;sla:

if (uri==myself) {

if(is_method("NOTIFY") && $hdr(event)=="dialog;sla")
route(2);

}


- calling 'bla_set_flag' when receiving Register messages from Polycom 
phones:

if (method=="REGISTER") {
if($hdr(User-Agent)=~ "PolycomSoundPointIP")
bla_set_flag();


regards,
Anca


Yehavi Bourvine wrote:
> I continue my attepmts to have some kind of BLF under OpenSIPS. At 
> first I would like OpenSIPS to store the presence information, thus I 
> am using the PUA_LOC features. Here are extracts from my config:
>  
> modparam("pua", "db_url", "mysql://openser:xx...@localhost/openser")
> modparam("pua_usrloc", "default_domain", "cc.huji.ac.il 
> ")
> modparam("pua_usrloc", "entity_prefix", "pres")
> modparam("pua_bla", "server_address", 
> "sip:s...@*/OPENsips-IP-address/*:5060")
> modparam("pua_bla", "default_domain", "cc.huji.ac.il 
> ")
> modparam("pua_bla", "header_name", "Sender")
> 
>  
> and then during the processing of SIP messages:
>  
> if(is_method("PUBLISH")) {
>  if($hdr(Sender)!= NULL) 
>handle_publish("$hdr(Sender)");
>  else
> handle_publish();
> t_release();
> }
> if( is_method("SUBSCRIBE")) {
>   handle_subscribe();
>   t_release();
> }
> if(is_method("NOTIFY")){
> bla_handle_notify();
> t_reply("200", "OK");
> t_release();")
> }
>  
> Now, when a Polycom-501 phone tries to publish its presence I get the 
> following error:
>  
>
> Dec 23 15:33:23 [2836] ERROR:pua:send_publish: New PUBLISH and no body 
> found- invalid request
>
> Dec 23 15:33:23 [2836] ERROR:pua_usrloc:ul_publish: while sending publish.
>
>  
> The presentity table is empty, but watchers/active_watchers seems to 
> have the other buddies that the phone would like to follow.
>  
> What causes this error and how can I overcome it?
>  
>   Thanks! __Yehavi:
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Default policy for presence authorization

2009-01-05 Thread Anca Vamanu
Iñaki Baz Castillo wrote:
> 2008/12/23 Kenneth Löfstrand :
>   
>> Hi
>> I have opensips with the presence module and openxcap installed and it
>> starts working pretty good. One thing I wonder though is regarding the
>> default policy for presence authorization, i.e what happens if alice
>> sends a subscribe request for bob's presence and bob hasn't declared a
>> presence authorization rule for alice? I expected the state to be
>> pending but it is actually approved and bob's presence information is
>> sent in a notify to alice.
>> 
>
> You must set "force_active = no" in some presence module.
>
>   
Hi,

You must not set the force_active parameter - remove the line 
modparam("presence_xml", "force_active", 1) from your configuration 
file. Default value for it is 0 - meaning that the authorization state 
is computed according to the rules in xcap documents and that in case no 
rule is defined, the subscription will be in pending state.

regards,
Anca

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Problem with Mediaproxy2.3.0 start

2009-01-05 Thread Ruud Klaver
Hi,

On 19 Dec 2008, at 17:52, mmarzu...@interfree.it wrote:

> When I try to run media-relay I have in the syslog:
>
>> Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Log opened.
>
>> Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Starting  
>> MediaProxy Relay 2.3.0
>
>> Dec 19 16:43:39 opensips-lab media-relay[13823]: [-] fatal error:  
>> failed to create MediaProxy Relay: Could not initialize the  
>> iptables 'nat' table. Missing kernel support or running without  
>> root priviliges.
>
> The version of my kernel is 2.6.18-6-686 and I run the command from  
> root.

Like the error message says, if you are running the relay as root, you  
are missing certain kernel features. Are you starting the relay with  
the provided init script? If not, you could try to "modprobe  
ip_tables". If your kernel does not support auto module loading, you  
could also try "modprobe iptable_nat". If any of these commands give  
errors, you should probably recompile your kernel to include the  
modules listed in the INSTALL file.

> Instead when I try to run media-dispatcher, I have:
>
>> Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Log opened.
>
>> Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Starting  
>> MediaProxy Dispatcher 2.3.0
>
>> Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] Twisted  
>> is using epollreactor
>
>> Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] fatal  
>> error: failed to create MediaProxy Dispatcher: missing or  
>> unreadable file: tls/dispatcher.crt
>
> But the file tls/dispatcher.crt there is in the subdirectory tls and  
> I try also to change the permission to read.
>
> Someone can help me?
>
> Thanks in advance.
>
> Marzuola Matteo

You should copy the tls directory to /etc/mediaproxy, just like the  
config file. Better yet, make your own certificates.

Ruud Klaver
AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] moving openser 1.2 to Opensips

2009-01-05 Thread Asim Riaz
Hi Bogdan,
could you please explain me what is involve in the migration from openser
1.2 to opensips or send me link.

Thanks,
Asim

On Mon, Jan 5, 2009 at 11:16 AM, Bogdan-Andrei Iancu  wrote:

> Hi Asim,
>
> Sure it is possible - I was planing to write down a migration tutorial.
>
> Regards,
> Bogdan
>
> Asim Riaz wrote:
>
>>
>>
>>
>> Hi,
>> could anyone advice me,  if its possible to move from openser 1.2 to
>> opensips ?
>>
>>
>> Thanks in Advance.
>>
>> -Asim
>>
>> 
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] moving openser 1.2 to Opensips

2009-01-05 Thread Bogdan-Andrei Iancu
Hi Asim,

Sure it is possible - I was planing to write down a migration tutorial.

Regards,
Bogdan

Asim Riaz wrote:
>
>
>
> Hi,
> could anyone advice me,  if its possible to move from openser 1.2 to 
> opensips ?
>
>
> Thanks in Advance.
>
> -Asim
>
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] opensips on centos 64

2009-01-05 Thread Bogdan-Andrei Iancu
Hi,

Try using the xmlrpc-c3 package available on your system (whatever 
version it is) and ignore the compile warning from the mi_xmlrpc module.

Regards,
Bogdan

J Santos wrote:
> I am retrying this so may be someone out there could kindly take a 
> look and provide me some directions.
>  
> I am using Centos 64 and I am having difficulties to make xmlrpc-c to 
> work. Version 0.9.1.10  doesn't work on 64 bits so I am trying to 
> create a rpm from rpm-source.
>  
> When rpmbuild -ba xmlrpc.spec  I am getting 'machine x86_64 is not 
> recognized'.
>  
> Does anybody out there succesfully installed opensips in a 64 bit 
> machine ?
>  
> thanks
>  
> Jair Santos
>  
>  
>
>  
>
>  
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Problem Starting Openser

2009-01-05 Thread Bogdan-Andrei Iancu
Hi,

Have you followed 
http://www.opensips.org/index.php?n=Resources.DocsTsStart to 
troubleshoot your problem?

Regards,
Bogdan

ASHWINI NAIDU wrote:
> hi all,
>
>Happy New year to all of You
>
>
> Coming to the point. I am using Centos 5. I upgraded the 
> openser-1.2.2-tls to openser-1.3.4-tls. But i am not able to start the 
> openser using
>
> 1. /etc/init.d/openser start
>
> [r...@localhost /]# /etc/init.d/openser start
> Starting openser:
> [r...@localhost /]#
>
> it just shows Starting openser and quits.
>
> 2. /sbin/openser start
>
>   I am having the same problem as above.
>
> 3. /sbin/openserctl start
>
> it shows error
>
> database engine 'MYSQL' loaded
> Control engine 'FIFO' loaded
>
> INFO: Starting OpenSER :
>
> ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start 
> failed
>
>
> As per openser documents the files and paths are right in place.
>
> Thanks in Advance
> -- 
> Thanking You,
> Ashwini BR Naidu
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] moving openser 1.2 to Opensips

2009-01-05 Thread Asim Riaz
Hi,
could anyone advice me,  if its possible to move from openser 1.2 to
opensips ?


Thanks in Advance.

-Asim
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] modparam("mi_xmlrpc", "port", 8080)

2009-01-05 Thread Bogdan-Andrei Iancu
Hi,

Are you sure the mi_xmlrpc module is loaded - check the messages before 
the error your reported. Maybe because some issues with linking to the 
libxmlrpc-c3 lib, the module is not loaded by the opensips core.

Regards,
Bogdan

J Santos wrote:
> Hello,
> I've been trying to compile opensips with libxmlrpc-c3. I installed 
> version 1.10 because version < 1.06 doesn't support 64 bits OS. I am 
> using CentoOS 64.
> The documentation says
> "if libxmlrpc-c3[-dev] package is not available on your system, you 
> may check if packages for your OS are not available on the 
> “xmlrpc-c”project ( http://xmlrpc-c.sourceforge.net/). Otherwise you 
> need to install the library and devel headers from the sources. In 
> both cases, keep in mind to use the 0.9.10 version!!. "
> I read somewhere that versions later than 0.9.1.10 could be used though.
> When recompiling opensips I got
> Makefile:49: You are using an unsupported libxmlrpc-c3 version (1.10), 
> compile at your own risk!
> and when starting it I got
> Dec 31 11:45:43 localhost opensips: CRITICAL:core:yyerror: parse error 
> in config file, line 191, column 22-23: Can't set module parameter
> Dec 31 11:45:43 localhost opensips: ERROR:core:main: bad config file 
> (1 errors)
> Line 191 is
> modparam("mi_xmlrpc", "port", 8080)
> So my question is , how can I make version 0.9.1.0 work for 64 bits OS 
> ? Or any other better option will be welcomed.
> Please help
> thanks
> Jair Santos
>
>
> 
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Need help in configuring MediaProxy2

2009-01-05 Thread Ruud Klaver

On 19 Dec 2008, at 04:44, Juan Backson wrote:

> Hi,
>
> I am working on a configuration with both opensips and mediaproxy2  
> in one box and B2BUA in another box.  If both SIP clients connecting  
> to opensips are within NAT, then mediaproxy2 will proxy all the  
> media.  If a SIP client needs to make a PSTN call and if the SIP  
> client is within NAT, then mediaproxy will proxy the media between  
> the B2BUA and SIP client.
>
> I managed to get mediaproxy2 installed, thanks to all the help I got  
> from this list.  I also wrote a config.ini,but when I started ./ 
> media-relay or ./media-dispatcher, nothing happens.  How to I get  
> these two processes to start?
>
> Also, could someone help me to understand when to use media- 
> dispatcher or media-relay and how to set them up?  Where do I  
> specify the IP and port for my B2BUAs?
>
> I can't find much doc on MediaProxy2, so I am pretty stuck right  
> now.  If anyone can point me to a useful doc on how to get  
> MediaProxy running with opensips, I would greatly appreciate it.
>
> I worked with the old MediaProxy version based on the doc I found  
> from Google, but there seems to be relatively little info on how to  
> get MediaProxy running?
>
>
> Thanks in advance for all your help.
>
> Best Regards,
> JB

Did you read the README, INSTALL and config.ini.sample files that are  
included with Mediaproxy 2? There are big differences between  
Mediaproxy 1 and 2, and to configure and use it, it is essential that  
you grasp the concepts this software is based on. Please read it  
before asking any followup questions.

Ruud Klaver,
AG Projects

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] alias_db failing to look up alias for IP using multi_domain

2009-01-05 Thread Julian Yap
FYI, I have filed Bug ID: 2487485.

Direct link:
http://sourceforge.net/tracker/index.php?func=detail&aid=2487485&group_id=232389&atid=1086410

- Julian

On Sun, Jan 4, 2009 at 6:40 PM, Sergio Gutierrez  wrote:
> Hi Julian.
>
> Please post the bug report on the tracker, so that we can fix it.
>
> Thanks and regards.
>
> Sergio G.
>
> On Sun, Jan 4, 2009 at 11:31 PM, Alex Balashov 
> wrote:
>>
>> Aha.  Well, I guess it could make for an edifying bug report.
>>
>> Julian Yap wrote:
>>
>> > There are no config options in opensipsctlrc to be multi-domain aware
>> > so I would say that opensipsctl is broken in this respect.
>> >
>> > The relevant IF statement in opensipsctl only looks up the 'user'
>> > portion to check that it is unique:
>> > if is_value_in_db $DA_TABLE $DA_ALIAS_USER_COLUMN $TMP_OSIPSUSER; then
>> > minfo "$TMP_OSIPSUSER alias already in $DA_TABLE table"
>> > exit 0
>> > fi
>> >
>> > On Sun, Jan 4, 2009 at 6:11 PM, Alex Balashov
>> >  wrote:
>> >> I'm not sure if opensipsctl is broken in this respect or if you have to
>> >> make
>> >> it aware that you're doing multi-domain support via its config file.
>> >>  But
>> >> yes, when in doubt, manipulate the raw database.
>> >>
>> >> Julian Yap wrote:
>> >>
>> >>> I just tried manually inputting straight in to the DB and it works for
>> >>> me.
>> >>>
>> >>> I guess that solves my issue.
>> >>>
>> >>> Thanks,
>> >>> Julian
>> >>>
>> >>> On Sun, Jan 4, 2009 at 5:58 PM, Alex Balashov
>> >>> 
>> >>> wrote:
>>  Have you tried adding both combinations to the DB manually without
>>  using
>>  opensipsctl?
>> 
>>  On Jan 4, 2009, at 10:55 PM, "Julian Yap" 
>>  wrote:
>> 
>> > So my only solution is then pass through +18085551...@a.domain.com
>> > (which isn't feasible) or to disable multi-domain?
>> >
>> > Is there a way I can accept both +18085551...@a.domain.com and
>> > +18085551...@1.2.3.4?
>> >
>> > - Julian
>> >
>> > On Sun, Jan 4, 2009 at 5:50 PM, Alex Balashov
>> > 
>> > wrote:
>> >> Alias_db has a literal - not a virtual (i.e. uri == myself style,
>> >> aka
>> >> all
>> >> DNS aliases and locally homed IP interfaces) - approach to domains,
>> >> as
>> >> does
>> >> auth_db and others.
>> >>
>> >> One domain, and it must literally match the one in the RURI.
>> >>
>> >> Julian Yap wrote:
>> >>
>> >>> Using the alias_db module, if I look up an alias by the IP address
>> >>> as
>> >>> the domain, it doesn't work.  The alias table however does not let
>> >>> me
>> >>> add the alias as an IP address as well as a domain.
>> >>>
>> >>> Error message is: DBG:alias_db:alias_db_lookup: no alias found for
>> >>> R-URI
>> >>>
>> >>> Example settings:
>> >>> Server: a.domain.com
>> >>> IP of server: 1.2.3.4
>> >>>
>> >>> User: 1...@a.domain.com
>> >>>
>> >>> Alias: +18085551...@a.domain.com
>> >>>
>> >>> A call to +18085551...@1.2.3.4 fails when using
>> >>> alias_db_lookup("dbaliases");.
>> >>>
>> >>> I also can't add both aliases to the dbaliases table:
>> >>> # opensipsctl alias_db add +18085551...@1.2.3.4 1...@a.domain.com
>> >>> INFO: +18085551234 alias already in dbaliases table
>> >>>
>> >>> Thanks,
>> >>> Julian
>> >>>
>> >>> ___
>> >>> Users mailing list
>> >>> Users@lists.opensips.org
>> >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> >> --
>> >> Alex Balashov
>> >> Evariste Systems
>> >> Web: http://www.evaristesys.com/
>> >> Tel: (+1) (678) 954-0670
>> >> Direct : (+1) (678) 954-0671
>> >> Mobile : (+1) (678) 237-1775
>> >>
>> >>
>> >> --
>> >> Alex Balashov
>> >> Evariste Systems
>> >> Web: http://www.evaristesys.com/
>> >> Tel: (+1) (678) 954-0670
>> >> Direct : (+1) (678) 954-0671
>> >> Mobile : (+1) (678) 237-1775
>> >>
>>
>>
>> --
>> Alex Balashov
>> Evariste Systems
>> Web: http://www.evaristesys.com/
>> Tel: (+1) (678) 954-0670
>> Direct : (+1) (678) 954-0671
>> Mobile : (+1) (678) 237-1775
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
> Sergio Gutiérrez
>

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] MediaProxy

2009-01-05 Thread subscriptions
I have installed OpenSips and Mediaproxy on a Fedora 10 box.
When running ./media-dispatcher I get an error in /var/log/messages

Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] Log opened.
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] Starting MediaProxy  
Dispatcher 2.3.1
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] Traceback (most  
recent call last):
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/src/ 
mediaproxy-2.3.1/media-dispatcher", line 46, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
mediaproxy.dispatcher import Dispatcher
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/src/ 
mediaproxy-2.3.1/mediaproxy/dispatcher.py", line 34, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
mediaproxy.tls import X509Credentials, X509NameValidator
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/src/ 
mediaproxy-2.3.1/mediaproxy/tls.py", line 12, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from gnutls  
import crypto
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/crypto.py", line 11, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
gnutls.validators import method_args, one_of
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/validators.py", line 9, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
gnutls.constants import *
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/constants.py", line 38, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
gnutls.library import constants
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/library/__init__.py", line 7, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
gnutls.library import errors
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/library/errors.py", line 15, in 
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] from  
gnutls.library.functions import gnutls_strerror, gnutls_alert_get
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/site-packages/gnutls/library/functions.py", line 616, in  

Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]  
gnutls_srp_free_client_credentials = _libraries['libgnutls.so. 
26'].gnutls_srp_free_client_credentials
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/ctypes/__init__.py", line 361, in __getattr__
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] func =  
self.__getitem__(name)
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-]   File "/usr/lib/ 
python2.5/ctypes/__init__.py", line 366, in __getitem__
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] func =  
self._FuncPtr((name_or_ordinal, self))
Dec 31 13:51:40 sip9 media-dispatcher[16170]: [-] AttributeError: /usr/ 
lib/libgnutls.so.26: undefined symbol:  
gnutls_srp_free_client_credentials


I have 2.4.2 of gnutls installed.

Thanks for any help.


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Getting get_hdr_field: out of memory

2009-01-05 Thread Krunal Patel
Hi,

I am using openser 1.2.3 & mediaproxy 1.7.2 .
At present I am not in the state to upgrade to mediaproxy 2.0.
I have increased PKG_MEM_POOL_SIZE to 4MB.
Openser worked properly for 4 days since last restart.
I found get_hdr_field: out of memory for all messages.

I did openser restart & the issue is fixed now.

After that I have enabled memlog.
Here is the memory dump captured using kill -SIGHUP1 OPENSERPID.
Please help me out to interpret it.

http://pastebin.com/m39a6c204
http://pastebin.com/m518f27b7


Thanking you in Advance!

--
Krunal Patel
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users