[SR-Users] [rtpengine] No media from WebRTC UA

2014-05-15 Thread Alexey Rybalko
Hello! During a call from classical SIP softphone to WebRTC there's no media from the browser (Mozilla, the same result is for Chrome). In case of a call from the browser to the softphone there's media flow from both sides. The snippets from kamailio.cfg related to the problem case (SIP-->WebRTC)

[SR-Users] Duplicate values in SDP

2014-05-15 Thread VOIP Tests
Hello, Can some one let me know the reason that there are these duplicate values in the SDP ( o, c, m, nortpproxy)? Our server was working with kamailio and asterisk on the same machine and had no problem. When we separated kamailio and asterisk on different servers and added the dispatcher module

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Sebastian Damm
Hi Daniel, On Thu, May 15, 2014 at 4:10 PM, Daniel-Constantin Mierla wrote: > > I used this, because I found it in an example written by you. > http://by-miconda.blogspot.de/2009/12/best-of-new-in-kamailio-300-9.html > > Is there any other way I can initialize a hash with values from a > datab

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Daniel-Constantin Mierla
Hello, On 15/05/14 13:55, Sebastian Damm wrote: Hi Daniel, I'm using 4.1.3 I used this, because I found it in an example written by you. http://by-miconda.blogspot.de/2009/12/best-of-new-in-kamailio-300-9.html Is there any other way I can initialize a hash with values from a database table n

[SR-Users] uri parameter value case sensitiveness

2014-05-15 Thread Daniel-Constantin Mierla
Hello, hopefully someone here with the RFC fresh in mind and its grammar for sip uri parameter can jump on to clarify if the value of the parameter can be changed to lower/upper case. For a specific example, is it allowed that the value of a parameter in contact header uri is changed to uppe

[SR-Users] Play sound during call waiting with kamailio

