Hi all,
Can someone help shed some light as to what this core WARNING means?
root@ashmaintpsg51:/etc/kamailio # kamailio -c kamailio.cfg
0(2192) WARNING: <core> [core/ppcfg.c:220]: pp_ifdef_level_check():
different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 2
Thanks.
--
Andy Chen
Sr. Telephony Lead Engineer
achen@ <achen(a)thinkingphones.com>fuze.com
--
*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*
Hello Everyone,
I have an IMS setup using Kamailo and is working as expected when the 4G
Core Network and IMS is running in a single VM. However, when running in
two different VMs registration is successful but calling fails. As per the
scripts in kamailio ims example folder for P-CSCF, uac module is used to
generate OPTIONS message to achieve a kind of NATPINGING to UEs.
The ping achieved in this way times out with 408 when IMS and Core Network
is run in different VMs.
I suspect that the increasing packets size could be the issue for UE not
responding to OPTIONS from P-CSCF (I have verified that OPTIONS message
from P-CSCF is reaching the eNB). In this aspect, I would like to switch
the transport protocol to TCP when MTU is greater than 1300 (please guide
me if my thinking of switching to TCP to tackle NAT issue is wrong).
I have explored the following options:
tcp_reuse_port=yes
udp_mtu=1300
udp_mtu_try_proto=TCP
But, when I use these options, any request message which hit 1300 MTU mark
are not sent out at all (in my case it is the NOTIFY request from SCSCF)
and Kamailio has a warning saying that binding to address failed as the
address is already in use.
Following is the small part of the log:
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19712]: DEBUG:
ims_registrar_scscf [registrar_notify.c:2275]:
notification_event_process(): About to free notification
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
PCSCF MO_reply:
Destination URI:
<null>
Request URI:
<null>
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: INFO: rr
[rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Source IP and Port: (10.4.128.21:6060)
Route-URI:
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Received IP and Port: (10.4.128.21:5060)
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Contact header: <sip:scscf.ims.mnc001.mcc001.3gppnetwork.org:6060>
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: ERROR: <script>:
NOTIFY (tel:0198765432100 (172.24.15.30:6060) to tel:0198765432100,
4125089758_4268630712(a)192.168.101.2)
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Within DLG
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Within loose route
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
PCSCF MO_indialog:
Destination URI:
sip:172.24.15.10:5060
Request URI: sip:
192.168.101.2:5060
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Source IP and Port: (172.24.15.30:6060)
Route-URI:
sip:mo@172.24.15.30;lr=on;ftag=4125089761
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Received IP and Port: (10.4.128.21:5060)
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: NOTICE: <script>:
Contact header: <sip:scscf.ims.mnc001.mcc001.3gppnetwork.org:6060>
Feb 27 14:31:15 epc-ims /usr/local/sbin/kamailio[19730]: WARNING: <core>
[core/tcp_main.c:1298]: tcp_do_connect(): binding to source address
10.4.128.21:5060 failed: Address already in use [98]
I could be assuming things here about huge packet sizes causing the issue,
if anyone has experienced similar issue in NATed scenario please let me
know some hints or pointer to solve this. Thanks in advance.
Best Regards,
Supreeth
I am expert in voip solution such as Asterisk and familiar with Kamailio .in
one of our project we use the linphone app as a client mobile and we have to
solved registering issue when extension has been unregistered in background
mode.
so i try to implement this scenario according federico document and enable
extra module like this:
loadmodule "tsilo.so"
loadmodule "htable.so"
#loadmodule "app_lua.so"
loadmodule "cfgutils.so"
I must disable app_lua.so because i haven't suitable lua script .i think
most parts is OK and i can see ts_store parameters:
ts.dump
{
Size: 1024
R-URIs: {
R-URI:
sip:1003@192.168.1.169:25378;rinstance=6cb3b1cc5efabdfb
Hash: -238368019
Transactions: {
Transaction: {
Tindex: 9977
Tlabel: 1825563922
}
}
}
Stats: {
RURIs: 1
Max-Slots: 1
Transactions: 1
}
}
by the way push notification feature is enable in linphone app .
Now i need a script (lua) for handling this issue (push notification for
app) when we fetch SEND PUSH route. Could you please advice me ? do you have
any example of this script?
--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hey guys,
I am implementing one scenario where I want the help of very smart people.
So let’s say one UAC 999 registers to Asterisk 1 server via kamailio and asterisk 1 server goes down. Is there any way I can move that registration to another asterisk server or is there any way I can force UAC to re register so that I can route the new Register to the available asterisk ?
Any help will be really appreciated.
Thank you
Hi list,
there is an issue in latest git version of Siremis with showing sip method
content.
If I select it from mysql I see it all good:
select * from sip_trace where method = 'INVITE';
If I click it from web interface and select needed method I get only first
register from sip_trace table.
You can reproduce by /siremis/sipadmin/sip_trace_list
<http://sbc.pride.md/siremis/sipadmin/sip_trace_list> then click on the
method to see
details. I tested on opera and chrome. Same result, something wrong with
javascript, its not passing correctly parameter for selecting.
Please have a look let me know if I can help.
Thanks. Regards
Vitalie A. Bugaian
Greetings,
I have a cenario with the following header To =
"sip:111234567890;npdi@111.222.333.444"
If i print $tu I got "sip:111234567890". If i print $hdr(To) I get
"sip:111234567890;npdi@111.222.333.444".
If i don't include the "npdi" or any other user parameters, it works fine
Is this the intended behaviour? Am i doing something wrong here?
Best Regards,
Hi,
We are building a service where we need to detect NAT when the clients
register to our server. We are struggling in analyzing NAT status of some
clients which modify their IP addresses/ports in the headers according to
the value of "received" parameter sent during "401 Unauthorized" response.
Here's the flow:
Client->Server
REGISTER sip:...
Via: SIP/2.0/TLS 192.168.0.1:41157
;rport;branch=z9hG4bKPj30093e5d-550d-4d4c-a9a2-22c3bd1cda7e;alias
Contact: <sip:user@192.168.0.1:42251;transport=TLS;ob>
...
Server->Client
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TLS 192.168.0.1:41157
;rport;branch=z9hG4bKPj30093e5d-550d-4d4c-a9a2-22c3bd1cda7e;alias;received=1.2.3.4
WWW-Authenticate: ...
...
Client->Server
REGISTER sip:...
Via: SIP/2.0/TLS 1.2.3.4:6201
;rport;branch=z9hG4bKPj30093e5d-550d-4d4c-a9a2-22c3bd1cda7e;alias
Contact: <sip:user@ 1.2.3.4:6201;transport=TLS;ob>
Authorization: ...
...
By the time the client is authenticated, there is no way to detect whether
the request was coming from a natted device or not by just analysing the
Via or Contact headers.
Thanks in advance.
Hi, I'm new to Kamailio
I need to have a kamalio as sip server which do a trunk to NGN Center(like
a friend peer trunk in freepbx).
I need to outgoing calls go through kamailio and forwarded to ngn(multi did
values, a range of numbers ...)
extensions will register on kamailio
I need incoming calls forwarded to an extension or a pbx server, doesn't
matter and both are good ...
that server will have heavy traffic about 1000 concurrent calls...
I tried a successful kamailio installation but I don't know how to config
that for my purpose.
even I tried installation of dsiprouter over a fresh debian 9 but stopped
on pyspark installation.
please give me your helps, advises, hints or ideas!
best regards