Re: [OpenSIPS-Users] ebootcamp

2017-05-29 Thread Slava Bendersky

Hello Flavio,
Thank you, user log in , reset password, learning materials and so on, 
should be protected.


volga629

On Mon, 29 May, 2017 at 8:09 AM, Flavio Goncalves 
 wrote:

Hi,

All the eCommerce part of the site is handled by Paypal in a 
different page. Anyway I will study the implication of the migration 
to https soon.


Best regards,

Flavio E. Goncalves

2017-05-27 12:11 GMT-03:00 :

Hello Everyone, why http://ebootcamp.opensips.org don't use HTTPS ?
Please fixed that security hole


volga629

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service

2017-05-29 Thread suresh.talasaniya
Hello Johan,

If you have a testing patch, kindly provide me.

https://opensips.org/pipermail/users/2016-August/035400.html




Thank you.



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPs-2-2-2-warnings-during-start-service-tp7607495p7607536.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS Rate Limit module - set limit lower than 1 per second

2017-05-29 Thread Aknin, Liran via Users
Hi again,

We finally saw the answer on the opensips users list group.
Thanks a lot and sorry for missing that.

Best regards,
Liran

On Wed, May 24, 2017 at 3:02 PM, Aknin, Liran 
wrote:

> Hi Bogdan,
>
> Thanks for answering our other question.
> Can you please help us also with this one?
>
> thanks,
> Liran
>
> On Mon, May 22, 2017 at 12:22 PM, Aknin, Liran 
> wrote:
>
>> Hi,
>>
>> We see in the Rate Limit module documentation that the *limit* parameter
>> for the *rl_check* function is an integer and should be specified as
>> per-second, not per-timer_interval.
>>
>> Is there a way to set the limit to a lower value than 1 per second, e.g
>> "10 times per minute"?
>>
>> Thanks and regards,
>> Liran
>>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Siptrace on ver 2.2.4

2017-05-29 Thread Oliver Santos via Users
Hi, 
I am trying siptrace on opensips-2.2.4 but I am an error below
ERROR:core:set_mod_param_regex: parameter  not found in module 

Part of the config is listed below
loadmodule "siptrace.so"modparam("siptrace", "db_url",         
"mysql://opensips:opensipsrw@localhost/opensips")
I appreciate any help.
Thanks

Sent from Yahoo Mail on Android___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
Hi Giovanni

Thanks, by using memcache I meant to do a cache_fetch and if its not
there then do avp_db_query and then use cache_store to store it for
next time, I'm going to look into the sql cacher now, it seems to be a
better solution.

Schneur

On Mon, May 29, 2017 at 5:00 PM, Giovanni Maruzzelli  wrote:
> Hello Schneur,
>
> you may also use http://www.opensips.org/html/docs/modules/2.2.x/avpops.html
> for querying the db, then cache the result with sql cacher, or do the query
> and put the result in an avp if not already there.
>
> -giovanni
>
>
> On 29 May 2017 at 14:37, Schneur Rosenberg  wrote:
>>
>> Is there anyway to get in the script a list of destinations in the
>> load_balancer group? I can get it directly from the DB but I want to
>> avoid querying the DB, I want to use it to parallel fork certain calls
>> to all servers in the load balancer group.
>>
>> I couldn't find anything in the load balancer documentations, the
>> closest thing I could find is lb_list through fifo, but I want it in
>> the script, I guess worst case I can query it and then memcache it.
>>
>> S. Rosenberg
>>
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> --
>
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Giovanni Maruzzelli
Hello Schneur,

you may also use http://www.opensips.org/html/docs/modules/2.2.x/avpops.html
for querying the db, then cache the result with sql cacher, or do the query
and put the result in an avp if not already there.

-giovanni


On 29 May 2017 at 14:37, Schneur Rosenberg  wrote:

> Is there anyway to get in the script a list of destinations in the
> load_balancer group? I can get it directly from the DB but I want to
> avoid querying the DB, I want to use it to parallel fork certain calls
> to all servers in the load balancer group.
>
> I couldn't find anything in the load balancer documentations, the
> closest thing I could find is lb_list through fifo, but I want it in
> the script, I guess worst case I can query it and then memcache it.
>
> S. Rosenberg
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 

Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
Is there anyway to get in the script a list of destinations in the
load_balancer group? I can get it directly from the DB but I want to
avoid querying the DB, I want to use it to parallel fork certain calls
to all servers in the load balancer group.

I couldn't find anything in the load balancer documentations, the
closest thing I could find is lb_list through fifo, but I want it in
the script, I guess worst case I can query it and then memcache it.

