[pjsua] delete call instance

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

 



Hi,

 

I want to delete my call instance when call is closed.

 

onCallState(OnCallStateParam &prm){

                            CallInfo ci = getInfo();

                            İf(ci.state == PJSIP_INVE_STATE_DISCONNECTED){

                                              delete this;

                            }

}

 

After destroying call, follwing message appears and cannot receive calls anymore:

 

“Pjsua acc.c !Deleting account 0..

Pjsua acc.c .Account id 0 deleted”

 

So ,

my question is why account is deleting when i delete call and how to delete call instance correctly?

 

Thank you.

 

Best regards,
Gökmen

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

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

[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