Today i encounter with strange issue in SIP signalling in Kamailio,
In INVITE message, I just change Contact Header and relay message to
destination, But the message is like this:
192.168.122.245.4080 > 192.168.122.174.5060: [bad udp cksum 0x7b5e ->
0x3a4d!] SIP, length: 1104
INVITE sip:8000@r-kh.com;transport=UDP SIP/2.0
Record-Route: <sip:192.168.122.245:4080;lr;ftag=8e47e95e;nat=yes>
Via: SIP/2.0/UDP
192.168.122.245:4080;branch=z9hG4bK14d7.dc974309aba269b24213204d3ea085e2.0
Via: SIP/2.0/UDP
192.168.122.1:36853;rport=36853;branch=z9hG4bK-d8754z-423b431a3ebc8a22-1---d8754z-
Max-Forwards: 69
sip:7000@192.168.122.1:36853;transport=UDP;alias=192.168.122.1~36853~1To:
<sip:8000@r-kh.com;transport=UDP>
From: <sip:7000@r-kh.com;transport=UDP>;tag=8e47e95e
Call-ID: YTZmYTJmYzg0ZDNiMjM2OGUxZGYwNzg4OWY1ZmIxYzc.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS,
INFO, SUBSCRIBE
Content-Type: application/sdp
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.3.25608 r25552
Allow-Events: presence, kpml
Content-Length: 241
<SDP Body>
The code in Kamailio is:
#!ifdef WITH_SBC_NASIM
#if the Invite request is MO, forward it to Asterisk .
if (is_method("INVITE") && $si!="192.168.122.245") {
xlog("L_INFO", "The Invite message from $si:$sp,
Forwart to Asterisk. <192.168.122.174:5060>.\n");
remove_hf("Contact");
append_hf("Contact:sip:$fU@sbc.r-kh.com\r\n");
$du = "sip:192.168.122.174:5060";
}
#!endif
Be notice that, i have the same procedure in REGISTER message, But it
is work correct,
if(is_method("REGISTER")) {
xlog("L_INFO", "forward register to Asterisk\n");
remove_hf("Contact");
append_hf("Contact:sip:$fU@sbc.r-kh.com\r\n");
rewriteuri("sip:r-kh.com");
$du = "sip:192.168.122.174:5060";
route(RELAY);
}
Let me know what is the problem?
--
--Mojtaba Esfandiari.S
JSONRPC-S module README has:
2. Limitations
This module does not implement asynchronous RPC commands. It is
unlikely that asynchronous RPC commands will be executed from an
JSON-RPC over HTTP client.
Does this mean that, for example, tm.t_uac_wait command cannot be
executed using JSON-RPC over HTTP?
If so, why "it is unlikely that asynchronous RPC commands will be
executed from an JSON-RPC over HTTP client", since those commands are
currently commonly executed from XMLRPC client using xmlrpc module?
It would be nice if JSONRPC-S module could be used as replacement of
xmlrpc module.
-- Juha
Hello all,
I need to set up a multi-domain kamailio, i think in terms of accepting
invites to different domains is pretty simple by using the "alias"
parameter, that much i have clear.
My doubt comes from the fact that I need to route outgoing calls also based
on the domain.
As of today, i have single-domain kamailios using dispatcher to
load-balance and failover said calls. I think i should be able to use
dispatcher here as well, separating the dispatcher list by GID, so that
Domain1->gid:1
Domain2->gid: 2
Domain3->gid: 3
and so on...
I don't have registrations on this server and none are expected.
So i'm thinking i will received the invites like:
sip:12345@domain1.com
sip:12345@domain1.com
sip:12345@domain1.com
and so on...
How would you guys go about associating the domain with the gid list in
dispatcher?
Thanks a lot for your help!
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
ᐧ
Am Freitag, 17. August 2018, 16:37:23 CEST schrieb Wilkins, Steve:
> Yes, I did read that post, thank you for that; my problem is that installing
> Kamailio is one of the last things I do in a script so I was hoping to find
> a way to tell Kamailio to point to a different version. I guess I will
> just need to go another route.
Hi Steve,
(add sr-users)
kamailio by itself will not force the installation of a mysql version. I think
this is done from the distribution package management and from the respective
kamailio package. There are ways to adapt the installed dependencies during
this installation, but you need to investigate it, as its depend on your linux
distribution.
Best regards,
Henning
--
Henning Westerholt
https://skalatan.de/blog/
Hi All,
I would like Kamailio to use MySQL 5.7, however when Kamailio installs and I say I want to use MySQL, it installs 8.0. Can I someway direct Kamailio to install version 5.7?
Thank you,
-Steve
Is there a limit to the number of users which can be registered on Kamailio
at any one time, or a configuration file which sets this.
I have just installed Kamailio in a lab environment for testing purposes
but I seem to only be able to register 1024 users, all remaining Register
requests are ignored.
I am not using a database to authenticate users or anything, just want to
be able to register upto 10,000 users.
regards
Philip
Hi!
I keep receiving the below logs on Kamailio:
CRITICAL: dialog [dlg_hash.c:955]: log_next_state_dlg(): bogus event 8 in
state 1 for dlg 0x7f59862cd440 [3685:10496]
I understand that state 1 indicates an unconfirmed dialog, can anyone tell
me what bogus event 8 is?
The following is the call flow:
User A ===> Kamailio ==> Provider
>From the PCAP trace an INVITE is sent to the provider, the provider
answers with 100 Trying, 180 Ringing and immediately an OPTIONS message
with the same call id
Kamailio Provider
INVITE
=================>
100 Trying
<=================
180 Ringing
<================
OPTIONS
<================
Im assuming bogus event 8 is the OPTIONS message? Is an OPTIONS message
normal in this case?
Thanking you very much in advance for your help!
Regards
Phillip
Hello,
I have been registered with Kamalio with pravin(a)bolindia.com id ..its not
working with login credential registered with kamailio. Pls suggest
Regards,
Pravin
bolindia Networks Pvt Ltd.
Hi all,
I want to use Kamailio as a P-CSCF on ubuntu 18.
Kamailio will be p-cscf and will communicate scscf in another open-ims box.
How can I implement this feature. I have already looked following link.
However it did not help me since I could not see any example pcscf
configuration files after installation
https://www.kamailio.org/wiki/tutorials/ims/installation-howto
Regards,
Serkan