Re: [OpenSIPStack] creating multiple UAs
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-02-23 00:38:27
|
Hikmet Cengiz wrote: > Hi Joegen, > > I can have OpenSBC to register to our usual SIP Server for a couple of > accounts using sip trunk config. This part is fine. > > However, I'm confused what the *config parameters for the softphone* should > be (UserID, AccountID, Password, Registrar and outboundProxy) to use these > trunk accounts. > > Based on this sample xml: > > <siptrunk trunk-name="mysipserver.com" route-set="mysipserver.com" > sip-domain="mysipserver.com" expires="10"> > > <trunk-accounts> > > <account user-name="1001" auth-user-name="1001" auth-password="1001" > inboundroute="sip:90...@ex..." expires="3600" />.... > For instance, this one is not working... > The inbound route maps 10...@my... to 90...@ex... In the above example, it is assumed that example.solegy.com is a host that resolves to the OpenSBC main trunk. > SOFTPHONE CONFIG: > UserID: 1001 > AccountID: 1001 > Password: 1001 > Registrar: example.solegy.com > OutboundProxy: localhost > You must register your softphone as 9001 not 1001. Be sure that 9001 has an account configured in Local Domain accounts. > Thanks... > Hikmet Cengiz > > On Tue, Feb 19, 2008 at 6:57 AM, jo...@op... < > joe...@gm...> wrote: > > >> Hikmet Cengiz wrote: >> >>> Thanks Joegen! >>> >>> So if SIP Trunking is meant for enabling multiple UA purpose, it would >>> >> be a >> >>> great idea to use openSBC and atlsip all together in my application. >>> >>> -As SIP Trunking is a new term for me, could you please give an example >>> >> how >> >>> to configure OpenSBC SIP Trunk? (Would normally not ask this question, >>> >> but >> >>> could not find a specific page at OpenSBC HTTP Admin site) >>> >>> >> There is a short tutorial here about SIP trunks >> http://www.opensourcesip.org:8080/clearspacex/docs/DOC-1040 >> >> CAVEAT: when pasting the XML onto HTTP admin, make sure you enclose it >> with <root> </root> or the XML parser won't recognize your config >> >>> -And instead of registering to my usual SIP Server, do I have to >>> >> register to >> >>> my local OpenSBC in this case? >>> >> Yes. You register to OpenSBC and let OpenSBC register on your behalf to >> the SIP provider. >> >> >>> How will the atlsip instance identify each >>> user? >>> >>> >> You may need to modify OpenSBC a bit and add a custom header that would >> preserve the original request-uri. Trace through >> >> BOOL SBCSIPTrunkRoutingHandler::B2BRouteCall( >> B2BUAConnection & connection, >> SIPMessage & invite, >> BOOL /*ignoreRegistrations*/ >> ) >> >> >> >>> Thanks! >>> Hikmet Cengiz >>> >>> >>> On Feb 19, 2008 5:45 AM, Joegen E. Baclor <joe...@gm...> >>> >> wrote: >> >>> >>>> Hikmet Cengiz wrote: >>>> >>>> >>>>> Hi everyone, >>>>> >>>>> For a load test project I am in need of creating multiple softphone >>>>> instances in my application. (using either atlsiplib.dll or >>>>> >>>>> >>>> axatlsiplib.dll) >>>> >>>> >>>>> I think opensipstack is not designed to be used this way, (i.e. >>>>> >>>>> >>>> regardless >>>> >>>> >>>>> of how many instances are created, all are the same objects; hence >>>>> >>>>> >>>> singleton >>>> >>>> >>>>> pattern) >>>>> >>>>> 1) What needs to be done to enable instantiating many of these UA's >>>>> >> all >> >>>> of >>>> >>>> >>>>> which can have different accountIDs, registrars etc and all can >>>>> >>>>> >>>> register, >>>> >>>> >>>>> place calls or accept calls independent of each other? >>>>> >>>>> >>>>> >>>> OpenSBC SIP Trunking feature does exactly this. >>>> >>>> >>>> >>>> >>>>> 2) Will this cause any conflicts using the system resources? >>>>> >>>>> >>>>> >>>> Why don't you run both your softphone and OpenSBC in the same PC. >>>> Configure opensbc SIP Trunk to send a number of registration for >>>> multiple UA. You can then map these accounts to your ATLSIP softphone >>>> instance. >>>> >>>> With little imagination, you can even combine OpenSBC and ATLSIP and >>>> function as one application. >>>> >>>> >>>> >>>> >>>>> Many thanks in advance! >>>>> Any ideas- suggestions for load test in OSS are welcomed. >>>>> >>>>> Hikmet Cengiz >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------- >> >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------- >> >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>>> >> ------------------------------------------------------------------------- >> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |