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/ ... terns.html :
No one.
Brekeke SIP server has a public address. I have a 3CX (version 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
Brekeke INVITE
Moderator: Brekeke Support Team
Hello!
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
My "solution" is: Brekeke - Asterisk - 3CXPlease How did you resolve this problem, I am have a similar problem with my server.
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