TURN LOUDSPEAKER OFF! Pjsip

VS
vivek shrivastava
Tue, May 5, 2009 9:03 AM

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call audio is
always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class
or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek

Hello experts , for the Pjsip application for the Symbian when ever we make a call audio is always on LOUDSPEAKER on . or in loudspeeker mode . How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class or Api is given there If yes can you please tell me how to turn off loudspeeker regards Vivek
SD
Srivatsan Deenadayalan
Tue, May 5, 2009 10:55 AM

Hi,

Try Enabling APS.. it will solve your problem...

vivek shrivastava wrote: > Hello experts ,

for the Pjsip application for the Symbian when ever we make a call audio is always on LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek

<pre wrap="">
<hr size="4" width="90%"></hr>
_______________________________________________
Visit our blog: <a class="moz-txt-link-freetext" href="http://blog.pjsip.org">http://blog.pjsip.org</a>

pjsip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 
<pre class="moz-signature" cols="72">-- 
Thanks,
Srivatsan.D,
S
spider
Tue, May 5, 2009 11:07 AM

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava vivek.mics@gmail.com wrote:

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call audio is
always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class
or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> wrote: > Hello experts , > > for the Pjsip application for the Symbian  when ever we make a call audio is > always on  LOUDSPEAKER on . > or in loudspeeker mode . > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class > or Api is given there > If yes can you please tell me how to turn off loudspeeker > > > regards > Vivek > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > which version of pjsip that you using ? its supported on pjsip1.1 could you checked it out ??
VS
vivek shrivastava
Tue, May 5, 2009 3:00 PM

Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by default
it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider waleedot2003@gmail.com wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava vivek.mics@gmail.com
wrote:

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call audio

is

always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any

class

or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello experts, I am using Pjsip 1.0 and i need to do calling in normal mode as by default it is in Loudspeekermode Regards vivek On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com> wrote: > On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> > wrote: > > Hello experts , > > > > for the Pjsip application for the Symbian when ever we make a call audio > is > > always on LOUDSPEAKER on . > > or in loudspeeker mode . > > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any > class > > or Api is given there > > If yes can you please tell me how to turn off loudspeeker > > > > > > regards > > Vivek > > > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > which version of pjsip that you using ? its supported on pjsip1.1 > could you checked it out ?? > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
SD
Srivatsan Deenadayalan
Tue, May 5, 2009 3:17 PM

Hi,

PjSIP 1.0, In normal mode (with out enabling APS) if you run the application all sound packets will be routed to the loudspeaker. Media Client Audio API cannot access Micro phone of device. If you need to use your own sound implementation to access microphone you need to have Vendor ID. To over come all these problems Nokia has released APS(Audio Proxy Server) which is a wrapper class to access all sound hardwares of Nokia Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its very simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 and similarly in .mmp file also

Example:
#define SND_USE_NULL 0
#define SND_USE_APS 1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html ).

vivek shrivastava wrote: > Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by default it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com>wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> wrote:
> Hello experts ,
>
> for the Pjsip application for the Symbian when ever we make a call audio is
> always on LOUDSPEAKER on .
> or in loudspeeker mode .
> How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class
> or Api is given there
> If yes can you please tell me how to turn off loudspeeker
>
>
> regards
> Vivek
>
>
>

> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<pre wrap="">
<hr size="4" width="90%"></hr>
_______________________________________________
Visit our blog: <a class="moz-txt-link-freetext" href="http://blog.pjsip.org">http://blog.pjsip.org</a>

pjsip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 
<pre class="moz-signature" cols="72">-- 
Thanks,
Srivatsan.D,

VS
vivek shrivastava
Tue, May 5, 2009 4:02 PM

Hello Srivatsan ,

First thanks for the Immense knowledgeable support you had given .

really it come from Deep knowledge
of the domain .

i had changed all the mmp files and Build.inf by the #define

SND_USE_APS    1
but while compiling the code i am getting error on

iSettings.iSettings.iChannels  = EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <
srivatsan@ongobiz.com> wrote:

Hi,

 PjSIP 1.0, In normal mode (with out enabling APS) if you run the