2014-05-15 Thread Igor Potjevlesch
Hello, Is it possible to use kamailio 4.1 to play sound for the caller during call waiting? I saw the module "mohqueue" but i m not sure that the called have notification when a call is in a queue. Regards, ___ SIP Express Router (SER) and Kamailio (O

Re: [SR-Users] q_malloc crash

2014-05-15 Thread Daniel-Constantin Mierla
On 15/05/14 14:14, Juha Heinanen wrote: Daniel-Constantin Mierla writes: The issue was with previous fragment (misread the log message in the first place). But was easy to spot what could be the previous fragment and I think I fixed with commit: - http://git.sip-router.org/cgi-bin/gitweb.cgi/

Re: [SR-Users] Prevent missing BYE request

2014-05-15 Thread Igor Potjevlesch
Hello Alex, Thanks for your reply. I had a look to the timeout signalling socket. Looks to match the need. Do you know what is intended by "a media stream timed out."? How the timeout is determined? Indeed, SIP Timers would be the better way and full SIP based. But this suppose that all the endpo

[SR-Users] insufficient ports returned from mediaproxy

2014-05-15 Thread Morten Isaksen
We have a periodic problem with the communication between mediaproxy (kamailio module) <-> media-dispatcher <-> media-relay The problems seems to be that media-dispatcher mixes the requests and answers, so kamailio get a wrong answer to its request. Kamailio 3.1.1 Mediaproxy 2.4.4 I know they ar

Re: [SR-Users] q_malloc crash

2014-05-15 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > The issue was with previous fragment (misread the log message in the > first place). But was easy to spot what could be the previous fragment > and I think I fixed with commit: > > - > http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7992a2

Re: [SR-Users] Wrong Via and RR header added in UDP2TCP scenario

2014-05-15 Thread Sebastian Damm
Hi Daniel, unless mhomed is set to 1 by default, I don't have it set. At which time is the IP for RR and Via headers determined? Before sending out? It looks to me that it is determined a lot earlier, thus not using the value from the socket the packet actually gets sent out at the end. Best Rega

Re: [SR-Users] q_malloc crash

2014-05-15 Thread Daniel-Constantin Mierla
The issue was with previous fragment (misread the log message in the first place). But was easy to spot what could be the previous fragment and I think I fixed with commit: - http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7992a2b8d42bb7e8bcf1738cf042013ed126a47a If you c

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Sebastian Damm
Hi Daniel, I'm using 4.1.3 I used this, because I found it in an example written by you. http://by-miconda.blogspot.de/2009/12/best-of-new-in-kamailio-300-9.html Is there any other way I can initialize a hash with values from a database table not explicitly designed for use with htable module? (

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Daniel-Constantin Mierla
Indeed, the db connection is not initialized at the time of executing event_route[htable:mod-init]. This is executed after all modules are initialized, but the sqlops connections are initialized in child init. However, it should not cause this crash. What version are you using? Because latest

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Waite, Hugh
I added this to my config to try and it caused a segfault on startup in sql_query. It seems the db connection is not initialised at this point. (gdb) bt #0 0x in ?? () #1 0x7f47450517ef in sql_do_query (con=0x7f474d573930, query=0x7c18f350, res=0x7f474d7220a0) at sql_ap

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Juha Heinanen
Sebastian Damm writes: > you're right, but if that was the problem, we should at least see the > second log line after the sql_query. $var(i) is used only after this. are you saying that sql_query() never returns? -- juha ___ SIP Express Router (SER)

Re: [SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Sebastian Damm
Hi Juha, you're right, but if that was the problem, we should at least see the second log line after the sql_query. $var(i) is used only after this. Any other hints? Best Regards, Sebastian On Thu, May 15, 2014 at 11:44 AM, Juha Heinanen wrote: > Sebastian Damm writes: > > > event_route[htab

Re: [SR-Users] Just 80 call/second

2014-05-15 Thread Andrea Meroni
The call is made from just one SIP account, and the limiting factor is the Proxy: 100% of CPU utilization, followed by the Dispatcher with a 90% ... The scheme is exactly the one you wrote. Do you think it is a problem of using just one account instead of different accounts? Andrea On Thu, May 1

[SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Juha Heinanen
Sebastian Damm writes: > event_route[htable:mod-init] { > xlog("L_NOTICE", "Loading Carrier domains into Hash table.\n"); > sql_query("ser", "select domain_name from carrier_domains", > "domains"); > xlog("L_NOTICE", "Loaded from database...\n"); > while($var(i)<$db

Re: [SR-Users] Just 80 call/second

2014-05-15 Thread Carsten Bock
Hi Andrea, can elaborate a little more: - The Kamailio IMS-Core is making 500 Calls/Second. - As soon as you add the dispatcher in front, you're down to 80 calls/second? Correct? If yes: Which system is the limiting factor? Does the dispatcher only process 80 calls/second or does the IMS-Core? The

[SR-Users] DB select htable:mod-init doesn't work

2014-05-15 Thread Sebastian Damm
Hi, I'm trying to fill a hash table on startup in the htable:mod-init event route. But it doesn't work. Kamailio doesn't start at all, but doesn't print out an error in the log. This is what the route looks like: event_route[htable:mod-init] { xlog("L_NOTICE", "Loading Carrier domains in

[SR-Users] Just 80 call/second

2014-05-15 Thread Andrea Meroni
Hi all, i have some strange performance issues (with Kamailio config file i guess): using the default configuration file i can reach a 500 call/s rate, while using the default configuration file in the dispatcher folder i can reach just a 80 call/s rate (using the dispatching failover algorithm ..

[SR-Users] Usrloc module issue

2014-05-15 Thread aawaise
I went through usrloc page on kamailio site. Link given below. http://www.kamailio.org/docs/modules/3.1.x/modules_s/usrloc.html It states that the module keeps a user location table and provides access to the table to other modules. The module exports no functions that could be used directly fro

[SR-Users] Domain Name of an online user from Location List

2014-05-15 Thread aawaise
How can I pick domain name of an online user from Location List ? Which pseudo variable is to be used ?? I want to get the value of domain name and get it printed in logs. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Domain-Name-of-an-online-user-from-Location-List-t

Re: [SR-Users] Kamailio does not start with #!define WITH_AUTH

2014-05-15 Thread Arya Farzan
I'm using version: kamailio/wheezy uptodate 4.1.3+wheezy Link below is my kamailio.cfg http://pastebin.com/qeFqfmae On Wed, May 14, 2014 at 1:40 AM, Konstantin M. wrote: > Hello, > > To find out what the problem is, you need to specify version of Kamailio > and attach config. > I can't reprod