< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Newbie Win Compile + Basic Call Example Usage


Hi Ali,
BasicCall has both a UAS and a UAC part, please have a look at classes
TestUas and TestUac,and it calls itself using the client part,
server part recieves the call and connection is estabalished .as far as
I can remember it sends a 'bye' automatically after a few seconds.

It shows you what handlers are called and in what order.
run it in 'debug' mode.
Hope it helps. 
On Tue, 2008-02-12 at 14:07 +0200, Ali Jawad wrote:
> I solved the runtime error but now all the system seems to do is
> registering. What does basic call effectively do ?
> 
> Establish a call and make the phone at the other end ring ?
> 
> Thx 
> 
> 
>  
> 
>                                    
> ______________________________________________________________________
> From: Ali Jawad 
> Sent: Tuesday, February 12, 2008 1:47 PM
> To: Ali Jawad; Scott Godin; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Basic Call
> Example Usage
> 
> 
>  
> 
> Hi All
> 
>  
> 
> As previously stated I would like to use the reciprocate SDK for the
> creation of a softphone. As Scott has pointed out I don’t need the tfm
> sln. So I did the following
> 
>  
> 
> I have downloaded the latest SVN revision opened reSIProcate_8_0.sln
> using Visual C++ Studio 2005 Express Edition, I immediately get the
> following warning:
> 
>  
> 
> The application for project "C:doc....\resiprocate\repro\WinSetup
> \Setup_8_0.vdproj" is not installed. Make sure the application for the
> project type (.vdproj) is installed.
> 
>  
> 
> I press ok then Build->Build Solution this ended successfully as
> follows:
> 
>  
> 
> ========== Build: 11 succeeded, 0 failed, 0 up-to-date, 0 skipped
> ==========
> 
>  
> 
> Then I copied rutil.lib, resiproate.lib, ares.lib and dum.lib to a
> folder and added that folder to the lib directories of the VC++
> environment. The libs where all in debug folders so I must have built
> in debug mode.
> 
>  
> 
> Now I wanted to test the basic call test.exe that I found in \resip
> \dum\test\Release
> 
>  
> 
> usage: test.exe sip:from user passwd realm sip:to [port]
> 
>  
> 
>  
> 
> or in other words using this client and my OpenSER server
> 
>  
> 
> test.exe sip:9613982035@xxxxxxxxxxxxxxxxxxxxxxx hib23424
> ip.of.realm.here sip:9647902163052@xxxxxxxxxxxxxxxxxxxxx 5060
> 
>  
> 
> Using this example I got till
> 
>  
> 
> Client registered!! Then Sending MESSAGE after that I got a Runtime
> Error.
> 
>  
> 
> What I need to do is to get a working example that helps me to
> understand the code better, and at the same time to confirm that I did
> everything right during compilation. 
> 
>  
> 
>  
> 
> Thanks for any help or hints.
> 
>  
> 
>  
> 
>  
> 
> 
>  
> 
>                                    
> ______________________________________________________________________
> From:resiprocate-users-bounces@xxxxxxxxxxxxxxx
> [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of Ali
> Jawad
> Sent: Monday, February 11, 2008 11:35 PM
> To: Scott Godin; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: Re: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> 
>  
> 
> Thanks Scott
> 
> That made my life easier since I have compiled  reSIProcate_7_1.sln
> with no errors..however compiling the basic call app and the the
> project in the test dir cause a lot of problems..I will retry tomorrow
> and post results since the compiler is at my office PC
> 
> Thx again Scott.
> 
> -----Original Message-----
> From: Scott Godin [mailto:slgodin@xxxxxxxxxxxx]
> Sent: Tue 2/12/2008 12:29 AM
> To: Ali Jawad; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> You can drop TFM.  The only projects you will care about is: ares,
> rutil, resiprocate, dum and potentially their related /test
> directories
> and programs.
> 
> 
> 
> Scott
> 
> 
> 
> From: Ali Jawad [mailto:ali.jawad@xxxxxxxxxxxx]
> Sent: Monday, February 11, 2008 4:22 PM
> To: Scott Godin; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> 
> 
> Thanks Scott
> I really do appreciate your help, what I want to achive is the
> following. Provide a devel team with an SDK to build a softphone, from
> what I have read resiprocate can bu used to build a softphone and it
> has
> been done before. I am not interested in the repro proxy server. So
> does
> that mean I can drop the TFM sln altogether ?
> If yes, do I still need the 4 libs or can I drop some of those too ?
> 
> Thx Scott
> 
> 
> -----Original Message-----
> From: Scott Godin [mailto:slgodin@xxxxxxxxxxxx]
> Sent: Tue 2/12/2008 12:15 AM
> To: Ali Jawad; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> FYI - You don't need TFM to do any development.  It is just a test
> harness for the repro proxy server.
> 
> 
> 
> If you really want to build TFM, you will need to grab both boost
> (boost.org) and openSSL from external sources (I use openSSL 0.9.8
> win32
> binary distribution, and Boost 1.34_1).  I just updated the TFM
> project
> files with some fixes - so do a SVN update and make sure you have the
> latest.
> 
> 
> 
> I have never tried to build with VS2008 - but others on the list have.
> 
> 
> 
> Good luck.
> 
> 
> 
> Scott
> 
> 
> 
> From: Ali Jawad [mailto:ali.jawad@xxxxxxxxxxxx]
> Sent: Monday, February 11, 2008 4:08 PM
> To: Scott Godin; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> 
> 
> 
> 
> Dear Scott
> 
> Thank you for your feedback..I did download the latest SVN revision
> and
> as per
> http://www.resiprocate.org/Quick_Subversion_Checkout_and_Compilation_HOW
> TO
> 
> I compiled  reSIProcate_7_1.sln this went smooth with no errors
> 
> After that I tried to compile tfm/tfm.sln and that is where the
> problems
> started two of the libs the sln asked for were boost libs (I am using
> VC8 Express editin ) and CPPUNIT. It also asked for OpenSSL headers
> even
> though I was comiling in debug mode with no SSL. As you have
> previously
> indicated the linkage had to be changed for it to work. After some
> effort I ended up with the lib files...but basic call app is throwing
> errors..I will send them tomorow hopefully you can help me out.
> 
> I am stating the info above just if other users face the same probs..I
> am not complaining. I appreciate the great job the resiprocate
> community
> is doing.
> Maybe once it is running correctly I can put together a short howto on
> how to compile in VC8
> 
> Thanks Scott
> 
> -----Original Message-----
> From: Scott Godin [mailto:slgodin@xxxxxxxxxxxx]
> Sent: Mon 2/11/2008 10:53 PM
> To: Ali Jawad; resiprocate-users@xxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate-users] Newbie Win Compile + Usage Q
> 
> You shouldn't need to modify the projects/solution that are there.
> The
> (non-SSL) VS project and solution files should build BasicCall right
> from SVN with no modifications.  Also - BasicCall has nothing to do
> with
> repro, I don't understand how you would have got those errors.
> 
> 
> 
> You may want to try reverting your files back to the repository
> versions.
> 
> 
> 
> Scott
> 
> 
> 
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
-- 
        Thanks & Regards
        ----------------
        Saurabh Nirkhey
        Senior Software Developer 
        saurabh@xxxxxxxxxxxxxxx
        ---------------------------
        http://www.phonologies.com
        
        Phonologies (India) Private Limited
        Technology Development Lab
        West Wing, Marri Deep,
        M.C.H. No. 12-5-4, Lallaguda,
        Secunderabad 500 017. INDIA.
        
        Ph:+91-040-2701 8993   Fax:+91-040-2701 8992
----------------------------------------------------------
****The information in this email is confidential and may be legally
    privileged. It is intended solely for the addressee. Access to 
    this email by anyone else is unauthorized. If you are not
    the intended recipient, any disclosure, copying, distribution
    or any action taken or omitted to be taken in reliance on it,is
    prohibited and may be unlawful*********************************