Hi all,
I'm trying to find a way to get a number of the registered user
locations and if it is bigger that some limit then kamailio will not
save new registrations.
reg_fetch_contacts() from registrar module doesn't help as it can fetch
contacts only for one user.
max_contacts parameter of the registrar module limits the number of
contacts per AOR, but i need to limit max number of all contacts that
proxy will keep in usrloc.
Hi all,
When I start kamailio, I have theses errors in syslog and kamailio
failed to start:
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: INFO: usrloc
[hslot.c:53]: locks array size 512
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: INFO: auth
[auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support
disabled
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
[acc_radius_mod.c:276]: acc: can't get code for the Source-IP attribute
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
[acc_radius_mod.c:289]: failed to init radius
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc
[acc_mod.c:758]: failed to initialize extra acc engine
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: acc_radius
[acc_radius_mod.c:154]: cannot register ACC RADIUS engine
May 30 12:02:11 kamailio /usr/sbin/kamailio[5652]: ERROR: <core>
[sr_module.c:932]: init_mod(): Error while initializing module
acc_radius (/usr/lib/kamailio/modules_k/acc_radius.so)
In radiusclient dictionary.sip, I have this:
teddy@kamailio:~$ sudo grep -r -i source-ip /etc/radiusclient-ng/*
/etc/radiusclient-ng/dictionary.sip:ATTRIBUTE
Sip-Source-IP-Address 108 ipaddr
And in dictionary file I include this dictionary.sip like this at the
end of the file:
$INCLUDE /etc/radiusclient-ng/dictionary.sip
There are kamailio and libradiusclient-ng2 version installed:
ii kamailio 3.2.3+squeeze1 very
fast and configurable SIP proxy
ii kamailio-mysql-modules 3.2.3+squeeze1
MySQL database connectivity module for Kamailio
ii kamailio-radius-modules 3.2.3+squeeze1
radius modules for Kamailio
ii libradiusclient-ng-dev 0.5.6-1.1
Enhanced RADIUS client library development files
ii libradiusclient-ng2 0.5.6-1.1
Enhanced RADIUS client library
So I don't know where I'm doing wrong, can anyone tell me what am I
missing ?
Thanks.
--
Rabary Teddy
Inutile d'imprimer ce mail
Hey,
I have fixed the incorrect uri's being generated by this module while publishing user location. This patch also includes some more user record data to the xml during publish.
I'm not sure if I have followed the naming convention right. Please find the patch file attached.
Regards,
Gnaneshwar Gatla | InTouch Health | Software Developer
6330 Hollister Ave. Goleta CA, 93117 | P: 805.562.8686 ext: 199
Hi Experts,
I am a newbee with SIP-Router/Kamailio - I installed Kamailio on a CentOS
5.5 VM - following the instructions from the following link
http://kb.asipto.com/kamailio:install:3.0.x-from-git-centos5x
Kamailio is installed & I can start kamailio deamon from service kamailio
start
However I also created two subscribers - but when I try to register my SIP
Phone (by setting Kamailio as the domain to register to) - I can see my
sip-phone sending the Register request to Kamailio (I put a tcpdump on the
kamailio machine to see sip-messages reaching the host) but I dont get any
response from Kamailio - so my sip phone reaches the 408 Registeration
Timeout state.
Now, I dont get any logs from Kamailio to know what is happening while my
phone is sending the register request - I tried to configure logging
following instructions from the following link
http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration
But I dont get any logs in the /var/log/kamailio log file.
To assist in understanding the issue - I am attaching the syslog config ,
kamailio config file & the kamailio service script in the init.d folder.
My first objective will be to enable logging for kamailio & the next
objective is to get the basic registration & routing between endpoints - my
ultimate objective is to configure SER/Kamailio as a load-balancer for our
B2BUA & Media Servers (I found the dispatcher module can help in
accomplishing this) - Can anybody help me in identifying why I am not
getting any logs ?
I have already seen the wiki & have developed some understanding regarding
how Kamailio is configured but am I seeking more information regarding the
route language - (the state-model + reference of the functions that can be
used in the route script etc.) - in this regards if I can get any
documentation pointers from the user community that can help me gain a
better understanding the use of Kamailio for above it will be great
Regards,
Faisal
Regards,
Faisal
Hi,
I'm coming from an asterisk background and are now using kamailio to
handle registration and load balancing.
In the asterisk world I added qualify=yes and listening on the AMI for
events when peer is registering / unregistering / peer goes unreachable
and reachable - then storing this info in a MySQL db to be displayed on
a web page for support etc. This works really nicely and I'm trying to
figure out how to do the same with kamailio and are able to generate an
event when a peer is registering (in the registry route using mqueue and
some lua magic). But can't find a way to get an event when an option
ping (nathelper module) is unsuccessful or when an location record has
expired(http://lists.kamailio.org/pipermail/users/2009-May/023270.html).
So my question is - how are you guys dealing with this? What have I missed?
/niklas
Hi,
is there a way to validate a domain, e.g. it resolves to something, without
calling t_relay() or forward() and checking the return code?
In my case I'd like to validate enum results before dispatching it
to our outbound proxies. If not valid I must use the pstn servers.
In the logs I can see a function named sip_hostport2su does some
validation, but it seems to be a c-function only. From the log:
ERROR: <core> [resolve.c:1540]: ERROR: sip_hostport2su: could not resolve hostname: "example.org"
ERROR: tm [ut.h:327]: failed to resolve "example.org"
--
Øyvind Kolbu
Hi all,
I can't understand how obtain address of record (aor) to functions
lock_udomain and unlock_udomain... What is the meaning of this parameter?
In other modules this parameter is obtained by R-URI on SIP messages struct
(registrar) or by next value of node.kids mi_root struct (usrloc).
Best Regards
Hello,
looking at the volume of reported issues on mailing lists and tracker,
upcoming v3.3.0 seems to go well. I have few items on my to-do reported
on the mailing list.
Otherwise, in my side, I have 3.3.0 running in a production-like
environment for about 4 weeks without problems and another one in a
pre-production phase.
Having in consideration all these, I propose to branch 3.3 on June 11.
If everything looks very good at that time (or actually few days
before), I think we can do the release also by that date. If not, we can
do it a week later.
Branching will allow new features development on git master, there are
already several contributed patches with new features flowing around on
mailing lists and tracker.
Therefore, if you are aware of any issue, please report asap on mailing
list (sr-dev) or tracker (preferable - http://sip-router.org/tracker/).
Other suggestions about planning the release 3.3.0 are welcome, as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
On Mon, May 28, 2012 at 4:52 PM, Daniel-Constantin Mierla
<miconda(a)gmail.com> wrote:
> Hello,
>
> On 5/27/12 12:46 AM, Aft nix wrote:
>>
>> [...]
>>
>> Hi Aleksandrov
>> Thanks for the reply.
>>
>> Yes my checks should be more specific.
>>
>> On the side how , i'm facing difficulties to print script variables
>> and hashtable entries.
>>
>> xdbg("my var [$var(temp)]")
>> xdbg("my hash entries [$sht(a=>$ci)"])
>>
>> Both statements shows parse errors. What's the correct syntax to print
>> script
>> variables and hash table entries?
>
> if you copy&paste the lines from your config, then the errors are:
> - missing ; at the end of lines
> - second xdbg has the double quotes before ], making it invalid syntax
Hi Daniel,
Thanks, other than the typo, its ok to print stuffs like this, then.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -
> http://asipto.com/u/katu
>
>
>
--
-aft
--
-aft