Need Help Please - contact

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
gmcnitt
Posts: 4
Joined: Wed Nov 06, 2013 2:01 pm
Location: Ft Worth TX

Need Help Please - contact

Post by gmcnitt »

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..
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Is the SIP server behind NAT?
Can you see a public_ip in the [Status] page ?
gmcnitt
Posts: 4
Joined: Wed Nov 06, 2013 2:01 pm
Location: Ft Worth TX

Post by gmcnitt »

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...
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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
gmcnitt
Posts: 4
Joined: Wed Nov 06, 2013 2:01 pm
Location: Ft Worth TX

Post by gmcnitt »

i have no registration for any of my sip access......all does not require authorization.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

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.
gmcnitt
Posts: 4
Joined: Wed Nov 06, 2013 2:01 pm
Location: Ft Worth TX

Post by gmcnitt »

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.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

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)?
Post Reply