Re: [SR-Users] Kamailio 4.2.6 crash

2016-01-04 Thread Igor Potjevlesch
Hi Daniel,

 

I wish you an happy new year! I will schedule this update in the next few
days.

 

Thank you for your support.

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Envoyé : vendredi 18 décembre 2015 11:28
À : Igor Potjevlesch ; 'Kamailio (SER) - Users
Mailing List' 
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

can you upgrade to 4.2.7, it has some fixes that may be related to this
issue -- there are no changes to config/database that need to be done.

Cheers,
Daniel

On 16/12/15 15:06, Igor Potjevlesch wrote:

Hello,

 

Here is the output:

 

kamailio -v

version: kamailio 4.2.6 (x86_64/linux) db77ac

flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES

ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 64MB

poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.

id: db77ac 

compiled on 12:19:48 Oct  2 2015 with gcc 4.4.7

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [mailto:mico...@gmail.com] 
Envoyé : lundi 14 décembre 2015 16:16
À : Igor Potjevlesch  
; 'Kamailio (SER) - Users Mailing List'
 
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

yes, it is the output I wanted.

What is the exact version are you running? It is the output of 'kamailio
-v'.

Cheers,
Daniel

On 14/12/15 15:53, Igor Potjevlesch wrote:

Hello Daniel,

 

Is this the expected output?:

 

(gdb) frame 0

#0  0x00619694 in fm_extract_free (qm=0x7f0114c07000,
frag=0x7f0114f0e4b0) at mem/f_malloc.c:206

206 *pf=frag->u.nxt_free;

(gdb) list

201 int hash;

202

203 pf = frag->prv_free;

204 hash = GET_HASH(frag->size);

205

206 *pf=frag->u.nxt_free;

207

208 if(frag->u.nxt_free) frag->u.nxt_free->prv_free = pf;

209

210 qm->ffrags--;

(gdb)

 

Regards,

 

Igor.

 

De : sr-users [mailto:sr-users-boun...@lists.sip-router.org] De la part de
Daniel-Constantin Mierla
Envoyé : lundi 14 décembre 2015 13:15
À : Kamailio (SER) - Users Mailing List
 
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

can you provide the list output in gdb for frame 0:

frame 0
list

Cheers,
Daniel






-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda   -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu





-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio Password Encryption

2016-01-04 Thread micho fr
Hi Guys,
I have a kamailio server 1.3 with clear text Password in Subscriber table I 
wish I can encrypt that password by doing some kind of combinations between 
username, domain and let kamailio server be reading the encrypted password
Is there a way to do it?
modparam("auth_db", "db_url", DBURL)modparam("auth_db", "calculate_ha1", 
0)modparam("auth_db", "password_column", "password")#modparam("auth_db", 
"password_column", "ha1")modparam("auth_db", "password_column_2", 
"ha1b")modparam("auth_db", "load_credentials", "")modparam("auth_db", 
"use_domain", MULTIDOMAIN)
  ___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio Password Encryption

2016-01-04 Thread Ben Bliss

Hi,

The Auth_db module has the ability to read encypted passwords built into 
it. I'd advise reading the manual for the module, and that should show 
you how to implement it.


Kind Regards,

-
Ben Bliss
 


On 04/01/2016 10:13 AM, micho fr wrote:

Hi Guys,

I have a kamailio server 1.3 with clear text Password in Subscriber 
table I wish I can encrypt that password by doing some kind of 
combinations between username, domain and let kamailio server be 
reading the encrypted password


Is there a way to do it?

modparam("auth_db", "db_url", DBURL)
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "password_column", "password")
#modparam("auth_db", "password_column", "ha1")
modparam("auth_db", "password_column_2", "ha1b")
modparam("auth_db", "load_credentials", "")
modparam("auth_db", "use_domain", MULTIDOMAIN)



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Example kamailio.cfg t_check_trans()

2016-01-04 Thread Phil Lavin
Thanks, Daniel. I'll update the docs to clarify this, if I get a moment.


Cheers

Phil

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Daniel-Constantin Mierla
Sent: 04 January 2016 08:06
To: Kamailio (SER) - Users Mailing List 
Subject: Re: [SR-Users] Example kamailio.cfg t_check_trans()

Hello,
On 31/12/15 12:39, Phil Lavin wrote:
Hi there,

The example config that Kamailio ships with contains this block of code in 
request_route:

# handle retransmissions
if(t_precheck_trans()) {
 t_check_trans();
 exit;
}
t_check_trans();

I am not fully understanding the requirement for either of the t_check_trans() 
here. As far as I can see from the documentation, t_check_trans() returns a 
boolean value and does not modify any data internally.

Can anyone help me find out what the relevance of the t_check_trans() calls is?

t_check_trans() is used to detect retransmissions. If a retransmission is 
received, then the last reply (if any) needs to be sent back, then 
t_check_trans() does an 'exit' internally.

Cheers,
Daniel


--

Daniel-Constantin Mierla

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Book: SIP Routing With Kamailio - http://www.asipto.com

