I'm wondering if anyone has any experience load testing with Kamailio and
rtpengine using WebRTC. I've had success load testing just Kamailio with
sipp, but now I'd like to add the media piece and, if possible, do it via
WebRTC.
Anyone have any thoughts?
Thanks,
Marc
Hi list
i'm trying to configure rtp engine routing by source ip, i'd like divide it
by continent code, is there any pseudo-variables or possibilites to handle
continent code.
Team, any idea about it?
On Tuesday 10 March 2015 14:52:22 Shankar wrote:
> We are exploring kamailio source for use in our VOIP solution. This is the
> first time we are looking at open source. We have few doubts in using
> kamailio for providing our VOIP service. Under GPL any customization
> (customization mainly with respect to interacting with our proprietary
> applications e.g. Billing server) we do to kamailio also has to be provided
> to the end user. Our doubt is whether we can procure commercial rights to
> our customised code?
You should really contact a lawyer specialised in IP to get good advice. But
gnu.org points out that above assumption isn't always true:
http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLRequireSourceP…
"The GPL does not require you to release your modified version. You are free
to make modifications and use them privately, without ever releasing them.
This applies to organizations (including companies), too; an organization can
make a modified version and use it internally without ever releasing it
outside the organization.
But if you release the modified version to the public in some way, the GPL
requires you to make the modified source code available to the program's
users, under the GPL."
So if you don't ship a binary to endusers, you don't have to release source
(including modifications). It all depends on what you are supplying to your
endusers (a service or a (complete) software product).
Hi,
Thank you very much for the clarification. Our intention is to provide VOIP
service and hence we need not expose our customized code to end users.
Regards,
Shankar
---------------------------------------------------------------------
Date: Wed, 11 Mar 2015 10:56:02 +0100
From: "Olle E. Johansson" <oej(a)edvina.net>
To: "Kamailio (SER) - Users Mailing List"
<sr-users(a)lists.sip-router.org>
Subject: Re: [SR-Users] Regd. Kamailio GPL
Message-ID: <DD23FDE1-C5DA-4D98-B20E-DE7173C4902F(a)edvina.net>
Content-Type: text/plain; charset=us-ascii
On 11 Mar 2015, at 10:13, Daniel Tryba <d.tryba(a)pocos.nl> wrote:
> On Tuesday 10 March 2015 14:52:22 Shankar wrote:
>> We are exploring kamailio source for use in our VOIP solution. This is
the
>> first time we are looking at open source. We have few doubts in using
>> kamailio for providing our VOIP service. Under GPL any customization
>> (customization mainly with respect to interacting with our proprietary
>> applications e.g. Billing server) we do to kamailio also has to be
provided
>> to the end user. Our doubt is whether we can procure commercial rights to
>> our customised code?
>
> You should really contact a lawyer specialised in IP to get good advice.
But
> gnu.org points out that above assumption isn't always true:
>
http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLRequireSourcePo
stedPublic
>
> "The GPL does not require you to release your modified version. You are
free
> to make modifications and use them privately, without ever releasing them.
> This applies to organizations (including companies), too; an organization
can
> make a modified version and use it internally without ever releasing it
> outside the organization.
>
> But if you release the modified version to the public in some way, the GPL
> requires you to make the modified source code available to the program's
> users, under the GPL."
>
> So if you don't ship a binary to endusers, you don't have to release
source
> (including modifications). It all depends on what you are supplying to
your
> endusers (a service or a (complete) software product).
>
There is a big difference between GPLv2 and GPLv3 here.
For GPL2, providing services is not seen as distribution of the source, and
the
commercial code can stay in the company. For GPLv3 it's different as far as
I
understand.
Kamailio is GPLv2 and Siremis - the web interface by Asipto - is GPLv3.
/O
I'm trying to do an sql_pvquery() and have PostgreSQL return the default value
using COALESCE (if the other parts of the query return NULL) rather than
placing the $null check on the return in the Kamailio script. I seem to be
coming up on a parser issue, perhaps too many nested parentheses:
sql_pvquery("kamailio",
"SELECT COALESCE((SELECT value FROM usr_preferences WHERE
attribute='callee_rtp_transport'
AND (uuid='$sht(rtpengine=>$ci::$T_branch_idx::callee_ip)'
OR username='$rU') LIMIT 1), 'RTP/AVP')",
"$sht(rtpengine=>$ci::$T_branch_idx::callee_rtp_transport)");
<core> [cfg.y:3428]: yyerror_at(): parse error in config file
/etc/kamailio/kamailio.cfg, line 1444, column 14: syntax error
Is this query "too complex" for the parser, or is there something I've missed
above?
Thanks. -A
--
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
Hello Daniel,
I have record route in WITHINDLG for NOTIFY, but it not helped behaviour is the same it loosing route for NOTIFY.
Slava.
From: "Daniel-Constantin Mierla" <miconda(a)gmail.com>
To: "Slava Bendersky" <volga629(a)networklab.ca>, "sr-users" <sr-users(a)lists.sip-router.org>
Sent: Wednesday, March 11, 2015 2:14:02 PM
Subject: Re: [SR-Users] kamailio asterisk NOTIFY
Hello,
you have to do record_route() for all NOTIFY requests -- there are new specs requiring that (RFC 6665) and perhaps asterisk is following them.
If you look in the default kamailio.cfg for v4.2, inside route[WITHINDLG], then you will see how it is done.
Cheers,
Daniel
On 11/03/15 14:22, Slava Bendersky wrote:
Hello Daniel,
Here fresh paste
http://fpaste.org/196616/42608006/
I see proper routing headers on SUBSCRIBE, but then NOTIFY loose it.
Slava.
From: "Daniel-Constantin Mierla" <miconda(a)gmail.com>
To: "sr-users" <sr-users(a)lists.sip-router.org>
Sent: Tuesday, March 10, 2015 5:31:51 PM
Subject: Re: [SR-Users] kamailio asterisk NOTIFY
Hello,
fpaste link doesn't show anything.
Can you check if the NOTIFY coming to Kamailio has two Route headers?
Cheers,
Daniel
On 10/03/15 18:44, Slava Bendersky wrote:
BQ_BEGIN
Hello Everyone,
Having issue with NOTIFY, is not forwarded to client properly.
asterisk ---> private kamailio public ----> soft client
http://fpaste.org/196257/99948714/
I see kamailio trying connect always with private IP to the client when NOTIFY is come is in. Is this something to do with
rr_advertise_address ?
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) ERROR: <core> [tcp_main.c:4338]: tcpconn_main_timeout(): connect 192.168.88.246:5064 failed (timeout)
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4362]: tcpconn_main_timeout(): tcp_main: timeout for 0x7fbbb64e2800
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [io_wait.h:610]: io_watch_del(): DBG: io_watch_del (0x9dbf00, 33, -1, 0x10) fd_no=24 called
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4320]: tcpconn_main_timeout(): tcp_main: entering timer for 0x7fbbb64eb6c0 (ticks=839577436, timeout=839634956 (3595 s), wr_timeout=839577436 (0 s)), write queue: 798 bytes
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) ERROR: <core> [tcp_main.c:4338]: tcpconn_main_timeout(): connect 192.168.88.246:5066 failed (timeout)
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4362]: tcpconn_main_timeout(): tcp_main: timeout for 0x7fbbb64eb6c0
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [io_wait.h:610]: io_watch_del(): DBG: io_watch_del (0x9dbf00, 34, -1, 0x10) fd_no=23 called
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1294]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=408
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1812]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=0
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: <core> [mem/shm_mem.c:111]: _shm_resize(): WARNING:vqm_resize: resize(0) called
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1294]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=408
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1812]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=0
I have in configuration in WITHINDLG
if (is_method("NOTIFY")) {
record_route();
}
and in NATDETECT
if(is_method("INVITE|SUBSCRIBE|UPDATE|NOTIFY")) {
set_contact_alias();
}
Slava.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users(a)lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
BQ_END
--
Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
Hello Daniel,
Here fresh paste
http://fpaste.org/196616/42608006/
I see proper routing headers on SUBSCRIBE, but then NOTIFY loose it.
Slava.
From: "Daniel-Constantin Mierla" <miconda(a)gmail.com>
To: "sr-users" <sr-users(a)lists.sip-router.org>
Sent: Tuesday, March 10, 2015 5:31:51 PM
Subject: Re: [SR-Users] kamailio asterisk NOTIFY
Hello,
fpaste link doesn't show anything.
Can you check if the NOTIFY coming to Kamailio has two Route headers?
Cheers,
Daniel
On 10/03/15 18:44, Slava Bendersky wrote:
Hello Everyone,
Having issue with NOTIFY, is not forwarded to client properly.
asterisk ---> private kamailio public ----> soft client
http://fpaste.org/196257/99948714/
I see kamailio trying connect always with private IP to the client when NOTIFY is come is in. Is this something to do with
rr_advertise_address ?
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) ERROR: <core> [tcp_main.c:4338]: tcpconn_main_timeout(): connect 192.168.88.246:5064 failed (timeout)
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4362]: tcpconn_main_timeout(): tcp_main: timeout for 0x7fbbb64e2800
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [io_wait.h:610]: io_watch_del(): DBG: io_watch_del (0x9dbf00, 33, -1, 0x10) fd_no=24 called
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4320]: tcpconn_main_timeout(): tcp_main: entering timer for 0x7fbbb64eb6c0 (ticks=839577436, timeout=839634956 (3595 s), wr_timeout=839577436 (0 s)), write queue: 798 bytes
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) ERROR: <core> [tcp_main.c:4338]: tcpconn_main_timeout(): connect 192.168.88.246:5066 failed (timeout)
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [tcp_main.c:4362]: tcpconn_main_timeout(): tcp_main: timeout for 0x7fbbb64eb6c0
Mar 10 13:44:23 canlvprx01 kamailio: 16(24971) DEBUG: <core> [io_wait.h:610]: io_watch_del(): DBG: io_watch_del (0x9dbf00, 34, -1, 0x10) fd_no=23 called
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1294]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=408
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1812]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=0
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: <core> [mem/shm_mem.c:111]: _shm_resize(): WARNING:vqm_resize: resize(0) called
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1294]: t_should_relay_response(): ->>>>>>>>> T_code=0, new_code=408
Mar 10 13:44:42 canlvprx01 kamailio: 5(24960) DEBUG: tm [t_reply.c:1812]: relay_reply(): DEBUG: relay_reply: branch=0, save=0, relay=0 icode=0
I have in configuration in WITHINDLG
if (is_method("NOTIFY")) {
record_route();
}
and in NATDETECT
if(is_method("INVITE|SUBSCRIBE|UPDATE|NOTIFY")) {
set_contact_alias();
}
Slava.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users(a)lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi, i tried to install SIREMIS v 4.2 and i get error, already posted on
internet/forum, regarding versione of PHP 5.6
What i didn't find is a solution. So my question is, I still unsupported by
SIREMIS php v 5.4 and upper?
Is there a solution?'
Regards
--
View this message in context: http://sip-router.1086192.n5.nabble.com/SIREMIS-error-tp135884.html
Sent from the Users mailing list archive at Nabble.com.
Hello,
as some noticed and informed privately or on mailing list, several days
ago kamailio.org was not accessible.
It was caused by apache getting stuck on connecting to a remote host due
to the pingback feature of wordpress. All the other services were fine.
Listing running processes showed a large number of apache instances
connecting to an address like 23.x.y.204 and being stuck in that state.
Fetching the page from that address with wget resulted in some html with
embedded obfuscated javascript. I couldn't find a reason why apache was
not closing the connection, although there are some timeouts in configs.
Also, as I expect apache/php/wordpress don't run javascript, the issue
should be somewhere at the http layer. At some point apache reached the
max number of threads and didn't serve other requests.
The solution was to disable the pingbacks using a plugin for wordpress
named: Disable XML-RPC Pingback . All seems ok for the last days.
I posted here just in case it will be useful for someone else, but also
to get hints on other tweaks that we should to do wordpress to prevent
similar situation, if anyone can share from his/her experience.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
Hi all,
What I want to do
~~~~~~~~~~~~~~
If a call to a SIP AoR fails then try the PSTN number associated with the AoR by routing the request to a PSTN gateway. Calls to a PSTN gateway need to be charged so need to call the Ro_CCR function in ims_charging module.
How I tried to do it
~~~~~~~~~~~~~~
In the failure_route[MANAGE_FAILURE] block I call the Ro_CCR()
Result was
~~~~~~~~
Kamailio fails to parse config file.
yyparse(): misused command Ro_CCR
yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 1162, column 91: Command cannot be used in the block
So two questions:
1) What constraints are there for calling functions in the failure_route blocks i.e. how does parser decide what can be called and what can't
2) Any thoughts of how I can do effectively a late charging decision
Cheers and thanks in advance
Shane
Shane Harrison
Senior Software Engineer
Imagination Technologies NZ Limited
Level 2
1 Market Grove
Lower Hutt, 5010
New Zealand
PO Box 30-449
Lower Hutt, 5040
New Zealand
Phone: +64 4 890-3681 ext 3361