application all sound packets will be routed to the loudspeaker. Media
Client Audio API cannot access Micro phone of device. If you need to use
your own sound implementation to access microphone you need to have Vendor
ID. To over come all these problems Nokia has released APS(Audio Proxy
Server) which is a wrapper class to access all sound hardwares of Nokia
Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its very
simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS  0  to #define SND_USE_APS  1
and similarly in .mmp file also

Example:
#define SND_USE_NULL    0
#define SND_USE_APS    1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html
).

vivek shrivastava wrote:

Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by default
it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider waleedot2003@gmail.com wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava vivek.mics@gmail.com
wrote:

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call

audio is

always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any

class

or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Thanks,
Srivatsan.D,


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello Srivatsan , First thanks for the Immense knowledgeable support you had given . really it come from Deep knowledge of the domain . i had changed all the mmp files and Build.inf by the #define SND_USE_APS 1 but while compiling the code i am getting error on iSettings.iSettings.iChannels = EMMFMono; iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan < srivatsan@ongobiz.com> wrote: > Hi, > > PjSIP 1.0, In normal mode (with out enabling APS) if you run the > application all sound packets will be routed to the loudspeaker. Media > Client Audio API cannot access Micro phone of device. If you need to use > your own sound implementation to access microphone you need to have Vendor > ID. To over come all these problems Nokia has released APS(Audio Proxy > Server) which is a wrapper class to access all sound hardwares of Nokia > Devices. > > PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its very > simple to enable it in PjSIP. > > In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 > and similarly in .mmp file also > > Example: > #define SND_USE_NULL 0 > #define SND_USE_APS 1 > > Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html > ). > > > vivek shrivastava wrote: > > Hello experts, > > I am using Pjsip 1.0 and i need to do calling in normal mode as by default > it is in Loudspeekermode > > Regards > vivek > > On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com> wrote: > >> On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> >> wrote: >> > Hello experts , >> > >> > for the Pjsip application for the Symbian when ever we make a call >> audio is >> > always on LOUDSPEAKER on . >> > or in loudspeeker mode . >> > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any >> class >> > or Api is given there >> > If yes can you please tell me how to turn off loudspeeker >> > >> > >> > regards >> > Vivek >> > >> > >> > >> > _______________________________________________ >> > Visit our blog: http://blog.pjsip.org >> > >> > pjsip mailing list >> > pjsip@lists.pjsip.org >> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > >> > >> >> which version of pjsip that you using ? its supported on pjsip1.1 >> could you checked it out ?? >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > ------------------------------ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > -- > Thanks, > Srivatsan.D, > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
VS
vivek shrivastava
Tue, May 5, 2009 4:05 PM

On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava vivek.mics@gmail.comwrote:

Hello Srivatsan ,

 First thanks for the Immense knowledgeable support you had given .

really it come from Deep knowledge
of the domain .

 i had changed all the mmp files and Build.inf by the #define

SND_USE_APS    1
but while compiling the code i am getting error on

in  void CPjAudioEngine::ConstructL() function

at

iSettings.iSettings.iChannels  = EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared .
basically i need to do normal and loudspeeker option .

can this be achived by this change it seld or i need to do some other

thing also

Thanks again

regards
Vivek

On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <
srivatsan@ongobiz.com> wrote:

Hi,

 PjSIP 1.0, In normal mode (with out enabling APS) if you run the

application all sound packets will be routed to the loudspeaker. Media
Client Audio API cannot access Micro phone of device. If you need to use
your own sound implementation to access microphone you need to have Vendor
ID. To over come all these problems Nokia has released APS(Audio Proxy
Server) which is a wrapper class to access all sound hardwares of Nokia
Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its
very simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS  0  to #define SND_USE_APS  1
and similarly in .mmp file also

Example:
#define SND_USE_NULL    0
#define SND_USE_APS    1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html
).

vivek shrivastava wrote:

Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by
default it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider waleedot2003@gmail.com wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava vivek.mics@gmail.com
wrote:

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call

audio is

always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any

class

