[OpenSIPS-Users] when engage_media_proxy() doesn't

2011-03-15 Thread Jeff Pyle
Hello, Opensips 1.6.4-1-notls with Mediaproxy 2.4.4. Both installed from the Debian packages onto two very similar machines. All Python packages are at exactly the same versions on both. Both machines are Debian Lenny with some packages pulled from testing/squeeze to satisfy things like python-

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Paul Wise
On Tue, 2011-03-15 at 12:30 -0400, Ovidiu Sas wrote: > This kind of scenarios are handled by the nat_traversal module: > http://www.opensips.org/html/docs/modules/devel/nat_traversal.html#id292913 > Is there something that you are missing from the nat_traversal module? No, this is a completely di

Re: [OpenSIPS-Users] opensips 1.6.4 load balancing performance

2011-03-15 Thread Iulian Macare
I see also something like this: Mar 15 18:47:36 opensipsvl /usr/local/sbin/opensips[4547]: sending call with callid 3b77e3325a8c75f8571c4fcf37a8ba3c@192.168.52.10 and ruri sip:0758553307@192.168.52.20 to sip:192.168.254.241 Mar 15 18:47:36 opensipsvl /usr/local/sbin/opensips[4539]: sending call wi

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Ovidiu Sas
This kind of scenarios are handled by the nat_traversal module: http://www.opensips.org/html/docs/modules/devel/nat_traversal.html#id292913 Is there something that you are missing from the nat_traversal module? Regards, Ovidiu Sas On Tue, Mar 15, 2011 at 9:23 AM, Paul Wise wrote: > On Tue, 2011

Re: [OpenSIPS-Users] MsgQueueDepth without SNMPStats

2011-03-15 Thread Jeff Pyle
I was not aware of this page. Most helpful. On 3/15/11 5:52 AM, "Bogdan-Andrei Iancu" wrote: >Hi Jeff, > >There is a statistic variable for that. Please see the NET class of >statistics: >http://www.opensips.org/Resources/DocsCoreStats#toc17 > >Regards, >Bogdan > >Jeff Pyle wrote: >> Hello,

Re: [OpenSIPS-Users] New module: registrant

2011-03-15 Thread Ovidiu Sas
Probably a lib will be the better approach here. The lib will be shipped and loaded only by modules that require something from the lib. Regards, Ovidiu Sas On Tue, Mar 15, 2011 at 10:49 AM, Bogdan-Andrei Iancu wrote: > Hi Ovidiu, > > I see. To be honest moving more code into core (without goo

Re: [OpenSIPS-Users] New module: registrant

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Ovidiu, I see. To be honest moving more code into core (without good reason), it is not my preferred option as it will increase the size of the opensips executable. Maybe we should look into : 1) src lib - sources which are in the opensips core tree, but not compiled with the code - t

[OpenSIPS-Users] Dialog Concurrency Control Issue.

