Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection

2008-11-26 Thread Krunal Patel
Hi Kiste, I am just on my way to implement the same. At the moment I am planing a > kind of Mysql Master - Master together with one VIP for > Mysql-opensips-communication. So for your example you will have to > mysql-servers. opensips is connection to lets say to 192.168.1.4 which > points on one

[OpenSIPS-Users] opensips-cp cdrviewer

2008-11-26 Thread Andrew Yager
Hi, I'm working with opensips-cp and trying to get the cdrviewer to work. The acc table has the following structure: CREATE TABLE acc ( id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL, method VARCHAR(16) DEFAULT '' NOT NULL, from_tag VARCHAR(64) DEFAULT '' NOT NULL, t

Re: [OpenSIPS-Users] Fixing the Contact Header for NAT

2008-11-26 Thread Iñaki Baz Castillo
El Miércoles, 26 de Noviembre de 2008, Juan Backson escribió: > I am having a problem with using B2BUA -> Opensips -> xLite behind NAT.  > When the B2BUA sends back a 200OK, it is received by the SIP client behind > NAT, but the SIP client does not response properly with ACK when the xLite > is not

Re: [OpenSIPS-Users] MediaProxy can't Closing expired calls, 404 Requested Dialog not found

2008-11-26 Thread Dan Pascu
On Tuesday 25 November 2008, john li wrote: > Hi, > > I agree you opinion. but now the situation is that when i start a > call, there are one and only one dialog record in the table, and when i > end the call normally, the record disappear automatically. If you use engage_media_proxy() (and I ass

[OpenSIPS-Users] (no subject)

2008-11-26 Thread mmarzuola
Thanks for the help. Now the opensips-cp opens.In CDRViewer tool I can display information only in certain areas of the columns in the table cdrs. I have noticed that some fields such as Username Source, Domain Source and Destination does not exist between the columns of cdrs. My cdrs table has

[OpenSIPS-Users] Invoking 'failure_route[X]' when OpenSIPS replies [3456]XX by itself

2008-11-26 Thread Iñaki Baz Castillo
Hi, is possible to invoke 'failure_route[X]' after OpenSIPS has sent a negative reply by itself to the caller? In this case the reply would be sent to the caller but it would selected as final reply. Well, I expect this is not possible since 'failure_route' is just invoked when the final respon

Re: [OpenSIPS-Users] Invoking 'failure_route[X]' when OpenSIPS replies [3456]XX by itself

2008-11-26 Thread Iñaki Baz Castillo
El Miércoles, 26 de Noviembre de 2008, Iñaki Baz Castillo escribió: > Hi, is possible to invoke 'failure_route[X]' after OpenSIPS has sent a > negative reply by itself to the caller? In this case the reply would be > sent to the caller but it would selected as final reply. > > Well, I expect this i

[OpenSIPS-Users] Mediaproxy 2.1.0 on Red Hat/CentOS

2008-11-26 Thread John Quick
After installing a bunch of packages and libraries, media-dispatcher is almost running, but I get the following error: Log opened. Starting MediaProxy Dispatcher 2.1.0 Twisted is using selectreactor fatal error: failed to create MediaProxy Dispatcher: ASN1 parser: Element was not found. Traceb

Re: [OpenSIPS-Users] Invoking 'failure_route[X]' when OpenSIPS replies [3456]XX by itself

2008-11-26 Thread Brett Nemeroff
Why not just call a normal route after you send your negative reply?-Brett On Wed, Nov 26, 2008 at 9:49 AM, Iñaki Baz Castillo <[EMAIL PROTECTED]> wrote: > El Miércoles, 26 de Noviembre de 2008, Iñaki Baz Castillo escribió: > > Hi, is possible to invoke 'failure_route[X]' after OpenSIPS has sent

Re: [OpenSIPS-Users] Invoking 'failure_route[X]' when OpenSIPS replies [3456]XX by itself

2008-11-26 Thread Iñaki Baz Castillo
El Miércoles, 26 de Noviembre de 2008, Brett Nemeroff escribió: > Why not just call a normal route after you send your negative reply? Because I've already coded the needed logic in a failure_route that would be runned when a negative reply comes from the callee. But I want the same behaviour wh

Re: [OpenSIPS-Users] Invoking 'failure_route[X]' when OpenSIPS replies [3456]XX by itself

2008-11-26 Thread Brett Nemeroff
That's better than what I had in mind. :) I don't think that's too bad really.. Conforms with all the rules of what a failure route is for.. so I think that's a good way to do it. Just my $0.02 -Brett On Wed, Nov 26, 2008 at 10:29 AM, Iñaki Baz Castillo <[EMAIL PROTECTED]> wrote: > El Miércole

Re: [OpenSIPS-Users] Update dialog timeout and db extra columns

2008-11-26 Thread Bogdan-Andrei Iancu
Hi Giuseppe, Giuseppe Roberti wrote: > Hi. > > Is is possible to update timeout of already created dialog ? > How to do it ? Is it possible to add a dlg_update_timeout(seconds) > function ? > you can update the dialog timeout value from the script, when a sequential (in dialog) request passes

[OpenSIPS-Users] route

2008-11-26 Thread Raghavendra D P
Hi Route :, I am using oopensips 1.4 How to remove fist route information Thanks and Regards Raghavendra DP| Tech Mahindra 9/7, Hosur Road, Bangalore - 560 029, India * Office: +91 80 4024 3458 | Email: [EMAIL PROTECTED] www.techmahindra.com

Re: [OpenSIPS-Users] Opensips Control Panel

2008-11-26 Thread mmarzuola
Thanks for the help. Now the opensips-cp opens.In CDRViewer tool I can display information only in certain areas of the columns in the table cdrs. I have noticed that some fields such as Username Source, Domain Source and Destination does not exist between the columns of cdrs. My cdrs table has

Re: [OpenSIPS-Users] route

2008-11-26 Thread Alex Balashov
textops module. Raghavendra D P wrote: > > > Hi > > > > Route :, > > > > I am using oopensips 1.4 > > How to remove fist route information > > > > *Thanks and Regards* > > *Raghavendra DP**|** Tech Mahindra* > 9/7, Hosur Road, Bangalore – 560 029, India > > ( Office: +91 80

Re: [OpenSIPS-Users] Can a client survice a restart of openser

2008-11-26 Thread Bogdan-Andrei Iancu
Hi Ali, Is the client using TCP to connect to opensips? You need to identify a way the client finds out that openser restarted. Regards, Bogdan Ali Jawad wrote: > Hi > > I am using db_mode 2 but the users get logged off once I do a restart of the > daemon. > > With Regards > > Ali Jawad > >

Re: [OpenSIPS-Users] limiting multiple registrations

2008-11-26 Thread Bogdan-Andrei Iancu
Hi Jeff, removing the registration from the proxy is not a sane thing to do :) - you still have a client that thinks it is still registered. What you can do is to set max contacts to 2 and disable parallel forking in registrar (append_branch param -> 0). http://www.opensips.org/html/docs/mo

Re: [OpenSIPS-Users] NAT problem

2008-11-26 Thread Bogdan-Andrei Iancu
Hi Juan, I need to see the request part also to figure out if the flow through the NAT is ok or not. As a side note - could you check if the device behind the nat is actually receiving the 200 OK?. Because a typical reason for a missing ACK is a missing 200 OK. Another question - the device

Re: [OpenSIPS-Users] Opensips Control Panel

2008-11-26 Thread Dragos Oancea
Hi I just made some changes in the trunk to fix this issue. I decided to change some columns. Note you can play with what info to land in what column from opensips's configuration file. Check out the acc module. (http://www.opensips.org/html/docs/modules/1.4.x/acc.html) Cheers, Dragos [EMAIL

Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection

2008-11-26 Thread Uwe Kastens
Hi Krunal, > > I am just on my way to implement the same. At the moment I am planing a > kind of Mysql Master - Master together with one VIP for > Mysql-opensips-communication. So for your example you will have to > mysql-servers. opensips is connection to lets say to 192.168.1.4

Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection

2008-11-26 Thread Brett Nemeroff
Before doing this, I'd seriously consider the problems associated with master-master replication. um, I don't know what they are.. but I know they are real problems. Such as collisions in auto-incrementing data. -Brett On Wed, Nov 26, 2008 at 3:06 PM, Uwe Kastens <[EMAIL PROTECTED]> wrote: > Hi

Re: [OpenSIPS-Users] Update dialog timeout and db extra columns

2008-11-26 Thread Giuseppe Roberti
Bogdan-Andrei Iancu wrote: > Hi Giuseppe, > > > Giuseppe Roberti wrote: >> Hi. >> >> Is is possible to update timeout of already created dialog ? >> How to do it ? Is it possible to add a dlg_update_timeout(seconds) >> function ? >> > you can update the dialog timeout value from the script, wh

Re: [OpenSIPS-Users] Help!! How to do failover of mysql connection

2008-11-26 Thread Adrian Georgescu
Try use this settings: On master auto_increment_increment = 2 auto_increment_offset= 0 On slave auto_increment_increment = 2 auto_increment_offset= 1 This makes sure that auto-increments do not colide between master and slave so you can achieve switchover without conflicts because o

[OpenSIPS-Users] Multi-Leg accounting

2008-11-26 Thread Andrew Yager
Hi, You may be able to tell from all of my recent posts, I'm playing with accounting. :-) We're not supporting redirects or diversions at the moment at the Proxy Side - so I don't think this is relevant for us. But typically, at what point (and what values) would you record/take for the va

[OpenSIPS-Users] sstCheckMin("1") doesn't enter the block when returns 1

2008-11-26 Thread Iñaki Baz Castillo
Hi, "sst" doc has an example: http://www.opensips.org/html/docs/modules/devel/sst.html#id2503829 if (sstCheckMin("1")) { xlog("L_ERR", "422 Session Timer Too Small reply sent.\n"); exit; } Well, this is not what I see. When the request has a Sessi

Re: [OpenSIPS-Users] sstCheckMin("1") doesn't enter the block when returns 1

2008-11-26 Thread Iñaki Baz Castillo
El Jueves, 27 de Noviembre de 2008, Iñaki Baz Castillo escribió: > Hi, "sst" doc has an example: > http://www.opensips.org/html/docs/modules/devel/sst.html#id2503829 > > if (sstCheckMin("1")) { > xlog("L_ERR", "422 Session Timer Too Small reply sent.\n"); > e

[OpenSIPS-Users] About OpenSIP "The New Design"

2008-11-26 Thread Iñaki Baz Castillo
Hi, I'd like to comment some ideas I've read in: http://www.opensips.org/index.php?n=Development.NewDesign --- 2.2 Application Layer - separation between low level functionalities (transport, registration, SIP, NAT, rr+loose_route, TM, dialog, presence, etc) and

[OpenSIPS-Users] Accounting problem

2008-11-26 Thread Tseveendorj Ochirlantuu
Hello I have problem for radius accounting on opensips 1.4.2-tls. Environment: Debian Linux 2.6.18-6-amd64 Opensips 1.4.2 FreeRADIUS 1.1.3 MYSQL 5.0.32 Tue Nov 25 18:07:23 2008 : Info: rlm_sql_mysql: Starting connect to MySQL server for #21 Tue Nov 25 18:07:23 2008 : Info: rlm_sql_mysql: Starti

Re: [OpenSIPS-Users] Can a client survice a restart of openser

2008-11-26 Thread Jason Penton
Hi Ali, yes, change the usrloc mode to use database Cheers Jason On Tue, Nov 25, 2008 at 4:40 PM, Ali Jawad <[EMAIL PROTECTED]> wrote: > Dear All > > Is there some workaround to reload opensips so it reloads without all users > being logged of ? > > Regards > > > >

[OpenSIPS-Users] route

2008-11-26 Thread Raghavendra D P
I am using opensips1.4 I am trying B2BUA scenario with IMS, how to route back to the caller the same message by removing its own route address and changing Call-id Thanks and Regards Raghavendra DP| Tech Mahindra 9/7, Hosur Road, Bangalore - 560 029, India * Office: +91 80 4024 3458 |