[SR-Users] Intercepting OPTIONS from nathelper

2024-05-16 Thread Denys Pozniak via sr-users
Hello!

I need advice on how to intercept local SIP OPTIONS requests from the
nathelper module for some adjustments?
As far as I tested, it does not fall into the
*event_route[tm:local-request]*

Thanks in advance!

# kamailio -v
version: kamailio 5.7.1 (x86_64/linux) 1cf389-dirty

-- 

BR,
Denys Pozniak
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Kamailio IPSec module

2024-05-16 Thread H Yavari via sr-users
 Hi Daniel,
Thank you for the reply.I will work on it.
Regards,Hossein
On Thursday, May 16, 2024 at 12:03:34 AM PDT, Daniel-Constantin Mierla 
 wrote:  
 
  
Hello,
 
 On 15.05.24 22:09, H Yavari via sr-users wrote:
  
 
   Hi all, 
  I was reviewing the `ims_ipsec_pcscf` code and noticed that this module 
creates a pool of sockets using different ports (ipsec_max_connections). I'm 
unclear on the necessity of this approach. Can't we simply create one server 
listener and one client listener to handle all UE connections? If this is 
feasible, is there still a need to create the pool at startup? 
  I'm curious if this is due to an architectural limitation or if the IPSec 
module can be modified to replace the current implementation with a more 
efficient one.
technically it is no restriction to have one client socket and one server 
socket. I am not much active in the VoLTE or VoNR, although I played lately 
with the later, but from some past discussions I understood that the specs 
suggest/recommend this approach with a pool of sockets -- I haven't read the 
specs to confirm personally if that's the case.
 
Anyhow, during the OSMNT'24 and KamailioWorld'24 conferences, I had discussions 
with some participants interested in the topic and switching to (or adding the 
option of) single client/server socket was considered to be done in the future.
 
For now, if you are concerned of using too many resources due to many children 
processes, you can use development version (git master branch) where you have 
the option to have threads for receiving traffic on UDP sockets, with a single 
pool of processes to handle the UDP SIP traffic:
 
  -https://www.kamailio.org/wikidocs/cookbooks/devel/core/#udp_receiver_mode
 
Or, even better, if you can develop the code for having single client/server 
socket, just do it and make a PR.
 
Cheers,
 Daniel
 
 -- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com   __
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] WebRTC-UDP voicemail and call transfer

2024-05-16 Thread Social Boh via sr-users

Hello list,

I'm trying implementing a solution like:

https://github.com/havfo/WEBRTC-to-SIP/blob/master/etc/kamailio/kamailio.cfg

The 2 problems I have a this moment are:

Call from UDP phone to WebRTC phone, the WebRTC phone reject the call; 
the call go to voicemail but in the SDP still have WebRTC SDP


During a SIP UDP - WebRTC Call tranfer the call using phone button... 
the transfer don't work.


Any hint

Regards

--
---
I'm SoCIaL, MayBe

__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:


[SR-Users] Re: Kamailio IPSec module

2024-05-16 Thread Daniel-Constantin Mierla via sr-users
Hello,

On 15.05.24 22:09, H Yavari via sr-users wrote:
> Hi all,
>
> I was reviewing the `ims_ipsec_pcscf` code and noticed that this
> module creates a pool of sockets using different ports
> (ipsec_max_connections). I'm unclear on the necessity of this
> approach. Can't we simply create one server listener and one client
> listener to handle all UE connections? If this is feasible, is there
> still a need to create the pool at startup?
>
> I'm curious if this is due to an architectural limitation or if the
> IPSec module can be modified to replace the current implementation
> with a more efficient one.

technically it is no restriction to have one client socket and one
server socket. I am not much active in the VoLTE or VoNR, although I
played lately with the later, but from some past discussions I
understood that the specs suggest/recommend this approach with a pool of
sockets -- I haven't read the specs to confirm personally if that's the
case.

Anyhow, during the OSMNT'24 and KamailioWorld'24 conferences, I had
discussions with some participants interested in the topic and switching
to (or adding the option of) single client/server socket was considered
to be done in the future.

For now, if you are concerned of using too many resources due to many
children processes, you can use development version (git master branch)
where you have the option to have threads for receiving traffic on UDP
sockets, with a single pool of processes to handle the UDP SIP traffic:

  -
https://www.kamailio.org/wikidocs/cookbooks/devel/core/#udp_receiver_mode

Or, even better, if you can develop the code for having single
client/server socket, just do it and make a PR.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe: