Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Turn off RTP relay completely
Author Message
frol38
Brekeke Newbie


Joined: 24 Sep 2007
Posts: 3

PostPosted: Mon Nov 19, 2007 7:21 am    Post subject: Turn off RTP relay completely Reply with quote

1. Brekeke Product Name and version:PBX 2.0

2. Java version:

3. OS type and the version: Windows XP SP2

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : LAN1

6. Your problem: Use of other codec's

Hi, I want to use wideband codec's like Speex and G722 and want to disable RTP relay completely. I have tried with both the settings in SIP dialplan and User/ARS/Options in PBX settings, but for some reasons the only codec's that are accepted by SIP server/PBX are PCM.

Thanks in advance for any tip/suggestions
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Mon Nov 19, 2007 9:40 pm    Post subject: Reply with quote

Hi,

You should be able to turn off rtp relay in the "from pbx" dial plan using these in the deploy. If you are not using pbx then just make sure these entries are in the dial plan that's active when making the calls out.

&net.rtp.relay.localhost=off
$rtp=false

We do it all the time for faxing and xlite video. It will allow both the video and t.38 codecs when doing it this way so I'm sure it will allow your wide band codecs.

Good luck!

Nick
Back to top
View user's profile
frol38
Brekeke Newbie


Joined: 24 Sep 2007
Posts: 3

PostPosted: Tue Nov 20, 2007 3:44 am    Post subject: Reply with quote

Hi Nick, thanks for the info but just to understand you correctly, should this be added to the SIP server dialplan or in the PBX ARS settings?

In the SIP server dialplan I have the three default "from PBX" entries: PBX Prefix, From PBX1 and From PBX2 should I add this do these ones or define a new "From PBX" higher priority?

I did try to define a new entry in the dialplan but the &net.rtp.relay.localhost=off was colored in red in the dialplan, so I think this is an indication of that it's not valid.

BR/Olle
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Tue Nov 20, 2007 8:32 am    Post subject: Reply with quote

Hi,

Remember that the call has two parts. For outgoing calls you have the first leg which is the ip phone calling the pbx (to pbx) and the second leg which is the pbx calling your isp(from pbx). Go ahead and make a call and look at the active sessions in the sip server. Click on the detail and note both the dial plans being called. Then go to the sip server and add the above entries to both dial plans and it should work. Do the same thing for an incomming call to be sure you get it right.

Another consideration is that if you turn off all rtp relay then Brekeke's session border controller that handles NAT traversal will not work and you could end up with no audio going to ip phones that are not on your local brekeke sip server network lan or that don't have port forwarding on their router.

Don't worry about the dial plan entries that turn red. Just make sure you typed it right and ignore the red color. It is a common thing for many dial plan entries.

Nick.
Back to top
View user's profile
frol38
Brekeke Newbie


Joined: 24 Sep 2007
Posts: 3

PostPosted: Wed Nov 21, 2007 4:06 am    Post subject: Reply with quote

Hi Nick, still not working. I checked the session parameters and added the enties and it made no difference and att the bootom it says for both legs that rtp relay is off.

This is for internal calls so there is actually no ISP involved and all is behind NAT

I have the server on 192.168.1.12 and two clients on 192.168.1.100 & 101.

I have sip users on 300@192.168.1.12 and 301@192.168.1.12 and pbx users 300 and 301.

When I make a direct call from one client to the other and only uses the SIP server as a proxy all codec's are offered but when I make a call from 300 to 301 through the SIP server (sip:301@192.168.1.12) the only codec offered on the second leg (PBX to 301) is PCM.

I'm not sure if this explains by problem in more detail?

Thanks for your help / Olle
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1