Re: [OpenSIPStack] Help using OpenSipStack / Problems answering a SIP call
Brought to you by:
joegenbaclor
From: Ilian J. C. P. <ip...@so...> - 2008-05-12 09:18:53
|
Hi, Since you won't use the PC sound system, the modifications for what you need are not trivial. First, you need to re-enable the following lines in SoftPhone.cxx: AddRouteEntry("pc:.* = sip:<da>"); AddRouteEntry("sip:.* = pc:<da>"); These sets the linkages of the endpoints. In this case, SIP-to-PCsoundsystem and PCsoundsystem-to-SIP. Then you will have to override OpalEndPoint and OpalConnection. You can use OpalPCSSEndpoint and OpalPCSSConnection as reference. But instead of using OpalAudioStream, your classes will need to use a specialized OpalMediaStream that can read from your source and write any incoming data. OpalFileMediaStream will probably suffice if you play and record from files. To get a grasp of how the process works, try setting up break points in OpalPCSSEndpoint, OpalPCSSConnection , and OpalMediaStream. Christian Wallukat wrote: > Hi all, > > > > I need urgent Help, since I didnt get it ... > I attached the SoftPhone files which I have > Modified. For my project I only need to get the > Call and access to the media stream (recording > And playing). > > > > |