Re: [OpenSIPStack] [OpenSBC] Trunking/ DID - To URI
Brought to you by:
joegenbaclor
From: Gaurav K. <gkh...@is...> - 2007-11-29 07:15:40
|
Hi Joegen, Thanks for your reply. The request URI in INVITE is sip:206...@si.... Any suggestions? Regards, Gaurav > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On Behalf Of > Joegen E. Baclor > Sent: Wednesday, November 28, 2007 2:37 PM > To: ope...@li... > Cc: ope...@li... > Subject: Re: [OpenSBC] Trunking/ DID - To URI > > > > > I fully understand the problem. What's the request-URI? Is it > ***sip:555...@si... > To=sip:5553885283@sip3.voipvoip. > com>* > like the invite below? > > INVITE ***sip:555...@si... > To=sip:5553885283@sip3.voipvoip. > com>* > SIP/2.0 > To: sip:12069220355*@sip3.voipvoip.com > > Joegen > > > > Gaurav Kheterpal wrote: > > > > Hi Joegen, > > > > > > > > I trust you are doing fine. While continuing to explore the trunking > > feature of OpenSBC with various SIP providers, we ran in to the > > following issue:- > > > > > > > > While testing with voipviop.com, The AOR of our account in > > voipvoip.com <http://voipvoip.com> is > > > > *sip:555...@si... > > > <http://us.f524.mail.yahoo.com/ym/Compose?To=sip:5553885283@sip3.voipvoip. > com> > > > > *and voipvoip.com <http://voipvoip.com> proxy registers OpenSBC with > > above SIP URI. But voipvoip.com <http://voipvoip.com> has allocated > > DID 12069220355 for this particular AOR and all the incoming calls > > coming to OpenSBC have SIP TO URI as > > > > To: <sip:206...@si... > > > <http://us.f524.mail.yahoo.com/ym/Compose?To=sip:2069220355@sip3.voipvoip. > com>>. > > > > Now the problem is that when an inbound call comes in, the code > > searches for UserName: 2069220355 and tries to get SipTrunkAccount > > object but it fails as UserName is 5553885283 on Sip Trunk Config Page. > > > > Here is snippet from the code. > > > > SBCRoutingHandler::B2BRouteCall() > > > > { > > SBCSIPTrunkAccount account; > > account.SetUserName( to.GetURI().GetUser().c_str() ); > > if( trunkReg->FindTrunkAccount( account ) ) > > { > > ///ok we have an account > > uri = SIPURI( account.GetInboundRoute() ); > > } > > } > > > > > > > > Any suggestions on how we can get the DID into account for trunking? > > > > > > > > As always, thanks in advance for your reply. > > > > > > > > Regards, > > Gaurav > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > - > > SF.Net email is sponsored by: The Future of Linux Business White Paper > > from Novell. From the desktop to the data center, Linux is going > > mainstream. Let it simplify your IT future. > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Opensipstack-osbcdevel mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel > > > > ------------------------------------------------------------------------ > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.503 / Virus Database: 269.16.9/1155 - Release Date: > 11/27/2007 8:30 PM > > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Opensipstack-osbcdevel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel |