asking for psjua2 support - onNatDetectionComplete

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

 



To whom it may concern.

I ask for help calling onNatDetectionComplete.
natDetectType () seems to work according to my logfile but I dont know how to run onNatDetectionComplete ().

try {
            test.natUpdateStunServers (stunserverlist,0);
            }
       catch(Error& err) {
      std::cout << "natUpdateStunServers: " << err.info() << std::endl;
       }

      try {
            test.natDetectType ();
            }
       catch(Error& err) {
      std::cout << "natdetectType: " << err.info() << std::endl;
       }

In the docs: "Callback when the Endpoint has finished performing NAT type
 detection that is initiated with natDetectType().
 @param prm       Callback parameters containing the detection
                    result.
 
  virtual void onNatDetectionComplete(
                          const OnNatDetectionCompleteParam &prm)
   { PJ_UNUSED_ARG(prm); }"

But where is prm?
Could anybody help with the correct syntax?

Sincerely Martin Taschen
_______________________________________________
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