Re: [OpenSIPS-Users] opensips - hiding interconnection information

2009-06-30 Thread DanB
Hi Julien, For such scenarios you would need a B2BUA ( I personally use B2bua.org but Yate, Freeswitch, Asterisk can do it too). One more concern with carrier traffic would be the SDP body, which can reveal information about the originator too. Cheers, DanB On Wed, Jul 1, 2009 at 7:08 AM, Julien

[OpenSIPS-Users] opensips - hiding interconnection information

2009-06-30 Thread Julien Chavanton
Hi, I have a business usage security concern. If we take this scenario : carrierA --SIP--> carrierB --SIP--> carrierC CarrierB may not want carrierC to find out about carrierA (IP address) I beleive "record-routing" and "via header" can provide unwanted information, any suggestion/options o

Re: [OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold

2009-06-30 Thread Dan Pascu
On 30 Jun 2009, at 19:11, Ruud Klaver wrote: >> 3) detect this special case and change existing conntrack to point to >> the MoH sever, putting it back later > > We actually considered implementing this, but not for this particular > scenario. Some modems seem to switch IP address every X hours.

Re: [OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold

2009-06-30 Thread Dan Pascu
On 30 Jun 2009, at 15:41, Stuart Marsden wrote: > Hi, > > I am testing a mediaproxy sever using 2.3.4 > > The tests I have done so far have worked, however there is one > scenario > where once the call has been setup a phone can generate Music on Hold > > It does this by making a 2nd call (unre

[OpenSIPS-Users] nathelper has_sdp?

2009-06-30 Thread Brett Nemeroff
hello all,I'm using the TLS version of opensips 1.5.1 I can't seem to find an actual source reference where has_sdp shows up. What module/version is this in? Docs show it in 1.5. -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensi

Re: [OpenSIPS-Users] LDAP Authentication

2009-06-30 Thread Gavin Henry
These are my points too and how I thought the auth should work. But you need some kind of mapping here for user dns etc. ? On 30/06/2009, Alan Rubin wrote: > Bogdan, > > I'm not an LDAP expert either, but I will try to explain the scenario > better. As you said, the LDAP bind is static - done on

Re: [OpenSIPS-Users] Help needed to change database RW user/password

2009-06-30 Thread Uwe Kastens
Hi, what kind of db are you using? Do you know how to change the password on your database backend? If so, you should use the same password for the user in your database and in the opensips config. BR Uwe srikanth R schrieb: > Hi, > > I have got my SIP proxy up and running, but I am able to

[OpenSIPS-Users] Help needed to change database RW user/password

2009-06-30 Thread srikanth R
Hi,   I have got my SIP proxy up and running, but I am able to work only with the username 'opensips' and the password 'opensipsrw'. When I change the username and password in opensipsctlrc file I get an error message saying access denied. I am not asure about which variables to comment out and

Re: [OpenSIPS-Users] ERROR:core:db_allocate_rows: no memory left - Please help

2009-06-30 Thread Bogdan-Andrei Iancu
Mani, Thanks for the feedback - I did the official backport to 1.5 also. Regards, Bogdan mani sivaraman wrote: > Great. I don't see that error any more after applying the patch. > Thanks > > On Mon, Jun 29, 2009 at 12:01 PM, Bogdan-Andrei Iancu > mailto:bog...@voice-system.ro>> wrote: > > H

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Bogdan-Andrei Iancu
To be honest, this happened to me also couple of times and I'm flirting with the idea to set the db_url to empty string in all the modulesbetter explicitly set them, rather smashing your head with things like this. Regards, Bogdan Gordon Ross wrote: > Yeah, I think that's a bad idea as wel

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Gordon Ross
Yeah, I think that's a bad idea as well. It would be much better, IMHO, if a DB URI is missing, for OpenSIPS to say that you've been a plonker and forgotten to set one, rather than leading you down a garden path. GTG From: users-boun...@lists.opensips.org

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Uwe Kastens
Hi Brett, good to know BR Uwe Brett Nemeroff schrieb: > Hey.. Ok I found the error and I feel like a complete idiot. I had > modules loaded without a db_url specified for it (one module's db_url > was missing). > > I think the whole idea of a "default db_url" is a mistake... that's my > perso

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Brett Nemeroff
Hey.. Ok I found the error and I feel like a complete idiot. I had modules loaded without a db_url specified for it (one module's db_url was missing). I think the whole idea of a "default db_url" is a mistake... that's my personal opinion. Thanks for helping me find this.. -Brett On Tue, Jun 30,

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Uwe Kastens
Hi Brett, Could be broken libs. I would start opensips with strace and look for errors. Which OS are you using? BR Uwe Brett Nemeroff schrieb: > Still can't connect :( What could I be doing wrong? I wonder if it's the > mysql client libs somehow?! > > Access-rights > for USER 'opensips', from

Re: [OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold

2009-06-30 Thread Stuart Marsden
3) detect this special case and change existing conntrack to point to the MoH sever, putting it back later Ruud Klaver wrote: How would you detect changes at SIP level in this case? The reason I'm asking is because the proper way your phone should deal with this is by sending a re-INVIT

Re: [OpenSIPS-Users] ERROR:core:db_allocate_rows: no memory left - Please help

2009-06-30 Thread mani sivaraman
Great. I don't see that error any more after applying the patch. Thanks On Mon, Jun 29, 2009 at 12:01 PM, Bogdan-Andrei Iancu < bog...@voice-system.ro> wrote: > Hi Mani, > > if this will make the testing easier, here is the patch you can apply > against 1.5. > > Regards, > Bogdan > > mani sivaram

Re: [OpenSIPS-Users] OpenSIPS-mediaproxy, Asterisk (packet2packet bridge) - problem with RTP

2009-06-30 Thread Ruud Klaver
Hi, On 29 Jun 2009, at 08:14, Dimitrios Giannakopoulos wrote: > Hi, > > I have implemented the following scenario: > > [incoming pstn]--->[opensips]-->[asterisk] --->[sip phone] > | > [outgoing pstn]<---[opensips]<--| > > Opensips acts as SB

Re: [OpenSIPS-Users] Parallel forking (using registrar branching) & mediaproxy

2009-06-30 Thread Ruud Klaver
Hi Erwan, On 15 Jun 2009, at 18:09, erwan.hu...@orange-ftgroup.com wrote: > Following your advice, i upgraded my platform to the following > architecture (including private IPs & NAT): > > x > TDMx x 10.0.100.2 > Phone 8003---x MGW 1

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Brett Nemeroff
Still can't connect :( What could I be doing wrong? I wonder if it's the mysql client libs somehow?! Access-rights for USER 'opensips', from HOST 'localhost', to DB 'opensips' +-+---+ +-+---+ | Select_priv | Y | | Lock_tables_priv | Y | |

[OpenSIPS-Users] [Webinar] Next webinar is "Routing is SIP"

2009-06-30 Thread Bogdan-Andrei Iancu
Hi, The next free webinar is scheduled for Wednesday 8th of July 2009. The topic is "Routing in SIP" This webinar will help you to understand SIP routing concepts. SIP routing is very often a misunderstood concept. It is essential for anyone trying to script OpenSIPS to fully understand these

Re: [OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold

2009-06-30 Thread Ruud Klaver
Hi Stuart, On 30 Jun 2009, at 14:41, Stuart Marsden wrote: > Hi, > > I am testing a mediaproxy sever using 2.3.4 > > The tests I have done so far have worked, however there is one > scenario > where once the call has been setup a phone can generate Music on Hold > > It does this by making a 2nd

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Uwe Kastens
Hmm, And you did change the host in the opensips url from localhost to 127.0.0.1? For a test change the 127.0.0.1 in the mysql to % and try again. And mabye change the password with update user set password=password("yourpassword") where user="opensips"; Your password entry looks like from a el

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Brett Nemeroff
Here is what I got:password too long? really? it's not that long.. mysqlaccess Version 2.06, 20 Dec 2000 By RUG-AIV, by Yves Carlier (yves.carl...@rug.ac.be) Changes by Steve Harvey (s...@vex.net) This software comes with ABSOLUTELY NO WARRANTY. Password for MySQL superuser root: Access-rights

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Uwe Kastens
Hi, Hmmm. - password to long Have you mysqlaccess on the system? This is how the output looks on my testsystem mysqlaccess localhost opensips opensips -U root -P mysqlaccess Version 2.06, 20 Dec 2000 By RUG-AIV, by Yves Carlier (yves.carl...@rug.ac.be) Changes by Steve Harvey (s...@vex.net)

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Brett Nemeroff
Yeah, it's in there. I'm really puzzled. This should be the easy part. ;) Any other ideas? On Tue, Jun 30, 2009 at 10:25 AM, Uwe Kastens wrote: > Hi, > > looks good for me. Did you reload mysql after grant or flush priv? > > Should be, otherwise you wont be able to connect via mysql client. >

Re: [OpenSIPS-Users] opensips+dispatcher+asterisk problem

2009-06-30 Thread ram
On Tue, Jun 30, 2009 at 5:20 PM, Bogdan-Andrei Iancu wrote: > Hi Ram, > > I found your email on the Asterisk mailing list also ;) > > So, to answer here also: do you get any reply back from Asterisk ? > Hi Bogdan thanks for the reply I have made a quick Fix, iam not sure how far its good. Jus

Re: [OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Uwe Kastens
Brett, Could you post your URL from your config please? 127.0.0.1 is not the same as localhost! BR Uwe > Hey all, > sorry for such a noob question here, but I just can't figure out what > I'm doing wrong.. I'm getting the error: > Jun 30 15:36:33 nguenj297 /usr/local/sbin/opensips[10159]: > ERR

[OpenSIPS-Users] mysql database connection error

2009-06-30 Thread Brett Nemeroff
Hey all,sorry for such a noob question here, but I just can't figure out what I'm doing wrong.. I'm getting the error: Jun 30 15:36:33 nguenj297 /usr/local/sbin/opensips[10159]: ERROR:db_mysql:db_mysql_new_connection: driver error(1045): Access denied for user 'opensips'@'localhost' (using password

[OpenSIPS-Users] src ip check on Register => Re: How to insert the IP address of user in radius request.

2009-06-30 Thread Uwe Kastens
Hi, this is the script part, that is doing the job. ATM just only logging loadmodule "avpops.so" # avpops modparam("avpops", "db_url","mysql://:x...@abcd.domain.de/testdb") if (method=="REGISTER") { if (!radius_www_authorize("")) { www_challenge("", "0"); exi

Re: [OpenSIPS-Users] How to insert the IP address of user in radius request.

2009-06-30 Thread Uwe Kastens
Hi, I am facing a similar situation. We need to verify that a REGISTER comes from the same srcip we have configured in our database. I am thinking about doing this by making a select into an AVP and verfying the value of the AVP with the $si. If this is successfull the UA would be saved into the l

[OpenSIPS-Users] Mediaproxy ver 2.3.4 - Conntrack meets Music on Hold

2009-06-30 Thread Stuart Marsden
Hi, I am testing a mediaproxy sever using 2.3.4 The tests I have done so far have worked, however there is one scenario where once the call has been setup a phone can generate Music on Hold It does this by making a 2nd call (unrelated to the first at the SIP level) and passes what it thinks is

Re: [OpenSIPS-Users] OpenSIPS user meeting ?

2009-06-30 Thread Bogdan-Andrei Iancu
Hi, bay2x1 wrote: > That is a brilliant idea, specially for people like me who won't be able to > travel to America or Europe to attend the boot camp, because of time and > financial constraints. May I also suggest that some sort of online > certification be offered for those who had taken the c

Re: [OpenSIPS-Users] database backend redundancy in opensips

2009-06-30 Thread Bogdan-Andrei Iancu
Hi Stefan, right now you can do this directly from OpenSIPS (as application) - but maybe using a proxy DB in front. But right now there is a new module under development to provide virtual DB URLs (for failover, balancing, parallel access to multiple DBs). It will be available in 1.6 in the ne

Re: [OpenSIPS-Users] opensips+dispatcher+asterisk problem

2009-06-30 Thread Bogdan-Andrei Iancu
Hi Ram, I found your email on the Asterisk mailing list also ;) So, to answer here also: do you get any reply back from Asterisk ? Regards, Bogdan ram wrote: > Hi all > > After a long iam back to forum > > back to my own topic and several readings done on this forum > how people doing same ki

Re: [OpenSIPS-Users] Registration and Loose-Route

2009-06-30 Thread Bogdan-Andrei Iancu
Hi Nathaniel, OpenSIPs gives you the 403 as it does not recognize itself in the Route hdr of the REGISTER. By adding the entry in the domain table, OpenSIPS will recognize its own SIP domains and it will validate the request. about the 401 - this is the normal step during the authentication pr

Re: [OpenSIPS-Users] SOLVED: Re: OpenSIPS 1.5.1 with Postgres

2009-06-30 Thread Bogdan-Andrei Iancu
Hi Gordon, historical reasons - the module was named "postgres" and changing the names of the module is not desirable. And the convention is to build the DB URLs with the name of the module (to specify the DB type to use) So, more or less we are stuck with POSTGRES :) Regards, Bogdan Gord

[OpenSIPS-Users] database backend redundancy in opensips

2009-06-30 Thread Stefan Tobé
Hi, does anybody know whether opensips supports redundant database backends? - if yes, how should that be configured? - If not supported, how could I achieve 'carrier grade' setup with (multiple) opensips servers? - does opensips support opendbx or is it going to do so? thanks Stefan

Re: [OpenSIPS-Users] [Open-sips]: Problem in message body of Notify

2009-06-30 Thread Anca Vamanu
Hi Shefali, I checked also and you are right. I have fixed this in trunk, 1.5.x and 1.4.x svn branch. Thanks and regards, Anca Shefali Dutta wrote: > > Hi, > > Open-sips is send Notify with MIME message body which seems to be > incorrect as per RFC. > > According to RFC 2046: > > “The boundar

[OpenSIPS-Users] opensips+dispatcher+asterisk problem

2009-06-30 Thread ram
Hi all After a long iam back to forum back to my own topic and several readings done on this forum how people doing same kind of setup what iam trying to achive so here i have done some good developements for testing iam doing all in one Server Step1 : Installed in Fresh BOX with Debian Aste

Re: [OpenSIPS-Users] 1.6 and mysql => crash Re: DIALOG not deleted on BYE

2009-06-30 Thread Bogdan-Andrei Iancu
Hi Uwe, I see the core was not generated, so no bt :(can you reproduce the crash? can you get a core file and a bt ? Thanks and regards, Bogdan Uwe Kastens wrote: > Bogdan, > > Sorry for bothering again. I tried the latest trunk from svn and > opensips is dying after accessing the mysql db.