Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Need Help Please - contact
Author Message
gmcnitt
Brekeke Newbie


Joined: 06 Nov 2013
Posts: 4
Location: Ft Worth TX

PostPosted: Wed Nov 06, 2013 2:07 pm    Post subject: Need Help Please - contact Reply with quote

1. Brekeke Product Name and Version:
Sip Server
3.2.4.3/367
2. Java version:
1.7.0_45
3. OS type and the version:
Windows Server 2008 R2
6.1
4. UA (phone), gateway or other hardware/software involved:
Proprietary system
5. Your problem:
Hello, I am trying to use your sip server to simply take what I send it from my proprietary platform and change the sip info to connect to a sip provider. Currently I am trying to change the contact in the sip message from the local ip to a public ip but have not figured out how to make that work. I have a simple Matching Pattern of $request=^INVITE, and in the Deploy pattern I have Contact=sip12345@public_ip:5060, but it continues having contact=sip1234@private_ip:5060. thanks..
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Wed Nov 06, 2013 3:26 pm    Post subject: Reply with quote

Is the SIP server behind NAT?
Can you see a public_ip in the [Status] page ?
Back to top
View user's profile
gmcnitt
Brekeke Newbie


Joined: 06 Nov 2013
Posts: 4
Location: Ft Worth TX

PostPosted: Wed Nov 06, 2013 4:13 pm    Post subject: Reply with quote

yes, behind a cisco firewall. On the status page everything only shows the local ips. I can use xten soft client direct and it works fine. Thanks...
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Nov 06, 2013 5:15 pm    Post subject: Reply with quote

create dial plan rule for this user register

Matching Patterns
$request = ^REGISTER
To = sip:1234@
Deploy Patterns
$continue = true
&register.contact.remote = true

1234 is the sip id of registered user which need global IP as contact
Back to top
View user's profile
gmcnitt
Brekeke Newbie


Joined: 06 Nov 2013
Posts: 4
Location: Ft Worth TX

PostPosted: Wed Nov 06, 2013 5:18 pm    Post subject: Reply with quote

i have no registration for any of my sip access......all does not require authorization.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Wed Nov 06, 2013 6:23 pm    Post subject: Reply with quote

If the SIP server is behind NAT, you need to let the server knows the public IP address.

Set the public IP address in
[Configuration] > [System] > [Network]>[Interface Address].

See this page.
http://wiki.brekeke.com/wiki/Set-port-forwarding

Furthermore, you don't have to have any Dialplan rule to replace Contact header. It will be replaced automatically.
Back to top
View user's profile
gmcnitt
Brekeke Newbie


Joined: 06 Nov 2013
Posts: 4
Location: Ft Worth TX

PostPosted: Thu Nov 07, 2013 2:54 pm    Post subject: Reply with quote

I have added the public ip in interface address, yet the contact still has the local lan ip. ?? It does show up in server now.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Thu Nov 07, 2013 10:09 pm    Post subject: Reply with quote

Can you see a public_ip in the [Status] page ?
Do you have any dialplan rules ?
Where did you define the destinations's IP address (provider's IP)?
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