Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
BREKEKE SIP SERVER = redirect server
Author Message
n2a1ce
Brekeke Addict


Joined: 06 Dec 2010
Posts: 29
Location: Ukraine

PostPosted: Thu Aug 20, 2015 6:44 am    Post subject: BREKEKE SIP SERVER = redirect server Reply with quote

1. Brekeke Product Name and Version: SIP Server (3.4.6.3/411)

2. Java version: 1.7

3. OS type and the version: Linux

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

gateway hyperstone goip, asterisk

5. Your problem:

asterisk (nat)10.10.0.2 ====VPN====10.10.0.1 BREKEKE SIP SERVER Publick IP 95.XX.XX.XX==== dynamic IP + NAt gateway hyperstone goip ==== dynamic IP + NAt gateway hyperstone goip (2,3,4 and more)

I need only BREKEKE SIP SERVER = like redirect server or sip proxy
What I mast to do in dial plan? (I dont want each gateway wright in dial plan, I need jast derirect calls) what I should to do? (I have mane gateway )
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 245

PostPosted: Thu Aug 20, 2015 10:28 am    Post subject: Reply with quote

Try these two DialPlan rules. You need to replace <GOIP's IP Address> with the GOIP gateway's actual IP address.


Rule-1: From Asterisk
Matching Patterns
$request = ^INVITE
$addr = 10.10.0.2
To = sip:(.+)@
Deploy Patterns
To = sip:%1@<GOIP's IP Address>


Rule-2: From GoIP GW
Matching Patterns
$request = ^INVITE
$addr = <GOIP's IP Address>
To = sip:(.+)@
Deploy Patterns
To = sip:%1@10.10.0.2
Back to top
View user's profile
n2a1ce
Brekeke Addict


Joined: 06 Dec 2010
Posts: 29
Location: Ukraine

PostPosted: Thu Aug 20, 2015 10:36 am    Post subject: Reply with quote

I can accept all IP-goip's like 0.0.0.0 - its work?
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 245

PostPosted: Thu Aug 20, 2015 11:52 am    Post subject: Reply with quote

Do you mean wildcard for IP address?
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