[OpenSIPS-Users] Getting Error when using STUN

2010-05-17 Thread Ahmed Munir
Hi, I'm getting and error when I configure STUN in OpenSIPs. As following documentation of OpenSIPs, I enabled stun as listed below; listen=udp:198.65.166.165:5060 listen=udp:75.101.138.128:5060 loadmodule stun.so # Stun modparam(stun,primary_ip,198.65.166.165)

[OpenSIPS-Users] opensips running on 2 NIC's

2010-05-17 Thread Indiver
Hi Everyone, I had two network interfaces eth0 and eth1. I configured eth0 to listen public IP and eth1 to listen on private IP. My question is how to configure opensips in order to listen on both interfaces. I configured in opensips cfg as follows listen=udp:public IP [eth0] alias=udp:private

[OpenSIPS-Users] Music on Hold without RTPProxy

2010-05-17 Thread Paris Stamatopoulos
Hello everyone, I feel that lately I've been a pain in the ass for this mailing list but hey, I need to ask someone :) Ok here goes, I've went through the documentation and seen that it is possible to inject music on hold on the On-Hold Re-Invite, via the RTPproxy. My case is however, that I

Re: [OpenSIPS-Users] Music on Hold without RTPProxy

2010-05-17 Thread vallimamod abdullah
Hello Paris, On Monday 17 May, 2010, at 9:41 AM, Paris Stamatopoulos wrote: Hello everyone, I feel that lately I've been a pain in the ass for this mailing list but hey, I need to ask someone :) Ok here goes, I've went through the documentation and seen that it is possible to inject

Re: [OpenSIPS-Users] opensips running on 2 NIC's

2010-05-17 Thread vallimamod abdullah
Hello Indiver, On Monday 17 May, 2010, at 8:18 AM, Indiver wrote: Hi Everyone, I had two network interfaces eth0 and eth1. I configured eth0 to listen public IP and eth1 to listen on private IP. My question is how to configure opensips in order to listen on both interfaces. I

Re: [OpenSIPS-Users] Music on Hold without RTPProxy

2010-05-17 Thread Paris Stamatopoulos
Hello! Well I have to say that I got so mixed up that I didn't even check to see if the Re-INVITE was sent to the asterisk. I had musiconhold classes configured wrong, and I was not getting the On-Hold message in the cli! Sorry about that and thanks for making me look the right way :)

[OpenSIPS-Users] How to reset load in load_balancer module

2010-05-17 Thread Santi Anton
Hi, I'm doing some basic tests with load_balancer module and, when a gateway fails, the failover (mode 2) works well, but the problem is that when the gateway is working again, the load value is the same than before the gateway failure occurs, but now there isn't any ongoing call. I know that

Re: [OpenSIPS-Users] opensips running on 2 NIC's

2010-05-17 Thread Indiver
Hi Abdullah, Thanks for your response. I tried the solution mentioned in ur post ,but no luck. I even tried to listen the two interfaces on starting opensips by using -l option. But nothing went right for me. Regards, Indiver -- View this message in context:

[OpenSIPS-Users] how to use DB_HTTP modue ?

2010-05-17 Thread samoh
Hi everyone, I already posted a message about of how to use db but I did not have concrete answers, all those who responded to me told me to see the documentation of this module but after reading the documentation several time I can't manage to understand how it works, if someone already used

[OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread samoh
Hi everyone, I already posted a message about of how to use db but I did not have concrete answers, all those who responded to me told me to see the documentation of this module but after reading the documentation several time I can't manage to understand how it works, if someone already used

Re: [OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread Andrei Dragus
Hi, This module was designed to act as a database module, if you want to use it to exchange data with a server you have to work around this. The q variable represents a raw query. Its name cannot be changed, but you can give it any value. You can use the avpops module like this to retrieve

Re: [OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread samoh
Hi Andrei, Thank you for your fast reply. now I understand better. In the documentation of this module, I see : k= Describes the keys (columns) that will be used for comparison.Can have multiple values. op= Describes the operators that will be used for comparison.Can have

Re: [OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread Andrei Dragus
Hi, You cannot use these variables directly from script. Each module will use these variables if it needs to, they are only accessible from C-code directly. If you want, you can use the avp_db_load and avp_db_store functions and see what variables these use. I have the feeling that you are

[OpenSIPS-Users] New SIP SIMPLE client SDK release 0.14.2

2010-05-17 Thread Adrian Georgescu
Hello, SIP SIMPLE client SDK is now available as Debian package for the following Linux distributions: Debian Unstable (Sid) # AG Projects software deb http://ag-projects.com/debian unstable main deb-src http://ag-projects.com/debian unstable main Debian Stable (Lenny) # AG Projects

Re: [OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread samoh
Hi, I understand that this module isn't intended to be used to share variables with PHP? I want to use this module to use a php script to process each call If I do this: avp_db_query(select something from table, $avp(i:986)); can I retrieve the results on my $avp(i:986) ? What I must have

Re: [OpenSIPS-Users] How to reset load in load_balancer module

2010-05-17 Thread Bogdan-Andrei Iancu
Hi Santi, You cannot reset the load of the LB module in a direct way - the only way to do it is to force termination of the ongoing calls (known to LB module) - you can do this via the dlg_end_dlg MI command from dialog module. See:

Re: [OpenSIPS-Users] opensips running on 2 NIC's

2010-05-17 Thread Bogdan-Andrei Iancu
Hi, are you saying that: listen=udp:pub_ip:5060 listen=udp:priv_ip:5060 does not work for you ?? have you enabled forking mode (fork=yes param) ? Regards, Bogdan Indiver wrote: Hi Abdullah, Thanks for your response. I tried the solution mentioned in ur post ,but no luck. I even tried to

Re: [OpenSIPS-Users] how to use DB_HTTP module ?

2010-05-17 Thread Andrei Dragus
I understand that this module isn't intended to be used to share variables with PHP? No, this was not the purpose of this module. I want to use this module to use a php script to process each call If I do this: avp_db_query(select something from table, $avp(i:986)); can I retrieve

Re: [OpenSIPS-Users] SIP Presence Aggregation Issue

2010-05-17 Thread Bogdan-Andrei Iancu
Hi Iñaki, No worry, no rudeness felt ;) I guess everybody feels a bit (or more) frustrated about the current SIMPLE situation. I'm really interested to see the outcome of your specs - my question is (assuming that from tech point of view, it is a good approach), how do you foresee the wide

Re: [OpenSIPS-Users] OpenSIPS announcement pstn

2010-05-17 Thread Bogdan-Andrei Iancu
Hi guys, an idea will be to use the b2bua module in OpenSIPS to send first the call to an announcement server (asterisk, yate, freeswitch, sems) and when getting a BYE to create a new call leg to the final destination (the PSTN GW). That is a simple scenario with a b2bua script -

Re: [OpenSIPS-Users] opensips alwaysreturning 404

2010-05-17 Thread Bogdan-Andrei Iancu
Hi, try doing it step by step - first call between 2 sip users - register them to your proxy (use opensipsctl ul show to see the registered accounts) - if you get a 404 when dialing from user A to user B, it means user B is not registered with the system. Regards, Bogdan Aditya Kumar wrote:

Re: [OpenSIPS-Users] Getting Error when using STUN

2010-05-17 Thread Bogdan-Andrei Iancu
Hi Ahmed, in stun module, you need to configure IPs that are local to your server - some of these IP can be also configured as listeners for SIP traffic in OpenSIPS. the error you get points to the fact you are using an IP that is not locally configured on the machine. Regards, Bogdan Ahmed

Re: [OpenSIPS-Users] SIP Presence Aggregation Issue

2010-05-17 Thread Adrian Georgescu
The specs may lack but the real problem is adoption in the real world. Most of the SIMPLE implementations are happening behind closed doors and are driven by IMS like deployments that have not come to term yet. The number of these implementations grown steadily if you get the statistics from

Re: [OpenSIPS-Users] re : opensips as a SIP AS..

2010-05-17 Thread jignesh gandhi
Thanks for pointing me in the right direction. Appreciate it. I will give it a try with B2BUA .. thanks, --Jignesh From: Bogdan-Andrei Iancu bog...@voice-system.ro To: OpenSIPS users mailling list users@lists.opensips.org; jhgan...@yahoo.com Sent: Mon, May 17,

[OpenSIPS-Users] re : OpenSIPs

2010-05-17 Thread jignesh gandhi
Hello, I have put your reply below... Here are my comments... I was not attempting to use OpenSIPS as a PROXY as I am well aware of what a PROXY can and can't do,  but was looking to perform one of the functionalities of a SIP AS ( in an IMS ). No where in my question did I mention PROXY, I