Hi Mustafa
> SIP/2.0 607.
I didn't check the RFC. But doesnt a reply need to be in the format
SIP/2.0 XXX AA
Is the text missing after the numerical error code?
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
I m p r o W a r e A G-Leiter
Hi
>
>
>
>
>
>
>data="[sip_h_X-PGPX=${uuid}]sofia/internal/$1@${sendto}"/> application="hangup"/>
>
> I was not aware it was that simple. Thank you for the education!
Indeed. I was considering asterisk as I tend to use what I know.
But with Asterisk I would have to add
Hi Kumar
> Before writing the code, I want to know if there is already a
> solution to this problem in one of the modules, so that I won't
> reinvent the wheel.
US numbers are fixed lenght 11 digits? What is the usual representation
of a 'local' US number? Does it start with a 0?
I do this (to
Hi Alex
> Curious: why is this necessary? Is there a possibility there is an
> unnecessary complicating assumption at the root of your setup?
>
> Maybe not, but I have to wonder.
*sigh* yes I guess you may ask. Somehow I think we do 'normal' VSP
business, but it looks like we seem to have a
Hi Alex
> You can use $T_inv(...) to access attributes of the original INVITE
> transaction, to which the CANCEL pertains:
>
> https://www.kamailio.org/wikidocs/cookbooks/5.8.x/pseudovariables/#t_invpv
Thank you, I'll check that out.
> However, you may instead consider the attractive
Hi all
I fear I have found a race condition when a new dialog is
being created right after the old one with identical callid is
being deleted. I logged a dialog variable on each message and reply
and this is what I found:
=> INVITE
Initial dialog variable set.
<= 422 in 'failure route'
dialog
Hi
After more intensive testing, I narrowed the issue down.
CPE A => Kamailio+dialog => CPE B
CPE A is sending an INVITE with a session timer too smal for CPE B.
CPE B replies with 422.
This causes the dialog module to trigger the 'call failed' event and
attempt to delete the dialog data.
Hi Gang
I have a strange issue after upgrading to 5.7
I use dlg_vars to keep some information until the end of the call to
write them in a CDR.
One of those variables records the timestamp of the first invite to
determine how long it took from the invite to the 'connection
established' if at
Hi
In the process of getting rid of our commercial B2Bua SBC and handling
all clients directly via Kamailio...
We have come across some (unfortunately many we have in use) CPE which
have an issue with fragmented packets or which simply do not allocate
enough memory to parse or create messages of
Hi
I have come across this challenge:
Initial invite (no to_tag) has is authenticated and has credentials. So
a lookup for the username is made to determine if the customer needs
backhauling, thus rtpengine needs to be engaged.
On a subsequent invite (re-invite to change codec or to refresh
Hi Alex
> But I'll have a shot at $nh, thanks for pointing that out!
Thank you, using the $nh variables within the branch route solved all
my issues with trying to determine where that branch is being sent to
to correct handle some special CPE cases and rtpengine.
Now for example I can
Hi Fred
> Did you upgrade the database (assuming an upgrade from pre-5.6):
>
> https://www.kamailio.org/wikidocs/install/upgrade/5.5.x-to-5.6.0/
Yes I did. I even remember reading this article.
That is the only change, right?
-- add index on connection_id for usrloc module location table
I finally worked it out.
$var(c) = 0; Branch Count
looping through the ul:
append_branch($(ulc(aor=>addr)[$var(i)]));
$(branch(dst_uri)[-1]) = $(ulc(aor=>received)[$var(i)]);
$(branch(send_socket)[-1]) = $(ulc(aor=>socket)[$var(i)]);
$avp(ua) = $(ulc(aor=>user_agent)[$var(i)]);
$var(c) =
Hi Henning
Missed the first line with the specific issue:
Jan 26 07:27:45 dev-cpereg01 kamailio[2708456]: ERROR: db_mysql
[km_dbase.c:122]: db_mysql_submit_query(): driver error on query: Duplicate
entry 'uloc-65b237f8-28983d-1' for key 'location.ruid_idx' (1062)
Jan 26 07:27:45 dev-cpereg01
Ok I re-worked this.
I'm not adding branches I don't want anymore.
But I still need to access:
$(ulc(aor=>user_agent)[INDEX]) from within the branch route to tweak
some headers for specific user agents.
The ulc INDEX does not match the Branch INDEX.
How can I pass an information into a branch
Hi
https://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#branch_name_-_branch_attributes
"Assigning $null to uri attribute will drop the branch, for the rest of
attributes will just set the value to null."
Where do I need to assing $null to the brach URI to get it dropped? And
what
Hi
I have come across an issue with the usrloc database on kamailio 5.6 and 5.7
Jan 26 07:19:45 dev-cpereg01 kamailio[2708456]: ERROR: [db_query.c:244]:
db_do_insert_cmd(): error while submitting query
Jan 26 07:19:45 dev-cpereg01 kamailio[2708456]: ERROR: usrloc [ucontact.c:686]:
Hi Alex
> sql_xquery("db", "SELECT ...", "stuff");
>
> $var(i) = 0;
>
> while(defined $xavp(stuff[$var(i)])) {
> $sht(tbl=>$xavp(stuff[$var(i)]=>id)) =
> $xavp(stuff[$var(i)]=>otherval); $var(i) = $var(i) + 1;
> }
>
> etc.
Thank you. So there is no 'direct' way I
Hi Daniel
> comma is not allowed in an unquoted value for SIP parameters because
> it is separator for header bodies that are set on the same header
> name. Practically the comma is the end of parameters list.
Thank you for your confirmation I was on the right track.
> It should work with:
>
Hey!
I'm hunting down an issue with xavp_params_explode, maybe somebody has
already come adross it and could confirm it exists and maybe know a
solution?
xavp_params_explode("a=foo;c=hello,world;e=baar", "x");
$xavp(x=>a) is 'foo'
but x=>c and x=>e are null
Am I right to assume the issue
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
Hi
Some more testing...
It looks like, in REPLY_ROUTE
if (is_known_dlg()) {
dlg_set_timeout("3");
xlog("L_INFO", "$cfg(route): DEBUG DLG Lifetime
$dlg(lifetime)\n");
}
indeed does set the lifetime to 3 seconds.
Unfortunately this is replicated
Hi
> Shall I try by setting the default_timeout and then use a timeout_avp
> to set that timeout slightly lower AFTER the dialog has started? Or
> would this be synced to the other node too?
No, this does not work. Tested on our dev platform (Kamailio 5.6) by
setting default_timeout to 5 seconds
Hello World!
Kamailio 5.5 in use.
I wonder, how I could prevent this issue.
modparam("dialog", "send_bye", 1)
modparam("dialog", "default_timeout", 21600)
in the corresponding route:
$dlg_ctx(timeout_route) = "DIALOG_TIMEOUT";
dlg_manage();
Dialog starts on Node01 and it's variables, status
Hi List
I wanted to take one of our cores down gracefully by not destroy
running dialogues to be able to implement a config change on Kamailio
5.5
For this I did:
kamctl dispatcher.remove ID SIP-URI, for every IC
This worked fine, Kamailio is instructed to reply 503 on out of
dialogue traffic
Hi James
> I used to have this problem, but I don't have it right now. I've never
> fixed the problem, but I'm on 5.6.1 now and it doesn't happen.
> What version have you got?
5.5 on production and 5.6 / 5.7 on development platform
Thank you for that hint. Checking if that also occurs on 5.6
Hi Antony
> Are you connecting to mysql?
>
> We had similar sounding issues and adding this to kamailio.cfg made a
> difference
> modparam( "db_mysql", "opt_ssl_mode", 1 )
I am using MySQL, but I didn't deliberately configure it to use SSL.
I'm using TLS for SIP client registration on port
Hi Gang
I just updated our dev plattform from 5.6 to 5.7
5.5 was working fine with TLS under Ubuntu Focal.
5.6 under Jammy started to dump cores.
5.7 still shows the same behaviour, usually shortly after a restart.
Oct 20 09:45:01 dev-cpereg01 kamailio[11925]: CRITICAL:
28 matches
Mail list logo