Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
URI / Requester Ports
Author Message
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Fri Oct 24, 2008 12:42 pm    Post subject: URI / Requester Ports Reply with quote

1. Brekeke Product Name and version: Brekeke SIP Server , Version 2.1.6.6 Standard

2. Java version: 1.5.0_14

3. OS type and the version: Windows 2003 Entreprise

4. UA (phone), gateway or other hardware/software involved: Grandstream HT-486

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

6. Your problem: Noticed that sometimes UA registers with different ports for SIP-URI and REQUESTER. That makes me losing incoming traffic from PSTN (DID). Any help will be deeply appreciated. Smile
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Oct 24, 2008 1:36 pm    Post subject: Reply with quote

Are UA clients behind NAT?
Disable STUN at UA settings.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Fri Oct 24, 2008 2:14 pm    Post subject: Reply with quote

Yes, behind NAT. But, no STUN configured.
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Fri Oct 24, 2008 5:03 pm    Post subject: Reply with quote

go to server's GUI -> [Configuration] -> [SIP] -> [NAT traversal].
And select [Add 'rport' parameter (Receive)] = "true".

Try it.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Sat Oct 25, 2008 4:04 am    Post subject: Reply with quote

It did not work out... Sad
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Mon Oct 27, 2008 12:04 pm    Post subject: Reply with quote

Try the latest beta version..
http://www.brekeke.com/download/download_sip_beta.php

It has improved NAT detection feature.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Tue Oct 28, 2008 3:05 am    Post subject: Reply with quote

No success after upgrade. Worst: now ALL DID's can't receive calls. BSS sends error 486 (busy here) for ALL incoming calls. Please help.
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Oct 28, 2008 3:03 pm    Post subject: Reply with quote

Are you using Brekeke PBX ?
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Tue Oct 28, 2008 3:06 pm    Post subject: Reply with quote

Yes, I am.
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Oct 28, 2008 3:27 pm    Post subject: Reply with quote

Do you have a user in the PBX?
If not, you need to create certain users in the PBX.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Tue Oct 28, 2008 3:37 pm    Post subject: Reply with quote

We have both: PBX and BSS users.
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Tue Oct 28, 2008 3:45 pm    Post subject: Reply with quote

Hi damatta,

Can you paste 486 error response packet here?
Or, can you see"User-Agent" header in the response packet?
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Tue Oct 28, 2008 6:21 pm    Post subject: Reply with quote

Incoming traffic issue solved (NAT problem, not).Thanks.
Back to top
View user's profile Yahoo Messenger MSN Messenger
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Tue Oct 28, 2008 11:45 pm    Post subject: Reply with quote

Try this DialPlan rule.
Matching Patterns
$request = ^REGISTER
$globaladdr( Contact ) = true
$addr = (.+)
$globaladdr( "%1" ) = true
$port = (.+)
Deploy Patterns
&register.contact.addrport = %1:%2
&register.contact.nat = true
$continue = true
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Wed Oct 29, 2008 2:08 am    Post subject: Reply with quote

After applying this Dial Plan, some lines became RED. So, I assume there are synthax errors.

Matching Patterns
$globaladdr(Contact) = true
$globaladdr("%1") = true

Deploy Patterns
&register.contact.addrport = %1:%2
&register.contact.nat = true
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Oct 29, 2008 11:13 am    Post subject: Reply with quote

Hi all,

Harold's DialPlan seems no problem.

>> After applying this Dial Plan, some lines became RED. So, I assume there are synthax errors.

Don't worry. you can use these variables.
These variables are new from version 2.2 beta.. so they are not listed in the DialPlan's spell checker.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Wed Oct 29, 2008 6:14 pm    Post subject: Reply with quote

Fine now Smile
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Wed Oct 29, 2008 6:39 pm    Post subject: Reply with quote

Wow..

Does Harold's DialPlan solve the issue??
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Thu Oct 30, 2008 10:10 am    Post subject: Reply with quote

Well, partially... Signalling issue was solved (can receive calls) but not media (no audio).
Back to top
View user's profile Yahoo Messenger MSN Messenger
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Thu Oct 30, 2008 11:23 am    Post subject: Reply with quote

Did you set "RTP-Relay=on"??
If not, try it.
Back to top
View user's profile
damatta
Brekeke Master Guru


Joined: 07 Oct 2005
Posts: 227
Location: Brazil

PostPosted: Mon Nov 10, 2008 1:23 pm    Post subject: Reply with quote

Yes, RTP Relay setting is ON and RTP relay (UA on this machine) is AUTO.
Back to top
View user's profile Yahoo Messenger MSN Messenger
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