or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Thanks,
Srivatsan.D,


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava <vivek.mics@gmail.com>wrote: > Hello Srivatsan , > > First thanks for the Immense knowledgeable support you had given . > really it come from Deep knowledge > of the domain . > > i had changed all the mmp files and Build.inf by the #define > SND_USE_APS 1 > but while compiling the code i am getting error on in void CPjAudioEngine::ConstructL() function > at > > iSettings.iSettings.iChannels = EMMFMono; > iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; it is saying EMMFMono undecleared . basically i need to do normal and loudspeeker option . can this be achived by this change it seld or i need to do some other thing also Thanks again regards Vivek > > > > > > > On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan < > srivatsan@ongobiz.com> wrote: > >> Hi, >> >> PjSIP 1.0, In normal mode (with out enabling APS) if you run the >> application all sound packets will be routed to the loudspeaker. Media >> Client Audio API cannot access Micro phone of device. If you need to use >> your own sound implementation to access microphone you need to have Vendor >> ID. To over come all these problems Nokia has released APS(Audio Proxy >> Server) which is a wrapper class to access all sound hardwares of Nokia >> Devices. >> >> PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its >> very simple to enable it in PjSIP. >> >> In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 >> and similarly in .mmp file also >> >> Example: >> #define SND_USE_NULL 0 >> #define SND_USE_APS 1 >> >> Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html >> ). >> >> >> vivek shrivastava wrote: >> >> Hello experts, >> >> I am using Pjsip 1.0 and i need to do calling in normal mode as by >> default it is in Loudspeekermode >> >> Regards >> vivek >> >> On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com> wrote: >> >>> On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> >>> wrote: >>> > Hello experts , >>> > >>> > for the Pjsip application for the Symbian when ever we make a call >>> audio is >>> > always on LOUDSPEAKER on . >>> > or in loudspeeker mode . >>> > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any >>> class >>> > or Api is given there >>> > If yes can you please tell me how to turn off loudspeeker >>> > >>> > >>> > regards >>> > Vivek >>> > >>> > >>> > >>> > _______________________________________________ >>> > Visit our blog: http://blog.pjsip.org >>> > >>> > pjsip mailing list >>> > pjsip@lists.pjsip.org >>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> > >>> > >>> >>> which version of pjsip that you using ? its supported on pjsip1.1 >>> could you checked it out ?? >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >> >> ------------------------------ >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >> -- >> Thanks, >> Srivatsan.D, >> >> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >> >
SD
Srivatsan Deenadayalan
Tue, May 5, 2009 4:40 PM

Yes with use of APS you can route audio to loud speaker & micro phone and vice versa. I suggest to clean the project in command line and build it for GCCE mode only. APS libraries will work only for GCCE modes which you can refer in Nokia and PjSIP websites.

Command Line:

Open command window and locate build.symbian folder of PjSIP, the type following..

bldmake bldfiles
abld clean
abld reallyclean

Then build the application with carbide IDE...(phone release GCCE mode).

vivek shrivastava wrote: > On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava <vivek.mics@gmail.com>wrote:

Hello Srivatsan ,

First thanks for the Immense knowledgeable support you had given . really it come from Deep knowledge
of the domain .

i had changed all the mmp files and Build.inf by the #define SND_USE_APS 1
but while compiling the code i am getting error on

in void CPjAudioEngine::ConstructL() function

at

iSettings.iSettings.iChannels = EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared .
basically i need to do normal and loudspeeker option .

can this be achived by this change it seld or i need to do some other thing also

Thanks again

regards
Vivek

On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <srivatsan@ongobiz.com>wrote:

Hi,

PjSIP 1.0, In normal mode (with out enabling APS) if you run the application all sound packets will be routed to the loudspeaker. Media Client Audio API cannot access Micro phone of device. If you need to use your own sound implementation to access microphone you need to have Vendor ID. To over come all these problems Nokia has released APS(Audio Proxy Server) which is a wrapper class to access all sound hardwares of Nokia Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its very simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 and similarly in .mmp file also

Example:
#define SND_USE_NULL 0
#define SND_USE_APS 1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html ).

vivek shrivastava wrote: > Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by default it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com>wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> wrote:
> Hello experts ,
>
> for the Pjsip application for the Symbian when ever we make a call audio is
> always on LOUDSPEAKER on .
> or in loudspeeker mode .
> How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class
> or Api is given there
> If yes can you please tell me how to turn off loudspeeker
>
>
> regards
> Vivek
>
>
>

> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<hr size="4" width="90%"></hr><div>
_______________________________________________
Visit our blog: <a href="http://blog.pjsip.org" moz-do-not-send="true" target="_blank">http://blog.pjsip.org</a>

pjsip mailing list
<a href="mailto:pjsip@lists.pjsip.org" moz-do-not-send="true" target="_blank">pjsip@lists.pjsip.org</a>
<a href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org" moz-do-not-send="true" target="_blank">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 </div>
<pre cols="72">-- 
Thanks,
Srivatsan.D,

     

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<pre wrap="">
<hr size="4" width="90%"></hr>
_______________________________________________
Visit our blog: <a class="moz-txt-link-freetext" href="http://blog.pjsip.org">http://blog.pjsip.org</a>

pjsip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 
<pre class="moz-signature" cols="72">-- 
Thanks,
Srivatsan.D,

VS
vivek shrivastava
Wed, May 6, 2009 5:47 AM

Hello
srivastan,
done the things in the prescribed way but i am getting two error

SoundDevice.h file not found and

Settings.iSettings.iChannels

= EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared . in the constructL() .where can i find
the SoundDevice.h file

regards
vivek

On Tue, May 5, 2009 at 10:10 PM, Srivatsan Deenadayalan <
srivatsan@ongobiz.com> wrote:

Yes with use of APS you can route audio to loud speaker & micro phone and
vice versa. I suggest to clean the project in command line and build it for
GCCE mode only. APS libraries will work only for GCCE modes which you can
refer in Nokia and PjSIP websites.

Command Line:

Open command window and locate build.symbian folder of PjSIP, the type
following..

bldmake bldfiles
abld clean
abld reallyclean

Then build the application with carbide IDE...(phone release GCCE mode).

vivek shrivastava wrote:

On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava vivek.mics@gmail.comwrote:

Hello Srivatsan ,

 First thanks for the Immense knowledgeable support you had given .

really it come from Deep knowledge
of the domain .

 i had changed all the mmp files and Build.inf by the #define

SND_USE_APS    1
but while compiling the code i am getting error on

in  void CPjAudioEngine::ConstructL() function

at

iSettings.iSettings.iChannels  = EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared .
 basically i need to do normal and loudspeeker option .

 can this be achived by this change it seld or i need to do some other

thing also

Thanks again

 regards
 Vivek

On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <
srivatsan@ongobiz.com> wrote:

Hi,

 PjSIP 1.0, In normal mode (with out enabling APS) if you run the

application all sound packets will be routed to the loudspeaker. Media
Client Audio API cannot access Micro phone of device. If you need to use
your own sound implementation to access microphone you need to have Vendor
ID. To over come all these problems Nokia has released APS(Audio Proxy
Server) which is a wrapper class to access all sound hardwares of Nokia
Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its
very simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS  0  to #define SND_USE_APS  1
and similarly in .mmp file also

Example:
#define SND_USE_NULL    0
#define SND_USE_APS    1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html
).

vivek shrivastava wrote:

Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by
default it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider waleedot2003@gmail.com wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <
vivek.mics@gmail.com> wrote:

Hello experts ,

for the Pjsip application for the Symbian  when ever we make a call

audio is

always on  LOUDSPEAKER on .
or in loudspeeker mode .
How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any

class

or Api is given there
If yes can you please tell me how to turn off loudspeeker

regards
Vivek


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Thanks,
Srivatsan.D,


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



Visit our blog: http://blog.pjsip.org

pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Thanks,
Srivatsan.D,


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Hello srivastan, done the things in the prescribed way but i am getting two error SoundDevice.h file not found and Settings.iSettings.iChannels > > = EMMFMono; > iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; it is saying EMMFMono undecleared . in the constructL() .where can i find the SoundDevice.h file regards vivek On Tue, May 5, 2009 at 10:10 PM, Srivatsan Deenadayalan < srivatsan@ongobiz.com> wrote: > Yes with use of APS you can route audio to loud speaker & micro phone and > vice versa. I suggest to clean the project in command line and build it for > GCCE mode only. APS libraries will work only for GCCE modes which you can > refer in Nokia and PjSIP websites. > > *Command Line:* > > Open command window and locate build.symbian folder of PjSIP, the type > following.. > > bldmake bldfiles > abld clean > abld reallyclean > > Then build the application with carbide IDE...(phone release GCCE mode). > > > vivek shrivastava wrote: > > > > On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava <vivek.mics@gmail.com>wrote: > >> Hello Srivatsan , >> >> First thanks for the Immense knowledgeable support you had given . >> really it come from Deep knowledge >> of the domain . >> >> i had changed all the mmp files and Build.inf by the #define >> SND_USE_APS 1 >> but while compiling the code i am getting error on > > in void CPjAudioEngine::ConstructL() function > > >> at >> >> iSettings.iSettings.iChannels = EMMFMono; >> iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz; > > > it is saying EMMFMono undecleared . > basically i need to do normal and loudspeeker option . > > can this be achived by this change it seld or i need to do some other > thing also > > Thanks again > > regards > Vivek > >> >> >> >> >> >> >> On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan < >> srivatsan@ongobiz.com> wrote: >> >>> Hi, >>> >>> PjSIP 1.0, In normal mode (with out enabling APS) if you run the >>> application all sound packets will be routed to the loudspeaker. Media >>> Client Audio API cannot access Micro phone of device. If you need to use >>> your own sound implementation to access microphone you need to have Vendor >>> ID. To over come all these problems Nokia has released APS(Audio Proxy >>> Server) which is a wrapper class to access all sound hardwares of Nokia >>> Devices. >>> >>> PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its >>> very simple to enable it in PjSIP. >>> >>> In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 >>> and similarly in .mmp file also >>> >>> Example: >>> #define SND_USE_NULL 0 >>> #define SND_USE_APS 1 >>> >>> Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html >>> ). >>> >>> >>> vivek shrivastava wrote: >>> >>> Hello experts, >>> >>> I am using Pjsip 1.0 and i need to do calling in normal mode as by >>> default it is in Loudspeekermode >>> >>> Regards >>> vivek >>> >>> On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com> wrote: >>> >>>> On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava < >>>> vivek.mics@gmail.com> wrote: >>>> > Hello experts , >>>> > >>>> > for the Pjsip application for the Symbian when ever we make a call >>>> audio is >>>> > always on LOUDSPEAKER on . >>>> > or in loudspeeker mode . >>>> > How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any >>>> class >>>> > or Api is given there >>>> > If yes can you please tell me how to turn off loudspeeker >>>> > >>>> > >>>> > regards >>>> > Vivek >>>> > >>>> > >>>> > >>>> > _______________________________________________ >>>> > Visit our blog: http://blog.pjsip.org >>>> > >>>> > pjsip mailing list >>>> > pjsip@lists.pjsip.org >>>> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> > >>>> > >>>> >>>> which version of pjsip that you using ? its supported on pjsip1.1 >>>> could you checked it out ?? >>>> >>>> _______________________________________________ >>>> Visit our blog: http://blog.pjsip.org >>>> >>>> pjsip mailing list >>>> pjsip@lists.pjsip.org >>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>>> >>> >>> ------------------------------ >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >>> -- >>> Thanks, >>> Srivatsan.D, >>> >>> >>> >>> >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip@lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >> > ------------------------------ > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing listpjsip@lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > -- > Thanks, > Srivatsan.D, > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
SD
Srivatsan Deenadayalan
Wed, May 6, 2009 5:53 AM

You need to download SDK plugin first using the link already given. Then extract MMFDevSoundAPI.ZIP found to SDK root directory. This will solve your problem.

vivek shrivastava wrote: > Hello

srivastan,
done the things in the prescribed way but i am getting two error

SoundDevice.h file not found and

Settings.iSettings.iChannels > = EMMFMono;

iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared . in the constructL() .where can i find the SoundDevice.h file

regards
vivek

On Tue, May 5, 2009 at 10:10 PM, Srivatsan Deenadayalan <srivatsan@ongobiz.com>wrote:

Yes with use of APS you can route audio to loud speaker & micro phone and vice versa. I suggest to clean the project in command line and build it for GCCE mode only. APS libraries will work only for GCCE modes which you can refer in Nokia and PjSIP websites.

Command Line:

Open command window and locate build.symbian folder of PjSIP, the type following..