http://miconda.eu
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Example kamailio.cfg t_check_trans()

2016-01-04 Thread Daniel-Constantin Mierla
Hello,

On 31/12/15 12:39, Phil Lavin wrote:
>
> Hi there,
>
>  
>
> The example config that Kamailio ships with contains this block of
> code in request_route:
>
>  
>
> # handle retransmissions
>
> if(t_precheck_trans()) {
>
>  t_check_trans();
>
>  exit;
>
> }
>
> t_check_trans();
>
>  
>
> I am not fully understanding the requirement for either of the
> t_check_trans() here. As far as I can see from the documentation,
> t_check_trans() returns a boolean value and does not modify any data
> internally.
>
>  
>
> Can anyone help me find out what the relevance of the t_check_trans()
> calls is?
>
>  
>
t_check_trans() is used to detect retransmissions. If a retransmission
is received, then the last reply (if any) needs to be sent back, then
t_check_trans() does an 'exit' internally.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Is it possible to use kamailio as a Webrtc gateway and integrate it into to a conference bridge for handling webrtc clients in conference bridge?

2016-01-04 Thread suganthi karthick
Hi all,

I need to implement a WebRTC gateway for an existing conference bridge. The
WebRTC gateway has to support Signaling, ICE and DTLS. The webrtc clients
can be JsSIP or any webrtc client.

The conference bridge is an existing working one for SIP clients, and I am
trying to add webrtc support for that.

The webrtc gateway needs to be implemented in a way like a library because
it needs to be integrated into the existing platform.

There are some init functions and config function from the existing
conference platform, based on which the webrtc gateway has to  be
configured.

Also, when a webrtc call come from a webrtc client, it needs to handle the
signaling and the media(RTP) has to go to the conference bridge platform.

It would be really helpful if you suggest whether I can use openSIPS for
this purpose and use it as a library and integrate into the exiting
platform?

Your suggestions will be more helpful.

Thanks.
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-IMS icscf erro

2016-01-04 Thread Jason Penton
you don't have the mysql modules compiled/installed - check your log file
for "ERROR"

0(4133) ERROR:  [sr_module.c:565]: load_module(): could not find
module  in 
 0(4133) :  [cfg.y:3432]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 114, column 12-21: failed to load module

On Tue, Jan 5, 2016 at 3:32 AM, Kranti Kumar  wrote:

> Thank you very much and please find the attached log file for the same.
>
> Regards,
> -kranti
>
> On Sun, Jan 3, 2016 at 12:40 PM, Thierry Luo  wrote:
>
>> Maybe you can enable DEBUG mode to output some error details for
>> reference by changing the following line in icscf.cfg
>>
>>##!define WITH_DEBUG
>>
>> To:
>>
>>#!define WITH_DEBUG
>>
>>
>>
>> Thierry
>>
>>
>>
>> *From:* sr-users-boun...@lists.sip-router.org [mailto:
>> sr-users-boun...@lists.sip-router.org] *On Behalf Of *Kranti Kumar
>> *Sent:* Wednesday, December 30, 2015 02:05
>> *To:* Kamailio (SER) - Users Mailing List 
>> *Subject:* [SR-Users] Kamailio-IMS icscf erro
>>
>>
>>
>> Hi,
>>
>>
>>
>> We are using attached two configuration file to start icscf node.
>>
>>
>>
>> But while we run "kamailio start"  command getting below errors.
>>
>>
>>
>> loading modules under config path:
>> /usr/lib/i386-linux-gnu/kamailio/modules/
>>
>> ERROR: bad config file (1 errors)
>>
>> Segmentation fault
>>
>>
>>
>> Can anyone help me here to resolve this issue.
>>
>>
>>
>> Regards,
>>
>> -kranti
>>
>> [image: 提示图标]邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
>>
>> 共有 *2* 个附件
>>
>> *kamailio.cfg.txt*(17K)
>>
>> 极速下载
>> 
>> 在线预览
>> 
>>
>> *ICSCF.cfg.txt*(2K)
>>
>> 极速下载
>> 
>> 在线预览
>> 
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 

*Jason Penton**Senior Manager: Applications and Services**Smile
Communications Pty (Ltd)**Mobile:*+27 (0) 83 283 7000*Skype:*
jason.barry.pentonjason.pen...@smilecoms.com 
www.smilecoms.com

-- 


This email is subject to the disclaimer of Smile Communications at 
http://www.smilecoms.com/home/email-disclaimer/ 


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Too many packets in rtpengine UDP receive queue

2016-01-04 Thread Daniel Tryba
On Wed, Dec 23, 2015 at 09:13:06AM -0500, Richard Fuchs wrote:
> >Thanks for your analysis. Actually my rtpengine daemon is running on a
> >Virtual Machine. So can there be solution to this problem?
> 
> Yes, run it on real hardware :)

Or use more rtpengine instances.

It appears I'm having the same problem since the end of november till
christmas (netstat showing a queue on the command channel and rtpengine
not handling any commands). Since christmas no problems, so it looks
related to load. Thanks for more or less confirming this load issue :)


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users