I have a couple questions as it relates to monitoring a Kamailio SIP Server.
1. Do you have an OID that we can poll via SNMP-GETs to show call completion statistics? Either the % of completion or the accepting/connecting statistics. If you do not have an OID, do you have a syslog or trap message that can be generated?
2. Do you have an OID that we can poll to get a list errors that were generated? Ex-OID for a 408 or 503. If not, is there a syslog or trap?
3. Can you recommend a way to view the MOS score - possible hardware tap on network to get MOS?
Thanks in advance
This email may contain proprietary and confidential information for the sole use of the intended recipient.
Any review, retransmission, dissemination, or other use of this information by persons or entities other than
the intended recipient is prohibited. If you are not the intended recipient, please contact the sender and
delete all copies. To the extent that opinions are expressed in this message, they are not necessarily the
opinions of Sentinel Technologies or any of its affiliates, employees, directors, officers or shareholders.
hi,
what is the differebt when i start kamailio with the command "kamailio"
only, or using "/etc/init.d/kamailio start ?
using the first one gets me to see the log running... second one does
not....
and with the second one i can configure the memory usage and so....
how do i make them do the same?
Hello,
I'm trying to setup kamailio as load balancer Behind that load balancer
I've a registrar and a presence server.
When I start a client for the REGISTER and subscribe messages all looks to
work fine. The messages from clients are properly balanced to the backend
and responses are forwarded properly to the clients.
However when my presence server sends a NOTIFY I find the load balancer
module answers 404 message to the presence server.
I'm thinking the problem is front-end kamailio cannot locate users. I am
quite newbie to use Kamailio for this purpose so sorry if what i'm saying
contains a big mistake.
My load balancer script looks as following:
log_facility=LOG_LOCAL0
fork=yes
children=4
listen=10.1.1.63:6666
listen=10.1.1.63:5060
alias=dev.myenvironment.net <http://dev.genaker.net>
mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/"
loadmodule "xlog.so"
# ----------------- setting module-specific parameters ---------------
#!define WITH_DISP
#!ifdef WITH_DISP
loadmodule "dispatcher.so"
loadmodule "db_mysql.so"
#!endif
# ----- dispatcher -----
#!ifdef WITH_DISP
# Set database used for dispatcher servers. As we will use default values,
no further
# information is needed
modparam("dispatcher", "db_url","mysql://openser:openserrw@10.1.1.50/openser
")
#!endif
####### Routing Logic ########
route{
#!ifdef WITH_DISP
if( uri=~"sip:.*session=chat.*" ) {
xlog("L_DEBUG", "PoC:relaying chat session by Request URI");
ds_select_dst("1", "3");
forward();
} else {
xlog("L_DEBUG", "PoC:relaying PoC Session by round-robin");
ds_select_dst("1", "4");
forward();
}
#!else
xlog("L_DEBUG", "PoC: Relaying by hardcoded route");
t_relay("10.1.1.50", "6666");
#!endif
}
~
So the questions are: Does this module need to locate users? Should I
include usrloc module iin that sip proxy node in order to be able to locate
the users??
Thanks
Albert
On Nov 29, 2011, at 8:55 AM, "sr-users-request(a)lists.sip-router.org" <sr-users-request(a)lists.sip-router.org> wrote:
> Send sr-users mailing list submissions to
> sr-users(a)lists.sip-router.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> or, via email, send a message with subject or body 'help' to
> sr-users-request(a)lists.sip-router.org
>
> You can reach the person managing the list at
> sr-users-owner(a)lists.sip-router.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of sr-users digest..."
>
>
> Today's Topics:
>
> 1. Re: unable to install utils module (Uri Shacked)
> 2. Re: Kamailio v3.2.0 Development Guide published
> (Henning Westerholt)
> 3. Re: Kamailio v3.2.0 Development Guide published (Gaston Draque)
> 4. Re: [Kamailio-Business] Kamailio v3.2.0 Development Guide
> published (Santiago Gimeno)
> 5. transport=TLS (Bruno Bresciani)
> 6. Re: Kamailio v3.2.0 Development Guide published (Javier Gallart)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 29 Nov 2011 13:39:59 +0200
> From: Uri Shacked <ushacked(a)gmail.com>
> Subject: Re: [SR-Users] unable to install utils module
> To: miconda(a)gmail.com
> Cc: "SIP Router - Kamailio \(OpenSER\) and SIP Express Router \(SER\)
> - Users Mailing List" <sr-users(a)lists.sip-router.org>
> Message-ID:
> <CAMMbDhR0_cKQ_6n=07P81TR3g_eRCL271OjPOjwWGURS+7XeSQ(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> works great, thanks.
>
> On Tue, Nov 29, 2011 at 12:50 PM, Daniel-Constantin Mierla <
> miconda(a)gmail.com> wrote:
>
>> Hello,
>>
>> looks like you don't have libxml2-dev installed on your system and it is
>> needed by pidf.c from utils module. Install that package and try again.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 11/29/11 10:59 AM, Uri Shacked wrote:
>>
>> i need the utils module...
>>
>> tried to install it with - "make install-modules modules=modules/utils"
>> and got the following:
>> "
>> make install-modules modules=modules/utils
>> CC (gcc) [M utils.so] conf.o
>> CC (gcc) [M utils.so] functions.o
>> CC (gcc) [M utils.so] pidf.o
>> pidf.c:52:27: warning: libxml/parser.h: No such file or directory
>> In file included from pidf.c:54:
>> pidf.h:41: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlNodeGetNodeByName?
>> pidf.h:43: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlDocGetNodeByName?
>> pidf.h:44: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlNodeGetChildByName?
>> pidf.h:46: error: expected ?)? before ?root?
>> pidf.h:48: error: expected ?)? before ?node?
>> pidf.c:56: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlNodeGetAttrByName?
>> pidf.c:67: error: expected ?)? before ?node?
>> pidf.c:76: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlNodeGetChildByName?
>> pidf.c:87: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlNodeGetNodeByName?
>> pidf.c:106: error: expected ?)? before ?root?
>> pidf.c:116: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before
>> ?xmlDocGetNodeByName?
>> pidf.c:122: error: expected ?)? before ?doc?
>> make[1]: *** [pidf.o] Error 1
>> make: *** [install-modules] Error 1
>> "
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla -- http://www.asipto.com
>> Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
>>
>>
>
>
>
>
> Daniel,
>
> This is great! Thanks a lot for it, it will help third-party
> contributors enormously.
>
> -- Alex
>
>
> I agree, excellent document, thank you -though I must say that, not being
a developer, I understood very little :) -.
Regards
Javi
Hello,
development guide for Kamailio has been updated for v3.2.0 - it goes
through internal components, presenting the APIs for pkg/shm memory,
locking/synchronization, config file interpreter, database connectors,
a.s.o., as well as guiding how to write a new module. There is a section
trying to collect hints about upgrading a module developed for old
versions 1.x to newer architecture and APIs in versions 3.x.
The tutorial is available online at:
* http://asipto.com/u/kdg
A mirror is hosted at:
* http://www.kamailio.org/docs/kamailio-devel-guide/
This is the first release for v3.2, it may get adjustments in the near
future. Among the plans to add new chapters: how to write docbook
documentation; TM module API, Presence module API ...
Cheers,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda
i need the utils module...
tried to install it with - "make install-modules modules=modules/utils"
and got the following:
"
make install-modules modules=modules/utils
CC (gcc) [M utils.so] conf.o
CC (gcc) [M utils.so] functions.o
CC (gcc) [M utils.so] pidf.o
pidf.c:52:27: warning: libxml/parser.h: No such file or directory
In file included from pidf.c:54:
pidf.h:41: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlNodeGetNodeByNameג
pidf.h:43: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlDocGetNodeByNameג
pidf.h:44: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlNodeGetChildByNameג
pidf.h:46: error: expected ג)ג before גrootג
pidf.h:48: error: expected ג)ג before גnodeג
pidf.c:56: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlNodeGetAttrByNameג
pidf.c:67: error: expected ג)ג before גnodeג
pidf.c:76: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlNodeGetChildByNameג
pidf.c:87: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlNodeGetNodeByNameג
pidf.c:106: error: expected ג)ג before גrootג
pidf.c:116: error: expected ג=ג, ג,ג, ג;ג, גasmג or ג__attribute__ג before
גxmlDocGetNodeByNameג
pidf.c:122: error: expected ג)ג before גdocג
make[1]: *** [pidf.o] Error 1
make: *** [install-modules] Error 1
"
I am using RTP Proxy with the following command:
rtpproxy -l "my_IP" -s udp:localhost:7722
Nov 28 13:04:09 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2770]: INFO: rtpproxy [rtpproxy.c:1403]: rtp proxy <udp:127.0.0.1:7722> found, support for it re-enabled
Nov 28 13:04:09 ubuntu kernel: [ 7015.931001] rtpproxy[2813]: segfault at 0 ip 0805147c sp b6f27cd0 error 4 in rtpproxy[8048000+e000]
Nov 28 13:04:10 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2768]: ERROR: rtpproxy [rtpproxy.c:1491]: can't send command to a RTP proxy
Nov 28 13:04:10 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2768]: ERROR: rtpproxy [rtpproxy.c:1526]: proxy <udp:127.0.0.1:7722> does not respond, disable it
Nov 28 13:04:10 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2768]: ERROR: rtpproxy [rtpproxy.c:2119]: no available proxies
Nov 28 13:04:10 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2770]: ERROR: rtpproxy [rtpproxy.c:1491]: can't send command to a RTP proxy
Nov 28 13:04:10 ubuntu /usr/local/kamailio-3.1/sbin/kamailio[2770]: ERROR: rtpproxy [rtpproxy.c:1526]: proxy <udp:127.0.0.1:7722> does not respond, disable it
If I trace an attempted call on port 7722, I see there is no activity on port 7722.
My firewall is open to port 7722.
Thanks
Jonny