Hello,
I setup an apt repository for kamailio 3.0.x, holding now debs for lenny
i386 and ubuntu 9.10 i386. Add to your source.list:
- for debian:
deb http://kamailio.org/pub/apt/debian lenny main contrib non-free
- for ubuntu
deb http://kamailio.org/pub/apt/ubuntu karmic main contrib non-free
then apt-get update and apt-get install kamailio.
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Miami, Fl, USA - June 21-23, 2010
http://www.asipto.com/index.php/kamailio-advanced-training/
Hello,
I could see in dispatcher module documentation in| ds_ping_method "|With
this Method you can define, with which method you want to probe the
failed gateways. This method is only available, if compiled with the
probing of failed gateways enabled. |"
How to enable it before the compilation? I can't find it.
Thank you
|
--
François BERGANZ
Ingénieur/Chef de projets VoIP**
Hello sip-router community...
I'm having some problems with my Kamailio installation
(kamailio-1.5.0-notls_src.tar.gz)...after downloading and decompress i do
the following:
kamailio:/usr/src/kamailio-1.5.0-notls# make deb-lenny
bison -d -b cfg cfg.y
cfg.y: conflicts: 1 shift/reduce
flex cfg.lex
make: *** No rule to make target `deb-lenny'. Stop.
What sould i do to solve this problem? i really want to solve this but it's
quite dificult, could somebody help me please? i've checked on the web, but
no answers about this....does this has something to be with the Makefile
under kamailio directory?
Regards
LinkedIn
------------
Me gustaría añadirte a mi red profesional en LinkedIn.
-Johnny
Johnny Laura
Propietario en ITUS - GISS
Perú
Confirma que conoces a Johnny Laura
https://www.linkedin.com/e/isd/1299499162/fi9HEYnJ/
------
(c) 2010, LinkedIn Corporation
Hello,
Any idea why this fails:
$var(carrier) = "carriername";
$var(domainname) = "domain";
if(cr_route( "$var(carrier)", "$var(domainname)", "$rU", "$rU", "call_id"))
with tis in the log:
INFO: carrierroute [cr_func.c:598]: uri domain was rewritten to sip:domain, carrier 2, domain 2
While this:
if(cr_route( "carriername", "$var(domainname)", "$rU", "$rU", "call_id"))
and this:
if(cr_route( "$var(carrier)", "domain", "$rU", "$rU", "call_id"))
works as expected?
Kamailio 3.0.0
/Ole
Hi
I got the following error when dealing with SIP INVITE with multi-part when
the client is behind NAT:
May 12 15:27:04 test /usr/sbin/kamailio[1792]: ERROR: nathelper
[nathelper.c:2954]: can't extract body from the message
The SIP INVITE message looks like:
INVITE sip:toto@test.net <sip%3Atoto(a)test.net> SIP/2.0
[...]
Content-Type: multipart/mixed;boundary=gnkr
Content-Length: 659
--gnkr
Content-Type: application/sdp
Content-Length: 330
v=0
o=pascal 1273565967736 1273565967737 IN IP4 10.1.1.226
[...]
It looks the Content-length within the multi-part is not accepted.
I fixed it changing the source code of parser/sdp/sdp_helpr_funcs.c,
in get_sdp_hdr_field() function:
switch(hdr->type){
case HDR_CONTENTTYPE_T:
case HDR_CONTENTDISPOSITION_T:
case HDR_CONTENTLENGTH_T:
replaced with:
switch(hdr->type){
case HDR_CONTENTTYPE_T:
case HDR_CONTENTDISPOSITION_T:
(I'm using kamailio 3.0.1)
Cheers
Pascal
Hi people,
in kamailio the function bind_dbmod() was replaced by the db_bind_mod() ok?
I didn't understand very well the db_func_t *mydbf parameter that I have to
provide for this new function. In ser I used bind_dbmod() to check if
database module has been loaded and I want make this in kamailio now using
the db_bind_mod() function but I don't know what provide to db_func_t *mydbf
parameter.
Someone can help me?
Cheers,
Bruno
Hi,
Some interesting behavior with kam-3.0, which I haven't experienced with
<= 1.5:
Let's say I have two subscribers A and B registered. A has a
received-value in location table, B has it set to NULL.
If I call lookup() for A, $ru is set to the registered contact, and $du
is set to the received-value. When for example A is busy, I catch it
with a failure route and rewrite $ru to B. Calling lookup() again sets
my $ru to the contact of B, but since the received-value of B is NULL in
the DB, the $du is still pointing to the received-value of A, instead of
being set to null.
A quick-fix is to set $du to null before calling lookup(), but I'm
wondering if this is a bug or intended behavior?
Thanks,
Andreas
No problem. It is all courtesy of my friend 'grep', which has following
options:
-H print filename
-R search recursively
-i case-insensitive matching
So, for example, one can do something like this using 'egrep', a variant
of grep that supports regular expressions:
egrep -HRi ".*bind.*db.*" .
It has been very fruitful for me and probably can be for you as well. :)
> oh yes, thank's for your help...
>
>
>
> 2010/5/12 Alex Balashov <abalashov(a)evaristesys.com>
>
>>
>> > But I'm using the kamailio 1.5.0 version and don't exist the lib
>> > directory, only in the 3.0.0 version.
>>
>> Oh, I see. In that case, it's the same function (db_bind_mod()), but in
>> db/db.c instead.
>>
>> --
>> Alex Balashov - Principal
>> Evariste Systems LLC
>> 1170 Peachtree Street
>> 12th Floor, Suite 1200
>> Atlanta, GA 30309
>> Tel: +1-678-954-0670
>> Fax: +1-404-961-1892
>> Web: http://www.evaristesys.com/
>>
>>
>
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/