[pjsip] How to restart pjsip stack?

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

 



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071003/6f3ca22b/attachment-0001.html 


[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