Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Brekeke INVITE
Author Message
sala2001
Brekeke Newbie


Joined: 31 May 2010
Posts: 2

PostPosted: Sat Jun 05, 2010 2:57 am    Post subject: Brekeke INVITE Reply with quote

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

2. Java version:
1.6.0_03-p4

3. OS type and the version:
FreeBSD 8.0-RELEASE

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

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
No one.
Brekeke SIP server has a public address. I have a 3CX (version Cool behind nat, in the same LAN as the IP phones. The phones are extensions of the 3CX. The nat router has a public IP.

6. Your problem:
3CX registers to Brekeke and an other provider. Outbound calls ok. Incominc calls from other privider are ok, but from Brekeke not.

Other provider send invites like this:
Request-Line: INVITE sip:CALLED_NUMBER@NAT_ROUTER_PUBLIC_IP SIP/2.0
Message Header
To: "CALLED_NUMBER" <sip:CALLED_NUMBER@NAT_ROUTER_PUBLIC_IP>

And Brekeke:
Request-Line: INVITE sip:CALLED_NUMBER@BREKEKE_IP SIP/2.0
Message Header
To: "CALLED_NUMBER" <sip:CALLED_NUMBER@BREKEKE_IP>


I can't setup 3CX to accept Brekeke's invites. Is it possible, to setup Brekeke to senv invites like my other provider?

Best regards,
Attila
Back to top
View user's profile
taitan
Brekeke Master Guru


Joined: 15 Mar 2008
Posts: 237

PostPosted: Mon Jun 07, 2010 10:51 am    Post subject: Reply with quote

Hi
does the Brekeke have the LAN's local address too?
Back to top
View user's profile
ayo
Brekeke Junior Member


Joined: 13 Feb 2009
Posts: 6

PostPosted: Sat Aug 28, 2010 6:57 pm    Post subject: Reply with quote

Hi Atilla,

Please How did you resolve this problem, I am have a similar problem with my server.

AYO
Back to top
View user's profile
sala2001
Brekeke Newbie


Joined: 31 May 2010
Posts: 2

PostPosted: Mon Aug 30, 2010 7:38 am    Post subject: Reply with quote

Hello!

Quote:
Please How did you resolve this problem, I am have a similar problem with my server.


My "solution" is: Brekeke - Asterisk - 3CX Smile
Asterisk registrers to Brekeke and 3CX registers to Asterisk.

sip.conf:
[3cx]
type=friend
context=from-3cxuser
secret=999
host=3CXIP
dtmfmode=rfc2833
username=999
qualify=yes
nat=no
canreinvite=no
insecure=invite
disallow=all
allow=alaw
allow=ulaw

3CX backup.xml:

<VoipProvider>
<SpecifiedIPForRegistrationContact>3CXIP</SpecifiedIPForRegistrationContact>
<IPInRegistrationContact>Specified</IPInRegistrationContact>
<TimeBetweenReg>120</TimeBetweenReg>
<StunServerPort>5060</StunServerPort>
<ProxyPort>5260</ProxyPort>
<ProxyHost>ASTIP</ProxyHost>
<VariableChoices />
<MatchingStrategy>MatchAnyFields</MatchingStrategy>
<DestNumberInRemotePartyIDCalled>False</DestNumberInRemotePartyIDCalled>
<DestNumberInRequestLineURI>True</DestNumberInRequestLineURI>
<DestNumberInTo>True</DestNumberInTo>
<Type>Provider</Type>
<RequireRegistrationFor>Nothing</RequireRegistrationFor>
<UseIPInContact>True</UseIPInContact>
<SupportReplaces>False</SupportReplaces>
<SupportReinvite>False</SupportReinvite>
<EnableSRTP>False</EnableSRTP>
<DeliverAudio>True</DeliverAudio>
<Internal>True</Internal>
<Lines>1</Lines>
<Port>5260</Port>
<Host>ASTIP</Host>
<Name>asterisk</Name>
<TemplateFilename>GenericVoIPProvider.pv.xml</TemplateFilename>
<Codecs>
<codec RFCName="PCMA" />
<codec RFCName="PCMU" />
</Codecs>
<ArrayOfInboundParam>
<InboundParam ParamName="RequestLineURIHost" ValueName="$DevHostPort" />
<InboundParam ParamName="ContactHost" ValueName="$DevHostPort" />
<InboundParam ParamName="ToDisplayName" ValueName="$CalledName" />
<InboundParam ParamName="ToUserPart" ValueName="$CalledNum" />
<InboundParam ParamName="FromDisplayName" ValueName="$CallerName" />
<InboundParam ParamName="FromUserPart" ValueName="$CallerNum" />
</ArrayOfInboundParam>
<ArrayOfOutboundParam>
<OutboundParam ParamName="RequestLineURIUser" ValueName="$CalledNum" />
<OutboundParam ParamName="RequestLineURIHost" ValueName="$GWHostPort" />
<OutboundParam ParamName="ContactUser" ValueName="$AuthID" />
<OutboundParam ParamName="ContactHost" ValueName="$ContactUri" />
<OutboundParam ParamName="ToDisplayName" ValueName="$CalledName" />
<OutboundParam ParamName="ToUserPart" ValueName="$CalledNum" />
<OutboundParam ParamName="ToHostPart" ValueName="$GWHostPort" />
<OutboundParam ParamName="FromDisplayName" ValueName="$OutboundCallerId" />
<OutboundParam ParamName="FromUserPart" ValueName="$AuthID" />
<OutboundParam ParamName="FromHostPart" ValueName="$GWHostPort" />
</ArrayOfOutboundParam>
<SIPFieldWithDID Name="RequestLineURIUser" />
</VoipProvider>

Better solution welcome.

Best regards,
Attila
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