bldmake bldfiles
abld clean
abld reallyclean

Then build the application with carbide IDE...(phone release GCCE mode).

vivek shrivastava wrote: > On Tue, May 5, 2009 at 9:32 PM, vivek shrivastava <vivek.mics@gmail.com>wrote:

Hello Srivatsan ,

First thanks for the Immense knowledgeable support you had given . really it come from Deep knowledge
of the domain .

i had changed all the mmp files and Build.inf by the #define SND_USE_APS 1
but while compiling the code i am getting error on

in void CPjAudioEngine::ConstructL() function

at

iSettings.iSettings.iChannels = EMMFMono;
iSettings.iSettings.iSampleRate = EMMFSampleRate8000Hz;

it is saying EMMFMono undecleared .
basically i need to do normal and loudspeeker option .

can this be achived by this change it seld or i need to do some other thing also

Thanks again

regards
Vivek

On Tue, May 5, 2009 at 8:47 PM, Srivatsan Deenadayalan <srivatsan@ongobiz.com>wrote:

Hi,

PjSIP 1.0, In normal mode (with out enabling APS) if you run the application all sound packets will be routed to the loudspeaker. Media Client Audio API cannot access Micro phone of device. If you need to use your own sound implementation to access microphone you need to have Vendor ID. To over come all these problems Nokia has released APS(Audio Proxy Server) which is a wrapper class to access all sound hardwares of Nokia Devices.

PjSIP 1.0 have used that for routing sound packets to Micro Phone. Its very simple to enable it in PjSIP.

In bld.inf file change #define SND_USE_APS 0 to #define SND_USE_APS 1 and similarly in .mmp file also

Example:
#define SND_USE_NULL 0
#define SND_USE_APS 1

Make sure to add SDK plugin for APS ( http://www.forum.nokia.com/info/sw.nokia.com/id/4ff42a22-7099-4cc9-91bf-5e66166bd28d/S60_3rd_SDK_FP1_API_Plug-In_Pack.html ).

vivek shrivastava wrote: > Hello experts,

I am using Pjsip 1.0 and i need to do calling in normal mode as by default it is in Loudspeekermode

Regards
vivek

On Tue, May 5, 2009 at 4:37 PM, spider <waleedot2003@gmail.com>wrote:

On Tue, May 5, 2009 at 2:03 AM, vivek shrivastava <vivek.mics@gmail.com> wrote:
> Hello experts ,
>
> for the Pjsip application for the Symbian when ever we make a call audio is
> always on LOUDSPEAKER on .
> or in loudspeeker mode .
> How can we TURN LOUDSPEAKER OFF like as normal telephony .is there any class
> or Api is given there
> If yes can you please tell me how to turn off loudspeeker
>
>
> regards
> Vivek
>
>
>

> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>

which version of pjsip that you using ? its supported on pjsip1.1
could you checked it out ??


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<hr size="4" width="90%"></hr><div>
_______________________________________________
Visit our blog: <a href="http://blog.pjsip.org" moz-do-not-send="true" target="_blank">http://blog.pjsip.org</a>

pjsip mailing list
<a href="mailto:pjsip@lists.pjsip.org" moz-do-not-send="true" target="_blank">pjsip@lists.pjsip.org</a>
<a href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org" moz-do-not-send="true" target="_blank">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 </div>
<pre cols="72">-- 
Thanks,
Srivatsan.D,

     

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<hr size="4" width="90%"></hr>
_______________________________________________
Visit our blog: <a href="http://blog.pjsip.org" moz-do-not-send="true" target="_blank">http://blog.pjsip.org</a>

pjsip mailing list
<a href="mailto:pjsip@lists.pjsip.org" moz-do-not-send="true" target="_blank">pjsip@lists.pjsip.org</a>
<a href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org" moz-do-not-send="true" target="_blank">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 
<pre cols="72">-- 
Thanks,
Srivatsan.D,

   

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

<pre wrap="">
<hr size="4" width="90%"></hr>
_______________________________________________
Visit our blog: <a class="moz-txt-link-freetext" href="http://blog.pjsip.org">http://blog.pjsip.org</a>

pjsip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a>
 
<pre class="moz-signature" cols="72">-- 
Thanks,
Srivatsan.D,