Re: [OpenSIPS-Users] opensips process dying (dialplan module?)

2010-08-27 Thread Bogdan-Andrei Iancu
Perfect! Regards, Bogdan Adelson O. Junior wrote: > Hey Bogdan, > > I changed it and now it is working. > Thank you very much. > > Adelson. > > On Wed, Aug 25, 2010 at 12:40 PM, Bogdan-Andrei Iancu > wrote: > >> In SVN, this is already changed from attrs_avp to gw_attrs_avp >> >> Regards, >>

Re: [OpenSIPS-Users] Opensips 1.6.2 to 1.6.3 SST module question

2010-08-27 Thread Bogdan-Andrei Iancu
Hi, I see that the signalling requires a re-INVITE after 180 secs (3 minutes) - the SST + DIALOG module will terminate the dialog if there is no such re-INVITE. Unfortunatelly the trace has no timestamps to see if the dialog module fires the BYE after 3 minutes. The re-INVITE must be fires by

Re: [OpenSIPS-Users] Frontier | osipsconsole

2010-08-27 Thread Bogdan-Andrei Iancu
A hint from Google: http://www.cpan.org/modules/by-module/XML/perl-xml-modules.html Regards, Bogdan David J. wrote: > Any idea how to Install Frontier from Cpan? > > I am trying to run osipsconsole but get the following messages. > > Can't locate Frontier/RPC2.pm in @INC (@INC contains: /et

Re: [OpenSIPS-Users] Questions about distributing OpenSIPS

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Jim, Jim Dalton wrote: > > A lot of our customers use OpenSIPS. As a convenience for them, we > want to distribute OpenSIPS V1.6.3 in binary form and as source code > with our free OSPrey routing server. What notices and disclaimers > about OpenSIPS do we need to include in the distributio

Re: [OpenSIPS-Users] Disable inactive resource when redirecting

2010-08-27 Thread Bogdan-Andrei Iancu
Hi, How do you disable a destination ? Regards, Bogdan futurewizard wrote: > Ok that was mess ..let me try again > > Hi all > > I'm using OpenSips in redirect mode. > > How can I find if a resource/destination is inactive and I don't return > inactive resource's info to caller. > > Currently I'm

Re: [OpenSIPS-Users] Loosing DB connection

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Brad, strange, as the db_virtual should try to reconnect to primary DB URL from time to time. I need to run some tests on this... Thanks and regards, Bogdan Brad Bendy wrote: > I should probably add that im using db_virtual with a single DB server > then flat file in failover mode. > >

Re: [OpenSIPS-Users] Loosing DB connection

2010-08-27 Thread Brad Bendy
Hi, Yeah, that's what I thought as well - we ran for a while with 2 MySQL DB's then a flat file and same thing would happen where if the first one "lost connection" it would only hit the second one and would not try the first one until a restart. Let me know if you want me to perform any testing.

[OpenSIPS-Users] Registrar, Proxy and Load-balancer

2010-08-27 Thread hemaram
Hi Bogdan, We have an implementation where we want the Opensips server to work as a Proxy, Registrar and Load-balancer (all three at a time) and the Freeswitch cluster will just take care of the PBX functionalities. Can this be made possible? From all the wiki pages and mailing lists that I re

Re: [OpenSIPS-Users] Need help on realtime integration OpenSIPS with Freeswitch.

2010-08-27 Thread hemaram
Hi Bogdan, We are implementing a similar set up like Hung's. We want the Opensips to serve as Proxy, Registrar and Load-balancer (all three at a time) and the Freeswitch cluster will just take care of the PBX functionalities. Can this be made possible? From all the wiki pages and mailing lists

Re: [OpenSIPS-Users] Multiple response codes being sent

2010-08-27 Thread Brad Bendy
That did it, wow I feel stupid now, ooops! (I forgot to hit send a few days and saw this e-mail open still) Thanks for the help! On Tue, 2010-08-24 at 18:45 +0300, Bogdan-Andrei Iancu wrote: > Looks like a mixing of stateless and statefull replies to me . load > the "signaling.so" module a

