Need help in integrating g729 for windows mobile.

JE
johnson elangbam
Tue, Apr 21, 2009 8:18 AM

Hi,      I've integrated g729 on pjsip with the voiceage lib and  make a dll
and use it in my application. Problem is that, when I call the dll for the
first time the codecs(including g729) is loaded, however when I try
re-registration without closing my application, g729 is again not loaded, do
I've made any mistake in integration in pjsip, any idea?

To make it more clear this is what I've done in my application

  • Load the pjsip dll at the onInit of my application
  • Call all the necessary api's of the dll which is required in registration
  • Registration successful with proper codecs including g729.

Here comes the problem:
Suppose if I want to change the ip or username, I've done like this:

  • call shutdown api's of my dll which the function is to destroy pjsua

PJSIPDLL_DLL_API int dll_shutdown(){
pj_status_t status;
if (app_config.pool) {
pj_pool_release(app_config.pool);
app_config.pool = NULL;
}
status = pjsua_destroy();
pj_bzero(&app_config, sizeof(app_config));
return 0;
}

-Call registration with the new ip and username
-Registration success without g729 but all other codecs is loaded.

Regards
Elangbam Johnson.

Hi, I've integrated g729 on pjsip with the voiceage lib and make a dll and use it in my application. Problem is that, when I call the dll for the first time the codecs(including g729) is loaded, however when I try re-registration without closing my application, g729 is again not loaded, do I've made any mistake in integration in pjsip, any idea? To make it more clear this is what I've done in my application - Load the pjsip dll at the onInit of my application - Call all the necessary api's of the dll which is required in registration - Registration successful with proper codecs including g729. Here comes the problem: Suppose if I want to change the ip or username, I've done like this: - call shutdown api's of my dll which the function is to destroy pjsua ------------------------------------------------------------------------------------------------------------- PJSIPDLL_DLL_API int dll_shutdown(){ pj_status_t status; if (app_config.pool) { pj_pool_release(app_config.pool); app_config.pool = NULL; } status = pjsua_destroy(); pj_bzero(&app_config, sizeof(app_config)); return 0; } --------------------------------------------------------------- -Call registration with the new ip and username -Registration success without g729 but all other codecs is loaded. Regards Elangbam Johnson.
EA
Elias AC
Wed, Apr 22, 2009 3:34 AM

Hi,

You might want to check the following discussion: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004580.html

I hope it helps.

Good Luck,

Elias.

Date: Tue, 21 Apr 2009 13:48:23 +0530
From: elangbamjohnson@gmail.com
To: pjsip@lists.pjsip.org
Subject: [pjsip] Need help in integrating g729 for windows mobile.

Hi,
I've integrated g729 on pjsip with the voiceage lib and  make a dll and use it in my application. Problem is that, when I call the dll for the first time the codecs(including g729) is loaded, however when I try re-registration without closing my application, g729 is again not loaded, do I've made any mistake in integration in pjsip, any idea?

To make it more clear this is what I've done in my application

  • Load the pjsip dll at the onInit of my application
  • Call all the necessary api's of the dll which is required in registration
  • Registration successful with proper codecs including g729.

Here comes the problem:
Suppose if I want to change the ip or username, I've done like this:

  • call shutdown api's of my dll which the function is to destroy pjsua

PJSIPDLL_DLL_API int dll_shutdown()
{
pj_status_t status;
if (app_config.pool) {

pj_pool_release(app_config.pool);
app_config.pool = NULL;
}
status = pjsua_destroy();

pj_bzero(&app_config, sizeof(app_config));

return 0;

}

-Call registration with the new ip and username
-Registration success without g729 but all other codecs is loaded.

Regards
Elangbam Johnson.


Rediscover Hotmail®: Get e-mail storage that grows with you.
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009

Hi, You might want to check the following discussion: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004580.html I hope it helps. Good Luck, Elias. Date: Tue, 21 Apr 2009 13:48:23 +0530 From: elangbamjohnson@gmail.com To: pjsip@lists.pjsip.org Subject: [pjsip] Need help in integrating g729 for windows mobile. Hi, I've integrated g729 on pjsip with the voiceage lib and make a dll and use it in my application. Problem is that, when I call the dll for the first time the codecs(including g729) is loaded, however when I try re-registration without closing my application, g729 is again not loaded, do I've made any mistake in integration in pjsip, any idea? To make it more clear this is what I've done in my application - Load the pjsip dll at the onInit of my application - Call all the necessary api's of the dll which is required in registration - Registration successful with proper codecs including g729. Here comes the problem: Suppose if I want to change the ip or username, I've done like this: - call shutdown api's of my dll which the function is to destroy pjsua ------------------------------------------------------------------------------------------------------------- PJSIPDLL_DLL_API int dll_shutdown() { pj_status_t status; if (app_config.pool) { pj_pool_release(app_config.pool); app_config.pool = NULL; } status = pjsua_destroy(); pj_bzero(&app_config, sizeof(app_config)); return 0; } --------------------------------------------------------------- -Call registration with the new ip and username -Registration success without g729 but all other codecs is loaded. Regards Elangbam Johnson. _________________________________________________________________ Rediscover Hotmail®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009
SG
Sujoy Ghosh
Wed, Apr 22, 2009 6:00 AM

