Hi All,
Since we've been using sipPhones as a proxy for registrations and calls to phones over TCP. I've been seeing a couple of these crop up in the logs.
/usr/sbin/kamailio[4255]: ERROR: <core> [tcp_read.c:1131]: ERROR: tcp_read_req: error reading
/usr/sbin/kamailio[4255]: ERROR: <core> [tcp_read.c:293]: error reading: Connection reset by peer (104)
We haven't had any complaints of problems with the phones so if these are not a problem I'd like to know how to clean them up.
Any suggestions on cause or solution would be fantastic.
Thanks in advance.
Rob
Kind regards,
Robert Moore
Telephony System Architect
[Description: Aeriandi]
m. +44 (0)7766 838 040
t. +44 (0)845 108 0308
[cid:image002.png@01CF8C82.823C49E0]<http://www.retailweektechnologyawards.com/winners-2014>
Aeriandi Ltd / Prama House, 267 Banbury Road, Oxford OX2 7HT / +44 (0)845 108 0308 / info(a)aeriandi.com<mailto:info@aeriandi.com> / aeriandi.com<http://www.aeriandi.com/>
This transmission is intended solely for the addressee and may be confidential. If you are not the named addressee, or if the message has been addressed to you in error, you must not read, disclose, reproduce, distribute or use this transmission. Please delete the message or contact the sender. Delivery of this message to any person other than the named addressee is not intended in any way to waive confidentiality. Please note that neither Aeriandi Ltd nor the sender accepts any responsibility for any viruses, which may be transmitted, and it is your responsibility to scan attachments (if any).
Hi guys,
i think i have stumbled on an msilo bug.
m_dump() is not working.
kamctl fifo get_statistics all | grep mess
msilo:dumped_messages = 0
msilo:failed_messages = 0
msilo:stored_messages = 1
so here we can see there is a message to be delivered.
i turned on debug mode, then the intended destination of message logs in.
then this is what i see on logs
DEBUG: msilo [msilo.c:1082]: m_dump(): dumping [1] messages for
<sip:XX85X80X74@1X8.1X9.1X7.1X3>!!!
DEBUG: msilo [ms_msg_list.c:169]: msg_list_check_msg(): checking msgid=405
DEBUG: msilo [ms_msg_list.c:207]: msg_list_check_msg(): msg already in sent
list.
DEBUG: msilo [msilo.c:1089]: m_dump(): message[0] mid=405 already sent.
using ngrep, no message was ever seen on the wire.
then,
kamctl fifo get_statistics all | grep mess
msilo:dumped_messages = 0
msilo:failed_messages = 0
msilo:stored_messages = 1
still the same.
anybody experienced this?
Kelvin Chua
4PSA develop and sell a software suite called VoipNow Professional
(version 2.5) which, amongst other things, includes it's own packaged copy
of Kamailio. This version is derived from Kamailio version 1.5.4.
The software installs a binary release from a 4PSA repository. The RPM
information contains the following:
# rpm -qi voipnow-kamailio-1.5.4-130312.41.rhel5
Name : voipnow-kamailio Relocations: (not relocatable)
Version : 1.5.4 Vendor: Rack-Soft, Inc
<devel(a)4psa.com>
Release : 130312.41.rhel5 Build Date: Tue 12 Mar 2013
18:31:30 EST
Install Date: Sun 02 Feb 2014 00:15:14 EST Build Host:
rhel5-1.64b.build.4psa.ro
Group : System Environment/Daemons Source RPM:
voipnow-kamailio-1.5.4-130312.41.rhel5.src.rpm
Size : 6599403 License: GPL
Signature : RSA/SHA1, Tue 12 Mar 2013 18:35:28 EST, Key ID
42ba8c472f75de11
Packager : Rack-Soft, Inc <devel(a)4psa.com>
URL : http://kamailio.org/
Summary : Kamailio, a very fast and flexible SIP Proxy
I've made a direct request to 4PSA for the source code for this package,
only to be told they don't release their sources. The request, and
subsequent response, can be found at
http://my.4psa.com/4psa/topics/where_can_i_find_the_source_code_for_the_voi
pnow_2_5_x_modified_version_of_kamailio.
For those interested, the following packages are included with VoipNow
which are derived from GPL software. There is no source available for any
of these from the vendor.
# rpm -qa |grep voipnow
voipnow-spandsp-0.0.6-100708.10.rhel5
voipnow-asterisk-1.6.1.20-130312.07.rhel5
voipnow-asterisk-addons-1.6.1-130131.30.rhel5
voipnow-php-2.5.5-130312.11.rhel5
voipnow-sox-14.3.1-100723.30.rhel5
voipnow-asterisk-sounds-1.4.22-100723.25.rhel5
voipnow-kamailio-1.5.4-130312.41.rhel5
voipnow-ejabberd-2.1.4-100723.29.rhel5
voipnow-asterisk-debuginfo-1.6.1.20-120417.09.rhel5
voipnow-asterisk-extra-2.5.5-130312.11.rhel5
My requests are falling on deaf ears. Does anybody know how to make them
take this matter seriously?
Cheers,
Matthew Costa
Infrastructure Manager
<http://www.greenlight-itc.com/>
Suite 703, Level 7
815 Pacific Highway Chatswood 2067
tel: 02 8412 0000 fax: 02 8412 0001
Hello List
Hopefully someone can help. This is the problem when the call is hug up 20-30 seconds after it initiates. The call is only hung on when the remote extension initiates the call. If the remote extension receives the call there is no problem the call is not hung on. I changed the remote cisco phone for a yealink and it is the same behavior. It thought it was the phone.
This is what I am using in kamailio.cfg
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_ASTERISK
#!define WITH_USRLOCDB
#!define WITH_ANTIFLOOD
Remote User Internet Internal network
Yealink IP TG28P ----DSL router ---|------Internet --------|-----Cisco ASA 5500 FW--------------Kamailio/Freepbx (Same Box)------IAX Trunk----------Freepbx Production Server --------|------ PSTN
Thanks
Carlos Rangel
De: Carlos Rangel [mailto:crangel@globaltelesourcing.com]
Enviado el: jueves, 26 de junio de 2014 01:27 p.m.
Para: miconda(a)gmail.com; 'Kamailio (SER) - Users Mailing List'
Asunto: RE: [SR-Users] Kamailio Freepbx Integration Dropping Calls
Hi Daniel
Thank you so much for your response. Here is the SIP trace of one of the calls, I am not sure where the call initiates but you can see at the end of the file in bold X-Asterisk-HangupCause: No user responding. I am not sure why is it sending this message though.
The variables are
Extension/Username=XXXXX
Ext_IP= Public IP
Internal_IP= Asterisk/Kamailio internal IP
Sorry for the long file but again I am not sure where the call initiates
This is the part where that call is hung on.
U 2014/06/26 13:36:11.831965 Kamailio_IP:5080 -> Kamailio_IP:5060
BYE sip:XXXXX@65.190.71.203:5060;user=phone;transport=udp SIP/2.0.
Via: SIP/2.0/UDP Kamailio_IP:5080;branch=z9hG4bK7ce1be47.
Route: <sip:Kamailio_IP;lr=on;ftag=000653dc394000970f227678-1fafb4e2>.
Max-Forwards: 70.
From: <sip:919707249077@Kamailio_IP:5060>;tag=as2e670ea4.
To: "User" <sip:XXXXX@Kamailio_IP:5060>;tag=000653dc394000970f227678-1fafb4e2.
Call-ID: 000653dc-3940000b-33caf1b2-20ccd185(a)192.168.0.22.
CSeq: 102 BYE.
User-Agent: FPBX-2.11.0(11.10.2).
X-Asterisk-HangupCause: No user responding.
X-Asterisk-HangupCauseCode: 18.
Content-Length: 0.
.
U 2014/06/26 13:36:11.832260 Kamailio_IP:5060 -> 65.190.71.203:5060
BYE sip:XXXXX@65.190.71.203:5060;user=phone;transport=udp SIP/2.0.
Via: SIP/2.0/UDP Kamailio_IP;branch=z9hG4bKcf68.d6ef5aa9cc5bd0fb0ab13a563b7cf284.0.
Via: SIP/2.0/UDP Kamailio_IP:5080;branch=z9hG4bK7ce1be47.
Max-Forwards: 69.
From: <sip:919707249077@Kamailio_IP:5060>;tag=as2e670ea4.
To: "User" <sip:XXXXX@Kamailio_IP:5060>;tag=000653dc394000970f227678-1fafb4e2.
Call-ID: 000653dc-3940000b-33caf1b2-20ccd185(a)192.168.0.22.
CSeq: 102 BYE.
User-Agent: FPBX-2.11.0(11.10.2).
X-Asterisk-HangupCause: No user responding.
X-Asterisk-HangupCauseCode: 18.
Content-Length: 0.
Descripción: Description: Description: DLR-Logo-No-TextCARLOS RANGEL | INFORMATION TECHNOLOGY DIRECTOR
Global Telesourcing México, S. de R.L. de C.V. | Aarón Sáenz #1891-1 | Monterrey, N.L., México
Direct 703 894 1667 | Mobile US 703 894 1667 | Mobile MX +52 1 812 000 7362 | crangel(a)globaltelesourcing.com
________________________________________________________________________________________________________________
The information contained in this e-mail and any attached documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been sent to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
De: sr-users-bounces(a)lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] En nombre de Daniel-Constantin Mierla
Enviado el: jueves, 26 de junio de 2014 03:12 a.m.
Para: Kamailio (SER) - Users Mailing List
Asunto: Re: [SR-Users] Kamailio Freepbx Integration Dropping Calls
Hello,
can you gran the SIP trace on kamailio server for such case?
You can use ngrep, like:
ngrep -d any -qt -W byline port 5060
and send the output to the mailing list. You can replace any sensitive information (e.g., ip address) before sending to mailing list.
The typical call drop after 30-40 secs is when ACK is not routed properly, but we have to see that in the sip trace.
Cheers,
Daniel
On 25/06/14 18:50, Carlos Rangel wrote:
Hello
I have successfully (I believe) implemented Kamailio 4.1.4 integration with Freepbx 5.2.11 taking as a guide Daniel’s tutorial http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb.
I just did not create the voicemail tables because voice mail is handled by Freepbx. I installed the system in a separate box for testing and connected to the Freepbx Production server via IAX trunk.
The system is behind a Cisco Firewall and looks like this
Remote User Internet Internal network
Cisco 7960 ----DSL router ---|------Internet --------|-----Cisco ASA 5500 FW--------------Kamailio/Freepbx (Same Box)------IAX Trunk----------Freepbx Production Server --------|------ PSTN
I have configured the FW to allow UDP and TCP traffic from the corresponding IP as well as tfpt that is needed for the Ciscos to pick up the configuration from the server. I have a few remotes Cisco 7960 phones that can register remotely in Kamailio as long as the user is added with kamctl add user password and as long as the extension is created in Freepbx.
The problem that I have is when try to make a call from the remote Ciscos the call is dropped after 30 or 40 seconds. I can see from the logs that the problem appears to be that the server is not receiving responses from the phone
06-25 10:57:30] WARNING[1814] chan_sip.c: Retransmission timeout reached on transmission 000653dc-39400006-2579bbcd-13d9adcb(a)192.168.0.22 for seqno 102 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32001ms with no response
[2014-06-25 10:57:30] WARNING[1814] chan_sip.c: Hanging up call 000653dc-39400006-2579bbcd-13d9adcb(a)192.168.0.22 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
Is this something that we can adjust in kamailio or could it be related to the FW configuration?? Sorry but I am very new to kamailio and sip.
Thanks
Carlos
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello,
I want to announce the next Kamailio Development Workshop, to take place
in Paris, France, during July 9-10, 2014.
This event is the next in its series targeting to show the internals of
Kamailio and enable more people to become developers as well as let
users of Kamailio to get more knowledge about the design of the
application which can have relevant impact in operating deployment.
Be aware that it is not a workshop about Kamailio installation and
administration. Its content is about writing C code to extend Kamailio.
More details can be found at:
-
http://www.kamailio.org/w/2014/06/kamailio-development-workshop-july-9-10-2…
Similar to the past events, we are considering to have a social
networking event in the evening of July 9 (most probably a dinner meetup
at a nice place in Paris), which is open for everyone, each participant
taking care of own expenses.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello!
5. Installation
Because it dependes on an external library, the oracle module is not
compiled and installed by default. You can use one of the next options.
*
- edit the "Makefile" and remove "db_oracle" from "excluded_modules"
list. Then follow the standard procedure to install Kamailio: "make
all; make install".
*
- from command line use: 'make all include_modules="db_oracle"; make
install include_modules="db_oracle"'.
But
"db_oracle: requires non-free Oracle client SDK" (http://lists.sip-router.org/pipermail/sr-dev/2013-October/021803.html)
What can I do?
--
Best regards,
Konstantin Khatskevich
Hello,
I am a user of kamailio server. I am in need to pick domain of particular
online users from location list. I found out that usrloc module is used for
Location Table items. And we cant directly export parameters from usrloc
module. I decided to use registrar module to approach domain parameter of
usrloc module.
I want to understand complete flow control in registrar module source code,
so that I can add my commands to pick domain parameter from usrloc module.
How can it be done ?
Secondly, if I make a change in registrar module, to see its reaction, I
will have to recompile kamailio server or is there any shortcut to
immediately see effect of changes made in registrar module ??
Any help will be appreciated.
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Changes-in-registrar-module-source-…
Sent from the Users mailing list archive at Nabble.com.
Hi,
I'm setting up a Registrar server using Kamailio 4.1.3 with Siremis
4.1.0 as WebGUI.
On Siremis I struggle to set up different users which only see limited
menu items.
What I want to do is e.g. an user called "CustomerService" which only
sees the "Subscriber_List" menu item and a second user called
"SystemAdmin" which only sees the "Dispatcher_List" menu item.
I tried different things with new roles, groups and adjustments in the
menu administration but didn't manage to get the desired result.
Does anyone have a hint for me if that is possible and how?
Thanks Fred