Hi all
I use event_route[xhttp:request] on Kamailio 5.5
Every time a xhttp request is processed I get this log entry:
ERROR: textops [textops.c:3541]: is_method_f(): cannot parse cseq header
Almost identical config on Kamailio 5.6 does not show this error.
Is that something that got fixed in 5.6?
I see a change in the documentation, While 5.5 does not state $rm can
be accessed, 5.6 states $rm contains the HTTP method.
Or do I somehow leak the http request to somewhere I call is_method() on
it after terminating the event route?
How should the event_route[xhttp:request] properly be terminated?
With 'return' or with 'exit'?
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
Hi there,
I have taken over a project that uses Kamailio.
I am aware of what we use it for - I am just not sure on the how... apart
from what I have read in the docs.
We're currently running 5.4.2 and I'd like to upgrade to (at least) the
latest 5.4 offering - as that seems as if it would be the easiest and
safest option.
So I am hoping I might get some direction, please - on the way forward for
an upgrade.
The documentation seems OK if you're upgrading minor versions... but I
couldn;t find anything about upgrading patch versions.
Thanks!
Hello,
we should consider an online devel meeting sometime soon to summarize
what was done at (and still needs to be done after) devel meeting in
Dusseldorf and plan a bit the targets for next major release (5.8 or 6.0)?
If considered useful, I propose Dec 5 at 15:00UTC (16:00
Berlin/Paris/Madrid/Rome), but we can also look for other dates as well.
Topics to be discussed can be added at:
-
https://github.com/kamailio/kamailio-wiki/blob/main/docs/devel/irc-meetings…
Pull requests can be made by users without git access.
Cheers,
Daniel
PS: Previous announcement indicated the start time 14:30 UTC, this
message changes it to 15:00 UTC - 30min later due to a constraint in
availability of one of the Kamailio developers.
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hi List
Kamailio 5.5
# kamcmd stats.get_statistics dialog:
dialog:active_dialogs = 17
dialog:early_dialogs = 18446744073709551615
dialog:expired_dialogs = 0
dialog:failed_dialogs = 31198
dialog:processed_dialogs = 107519
Where could this early_dialog value come from?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
Hi,
I am needing some help setting up kamailio as a sip proxy between a
provider(trunk) and a test pbx
The trunk requires username&password and i would like to add that
information to the request within the Kamailio proxy, so that the PBX can
authenticate directly by IP (without username&password) through the
Kamailio proxy.
As a programmer with a limited background in SIP (currently learning), I am
keen on understanding the intricacies of this setup at the SIP level.
Could you please direct me to resources or documentation that covers
scenarios similar to mine?
Any help or guidance you could provide would be greatly appreciated.
Thanks
Hi,
I wanted to revisit the topic of tsilo dependence on the location service. All three ts_append*() functions have the following quality:
- ts_append(): "performing a contact lookup on the table specified by the domain parameter."
- ts_append_by_contact(): "the contact lookup is performed"
- ts_append_to(): "performing a contacts lookup on the table specified by the domain parameter"
Why is this extensive coupling to usrloc necessary? This makes it impossible to use `tsilo` in case of providing a push-notification add-on that front-ends an upstream registrar, requiring a kind of local shadow registrar or mid-registrar. What would make more sense is a generic mechanism that allows one to "drip" new contacts into an existing transaction, whether suspended or active.
Kamailio has a mechanism to add more branches to an existing transaction, but the scope of that mechanism is only from *inside* the vantage point of the transaction in question. The key parlour trick of `tsilo` is that it permits dripping new branches into a *different* transaction.
ts_append_to() almost does the trick, providing a target index and label, but it just insists on doing a registrar lookup to source the contacts.
What is really wanted and needed for the downstream PN gateway use-case is a means of extracting contacts from incoming registrations (or other sources, potentially) without storing them in any fashion locally, without using or even loading usrloc, and just throwing them over the fence into a different transaction.
Is this somehow possible by means other than tsilo? Am I overlooking something?
Cheers,
-- Alex
--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800
Hi,
Kamailio newby here. Having some trouble with using alias_db to forward an incoming call to two extensions. Thanks in advance for any help.
I've tried using the Ubuntu Jammy ARM64 packages, as well as compiling the source for version 5.7.3. In both cases, I've added three extensions, and calls directly between them work fine with the vanilla kamailio.cfg.
However, I then wanted to add an alias so that when called it would dial two extensions, but only the first extension is ever called.
My kamailio.cfg only differs in a few places:
$ diff kamailio.cfg kamailio.cfg.original 3,6d2
< #!define WITH_AUTH 1
< #!define WITH_DEBUG 1
< #!define WITH_ALIASDB 1
< #
268,270d263
< loadmodule "db_sqlite.so"
< #!define DBURL "sqlite:///usr/local/kamailio-devel/etc/kamailio/kamailio.sqlite"
< 367c360
< modparam("tm", "failure_reply_mode", 0)
---
> modparam("tm", "failure_reply_mode", 3)
450d442
< modparam("alias_db", "append_branches", 1)
I can see from the log that when dialling the desired alias (5000) an alias_db query is performed:
Dec 01 20:00:23 merrivale /usr/local/kamailio-devel/sbin/kamailio[3264]: DEBUG: {1 2 INVITE 651794328853009-230332414159388(a)192.168.17.145} alias_db [alookup.c:169]: alias_db_query(): new URI [0] is [sip:6002@merrivale.localdomain]
Dec 01 20:00:23 merrivale /usr/local/kamailio-devel/sbin/kamailio[3264]: DEBUG: {1 2 INVITE 651794328853009-230332414159388(a)192.168.17.145} alias_db [alookup.c:169]: alias_db_query(): new URI [1] is [sip:6001@merrivale.localdomain]
But only the first result is called. I've changed the order of the aliases in the sqlite db and just the first result is called.
What am I missing?
Merul
Hi List
I want to find a way to check how many users are regsitered.
https://www.kamailio.org/docs/modules/devel/modules/usrloc.html#usrloc.r.db…
But no matter how I try, I get a 500 error...
# kamcmd ul.db_users location
And yes, the table is called 'location'.
I did try to find out how kamctl ul show --brief pulls that
information, but did not succeed. Also that command takes way too long
how that we have several thousand registered users.
Or would I need to query this directly from the database?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
Hello,
another edition of FOSDEM is approaching and it will include again a
Real Time Communications devroom. If anyone wants to share their
interesting applications or experiences in the field, consider to submit
a presentation proposal. The CfP is available at:
- https://lists.fosdem.org/pipermail/fosdem/2023q4/003518.html
It does not have to be about Kamailio, all RTC topics are welcome, just
think to be something useful for developers, as the event is targeting them.
Cheers,
Daniel
--
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy and Development Services
Kamailio Advanced Training -- asipto.com