Dear Elang,

  Can u guide me to integrate voice age g729  with pjsip for symbian i

have been stucked in these problem since long time but cannot get a solution
where to include the lib file,decoder,encoder, i have downloaded the demo
version.........

Thanx in advance.................................
..................................................................................

Sujoy

On Wed, Apr 22, 2009 at 9:04 AM, Elias AC ace__1981@hotmail.com wrote:

Hi,

You might want to check the following discussion:
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004580.html

I hope it helps.

Good Luck,
Elias.


Date: Tue, 21 Apr 2009 13:48:23 +0530
From: elangbamjohnson@gmail.com
To: pjsip@lists.pjsip.org
Subject: [pjsip] Need help in integrating g729 for windows mobile.

Hi,      I've integrated g729 on pjsip with the voiceage lib and  make a
dll and use it in my application. Problem is that, when I call the dll for
the first time the codecs(including g729) is loaded, however when I try
re-registration without closing my application, g729 is again not loaded, do
I've made any mistake in integration in pjsip, any idea?

To make it more clear this is what I've done in my application

  • Load the pjsip dll at the onInit of my application
  • Call all the necessary api's of the dll which is required in registration
  • Registration successful with proper codecs including g729.

Here comes the problem:
Suppose if I want to change the ip or username, I've done like this:

  • call shutdown api's of my dll which the function is to destroy pjsua

PJSIPDLL_DLL_API int dll_shutdown() {
pj_status_t status;
if (app_config.pool) {
pj_pool_release(app_config.pool);
app_config.pool = NULL;
}
status = pjsua_destroy();
pj_bzero(&app_config, sizeof(app_config));
return 0;
}

-Call registration with the new ip and username
-Registration success without g729 but all other codecs is loaded.

Regards
Elangbam Johnson.


Rediscover Hotmail®: Get e-mail storage that grows with you. Check it out.http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009


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

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

Dear Elang, Can u guide me to integrate voice age g729 with pjsip for symbian i have been stucked in these problem since long time but cannot get a solution where to include the lib file,decoder,encoder, i have downloaded the demo version......... Thanx in advance................................. .................................................................................. Sujoy On Wed, Apr 22, 2009 at 9:04 AM, Elias AC <ace__1981@hotmail.com> wrote: > Hi, > > You might want to check the following discussion: > http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004580.html > > I hope it helps. > > Good Luck, > Elias. > > ------------------------------ > Date: Tue, 21 Apr 2009 13:48:23 +0530 > From: elangbamjohnson@gmail.com > To: pjsip@lists.pjsip.org > Subject: [pjsip] Need help in integrating g729 for windows mobile. > > > > > Hi, I've integrated g729 on pjsip with the voiceage lib and make a > dll and use it in my application. Problem is that, when I call the dll for > the first time the codecs(including g729) is loaded, however when I try > re-registration without closing my application, g729 is again not loaded, do > I've made any mistake in integration in pjsip, any idea? > > To make it more clear this is what I've done in my application > > - Load the pjsip dll at the onInit of my application > - Call all the necessary api's of the dll which is required in registration > - Registration successful with proper codecs including g729. > > Here comes the problem: > Suppose if I want to change the ip or username, I've done like this: > - call shutdown api's of my dll which the function is to destroy pjsua > > ------------------------------------------------------------------------------------------------------------- > PJSIPDLL_DLL_API int dll_shutdown() { > pj_status_t status; > if (app_config.pool) { > pj_pool_release(app_config.pool); > app_config.pool = NULL; > } > status = pjsua_destroy(); > pj_bzero(&app_config, sizeof(app_config)); > return 0; > } > --------------------------------------------------------------- > -Call registration with the new ip and username > -Registration success without g729 but all other codecs is loaded. > > Regards > Elangbam Johnson. > > > ------------------------------ > Rediscover Hotmail®: Get e-mail storage that grows with you. Check it out.<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009> > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >