[pjsip] How to restart pjsip stack?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sasa,

There was a bug which I fixed yesterday, which calls 
pjmedia_snd_deinit() more than once during pjsua shutdown sequence. 
This might be the one that caused pjsua failed to restart. Please 
see http://www.pjsip.org/trac/ticket/386

cheers,
  -benny

Sasa Coh wrote:
> Hello!
> 
> Scenario: After change of some configuration parameters I have to 
> restart pjsip stack to apply changes.
> I've tried it this way (just restart - no config change):
> 
> ...
>     app_destroy    // first shutdown stack
>     // then initialize again
>     app_init
>     app_main
> ...
> 
> I've got following errors (on app_main):
>  10:29:24.486  pjsua_media.c pjsua_set_snd_dev(): attempting to open 
> devices @16000 Hz
>  10:29:24.486  pjsua_media.c ..failed: Unknown error 220200
> ....
>  10:29:25.111  pjsua_media.c Unable to open sound device: Unknown error 
> 220200 [status=220200]
>  10:29:25.111  pjsua_media.c Error opening sound device: Unknown error 
> 220200 [status=220200]
>  10:29:25.126   pjsua_core.c Shutting down...
> ...
> 
> 
> Where am I wrong? I'm using pjsip_0.7.0-rc1 (pjsua_app.c) on WinXp.
> 
> Kind regards,
> Sasa





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux