Alex, I understand your point and appreciate your input highly, but let's say that
asterisk is needed as the media server for other reasons. It may not scale as well as the
other solutions but we need them to be there to provide other services. I just wanted to
know whether there was any difference aside from the scalabilty issue.
We were under the impression that it was imperative to use either media-proxy or rtp-proxy
but after examining in more detail how the 2 solutions work we find no reason not to use
asterisk as the media proxy as well. Unless of course we are missing the big picture
here and surely will find out once we set out to test it. But given the deep knowledge of
a lot of people in this forum we deemed necessary to ask about the feasibility of this
workaround.
If somebody detects any flaw on this solution or if there is someting else critical or not
that we are missing we would love to hear it .
thank you in advance and thank you Alex again,
jp
----- Original Message ----
From: Alex Balashov <abalashov(a)evaristesys.com>
To: Juan Perez <jperezsip2008(a)yahoo.com>
Sent: Monday, March 16, 2009 6:51:34 PM
Subject: Re: [Kamailio-Users] Using Asterisk as media server
No, because the amount of throughput you get per media/RTP proxy is much
higher than you would get through something whose entire core is structured
to behave as a PBX, with all the attendant features and latent event loop
characteristics. A media relay does one thing and one thing only, and it
does it well. Asterisk does many things, among them media relay.
So, while you could use Asterisk in this capacity, I don't see the point.
It'd be a waste of time. Also, you don't really want to get Asterisk
involved in the signaling layer (as a B2BUA) if you can help it. It
introduces unnecessary complexity and possible points of interop problems
and failure. With a media relay that is controlled by API hooks into
Kamailio, you don't have that problem.
On Mon, 16 Mar 2009 15:22:27 -0700 (PDT), Juan Perez
<jperezsip2008(a)yahoo.com> wrote:
thanks alex, but actually there will be several asterisk servers, managed
by the LCR module, that should be OK right?
it should be the same as adding several media-proxies or rtp-proxies, am
I
wrong?
----- Original Message ----
From: Alex Balashov <abalashov(a)evaristesys.com>
To: Juan Perez <jperezsip2008(a)yahoo.com>
Cc: users(a)lists.kamailio.org
Sent: Monday, March 16, 2009 3:41:46 PM
Subject: Re: [Kamailio-Users] Using Asterisk as media server
No, nothing needs to be modified.
However, in this scenario you are limited to Asterisk's performance
characteristics in terms of the number of concurrent calls that can be
handled. Just about any media relay will be much more scalable and
lightweight.
Asterisk is a PBX and a nice feature server. You don't build SIP service
delivery platforms out of Asterisk used as a general-purpose call router.
Juan Perez wrote:
Hello
In this scenario, customers behind NAT register in kamailio, records are
stored in
a db etc. Kamailio uses Asterisk boxes as gateways to send
calls
to PSTN.
Is it possible to use Asterisk as the media
server instead of
media-proxy or rtp-proxy?
In this case the SDP that Asterisk sends in the
180 message needs to me
modified?
thank you
jp
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
-- Alex Balashov
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775
--
Alex Balashov
Evariste Systems
Web :
http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775