Re: [OpenSBC] Is this application feasible?
Brought to you by:
joegenbaclor
From: OpenSBC F. <ope...@op...> - 2009-01-19 10:26:15
|
Hi Paolo, There is a typo in that documentation. the sample XML did not enclose the block in a ROOT ELEMENT causing parser error in the opensbc XML module. This causes the register not to be sent. Encode it like this: {code:xml}<root> <siptrunk trunk-name="opteron.opensipstack.org" route-set="opteron.opensipstack.org" sip-domain="opteron.opensipstack.org" expires="10"> <trunk-accounts> <account user-name="1001" auth-user-name="1001" auth-password="1001" inbound-route="sip:90...@wi..." send-reg="yes" expires="3600" /> </trunk-accounts> </root>{code} Joegen > {quote:title=Paolo wrote:}{quote} > > Nope. > > > I had already noticed the document about trunks, there aren't too many documents to be read after all... > > > I tried both B2B and B2B Upper, but nothing. I see no trace of registrations in the log. > > > My configuration is (sorry for the long post) as follows. > > > Help! Thanks everybody! > > > [Solegy] > RTTS-Client-Address=83.211.125.71 > > [OpenSBC-General-Parameters] > SIP-Log-Level=5 > PTRACE-Log-Level=1 > Log-File-Prefix=b2bua > SBC-Application-Mode=B2BUpperReg Mode > Interface-Address Array Size=0 > Enable-Backdoor-Port=True > Enable-Trunk-Port=True > Enable-Calea-Port=True > RTP-Min-Port=10000 > RTP-Max-Port=20000 > Enable-Local-Refer=False > Max-Forwards=70 > Encryption-Mode=XOR > Encryption-Key=GS > Transaction-Thread-Count=10 > Session-Thread-Count=10 > Alerting-Timeout=30000 > Seize-Timeout=60000 > SIP-Timer-B=Default > SIP-Timer-H=Default > Session-Keep-Alive=1800 > Session-Max-Life-Span=10800 > Max-Concurrent-Session=100 > Max-Call-Rate-Per-Second=10 > > [Upper-Registration] > Enable-Stateful-Reg=True > Rewrite-TO-Domain=True > Rewrite-FROM-Domain=True > Route-List Array Size=0 > > [Internal-DNS-Mapping] > Internal-DNS-Map Array Size=0 > > [Proxy-Relay-Routes] > Drop-Routes-On-Ping-Timeout=False > Proxy-Resolve-To-URI=True > Route-List Array Size=0 > > [B2BUA-Routes] > Enable-Route-Scripting=False > Route-Script=b2bua-route.cscript > Route-List Array Size=1 > Route-List 1=[sip:*@voip.eutelia.it:*] sip:voip.eutelia.it:5060;sip-trunk=true > Insert-Route-Header=True > Rewrite-TO-URI=True > Prepend-ISUP-OLI=False > Route-By-Request-URI=True > Route-By-To-URI=False > Drop-Routes-On-Ping-Timeout=False > Use-External-XML=False > External-XML-File=b2bua-route.xml > Route-List 2=[sip:030...@vo...] sip:030...@si... > > [Media-Server] > Enable-Media-Server=False > Media-Server-Number=5000 > Codec-List Array Size=0 > No-RTP-Proxy-On-All-Transfers=False > Enable-Announcement-Service=False > 4xx-Error-Map=prompts/basic/cant_complete.wav > 5xx-Error-Map=prompts/basic/cant_complete.wav > 6xx-Error-Map=prompts/basic/cant_complete.wav > Announcement-Error-Map Array Size=0 > > [Outbound-Proxies] > Outbound-Proxies Array Size=0 > > [Local-Domain-Accounts] > Accept-All-Registration=False > Account-List Array Size=3 > Account-List 1=sip:0302054741:xx...@si... > Account-List 2=sip:0302054742:xx...@si... > Account-List 3=sip:0302054681:xx...@si... > > [RTP-Proxy] > Proxy-On-Private-Contact=False > Proxy-On-via-received-vs-signaling-address=False > Proxy-On-Private-Via=False > Proxy-On-Different-RPORT=False > Proxy-All-Media=False > > [SIP-Trunk-Config] > SIP-Trunk-Config=<siptrunk trunk-name="voip.eutelia.it" route-set="voip.eutelia.it" sip-domain="voip.eutelia.it" expires="600"> > SIP-Trunk-Config=<trunk-accounts> > SIP-Trunk-Config=<account user-name="0302054741" auth-user-name="0302054741" auth-password="xxx" inboundroute="sip:030...@si..." expires="3600" /> > SIP-Trunk-Config=</trunk-accounts> > SIP-Trunk-Config=</siptrunk> > > > > |