Re: [OpenSIPStack] OpenSBC SIP Trunking - Null Sessionin CallSessionManager.cxx
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2007-11-16 08:08:02
|
Hi Gaurav, While I'm finding the time to see what's causing the crash, can you try setting inbound-route="sip:102@192.168.96.123:5060" to inbound-route="sip:102@192.168.96.123" -> (without the port) I am suspecting a string comparison failure. Thanks for the information. Joegen Gaurav Kheterpal wrote: > Hi Joegen, > > We were able to get trunking working for inbound calls with OpenSBC. For the > outbound trunking issue, you mentioned:- > > " I guessing OpenSBC was not able to identify the call as a trunk call > properly. You are correct that the trunk should have handled the > authentication instead of relaying the 407. If you are using the Main trunk > to route your calls to the SIP Trunk, you may try to use "sip-trunk" > parameter in our b2bua route > Example: [sip:1212*] sip:mytrunkprovider.com;sip-trunk=true" > > I subsequently tried that and found that sbc crashes in > SBCSIPTrunkReg::GetEgressAuthInfo function at the start of For loop. > > *Configuration* > > OpenSBC 192.168.96.123 > Xlite 192.168.96.36 > Public LAN IP 59.95.152.178 > voipvoip.com 69.90.209.57 > > *B2BAUA Route* > > [sip:*@192.168.96.123] sip:sip3.voipvoip.com:5060;sip-trunk=true > > *Trunking* > > <root> > <siptrunk trunk-name="SIP" > route-set="sip3.voipvoip.com" > sip-domain="59.95.152.178" > expires="3600"> > > <trunk-accounts> > <account user-name="phonenumber" > auth-user-name="phonenumber" > auth-password="password" > inbound-route="sip:102@192.168.96.123:5060" > expires="3600"/> > </trunk-accounts> > </siptrunk> > </root> > > The pcap file is attached for your reference. > > As always, thanks in advance for your help! > > Regards, > Gaurav > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.33/1133 - Release Date: 11/15/2007 8:57 PM > |