Hello ,
i am facing an issue concerning kamailio where i am trying to connect
the kamailio to the asterisk using a private ip and the kamailio is
connected using a public ip for the clients .I am trying to create a
call from the client the phone rings but there is no audio
conversation happening , what is the best method to use ?
N.B : i have tried RTPproxy but it didnt work i think because their
is no proper NATING .
Thank you
As a rule, I have managed to work my way through any issues however, I would really appreciate and help in getting the LCR module working (with postgres), what I really need is working examples of working config and database tables,
Many thanks,
Jeff
Hello,
do not write private emails started from mailing list -- they will be
ignored.
Also, if it is a different topic, create a new email with appropriate
subject.
Then provide details about what you tried (config file parts) and
results (log messages and sip traces). Otherwise nobody can guess what
happens and cannot give hints.
Cheers,
Daniel
On 4/4/12 4:10 PM, Ryan Gholam wrote:
> Hello Daniel ,
>
> I thank you for the last email you've sent me it helped me alot , but
> now i am facing an issue concerning kamailio where i am trying to
> connect the kamailio to the asterisk using a private ip and the
> kamailio is connected using a public ip for the clients .
>
> I am trying to create a call from the client the phone rings but there
> is no audio conversation happening , what is the best method to use ?
>
> N.B : i have tried RTPproxy but it didnt work i think because their
> is no proper NATING .
>
> Thank you
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/
HI
I tried to build Kamailio 3.2.2 rpm pkg on Centos 6.2
following instruction from:
http://kb.asipto.com/kamailio:install:3.1.x-rpms-centos5x
I got the following error ( at the end of the email)
also tried:
pkg-config --cflags glib-2.0
export C_INCLUDE_PATH="/usr/include/glib-2.0 /usr/lib64/glib-2.0/include"
export CPLUS_INCLUDE_PATH="/usr/include/glib-2.0
/usr/lib64/glib-2.0/include"
the try to build again, got the same error.
anything could be wrong?
thanks.
min
//////////////////////////////////////////////////////////
+ make every-module group_include=kpurple
CC (gcc) [M purple.so] clientaccount.o
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libpurple/account.h:30,
from clientaccount.c:21:
/usr/include/glib-2.0/glib/gtypes.h:410:2: error: #error unknown ENDIAN
type
In file included from /usr/include/glib-2.0/glib.h:33,
from /usr/include/libpurple/account.h:30,
from clientaccount.c:21:
/usr/include/glib-2.0/glib/garray.h:50: error: expected
specifier-qualifier-list before 'guint8'
/usr/include/glib-2.0/glib/garray.h:152: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
/usr/include/glib-2.0/glib/garray.h:157: error: expected ';', ',' or ')'
before '*' token
/usr/include/glib-2.0/glib/garray.h:160: error: expected ';', ',' or ')'
before '*' token
In file included from /usr/include/glib-2.0/glib/gerror.h:30,
from /usr/include/glib-2.0/glib/gthread.h:34,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from /usr/include/libpurple/account.h:30,
from clientaccount.c:21:
/usr/include/glib-2.0/glib/gquark.h:38: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'GQuark'
/usr/include/glib-2.0/glib/gquark.h:42: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'g_quark_try_string'
/usr/include/glib-2.0/glib/gquark.h:43: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'g_quark_from_static_string'
/usr/include/glib-2.0/glib/gquark.h:44: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'g_quark_from_string'
/usr/include/glib-2.0/glib/gquark.h:45: error: expected ')' before 'quark'
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
....
Hi,
I have
# Time in seconds after a TCP connection will be closed if it is not
available for writing in this interval
tcp_send_timeout=2
And I am using
save("location", "0x04"))
to save only one contact per user.
However, when I tried to relay message to a user, sometimes it is taking
over 45 seconds for t_relay to timeout
and return 477 error.
How can I reduce the t_relay timeout?
Thanks
Krish Kura
Hello,
I'm trying to upgrade my company's sip server to the latest Kamailio to 3.1.5.
My development environment contained Openssl 0.9.8K version and everything works fine here.
I have tried to install a fresh package for my release, the openssl version from the Ubuntu packages is Openssl 1.0.0e
And I get the following error.
My error looks like this:
sudo /etc/init.d/kamailio start
Not starting kamailio: invalid configuration file!
-e
0(26880) ERROR: <core> [sr_module.c:523]: ERROR: load_module: could not open module </home/p4dev/BLand_password-Evo-N800v_4700/sw/SipServer/main/kamailio/lib/kamailio/modules/tls.so>: /home/p4dev/BLand_password-Evo-N800v_4700/sw/SipServer/main/kamailio/lib/kamailio/modules/tls.so: undefined symbol: SSLv2_client_method
0(26880) : <core> [cfg.y:3416]: parse error in config file /home/p4dev/BLand_password-Evo-N800v_4700/sw/SipServer/main/kamailio/etc/kamailio/kamailio.cfg, line 259, column 12-19: failed to load module
0(26880) WARNING: <core> [sr_module.c:578]: /home/p4dev/BLand_password-Evo-N800v_4700/sw/SipServer/main/kamailio/lib/kamailio/modules_k/perl.so: exports dlflags interface is deprecated and it will not be supported in newer versions; consider using mod_register() instead
0(26880) ERROR: <core> [modparam.c:161]: set_mod_param_regex: No module matching <tls> found
0(26880) : <core> [cfg.y:3419]: parse error in config file /home/p4dev/BLand_password-Evo-N800v_4700/sw/SipServer/main/kamailio/etc/kamailio/kamailio.cfg, line 437, column 118: Can't set module parameter
ERROR: bad config file (2 errors)
I'm not sure if this is a compatibility issue or is there some library missing that I have to install.
I saw this patch online with reference to Crypt-SSLeay at https://rt.cpan.org/Public/Bug/Display.html?id=70565
*The linker complains about missing SSLv2_method. The following patch works for me:*
--- SSLeay.xs~ 2011-08-29 07:25:46.000000000 +0200
+++ SSLeay.xs 2011-08-29 07:29:04.000000000 +0200
@@ -125,13 +125,9 @@
if(ssl_version == 23) {
ctx = SSL_CTX_new(SSLv23_client_method());
}
- else if(ssl_version == 3) {
+ else {
ctx = SSL_CTX_new(SSLv3_client_method());
}
- else {
- /* v2 is the default */
- ctx = SSL_CTX_new(SSLv2_client_method());
- }
SSL_CTX_set_options(ctx,SSL_OP_ALL|0);
SSL_CTX_set_default_verify_paths(ctx);
SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
Hello,
please use mailing lists (sr-users(a)lists.sip-router.org in this case,
cc-ed) for questions about kamailio - after first reply, private emails
are discarded.
Perhaps you need to use tm module and adjust fr_timer/fr_inv_timer
values -- see readme of the module.
Cheers,
Daniel
On 4/3/12 11:35 PM, Orlando F. Guitian wrote:
> [...] Recently, I have been working on a project and I would like to
> enable a 'Max PDD' function. For example, if I send the call out and
> more than four (4) seconds have passed and there is no ringing, then I
> would like to cancel that call and move on. Is that possible with
> Kamailio? Is there a module for that?
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/
Hi,
I am just getting started with Kamailio and have been following the book
"Building Telephony Systems with OpenSER" by Flavio E. Goncalves. The book
describes an architecture with a SIP Proxy handling registrations and
handing calls to a PSTN Gateway. I now have a basic test network running
where calls are routed via the SIP Proxy (Kamailio) to a third party PSTN
Gateway. I feel that a better design would be to implement my own PSTN
Gateway using Kamailio. This single gateway would then handle all third
party PSTN gateways. Thus one Kamailio server would be facing my clients
while another would be facing my suppliers.
Is this a sensible architecture and are there any sample configurations for
Kamailio performing this role?
Thanks
Rob Watkin
Hi all!
I use kamailio 3.2.2 in the following setup
INET -----> public-ip(kamailio)private-ip ----> IVR
Now i got the following issue. If i setup an permanet ul to an IVR system,
the INVITE SDP had the public-ip and not the private-ip.
If the target is an regular register UAC, then i see the INVITE SDP to the
UAC from the private ip address.
The kamailio.cfg is nearly the default one.
Any hints?
--
Mit freundlichen Grüßen
*Karsten Horsmann*