Hi,
I'm a bit new to opensips, while have some experience with kamailio.
Trying to figure out whether it's possible to use async() statement from
branch_route[].
From the documentation I understood that async() functionality is
tightly connected to the TM module and creates some context
Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 11/01/2018 01:46 PM, Vitalii Aleksandrov wrote:
Hi,
I'm a bit new to opensips, while have some experience with kamailio.
Trying to figure out
Hi,
event_routing module provides the great async function
wait_for_event(). If script subscribes for a event and received it it
calls some "resume_route".
What I can't understand is what happens with a transaction if
wait_for_event() never catches an event and reaches its timeout.
Is the
Hi,
Wonder if it's possible to delete a user location contact when opensips
detects a connenction failure?
Couldn't find either "unregister" function to remove a contact from a
failure_route or an event_route called when opensips core detects
connection failure.
Is there any good way to
Thanks.
Had to search better before asking...
This is close to what I want. I would be great to remove a contact
immediately after opensips detects a closed socket. Anyhow definitely
better than wait for a contact expiration.
Hi Vitalii,
You need just enable contact pinging and delete dead by
-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 11/14/2018 03:17 PM, Vitalii Aleksandrov wrote:
Hi,
event_routing module provides the great async function
wait_for_event(). If script subscribes for a event and received it
it calls some "resume_route&q
This seems to be more clean, efficient, and if you don't need it, the
OS will not even allocate it (due to the demand-paging mechanism). So
I don't see where you reservations for setting a higher value of the
-M parameter come from.
Best regards,
Răzvan
Just my 2 cents about PKG mem.
Hi,
TM documentation mentions that it's possible to call t_on_reply() from a
branch_route and it will set a branch specific reply route.
I understood that if t_on_reply() is set for a branch it overwrites the
global reply_route and the global one won't be called for that branch
anymore.
Test
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 11/16/2018 07:07 PM, Vitalii Aleksandrov wrote:
Thanks for the information. Have one more related question.
What If I call somewhere, opensips calls wait_for_event() and before
the event happens or async timeout (will create a bug report
"tcp_send_timeout" configures the time TCP worker process can stay
blocked in "write()" syscall. In your case opensips successfuly wrote
data into socket and OS accepted it and put into tcp socket's outgoing
queue. Since OPTIONS wasn't delivered (no TCP level ACK from A), kernel
doesn't try to
Thanks a lot. It helped! I was searching for a global para and
completely forgot about proto_tls module.
Hi, Vitalii!
Did you try to tune your tls_crlf_* parameters?
https://opensips.org/html/docs/modules/2.4.x/proto_tls.html#param_tls_crlf_drop
Best regards,
Răzvan
Hi,
One of my SIP endpoints send CRLF (0x0d 0x0a) messages over TLS
connections to opensips. Opensips drops TLS a connection to this phone
after "tcp_max_msg_time" seconds. The same client works fine over TCP
and CRLF messages are just ignored by a proxy.
rfc3261 section 7.5 says:
Hi Razvan,
It's not a memory issue. If you check a few lines higher before my patch
you'll find this:
if (op == OP_OFFER || op == OP_ANSWER) {
ng_flags.flags = bencode_list(bencbuf);
...
}
ng_flags.flags bencode list is created only for
eone might need them.
Best regards,
Razvan
On 2/13/19 3:09 PM, Vitalii Aleksandrov wrote:
Hi,
I use only rtpengine_manage() function of
rtpengine_{offer,answer,delete} and it is called from different
locations like request_route, onreply_route, failure_route.
To have everything in one pl
Hi,
I use only rtpengine_manage() function of
rtpengine_{offer,answer,delete} and it is called from different
locations like request_route, onreply_route, failure_route.
To have everything in one place I call a route[RTPENGINE_MANAGE] which
in its turn prepares rtpengine parameters string
Hi,
Using db_http and permission modules and can't figure out what exactly
should be returned from an HTTP API when 'address' table is empty and
SELECT returns no results.
Here is what I tried with no luck:
1.
Status:
200 OK
Body:
Hi,
What is the correct way of removing a cluster node?
I have a cluster with a number of proxies. Removed one of them from a DB
and called "opensipsctl fifo clusterer_reload" on all proxies.
Then checked "fifo clusterer_list" and removed node is still there since
it was learned from other
Hi,
Every contact of an AOR has a bunch of fields like Callid, Flags, Socket.
Is there any way to reaf those additional fields of a contact after
lookup()?
___
Users mailing list
Users@lists.opensips.org
Hi,
The RTPengine module in OpenSIPS simply instructs the server to
start/stop the sessions, and adds a few control flags. It does not, by
any means, handle the RTP packets order.
Sure. It's an rtpengine's problem. Had a talk with Richard Fuchs and he
explained what exactly happens in
Hi,
I've created a pull request #1701 to fix the issue in 2.4 branch. Made a
quick 3.0 branch review and it looks like the problem is still there.
Could you take a look at this PR. Would be nice to fix it at least in
3.0 since stable release is coming soon.
Hello opensips users,
has anybody tried to configure opensips with multiple rtpengine sockets?
Logically thinking offer/answer from initial INVITE/OK and from all
in-dialog messages must go to the same instance and opensips can load
balance only initial INVITEs.
I briefly compared
Hi opensips team and community,
Want to share one headache I have which might be converted into a
feature request. It's about async() implementation. I use it, like
probably many of us, for db operations and http requests and it's so
complicated to insert an async() call so some already
from opensips. But it looks like not with the current
opensips/rtpengine module.
I remember that somebody from smartvox opened an issue on this (it
was either Pete Kelly or John Quick).
Pete,John
do you recall ?
Op vr 26 apr. 2019 om 15:15 schreef Vitalii Aleksandrov
mailto:vitalik.v
but in the libssl/libcrypto - what
versions are you using for these libs ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 08/05/2019 09:13 PM, Vitalii Aleksandrov
IPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 08/05/2019 09:13 PM, Vitalii Aleksandrov wrote:
Hi,
I have a test opensips 2.4.6 (last week's checkout from 2.4 branch)
and after short load testing it started to consume all CPU resources.
Here is what opensips floods
]:
LM_INFO("initialized mutex over OpenSIPS\n");
[1]
https://github.com/OpenSIPS/opensips/blob/master/modules/tls_mgm/tls_mgm.c#L1525
Best regards,
Răzvan
On 8/12/19 7:20 PM, Vitalii Aleksandrov wrote:
Checked the tls_mgm.c code and found that I wasn't right. I've just
downgra
12:58 PM, Vitalii Aleksandrov wrote:
Ok, I'll check when finish load testing with libssl-1.0.
Hi, Vitalii!
Just to double check you are using the right overwritten functions,
can you add some debugging in the tls_mgm code, recompile, and run
the test again? I'm thinking to add something like
Hi,
Have a problem with a multihomed proxy which doesn't select outgoing
interface correctly. Found similar topics where people discussed usage
of force_send_socket() when they want to force opensips to use some
interface.
As far as I understood "mhomed=1" is the option which forces
use force_send_socket when I a have a mixed environment (e.g users
that register, connection to provider without registration, etc).
these are my 2 drops of wisdom :-)
as for BIN, that I can't explain as I never used that type of interface.
.
Op di 30 jul. 2019 om 17:16 schreef Vitalii
://www.opensips.org/events/Summit-2019Amsterdam/
On 08/05/2019 09:13 PM, Vitalii Aleksandrov wrote:
Hi,
I have a test opensips 2.4.6 (last week's checkout from 2.4 branch)
and after short load testing it started to consume all CPU resources.
Here is what opensips floods to syslog:
Aug 3 13:25
Hi,
I have a test opensips 2.4.6 (last week's checkout from 2.4 branch) and
after short load testing it started to consume all CPU resources.
Here is what opensips floods to syslog:
Aug 3 13:25:01 l /opensips[4774]: WARNING:core:utimer_ticker: utimer
task already scheduled for 114023190 ms
Hi,
Original question was about different thing but the destination IP of a
request or reply is not hard to get. I wrote a small module which
extracts the destination uri from ru (du) for requests and from via for
replies, makes a dns resolve if it's a domain name and then detects the
I'm also used to have is_request()/is_reply() and when switched to
opensips started to use following helpers:
route[IS_REQUEST] {
if (route(IS_REPLY))
return(-1);
else
return(1);
}
route[IS_REPLY] {
if ($mb =~ "^SIP/2\.0")
ithub issue with all collected info.
Just wanted to let you know and probably fix it before the upcoming 2.4.7.
On 23.01.2020 15:55, Vitalii Aleksandrov wrote:
After updating my proxy from the latest 2.4 repository I've got a new
problem with "To" header uri.
Somehow opensips receive
After updating my proxy from the latest 2.4 repository I've got a new
problem with "To" header uri.
Somehow opensips received BYE with correct "To" uri and forwards it with
an URI without "<>".
Checked latest commits and this one:
> commit de7606dfb2deeb0ebb07e329511164b784970e6c
> Author:
Yesterday I've mentioned that has reproduces one more crash.
Reverted my fix and wanted to reproduce the problem and create properly
filled crash report, but unfortunately failed. Can you just check the
part of code I've seen in core dumps?
fake_req() in modules/tm/t_msgbuilder.h clones
36 matches
Mail list logo