Author |
Message |
gmcnitt Brekeke Newbie
Joined: 06 Nov 2013 Posts: 4
Location: Ft Worth TX
|
Posted: Wed Nov 06, 2013 2:07 pm Post subject: Need Help Please - contact |
|
|
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 |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Wed Nov 06, 2013 3:26 pm Post subject: |
|
|
Is the SIP server behind NAT?
Can you see a public_ip in the [Status] page ? |
|
Back to top |
|
gmcnitt Brekeke Newbie
Joined: 06 Nov 2013 Posts: 4
Location: Ft Worth TX
|
Posted: Wed Nov 06, 2013 4:13 pm Post subject: |
|
|
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Wed Nov 06, 2013 5:15 pm Post subject: |
|
|
create dial plan rule for this user register
Matching Patterns | $request = ^REGISTER To = sip:1234@
| Deploy Patterns | $continue = true ®ister.contact.remote = true
|
1234 is the sip id of registered user which need global IP as contact |
|
Back to top |
|
gmcnitt Brekeke Newbie
Joined: 06 Nov 2013 Posts: 4
Location: Ft Worth TX
|
Posted: Wed Nov 06, 2013 5:18 pm Post subject: |
|
|
i have no registration for any of my sip access......all does not require authorization. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Wed Nov 06, 2013 6:23 pm Post subject: |
|
|
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 |
|
gmcnitt Brekeke Newbie
Joined: 06 Nov 2013 Posts: 4
Location: Ft Worth TX
|
Posted: Thu Nov 07, 2013 2:54 pm Post subject: |
|
|
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 |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Thu Nov 07, 2013 10:09 pm Post subject: |
|
|
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 |
|
|