Re: [OpenSIPS-Users] opensips long shutdown time

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Dave, Your email did go through - if you do not receive any auto-reply , is ok. You can also check the mailing list achive (http://lists.opensips.org/pipermail/users/). About getting an answer - you have to understand that this is a free project and also the help you get is for free, so the

Re: [OpenSIPS-Users] Question about source port on t_relay

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Daniel, That is impossible from networking point of view - as you can have a single socket bind to a port, and you can have a single TCP connection on a socket, it is rather impossible to have multiple TCP connection from the same port. Regards, Bogdan Daniel Goepp wrote: > Yes, you are co

Re: [OpenSIPS-Users] Route timeout

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Wesley, you can use the restart_fr_on_each_reply param (http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id271074) and set the fr_inv_timer to 2 secs. Regards, bogdan Wesley Volcov wrote: > Hello All, > > I've configured the params as fallow: > modparam("tm", "fr_timer", 2) > modpar

Re: [OpenSIPS-Users] opensips long shutdown time

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Dave, At sthutdown, opensips modules are mainly doing memory cleanup (dialog, transactions, caches, etc) or data flush to DB (dialogs, usrloc, etc). As memory cleanup is predictable as time and not resource consuming, I would say it is something related to DB flush - some DB ops that take r

Re: [OpenSIPS-Users] format of the CDR in OpenCP 1.4 using OpenSIPS 1.6.2

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Morgan, Morgan Richomme wrote: > Hi, > > I installed and OpenSIPS 1.6.2 and openCP 1.4. > I configured the cdrviewer part. > I am puzzled of the format of the CDRs > > basically the acc/cdrs, cron and display mechanism in the openSIPS CP is > working fine. > I got all the information stored i

Re: [OpenSIPS-Users] Opensips ACK routing problem

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Nauman, The problem is with the RURI in ACK ( the identification of the UAC) - it has no proto indication and the default is UDP. The RURI should contain "transport=tls" param or SIPS schema. Regards, Bogdan Nauman Sulaiman wrote: > Hi, using Opensips 1.6.2. We are using Opensips as outboun

Re: [OpenSIPS-Users] ERROR Column 'to_tag' cannot be null when using

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Fernando, The error comes from the dialog module, not from b2buaWhat is the exact combination you are using between of these two ? Regards, Bogdan Fernando Testa wrote: > Hi all, > > When using opensips-1.6.3-tls and module B2BUA I'm getting the errors: > Aug 24 00:04:47 vm1 /usr/local/

Re: [OpenSIPS-Users] Registrar, Proxy and Load-balancer

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Hema, yes you can configure OpenSIPS in the same time to act as register, proxy and LB - it is just a matter of scripting. Regards, Bogdan hemaram wrote: > Hi Bogdan, > > We have an implementation where we want the Opensips server to work as a > Proxy, Registrar and Load-balancer (all three

Re: [OpenSIPS-Users] Questions about distributing OpenSIPS

2010-08-27 Thread Jim Dalton
> > Is OpenSIPS a registered name? > > > yes, it is registered. > > > > If so, how do we reference the registration? > > > What you mean ? Here is an example. Our documentation will state "OSPrey is a registered trademark of TransNexus, Inc." We need a similar statement about OpenSIPS, but w

Re: [OpenSIPS-Users] Route timeout

2010-08-27 Thread Wesley Volcov
Hey Bogdan, Thank you for replying!! I've been configured: modparam("tm", "restart_fr_on_each_reply", 1) modparam("tm", "fr_timer", 2) modparam("tm", "fr_inv_timer", 5) Follow my tests: The INVITE was sent by opensiups to route at 09:03:42 The 100 TRY came from route to opensips at 09:03:42 Th

Re: [OpenSIPS-Users] LB under a 64bit Debian Lenny

2010-08-27 Thread Bogdan-Andrei Iancu
Hi Dimitri, I was able to reproduce it - working on a fix now. Regards, Bogdan DM wrote: > Hi Bogdan, > > Any luck regarding this problem? > No need to hurry, I'm just asking :-) > > Dimitri > > 2010/8/10 Bogdan-Andrei Iancu > > > Hi Dimitri, > > Hard to t

[OpenSIPS-Users] Force media through the Opensips server

2010-08-27 Thread TeleCube - John
Hi, I have a setup as follows: 1.2.3.4 - Outbound Route 4.5.6.7 - Opensips proxy 4.5.6.8 - Asterisk server The outbound route will only allow any traffic, signaling and media, via the 4.5.6.7 IP address. It cannot currently accept media from a different ip than the signaling. Currently the as

Re: [OpenSIPS-Users] Route timeout

2010-08-27 Thread Brett Nemeroff
On Fri, Aug 27, 2010 at 8:33 AM, Wesley Volcov wrote: > Follow my tests: > The INVITE was sent by opensiups to route at 09:03:42 > The 100 TRY came from route to opensips at 09:03:42 > The 183 came from route to opensips at 09:03:43 > But, at 09:03:47 the was sent to Failure Route by Opensips. >

Re: [OpenSIPS-Users] LB under a 64bit Debian Lenny

2010-08-27 Thread Bogdan-Andrei Iancu
yes, update to latest version from branch 1.6 Regards, Bogdan DM wrote: > Hi Bogdan, > > You mean this one? > > " > > SVN download of latest stable release (1.6): > >|# svn co > https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6 > opensips_1_6| > " > > > or do I need to fetc

Re: [OpenSIPS-Users] Log authentication errors

2010-08-27 Thread Bogdan-Andrei Iancu
Note that by checking the return code of www_authorize() you can get the reason of the failure: http://www.opensips.org/html/docs/modules/1.6.x/auth_db.html#id228268 Regards, Bogdan Stanisław Pitucha wrote: > On 27/08/10 16:36, Joan wrote: > >> At the moment I still have some doubts on where

[OpenSIPS-Users] pua_bla and naprt/srv failover issue

2010-08-27 Thread Zahid Mehmood
Hi, With pua_bla's default_domain set to point to use a naptr record (srv records resolve to two hosts), opensips picks one hostname/IP and only attempts to send sip messages to it. If that host is unavailable, OpenSIPS does not attempt to contact the second host returned by the SRV recor

Re: [OpenSIPS-Users] Log authentication errors

2010-08-27 Thread Brett Nemeroff
On Fri, Aug 27, 2010 at 10:24 AM, Joan wrote: So when the device tries to register with a wrong password/username i > will log the errors. After that I still have to do the fail2ban > script, but that's quite easy. > I'd like to know your opinion about this. > > Joan, I recommend to all of my cl

Re: [OpenSIPS-Users] Log authentication errors

2010-08-27 Thread Kennard_White
Hi Joan, Interesting idea. There are a few edge-cases you might want to consider: 1. A legitimate client will have periodic auth failure due to expired nonce serialization (see "nonce_expire" parameter). This is expected behavior when the nonce cached by a client is expired (by default every 30

Re: [OpenSIPS-Users] LB under a 64bit Debian Lenny

2010-08-27 Thread DM
Bogdan, It works like a charm, thank you! Kind regards, Dimitri 2010/8/27 Bogdan-Andrei Iancu > yes, update to latest version from branch 1.6 > > Regards, > Bogdan > > DM wrote: > > Hi Bogdan, > > > > You mean this one? > > > > " > > > > SVN download of latest stable release (1.6): > > > >

Re: [OpenSIPS-Users] Opensips 1.6.2 to 1.6.3 SST module question

2010-08-27 Thread k1028
Thank you very much for your response. I will look into the re-invite problem now. There is no BYE in the SIPTrace from the SIPTrace module associated to this. The first Invite is received at 17:15:19 and the last ACK is at 17:16:05 from SIPTrace module. The dialog module send BYE at 17:19:05 --

Re: [OpenSIPS-Users] Disable inactive resource when redirecting

2010-08-27 Thread futurewizard
Hi Bogdan How did I disabled the destination ..I simply killed the application. I have 4 application instances running as 5800, 5801, 5802 and 5803. I killed of of the application (Which I think is the case I want to test). Let me write what I'm trying to do? Use OpenSips as Redirector to

Re: [OpenSIPS-Users] opensips long shutdown time

2010-08-27 Thread Dave Singer
Thanks for the reply. I would also lean to the DB as the problem but I have also experienced it with about the same frequency when not using any database modules and low or now calls. So if you could point me to the patch you refereed to I would appreciate it. I'll then run it through a scripted p

Re: [OpenSIPS-Users] Force media through the Opensips server

2010-08-27 Thread TeleCube - John
Hi Max, Thanks for your reply. I have rtpproxy running and I think it's all configured ok. I can use fix_nated_sdp() with flags and see the changes in the sdp lines in the packets. What I am struggling with is just how to go about telling the asterisk server and the outbound route that all

Re: [OpenSIPS-Users] Force media through the Opensips server

2010-08-27 Thread Adam Twardowski
John, The o= is the Origin IP, which doesn't really matter, the c= is the connection IP, which is the important one. You probably want to use force_rtp_proxy() to rewrite the sdp and make it go through the rtpproxy, and in your asterisk SIP peer, you can either set the peer IP to 4.5.6.7 and have

Re: [OpenSIPS-Users] Force media through the Opensips server

2010-08-27 Thread TeleCube - John
Hi Adam, Thanks, the fog is starting to lift now... :-) I'll make some changes and come back with results shortly. Cheers, John Adam Twardowski wrote: John, The o= is the Origin IP, which doesn't really matter, the c= is the connection IP, which is the important one. You probably want to