Re: [OpenSIPStack] query regarding Response 200_OK
Brought to you by:
joegenbaclor
From: Joegen B. <joe...@gm...> - 2009-04-13 10:29:11
|
In that case see Registrar.cxx:191 void Registrar::OnReceivedMessage( const SIPMessage & message, SIPTransaction * transaction ); in particular, the code block Contact contact; Registration::RequestAction action = registration->ProcessRequest( message, contact ); if( action == Registration::Accept ) { LOG_CONTEXT( LogDetail(), message.GetCallId(), "*** LOCAL REG *** Registration Accepted" ); SIPMessage * response = new SIPMessage(); message.CreateResponse( *response, SIPMessage::Code200_Ok ); if( contact.GetSize() > 0 ) { ContactList clist; clist.Append( contact ); response->SetContactList( clist ); } transaction->EnqueueEvent(new SIPEvent( response )); } From: kishore kumar Sent: Monday, April 13, 2009 6:00 PM To: Joegen Baclor ; ope...@li... Subject: Re: [OpenSIPStack] query regarding Response 200_OK i am running opesbc as server application using the command:#./opensbc -d -p pidfile.txt . in this server application from where the server application is sending 200_ok. On Mon, Apr 13, 2009 at 10:38 AM, Joegen Baclor <joe...@gm...> wrote: -------------------------------------------------- From: "kishore kumar" <kk...@gm...> Sent: Monday, April 13, 2009 12:28 PM To: "Joegen Baclor" <jo...@op...>; <ope...@li...> Subject: Re: [OpenSIPStack] query regarding Response 200_OK > On server side i am running opensipstack and sending REGISTER from > TestRegistration application as client application i am getting 200_OK > from > the stack. > > my question is from which part of the stack i am getting 200_ok. So that i > know which call back method is calling in the stack. I am almost ready to give up. OpenSIPStack is not an application. It's a library. It won't send 200 Ok by itself. Can you just publish the server code so we have something in common to look at? > > One more Question is is there any client application for sending and > receiving Instant messages to work with opensipstack? as we have sjphone > for > call control application. OSSPhone and ATLSIP > > On Mon, Apr 13, 2009 at 9:27 AM, Joegen Baclor > <joe...@gm...>wrote: > >> TestRegistration is a client program. it doesn't send a 200 Ok. What >> application is running on the server side? >> >> -------------------------------------------------- >> From: "kishore kumar" <kk...@gm...> >> Sent: Monday, April 13, 2009 11:45 AM >> To: "Joegen Baclor" <jb...@so...>; >> <ope...@li...> >> Subject: Re: [OpenSIPStack] query regarding Response 200_OK >> >> > Yes, i am running TestRegestration in opensbc/Tools/TestRegistration... >> > >> > On Mon, Apr 13, 2009 at 6:08 AM, Joegen Baclor >> > <joe...@gm...>wrote: >> > >> >> What application is running as the registrar? Is it OpenSBC? >> >> >> >> -------------------------------------------------- >> >> From: "kishore kumar" <kk...@gm...> >> >> Sent: Wednesday, April 08, 2009 8:49 PM >> >> To: <ope...@li...> >> >> Subject: [OpenSIPStack] query regarding Response 200_OK >> >> >> >> > Hi all, >> >> > >> >> > Can anyone tell me from where we are sending 200_ok message when we >> are >> >> > getting the REGISTER call to the stack. >> >> > >> >> > i am running stack on 2 machines and sending REGISTER message using >> the >> >> > TestRegestration application, from one machine to another machine. i >> am >> >> > able >> >> > to get the response as 200_ok from the another machine, but i am not >> >> > able >> >> > to >> >> > find in which part of the stack sending this 200_OK response. >> >> > >> >> > >> >> > can any one of you clear this doubt please.. >> >> > >> >> > BR, >> >> > Kishore. >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > This SF.net email is sponsored by: >> >> > High Quality Requirements in a Collaborative Environment. >> >> > Download a free trial of Rational Requirements Composer Now! >> >> > http://p.sf.net/sfu/www-ibm-com >> >> > _______________________________________________ >> >> > opensipstack-devel mailing list >> >> > ope...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> >> >> >> >> > >> >> > No virus found in this incoming message. >> >> > Checked by AVG - www.avg.com >> >> > Version: 8.0.238 / Virus Database: 270.11.53/2054 - Release Date: >> >> 04/11/09 >> >> > 10:51:00 >> >> > >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> This SF.net email is sponsored by: >> >> High Quality Requirements in a Collaborative Environment. >> >> Download a free trial of Rational Requirements Composer Now! >> >> http://p.sf.net/sfu/www-ibm-com >> >> _______________________________________________ >> >> opensipstack-devel mailing list >> >> ope...@li... >> >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > >> ------------------------------------------------------------------------------ >> > This SF.net email is sponsored by: >> > High Quality Requirements in a Collaborative Environment. >> > Download a free trial of Rational Requirements Composer Now! >> > http://p.sf.net/sfu/www-ibm-com >> > _______________________________________________ >> > opensipstack-devel mailing list >> > ope...@li... >> > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> > >> >> >> >> > >> > No virus found in this incoming message. >> > Checked by AVG - www.avg.com >> > Version: 8.0.238 / Virus Database: 270.11.54/2055 - Release Date: >> 04/12/09 >> > 13:14:00 >> > >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.0.238 / Virus Database: 270.11.54/2055 - Release Date: 04/12/09 > 13:14:00 > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.238 / Virus Database: 270.11.54/2055 - Release Date: 04/12/09 13:14:00 |