Re: [OpenSIPStack] OpenSBC SIP Trunking - Null Sessionin CallSessionManager.cxx
Brought to you by:
joegenbaclor
From: Gaurav K. <gkh...@is...> - 2007-11-16 05:59:12
|
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 |