S. Rosenberg

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Create new branch on receipt of provisional response on the main branch

2017-05-29 Thread xaled
Hi Bogdan,

 

Thanks of pointing this new feature out.

 

I’d like to have something like the script below to work by adding a branch 
after receipt of 180. The problem is I don’t get the meaning of source 
parameter of t_inject_branch in this scenario. Can you help me with this one?

 

route {

t_on_reply("global");

t_relay();

}

 

onreply_route[global] {

if (t_check_status("180")) {

t_inject_branch(“???”);

}

}

 

Thanks,

Xaled

 

From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Freitag, 26. Mai 2017 15:28
To: OpenSIPS users mailling list ; xaled 

Subject: Re: [OpenSIPS-Users] Create new branch on receipt of provisional 
response on the main branch

 

Hi Xaled,

With a pre-2.3 release you cannot do this, unless you wait for the current 
branches to fail, so to use the failure_route to add new branches.

With 2.3 you can do it by using the t_inject_branch() function.

Best regards,



Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
 
OpenSIPS Bootcamp 2017, Huston, US
  http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 05/22/2017 09:30 PM, xaled wrote:

Hello,

 

I need to create a branch on receipt of provisional response on the main branch.

 

Doing append_brach in reply_route does not seem to work.

 

What is right way to do it?

 

Thanks,

xaled

 

 






___
Users mailing list
Users@lists.opensips.org  
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] ebootcamp

2017-05-29 Thread Flavio Goncalves
Hi,

All the eCommerce part of the site is handled by Paypal in a different
page. Anyway I will study the implication of the migration to https soon.

Best regards,

Flavio E. Goncalves

2017-05-27 12:11 GMT-03:00 :

> Hello Everyone, why http://ebootcamp.opensips.org don't use HTTPS ?
> Please fixed that security hole
>
>
> volga629
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Location table - how to use socket

2017-05-29 Thread Bogdan-Andrei Iancu

Hi John,

the only way to share records via DB is to use DB only - the other modes 
are using the DB just for restart persistence reason (they do not read 
from DB at runtime, only once, at startup). In DB-only mode, all reads 
and writes (related to contacts) are done against the DB.


In regards to $(branch(socket)[N]) - do you use it after a 
lookup(location) ? are you sure that the N'th branch exists and have a 
socket ?


You may consider saving some extra attributes next to the contact ( see 
http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#idp5568288) 
to identify the pop/host which produced that record.


Best regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Bootcamp 2017, Huston, US
  http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 05/26/2017 07:38 PM, John Quick wrote:

Hi Bogdan,

Yes. I tried with db_mode=1 and it behaved very strangely so I changed it to 
db_mode=3 (DB only).

Also tried $(branch(socket)[N]) to read the socket data within my script, but it 
always returns .

I am now thinking it will be necessary to have one location table per site, but 
perhaps you could consider adding options in future releases to allow the 
lookup function to only select contacts where the socket matches one that this 
server is listening on.

John Quick
Smartvox Limited


-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
Sent: 26 May 2017 17:30
To: john.qu...@smartvox.co.uk; OpenSIPS users mailling list 

Subject: Re: [OpenSIPS-Users] Location table - how to use socket

Hi John,

I suppose you are using usrloc with DB-only to share registrations between 
multiples sites, otherwise the socket filter will not make sense, right ?

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

OpenSIPS Bootcamp 2017, Huston, US
http://opensips.org/training/OpenSIPS_Bootcamp_2017.html

On 05/25/2017 06:16 PM, John Quick wrote:

The socket field in the location table sometimes contains very useful
information such as:
- to see which server received the Registration in a dual site
scenario
- to see if the UA registered over UDP, TCP or TLS

However, there does not seem to be any mechanism for using the socket
information in the USRLOC or REGISTRAR modules.
For example, it is not possible to call lookup and filter for contacts
made on the local server's socket or for contacts that used TLS.

Please could the developers look at options to leverage this useful
data, especially for the lookup function.

Are there any tricks I could employ to achieve the same result. For
example, if I set a branch flag to indicate which site received this
registration would it then be possible to filter the results returned
by lookup and extract the registrations received at site A while
discarding those received at site B?

To give a practical example: Dual site; Shared location table; User's
device is registered at site B; Call arrives at site A so I want to
use 302 redirect to send it over to site B, but I cannot tell from the
results of a lookup whether the registration was made at A or B even
though the data is there in the socket field.

John Quick
Smartvox Limited



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users