Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Can't Call registered Users on a Local Network.
Author Message
Vincent
Brekeke Addict


Joined: 27 Aug 2009
Posts: 25

PostPosted: Mon Apr 30, 2012 7:58 pm    Post subject: Can't Call registered Users on a Local Network. Reply with quote

1. Brekeke Product Name and version: BPBX 2.4.9.0

2. Java version:1.6

3. OS type and the version:Win 2008 Server.

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

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

6. Your problem:Can't call users that are registered with a local ip (192.168.0.xx).

With any of the below dial plans I can call registered users on a global ip:

Matching Patterns
$request = ^INVITE
To = sip:0(.+)@
Deploy Patterns
$auth = false
To = sip:%1@
$register.contact.remote = true
$continue = false

This other dial plan also works but not for users that are registered with a local ip:

Matching Patterns
$request = ^INVITE
To = sip:0(.+)@
Deploy Patterns
$auth = false
To = sip:%1@
$net.rtp.follow.remoteaddr = true
$continue = false

I've tried the suggested solution on Brekeke wiki but it didn't help.Here's the suggested solution:

When UA2 is on a local network, [NAT traversal] > [Keep address/port mapping] should be set to ON in the [Configuration] menu to resolve NAT traversal on UA2 side. The setting doesn't matter if UA2 can use STUN, and STUN supports the router(NAT)'s type on UA2's side.

I'd appreciate any tips or clues that could help me resolve this issue.

Thanks,
Vincent.
Back to top
View user's profile
ambrosio
Brekeke Master Guru


Joined: 27 Mar 2008
Posts: 215

PostPosted: Tue May 01, 2012 1:32 pm    Post subject: Reply with quote

$register.contact.remote=true
must be
&register.contact.remote=true

$net.rtp.follow.remoteaddr=true
must be
&net.rtp.follow.remoteaddr=true

use '&' instead of '$' because they are environment variables.
Back to top
View user's profile
Vincent
Brekeke Addict


Joined: 27 Aug 2009
Posts: 25

PostPosted: Wed May 02, 2012 9:15 pm    Post subject: Reply with quote

Hello Ambrosio,

Sorry for the typo,I actually did use the environment variable character "&" in this line of statement :
[&net.rtp.follow.remoteaddr=true] but did otherwise in

"$register.contact.remote=true ". I'll try it and see if it works.

Thanks.
Back to top
View user's profile
Vincent
Brekeke Addict


Joined: 27 Aug 2009
Posts: 25

PostPosted: Sat May 05, 2012 6:06 pm    Post subject: Reply with quote

I've tried the environment variable prefix but it didn't help.Could this be a policy issue?
Back to top
View user's profile
ambrosio
Brekeke Master Guru


Joined: 27 Mar 2008
Posts: 215

PostPosted: Mon May 07, 2012 10:42 am    Post subject: Reply with quote

You need to have "&register.contact.remote=true" in both rules.
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