2011-03-15 Thread logan
I have a uuid in the usr_preferences table set to attribute = sim_calls with value = 15 calls allowed but am getting the concurrency limit error when 2 calls are up and trying to establish the 3rd call. Can anyone help figure out why? Config Snips: modparam("avpops", "avp_table", "usr_preferences

Re: [OpenSIPS-Users] Performance turning article

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Stan, Thank you for starting this - I think it will make a lot of people happy and it will spare a lot of traffic on the mailing lists :) I will add some references on TCP blocking and on the LOAD debugging features. Regards, Bogdan Stanisław Pitucha wrote: Hi all, I wrote this wiki p

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Paul Wise
On Tue, 2011-03-15 at 09:14 -0400, Ovidiu Sas wrote: > For now, the module doesn't do that. If a registrant account is > defined, it will automatically start to register at startup. > On registration timeout, the module will re-try by itself (there's no > need for script commands for this). Righ

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Ovidiu Sas
On Tue, Mar 15, 2011 at 9:08 AM, Paul Wise wrote: > On Tue, 2011-03-15 at 09:03 -0400, Ovidiu Sas wrote: > >> Script commands are triggered by received SIP requests. >> With the registrant module, REGISTERs are sent out and replies to >> REGISTER are received. > > Yes, I need to trigger the REGIST

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Paul Wise
On Tue, 2011-03-15 at 09:03 -0400, Ovidiu Sas wrote: > Script commands are triggered by received SIP requests. > With the registrant module, REGISTERs are sent out and replies to > REGISTER are received. Yes, I need to trigger the REGISTER requests based on certain SIP requests/replies (in partic

Re: [OpenSIPS-Users] SIP REGISTER to other servers with OpenSIPS 2.0?

2011-03-15 Thread Ovidiu Sas
On Tue, Mar 15, 2011 at 2:05 AM, Paul Wise wrote: > On Thu, 2011-03-10 at 09:15 -0500, Ovidiu Sas wrote: >> On Wed, Mar 9, 2011 at 11:27 PM, Paul Wise wrote: >> > Script functions and mi commands to make a contact go online/offline, >> > add/remove contacts and reload the list of registrations. >

Re: [OpenSIPS-Users] New module: registrant

2011-03-15 Thread Ovidiu Sas
Hello Bogdan, There is a small built in authentication code inside the module. The authentication code was imported from the uac module. Next step is to move the authentication code in the core and update uac module to reuse the same code. The parsing of headers was already integrated into the cor

[OpenSIPS-Users] SEMS 1.4.0 release

2011-03-15 Thread Stefan Sayer
We are happy to announce the availability of the SIP Express Media Server version 1.4.0. SEMS is a high performance media and application server for SIP based VoIP networks. This release features a powerful Session Border Controller (SBC) module. From completely transparent B2BUA to customized U

Re: [OpenSIPS-Users] Prepaid time remaining announcement?

2011-03-15 Thread Chris Martineau
Hi, Thanks for that, I will have a think and see how best to proceed. A useful addition to the dialogue module would be something like an external event trigger or other dialogue timers that trigger user defined functions. Many thanks Chris From: users-boun...@lists.opensips.org [ma

Re: [OpenSIPS-Users] Prepaid time remaining announcement?

2011-03-15 Thread Adrian Georgescu
Hi Chris, Out of the box call-control will not do such thing. You can of course modify it to do something before call expiration. Finding the relay and making it play something is a pretty ugly hack. In my experience playing prompts in the middle of an established session can be done reliable

[OpenSIPS-Users] Prepaid time remaining announcement?

2011-03-15 Thread Chris Martineau
Hi, Is it possible to get the dialogue module to do something else other than end the call on a timeout? I am trying to play a "remaining time announcement" i.e "40seconds remaing" via rtpproxy but cannot see a way of triggering this from within the script. I assume that I would need to fi

Re: [OpenSIPS-Users] opensips 1.6.4 out of memory

2011-03-15 Thread Iulian Macare
I think this is the problem; I took a look in logs and I saw ERROR:core:print_rr_body: too many RR more of this. Anyway since 3 days it didn't blocked anymore. I have increased the parameter SHM_MEM ... I still get from time to time those errors with too many RR and in that moment the shm me

Re: [OpenSIPS-Users] opensips 1.6.4 load balancing performance

2011-03-15 Thread Iulian Macare
1) Yes , only for the initial request Before load balancing I have if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; } if (has_totag()) { if (loose_route()) { if (is_method("B

Re: [OpenSIPS-Users] opensips 1.6.4 load balancing performance

2011-03-15 Thread Iulian Macare
Mar 15 11:22:59 opensips /usr/local/sbin/opensips[14890]: sending call with callid 9156d332a17a761aNzBmMWU4NGIzMjIzNWQ3NDVkYjAyNmYwNTI1MzM4YjM. and ruri sip:0525545413@192.168.254.244 to sip:192.168.254.241 Mar 15 11:22:59 opensips /usr/local/sbin/opensips[14897]: sending call with callid 9156d332a

Re: [OpenSIPS-Users] t_relay behavior with 477 send failed

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Amit, Following your report, Anca did a fix on SVN - see: http://lists.opensips.org/pipermail/devel/2011-March/007893.html Please update from SVN and try again. Regards, Bogdan Amit Sharma wrote: I am facing an issue similiar to the one outlined in the thread http://lists.opensips.org/

Re: [OpenSIPS-Users] New module: registrant

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Ovidiu, Thanks for your work ! Does the module has a built in code for UAC authentication? Regards, Bogdan Ovidiu Sas wrote: Hello all, There is a new module available for opensips: registrant. This module allows opensips to register itself on a remote registrar server. For more info, che

Re: [OpenSIPS-Users] opensips 1.6.4 load balancing performance

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Iulian, Regarding your first issue, with the load: 1) I suppose you do the lb stuff only for the initial request right ? 2) you say you see the xlog() for all the received calls, so all received calls pass the lb function...but you do not see all calls being sent out, right ? Related to

Re: [OpenSIPS-Users] MsgQueueDepth without SNMPStats

2011-03-15 Thread Bogdan-Andrei Iancu
Hi Jeff, There is a statistic variable for that. Please see the NET class of statistics: http://www.opensips.org/Resources/DocsCoreStats#toc17 Regards, Bogdan Jeff Pyle wrote: Hello, Is there a way to access the same information that openserMsgQueueDepth provides, but without the SNMPSta