Hi,
I have a scenario where multiple companies with multiple sip and smtp domains want to also use one common domain.
Ie. Users from domain1.com have their own Exchange and Lync topology, this is also true for users from domain domain2.com
Is there a way to use SER on commondomain.com to forward Lync traffic, presence, chat, rtp to these servers/users
B.r,
Øystein Rudi
Teknisk leder (CTO) / Seljestadveien 78 A, 9407 Harstad
sentralbord: +47 77 00 27 50 / fax: +47 77 00 27 51 / web: www.serit.no
epost: oystein.rudi(a)itpartner.no / direkte: +47 77 00 27 81 / mobil: +47 93 00 89 99
[Serit_ITPartner_Harstad]
Dear Daniel & Kamailio'ns
I am working on File transferring feature between two SIP clients
(IMSDroid). I have configured Kamailio (4.0.4) sever with RTPproxy to get
the through NAT traversal of audio/videov calls. so fro that i added a
script in kamailio.cfg as like below (Forced all INVITES through RTPproxy)
:
if (is_method("INVITE")) {
setflag(7); # Set the qos flag
#if (has_sdp()) {
if(has_body("application/sdp")) {
if (rtpproxy_offer())
t_on_reply("1");
} else {
t_on_reply("2");
}
}
#if (is_method("ACK") && has_sdp())
if (is_method("ACK") && has_body("application/sdp"))
rtpproxy_answer();
..
..
onreply_route[1] {
# if (has_sdp())
if(has_body("application/sdp"))
rtpproxy_answer();
}
onreply_route[2] {
# if (has_sdp())
if(has_body("application/sdp"))
rtpproxy_offer();
}
But now when i am trying for File transferring (As per RFC 4975, Session
mode IM) their INVITEs are also passing through RTPProxy service, which is
dropping MSRP contents and with that Files are not getting transferring
(But session is establishing between two clients).
And when i tried file transferring without running RTPPproxy service. files
are getting transferring. but that gives problems for audio/video calls.
So anybody please help me in how to make it work for both MSRP&RTP packets.
I mean how can i modify the script so that INVITE messges contains MSRP-RTP
contents can be descriminate in the script, and then they can execute their
respective blocks of scripts.
And please find the attachments of my Kamailio.cfg file and file transfer
traffic capture (tcpdump based) with RTPproxy instance running and without
running.
Any help will greatly appreciate.
Awaiting for somebody's help.
Regards
Ravi
Situation:
endpoint -> kamailio (4.1.0) -> upstream sip server (kamailio 4.0.x)
For an outbound call endpoint authenticates with kamailio. Kamailio relays the
invite to upstream and upstream responds with a 401.
This 401 should trigger authentication. So I thought I could use uac_auth() to
fix this. uac_rely may only be used from FAILURE_ROUTE. So the initial INVITE
from the endpoint has this set:
if (is_method("INVITE")) {
if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");
}
But to my suprise the 401 doesn't end up in the failure_route but in the
onreply_route. Why? What am I missing?
--
POCOS B.V. - Croy 9c - 5653 LC Eindhoven
Telefoon: 040 293 8661 - Fax: 040 293 8658
http://www.pocos.nl/ - http://www.sipo.nl/
K.v.K. Eindhoven 17097024
And also let me know wat can cause voice break up during conversation. Our
Server has an public IP but our clients are behind nat.
From: Neville D'Souza [mailto:ncd@gogopay.com]
Sent: Friday, January 31, 2014 5:45 PM
To: 'sr-users(a)lists.sip-router.org'
Subject: Kamailio without tls
Hi Support,
I have recently kamailio 4.0.x version with tls on port 5061. Now our
development team needs to connect to it using unencrypted on port 5060 to
test an app for features and then work towards connecting through tls
connection.
So my question is how do I temporarily disable tls to test all the features
on the kamailio server and then once feature testing is done revert back to
tls connection?
Best Regards,
Neville D'Souza
Hello;iam running kamailio 4 with two interfaces one public and the other
privateam using the default kamailio.cfg file on ubuntu*scenario*register
and route calls on asterisk through the proxy private interface on the lan
interfaceregister and route calls on asterisk through the public interface
if you are on the internetbe able to call from either lan or internet to any
one registered on the lan or internet*Achieved *can make register and make
calls between endponts both on the internet two way audiocalls from the
internet endpoint to lan registered end point one way audiocalls from lan
endpoint to internet endpoint no audiocalls from lan to lan endpoints no
audio*help*configuration of rtpproxy rule to allow audio flow to all
endpointslan to lan lan to internet internet to lanusing the default
configuration file route -n0.0.0.0 public 0.0.0.0
UG 1 0 0 eth00.0.0.0 private 0.0.0.0
UG 2 0 0 eth1public 0.0.0.0 pub sunet
U 0 0 0 eth0private 0.0.0.0 pri subnet
U 0 0 0 eth1/etc/default/rtpproxyCONTROL_SOCK="-F -s
udp:*:7722"EXTRA_OPTS="-l public/private -d DBUG:LOG_LOCAL0 -u rtpproxy"
--
View this message in context: http://sip-router.1086192.n5.nabble.com/one-audio-tp124687.html
Sent from the Users mailing list archive at Nabble.com.
Can anyone suggest why t_relay_to_tls cannot be found
0(15284) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command t_relay_to_tls
i am using kamailio 4.1.1
Hi there,
I'm having a strange behavior when i start kamailio, it start processes
but after few seconds all processes die,
<core> [main.c:1630]: main_loop(): main_loop: Cannot fork
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7354]: DEBUG: db_mysql
[km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://
xxxx:xxxx@10.0.30.15/kamailio
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: db_mysql
[km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect
to MySQL server on '10.0.30.15' (4)
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core>
[db.c:322]: db_do_init2(): could not add connection to the pool
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: uri_db
[checks.c:249]: uridb_db_init(): unable to connect to the database
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core>
[sr_module.c:896]: init_mod_child(): init_mod_child(): Error while
initializing module uri_db (/usr/local/lib64/kamailio/modules/uri_db.so)
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core>
[pt.c:350]: fork_process(): ERROR: fork_process(): init_child failed for
process 5, pid 7335, "udp receiver child=4 sock=10.0.20.7:5060 (
213.58.213.226:5060)"
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: : <core>
[main.c:1630]: main_loop(): main_loop: Cannot fork
anyone has idea why it is happening, it was working before and we didn't
any changes
--
Cumprimentos
José Seabra
Hello Klaus,
I have been making some tests just to be sure the network is not the problem. While using a simpler config file for Kamailio with just the TLS and NAT which does not involve Asterisk in the scenario, calls work properly between softphones. OTOH, using the template provided in the KB referenced in my first post disabling the Asterisk define, calls are connected properly but no audio flows between phones.
Now I am in the process of trying to locate where is the problem by comparing how both files handle the NAT support.
Thank you
> ----- Original Message -----
> From: Klaus Darilion
> Sent: 01/23/14 08:12 AM
> To: Kamailio (SER) - Users Mailing List
> Subject: Re: [SR-Users] Kamailio behind NAT
>
> On 23.01.2014 10:29, John Smith wrote:
> > Hello Klaus,
> >
> > I had already two sockets bound each to two independent physical interfaces. I have added the force_send_socket at each rtpproxy
>
> Just for clarity:
>
> force_send_socket is for near_end NAT traversal of the SIP signaling,
> whereas manage_rtpproxy() is for the NAT traversal (near end and far
> end) of the RTP stream.
>
> > It is necessary to use the cwie / cwei flags in the rtpproxy_manage call?
>
> If rtpproxy uses only a single listen-IP, then these flags are not
> needed. Only if you operate rtpproxy in bridge mode, then you need these
> flags. Bridge mode is necessary if you do not have IP routing between
> the internal network and the "virtual external" network, or if you want
> to bridge between IPv4 and IPv6.
>
> > Currently audio does not flow back to the softphones, it gets lost at Kamailio.
>
> Actually it should get lost at rtpproxy.
>
> Please post a SIP trace: ngrep -Wbyline -q -t -P "" port 5060
>
> and post the setup (external + internal IP addresses) (you can send it
> privately to me or mangle the IP addresses if they are sensitive)
>
> regards
> Klaus
>
> _______________________________________________
> 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 am developing a system using Kamailio 4.1.1 as a front-end to a group of Asterisk servers. All of the usual functionality (registations, inbound, outbound, internal calls) are fine. We need to add call queueing to the system.
I looked at the mohqueue module and read that we can use mohq_process() to send inbound calls to a suitably defined queue, based on the incoming URI.
My question is what is the process for managing/automating the call to mohq_retrieve() to send calls to agents? Do I need to track agents with XMPP presence, etc?
Thanks,
Mark Hall