pjsua2 endpoint.onSelectAccount not called

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

 



using python with pjsua version 2.4 for Linux-3.16.0.38/x86_64/glibc-2.19:

As far as I understood the documentation, a the callback Endpoint.onSelectAccount has to be called for every unsolicited incoming NOTIFY request.
This does not happen in my application. What am I doing wrong?

Example:

class MyClass():
    def __init__(self):
        self.endpoint = pj.Endpoint_instance()
        self.endpoint.onSelectAccount = self.onSelectAccount

    def onSelectAccount(self, osap):
Logger.logdebug("* * * MyClass.onSelectAccount called * * *")


Later on, I get incoming NOTIFY - Request by a peer. I see the RX in the pjsua-logoutput, but no event is triggered.

thx in advance...

_______________________________________________
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