Hello,
On 07/07/08 08:37, Tushar wrote:
Thanks Castillo,
How can I direct all media to my voipswitch? The signalling will land on Openser server, SDP will decide the route for RTP so what step should be taken to sent the RTP to my voipswitch.
is there a way to instruct the voip switch to open ports for RTP streams? As steps, once the invite comes in, you should contact the voipswitch and ask for a new pair of RTP ports for the call. Once you get the port and the ip address of the voipswitch, you have to change them in the sdp -- perhaps mangler module helps. When 200ok is received, you have to change also the ip and port in sdp with the ones from voipswitch.
This algorithm is used for nat traversal with rtpproxy or mediaproxy. You can check the sources of mediaproxy or nathelper modules for more details.
Cheers, Daniel
Regards Tushar
-----Original Message----- From: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of IƱaki Baz Castillo Sent: Sunday, July 06, 2008 5:48 PM Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] using voipswitch as media server
2008/7/5 Tushar tushar@eurus.net:
I have recently started playing around with Openser, I am looking for a solution in which my Openser Server should carry the signalling part and
my
media stream should be handle by my voipswitch so I can monitor my RTP stream, work with my calling card solution.
While browsing I came to know about mediaproxy rely and media server may
be
it help me to sent my RTP packet from my server but I like to use my voip switch for my media stream.
Hi, please don't use HTML (italic text) in the maillist but plain text ;)
About your question... I don't know which is your question. You have a voip switch so you don't need a RTP proxy (as MediaProxy is). In your case (if you have the control of the voip switch) you just need MediaProxy in those cases:
- You have NATted clients and your switch doesn't handle NAT (if it
doesn't support "Comedia" mode).
- You want all the audio through some hosts (in which MediaProxy
servers run) in order to monitorize it propely (but you could also do it in your switch if it's allows it).