fgets failed: Illegal seek. It happens when 2 end points try to set up a session
and one of them cancels it before any end-to-end connection is established.
Has anyone found this problem before?
(See attached file: cancelsegdump.tar.gz)
Jaime
--0__=PnXC9kr0ykdwrnb6uT2PR1PNFM05c9HrUcAPjHVL7TjiDE1fTDc3v998
Content-type: application/octet-stream;
name="cancelsegdump.tar.gz"
Content-Disposition: attachment; filename="cancelsegdump.tar.gz"
Content-transfer-encoding: base64
H4sIAAseXj4AA+0da3PaSDKfqcp/mMuHjX0HRKM32Lg2cew912adLezsfkilVIM0Aq2FRPSI7b3a
/e3XM5KwhAQIG5LYqykbBOrumenp6ackTOKZ1A3p2Iqns250Ez3bfhOwIKiy/ExIWvEdCyLGyjNB
U0VNxqqkSAAvYVl5hoQdjKXU4jAiAULPAt9fOfd15x9pQ8IeliRR3keuTyzHG6Opb8UuRd1XyUH4
anobfnaT127ot2pghC781YSdBY4XJa81MaIp/NWEjcPA9c30rSZOEMBfXVg6dsIoIMHdUU1MEkcT
/lJ31vQm8mfz95pY9Iaa/KU2fMT+a0Lb5oz9F6Ftx7OMGQnI1KA3Mz+I+sj2Y89Ch9bIAEx6hBwv
o5UsDPq4fMU+1SIdOVMaGCBDNPhC3F30AIOPg69EmYlFnm5eVko0F6iBDDpmZAR+HBU4HQR5ipmM
r6VGvhSpZFJeIFa5CdaRdn3/Kp7tiHjoGiGFrwM6c2/zfcCJ9OhjWV+towpspS4p0IumeUKZaqox
PD4ygwaBH9xrfGyB2aaMyAiAhX7uFIIdTAOPZKQMk7juXm5ExiwKDoUbWRAUiyjC0d2p/QN098Gx
UQ5rSqOJb919Hgzujl8MT346u7g8Gb7IkUL/u8+QsNjT7PyQ2ugF7CYSOb73YslArcCf5YhFtzN6
uHRWfyHm7+QH91f+NN84OWK4Yc7mzKkLt1SecV6ei6w+f3+5h+7HPN3UN2TejqnvP1giBFnTtIVu
ZUF+Ufji3I/QKdM8X0NGtrVaWCuK+n3XZTWd7awAWdpBw9nHwNmcsvn99fD87PynPoomFE0J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nq2n1HAx5s/hPRkO3w+TR+8a6aN3bdCMoLGArexBuWdAfQxKIaT06hHiJQ+jDp0xbAQESi71ffIs
+IVOfdiZaWyxN7sasyzP/DQwPTvFfT+qm0IBgCn5GffZBwgLsorF/NOw2QPmLXZCBylgx//xYfBM
qAaShsGGs58fgWBEFmVml+/wpuSGw6O9Ocb+AEmanH+WNPuRPqZkYLXZv29eMT/VDsh4CmsdFobJ
m9BF5wilEps6s6Kso2T8klhCwFUI2goEsQqBZAhyTy1hyBUYsrm8C1w1CVWp7iLjEGMzch3wPfiP
NaI8a7hpSeY6Zx2o/m7izYoVkGJtSLUmJJa0Skicg+ysaq137CdDvNTktFChFXJgiymxfl8RQMG+
dh1wXUHRpQ4s/xZVebPJmVb6S0ppxmzhl1LOch/ufs4tBW6xB2cvQXzWtKY1rWlNa1rTmta0pjWt
aU1rWtOa1rSmNa1pTWta05rWtG/d/g/YEn7NAKAAAA==
--0__=PnXC9kr0ykdwrnb6uT2PR1PNFM05c9HrUcAPjHVL7TjiDE1fTDc3v998--
------<80256CDA.004DFAC0.00@ruddick>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
------<80256CDA.004DFAC0.00@ruddick>
Hi Daniel and Everyone,
Thanks for the inputs. We understand that Kamailio is a SIP signalling server irrespective of any core. But we have seen a thread in Open5Gs community where they established the call with Kamailio IMS. Below thread is for your reference.
https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
If you have any inputs on this it is most welcome. We just want to check the feasibility of establishing voice/video call with 5G core.
Your inputs will be appreciated.
Thanks and regards
Pooja Yadav
> On 09-Dec-2022, at 4:33 PM, sr-users-request(a)lists.kamailio.org wrote:
>
Hi,
I’ve run into stubbornly persistent problems with packets not reaching WSS clients until some seconds (5-6s or more!) after they were supposedly sent. The symptom is that Kamailio logs the event as sent at 20:00:00, including in the onsend_route, but in actual reality it takes quite a bit longer to send at the OS network stack level. This happens occasionally and quite universally, with no discernible pattern tied to particular endpoints, networks, etc.
For a long time, I’ve just assumed this was a receive delay, since Kamailio logged an expectedly prompt relay time. I figured it was an application or browser execution delay and had nothing to do with networking. Based on what we know about the capriciousness of browsers and their internal task scheduling, this seemed rather plausible. However, I’ve since been able to ascertain that this is not the right understanding of the problem, because a parallel and unrelated WS keepalive, going from a different backend to the same application/browser tab/event loop, is consistently replied to in a timely manner.
Anyway, I’m curious what else can be done to debug and/or fix this.
I did turn up the size of my write buffers — tcp_wq_conn_max and the global one — quite a lot, some time ago and for unrelated reasons. I wonder if this might actually make the problem worse, since it leads to more bytes queued to send to an endpoint on the other side that could, conceivably, not be reading them fast enough. But I also wonder if this is tied up in some low-level TLS or WS parameters unrelated to more general TCP configuration.
Thanks much!
— Alex
—
Sent from mobile, apologies for brevity and errors.
Hi Team,
I have installed kamailio sip server 5.5.5 version in ubuntu 20.04 in AWS instance with public IP.
When im trying to register an device im getting below error in the syslog.
Thanks & Regards
Shiva
9100663346
Hi Kamailio community,
We just want to check does Kamailio IMS supports the functionality of Voice and Video call support (Vo5G) with 5G core?
If yes, please share the document reference. Else, please guide us when it will be available.
Any plans in upcoming release to support HTTP2 based SBI interface between P- CSCF and PCF.
Your inputs will be highly appreciated.
Thanks & Regards,
Pooja Yadav
Hello,
to summarize what happened at the devel meeting in Dusseldorf a few
weeks ago and plan the next steps for the project, we are planning an
online development meeting on Thu, Dec 8, 2022, 15:00UTC.
As usual, one of the targets is to sketch the roadmap to next major
release so the developers and community members can syncronize and plan
what should be done till Kamailio v5.7 (or 6.0) will be out as well as
discuss about current state of the project, look for new ideas to
improve collaboration within the community, a.s.o.
The meeting will be done on a matrix chat room. More details are in the
wiki page of the event, available at:
*
https://github.com/kamailio/kamailio-wiki/blob/main/docs/devel/irc-meetings…
Feel free to add there topics that you want to be discussed.
The proposed date is Thursday, December 08, 2022, at 15:00UTC (15:00
London/Dublin, 16:00 most of West Europe, 10:00 New York), but other
dates can be proposed if they suit for more participants.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Hello!
We use trunk with Twilio through a SIP/TLS.
They establish incoming calls from random ports, like:
(Twilio)3.3.3.3:54321 --> (Kamailio)2.2.2.2:5061
In case of sending in-dialog requests to them, Kamailio should establish an
outgoing connection to the dst port 5061 (as per Route), like:
(Kamailio)2.2.2.2 --> (Twilio)3.3.3.3:5061
But as per tcpdump traces and logs, Kamailio does not even try to establish
an outgoing connection to Twilio.
There should be no problems with routes and the network on that server, as
regular telnet to Twilio shows that 5061 is open.
What could be the reason and how to debug?
*Script:*
onsend_route {
xlog("L_ERR","[$cfg(route)]*RELAY ONSEND* $rm / $du / $fs / $fsn /
[$ci]\n");
}
*Syslog:*
DEBUG <core> [core/resolve.c:1259]: srv_sip_resolvehost(): 3.3.3.3:5061
proto=3
DEBUG <core> [core/resolve.c:1371]: srv_sip_resolvehost(): returning
0x55acd63a63c0 (3.3.3.3:5061 proto=3)
ERROR <script>: [DEFAULT_SEND]*RELAY ONSEND* REFER /
sip:3.3.3.3:5061;transport=tls
/ tls:10.1.1.1:5061 / sip_wan_tls / [123]
DEBUG tm [../../core/forward.h:277]: msg_send_buffer(): sending to:
3.3.3.3:5061, force_socket=4, send_sock=0x7f090049b8e8
DEBUG tm [../../core/forward.h:292]: msg_send_buffer(): tcp_send failed
DEBUG tm [t_fwd.c:1568]: t_send_branch(): send to 3.3.3.3:5061 (3) failed
WARNING: tm [t_fwd.c:1588]: t_send_branch(): sending request on branch 0
failed
DEBUG tm [t_funcs.c:335]: t_relay_to(): t_forward_nonack returned error -1
(-477)
DEBUG tm [t_funcs.c:353]: t_relay_to(): -477 error reply generation delayed
DEBUG sl [sl_funcs.c:558]: sl_run_callbacks(): execute callback for event
type 1
*Software:*
- Kamailio is listening on (+udp, +tcp):
tls: 10.1.1.1:5061 name sip_wan_tls advertise 2.2.2.2:5061
- OS is Debian 11.5
- # kamailio -v
version: kamailio 5.6.2 (x86_64/linux)
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST,
HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 10.2.1
- # dpkg -l | grep ssl
ii libssl1.1:amd64 1.1.1n-0+deb11u3
amd64 Secure Sockets Layer toolkit - shared libraries
ii openssl 1.1.1n-0+deb11u3
amd64 Secure Sockets Layer toolkit - cryptographic utility
--
BR,
Denys Pozniak