I think you need to capture w tcpdump on kamailio port and then check what
packet is causing this.
tcmdump -f "port 5060" -w file.pcap
Then open file in wireshark and try figure out ( i think not valid sip
packet coming on 5060 port).
wt., 21 sty 2020 o 11:26 Mike from ApoloCore <mike(a)apolocore.com>
napisał(a):
> I think you need to capture w tcpdump on kamailio port and then check what
> packet is causing this.
>
> tcmdump -f "port 5060" -w file.pcap
>
> Then open …
[View More]file in wireshark and try figure out ( i think not valid sip
> packet coming on 5060 port).
>
> wt., 14 sty 2020 o 08:54 Alex Balashov <abalashov(a)evaristesys.com>
> napisał(a):
>
>> It would appear that an incoming SIP message has one or more
>> grammatically invalid headers that confuse the parser?
>>
>> —
>> Sent from mobile, with due apologies for brevity and errors.
>>
>> > On Jan 14, 2020, at 2:37 AM, Ratanraj Singh <ratanraj.singh2(a)gmail.com>
>> wrote:
>> >
>> >
>> > Hi All,
>> > I am troubling with kamailio service error. Can someone help on this
>> issue?
>> >
>> >
>> > <image.png>
>> >
>> > _______________________________________________
>> > Kamailio (SER) - Users Mailing List
>> > sr-users(a)lists.kamailio.org
>> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users(a)lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
[View Less]
Hi,
I'm experiencing a strange behavior with the Kamailio presence module. I've
a Polycom phone which takes the the XML tag "version" very seriously and so
as soon it SUBSCRIBEs to a parking lot a NOTIFY is sent from server with
"version=1" - When the Parking lot/extension gets busy it receives the
second NOTIFY with "version=1" whereas it should've been 2. So it fails to
light up the BLF icons.
Now, any further notify correctly increments the version tag and Polycom
blf works fine until its …
[View More]SUBSCRIBE expires and the first cycle of NOTIFY is
exchanged.
I can tell its a bug because for each NOTIFY the
*event_route[tm:local-request]* prints the attribute $subs(version) and it
correctly shows the sequence 1,2,3...onwards, However the sngrep/network
trace tells it differently, the version shows up as 1,1,2,3...onwards
*version:* kamailio 5.2.3 (x86_64/linux) c36229
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 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_BLACKLIST, HAVE_RESOLV_RES
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: c36229
compiled on 22:20:40 Jan 18 2020 with gcc 4.9.2
*MODULES:*#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_mwi.so"
loadmodule "presence_xml.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_reginfo.so"
loadmodule "pua.so"
loadmodule "pua_rpc.so"
loadmodule "pua_dialoginfo.so"
modparam("pua", "db_url", DBURL)
modparam("pua", "db_mode", 2)
modparam("pua", "update_period", 60)
modparam("pua", "dlginfo_increase_version", 0)
modparam("pua", "reginfo_increase_version", 0)
modparam("pua", "check_remote_contact", 1)
modparam("pua", "fetch_rows", 1000)
modparam("pua", "outbound_proxy", "sip:MY_HOST_IP:MY_HOST_PORT")
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO)
modparam("pua_dialoginfo", "caller_confirmed", 1)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "override_lifetime", 124)
modparam("presence", "presentity_table", "presentity")
modparam("presence", "active_watchers_table", "active_watchers")
modparam("presence", "watchers_table", "watchers")
modparam("presence", "db_update_period", 60)
modparam("presence", "db_table_lock_type", 0)
modparam("presence", "local_log_level", 3)
modparam("presence", "notifier_processes", 10)
modparam("presence", "force_delete", 0)
modparam("presence", "subs_db_mode", 2)
modparam("presence", "db_table_lock_type", 0)
modparam("presence", "expires_offset", 60)
modparam("presence", "send_fast_notify", 1)
modparam("presence", "clean_period", 30)
modparam("presence", "publ_cache", 0)
modparam("presence", "min_expires_action", PRESENCE_MIN_EXPIRES_ACTION)
modparam("presence", "min_expires", PRESENCE_MIN_EXPIRES)
modparam("presence", "max_expires", PRESENCE_MAX_EXPIRES)
modparam("presence", "sip_uri_match", 1)
modparam("presence", "waitn_time", 1)
modparam("presence", "db_url", DBURL)
modparam("presence", "server_address", "sip:MY_HOST_IP:MY_HOST_PORT")
modparam("presence_xml", "force_dummy_presence", 1)
modparam("presence_xml", "force_active", 1)
modparam("presence_xml", "db_url", DBURL)
modparam("presence_dialoginfo", "force_single_dialog", 1)
modparam("presence_dialoginfo", "force_dummy_dialog", 1)
#!endif
Looking to find some answers,
Thanks,
Sammy
[View Less]
Hi guys.
I'm replacing a environment where I was using kamailio + freeswitch by
another where I'm adding rtpengine to the mix.
One of the issues I'm having now is when I have a SIP Client behind NAT:
When I send the INVITE from the SIP Client, the SDP is using the private
LAN IP address + the advertised media port, let's admit it's
10.10.10.10:5000 when the call establishes with a public server running
kamailio + rtpengine, the actual RTP arrives from the home router public IP
on a natted …
[View More]port, let's admit it's 100.100.100.100:65100, event though,
RTPENGINE assumes that RTP stream is coming from 100.100.100.100:5000. I'm
using the '--sip-source' with RTPENGINE to make it use the received ip
address instead of the private IP coming in the SDP but I'm not finding
anything to make RTPENGINE adapt an start sending the RTP FLOW to the port
where he starts receiving the RTP flow from, discarding the SDP media port
information.
In my previous setup with freeswitch alone, freeswitch did this
transparently. How do you guys solve this issue in RTPENGINE?
Regards,
--
Nuno Miguel Reis
Departamento de Engenharia Informática
Faculdade de Ciências e Tecnologia
Universidade de Coimbra
[View Less]
Hello,
during the last developers meeting in Dusseldorf we had some discussions
about simplifying the building process and internal dependencies/libraries.
The src/lib/srutils contains now mainly the uuid and json functions,
which are used by very common modules such as registrar/usrloc, tm,
dialog, jsonrpcs, dmq*, ... There is a part related to the time
recurrence matching, used by drouting, tmrec, but the code is not that
significant in size, so I am planning to relocate the lib code to the
…
[View More]core and get rid of dependencies to internal libsrutils to many modules.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com
[View Less]
Hello,
a quick note to the community forums to announce that the registration
for the next Kamailio World Conference (April 27-29, 2020, in Berlin,
Germany) is now open!
More details are available at:
* https://www.kamailioworld.com/k08/registration/
Call for presentations is still open, there is already a group of very
interesting submissions, we aim to publish details about them in the
near future.
Looking forward to meeting many of you in Berlin!
Cheers,
Daniel
--
Daniel-…
[View More]Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com
[View Less]
Hi,
I am trying to invoke unum lookups from calls to enum_query() ,is_from_user_enum() and enum_pv_query().
However we are not seeing any enum lookups over the wire using wireshark.
In the Kamailio.cfg the following are set:
loadmodule "enum"
modparam("enum", "domain_suffix", "mydnsserver.org.")
modparam("enum", "i_enum_suffix", " mydnsserver.org.")
sample use in our Kamailio.cfg file:
if(!enum_query("mydnsserver.org.")) {
xlog("....);
#do something
} else {…
[View More]
Xlog("....")
#do something else
}
I do see NAPTR lookups being done by the other Kamailio IMS processes initially when it starts up so I know it has connectivity to the DNS server, but none for the invoked enum queries.
We are running Kamailio 5.2.2.
Thanks,
Martin
[View Less]
Hi,
I am on kamailio 5.2.4 and want to use the xhttp module for certain management operations.
The request involves some DB queries . The DB is remote and via ODBC and might have some delay.The documentation on the xhttp module states about latency http://kamailio.org/docs/modules/devel/modules/xhttp.html mentioning that the request is handled in an asynchronous manner.
However, the JSONRPC-S module documentation says that this module implements the support for asynchronous RPC …
[View More]commands only for HTTP and HTTPS transports.
https://www.kamailio.org/docs/modules/devel/modules/jsonrpcs.html#idm104941…
I am confused about the process under whose context the xttp request . Can there be a dedicated process to handle certain management requests which do some custom instructions like certain DB operations or initiate certain http requests ?
Thanks,Rupesh
[View Less]
I'd never had a reason to before, but on a deployment I need http
messages to go out a specific interface. Curl has an --interface option,
but I don't see how to do the same with http_client. Unless I'm missing
something...
Anyone ever do something like this?
--
Fred Posner
fred(a)qxork.com
https://qxork.com
Direct/SMS: +1 (336) 439-3733
Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com
Take the LEAD in Unified Communications as a Service! We can help you get
started in the next Telco Disruptive Business.
White Label Hosted Cloud Platform as a Service (CPaaS) will enable you to
offer all of the below products under your own brand -
Hosted Contact Center (CCaaS)
Hosted Unified Communications (UCaaS)
Hosted PBX (Full Feature Set)
SIP Trunk
Ai Chat Bots
Caller Profile Solutions (Display your clients' corporate identity on cell
phones) to improve phone answer ratio.
Video …
[View More]Surveillance (VSaaS integrated with AWS)
Web Conferencing
Virtual FAX
Business SMS
Software developed in the USA to have all the routing features required to
connect with US and Canadian carriers for inbound and outbound (LRN, LNP,
TF, SMS, Push, Video etc).
Use our existing contracts and pricing for telco services or BYOC (bring
your own carrier model).
Alternately we can provide you with introductions to the carriers of choice
below to get started -
Nuwave.com - Number 1 in TF 8XX Inbound
Voipinvite.com - 1000s of MPS and CPS for SMS and Voice Broadcast
Voxbone.com - World Wide DiDs - Low Monthly minimum
Peerlessnetwork.com - Outbound / Inbound Business calling
Centurylink.com / Level 3 - USA DiDs and outbound and inbound - minimum
volumes required
Verizon.com - Outbound and Inbound enterprise business calls - minimum
volumes required
Dario Vargas
info(a)dnl-switch.com
[View Less]
Hi kamailios,
i have a creepy situation with v5.2.1 stable Kamilio. After a day or
so, Kamailio stop to process incoming SIP traffic via TCP. The
incoming TCP network packages get TCP-ACK from the OS (Debian 9,
4.18.0-15-generic-Linux) but Kamailio does not show any processing for
the SIP-Traffic incoming via TCP. No logs, nothing. While traffic via
UDP is working just totally fine.
When i look via command "netstat -ntp" is see, that the Recv-Q get
bigger and bigger. e.g.:
Proto Recv-Q Send-…
[View More]Q Local Address Foreign Address State PID/Program
name tcp 4566 0 172.17.217.12:5060 xxx.xxx.xxx.xxx:57252 ESTABLISHED
31347/kamailio
After Kamailio restart, all is working fine again for a day. We have
maybe 10-20 devices online via TCP and low call volume (1-2 call per
minute). The only settings for tcp we have is "tcp_delayed_ack=no"
How to could we debug this situation? Again, no error, no warings in
the log. Just nothing.
Kristijan
[View Less]