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

Re: [reSIProcate-users] SIP UAC to send register/invite/bye request


Welcome to resip!  I would spend more time with the basicClient test program (over basicCall) as it is layed out in better fashion for starting application development and has some features such as RFC5625 (Outbound) enabled in it.

This is a good overall link to read:  https://www.resiprocate.org/Get_Started

...other answers inline...


On Fri, Jan 31, 2014 at 9:13 AM, Siva Kumar <siva.kumar663@xxxxxxxxx> wrote:
HI all,

I am new to reciprocate stack, I like to create SIP UAC to register with server by sending register message. And establish session(INVITE) and send BYE.

Please need help on this:

I saw sample code BasicCall.cxx but it was not clear for me. I have doubts like

1) To whom Register message will send when I call dum.send(regmessage)?

[Scott]  The default is to send to the address/hostname specified in the request URI.  There are some settings in the Profile that will also effect this.  ie:  If you specify and outbound proxy then the request will be sent there instead:  https://www.resiprocate.org/DUM_Configuration_and_Profiles  Most of the documentation for the individual settings of a Profile are in the header files for MasterProfile, Profile and UserProfile.
 
2) How do I fill Register message fields like from, to, callid and etc.

[Scott]  This page on the wiki documents how to manipulate SIP messages:  https://www.resiprocate.org/Creating_and_using_a_SipMessage  and   https://www.resiprocate.org/Use_Overview
 
3) How dum knows what to fill in request message when we call MakeXXXRequest();

[Scott]  It uses the information passed in to the makeXXX calls in conjunction with the Profile settings.  (see my note above)
 
4) In INVITE message I want to add MSRP related fields in SDP, how i can add?

[Scott]  A good source for using the SdpContents (https://www.resiprocate.org/Bodies) class is the test program:  resip/stack/test/testSdp.cxx - you can also search the recon project for lots of SDP handling code.  Some other interesting info here:  https://www.resiprocate.org/Modifying/Decorating_messages_sent
 

Thanks in Advance

Regards,
Siva Kumar (I am little bit poor in English please ignore)

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/