By Date: <-- -->
By Thread: <-- -->

OPAL: SIP Transports deletion, when STUN enabled



At 03.02.2006 10:15 Craig Southeren wrote:

> I tried to find the original post and was unable to.
> The first post I can find on this topic in the archives is
>
http://www.openh323.org/pipermail/openh323/Week-of-Mon-20060130/076284.html
> This looks like a dup of a post to some other list. I'd welcome any
> additional information

My original post:
http://www.openh323.org/pipermail/openh323/Week-of-Mon-20060123/076248.html

> > From what I gathered (because I did follow this thread from the start),
Jacek
> > does not voluntarily/actively delete the endpoint(s). Rather, the
automatic
> > mechanism in Opal deletes the endpoint(s)... too early.

Yes - I don't delete endpoint, I delete OPALManager, it deletes all
threads/classes etc. connected to it.

> OPAL never deletes an endpoint automatically, unless you count when the
> OpalManager is being deleted. And that should not occur except when the
> application is being shut down.
> Put another way, endpoints are created by the application and added to a
> list in the the OpalManager instance using OpalManager::AttachEndPoint.
> The only way to delete them (other than as described above) is to call
> OpalManager::DetachEndPoint..

Yes - when I want to delete endpoint I use this function which you mentioned
here.

> And I can't see why an application would
> need to do that in normal usage

In Poland ADSL connections with dynamic IP addresses are very popular. In my
softphone I listen to interface which is gateway to Inet - because listening
to all produced unexpactable and weird behaviour of OPAL.
So in ADSL I want to know when IP changes - and when this happens start
listening to new IP address. I thought that I can't call
SIPEndPoint::StartListeners() another time. So I detach endpoint from
manager, and start brand new one which listens on new IP address. I don't
know is this correct, but wrote this in this way.... any suggestions?

> So, is this a shutdown problem?
> Craig

At this moment - yes, because it is a big problem, when an application
crashes during exit. And because things mentioned earlier (changeable IP)
are not critical, and I can disable them.

Also I want to ask about generationg patch files in Windows. WinMerge can
generate them, but I'm not sure if they will be in a correct format. Because
of this I've posted sources, but I realize that this is incorrect... Could
you give me an advice how to generate them correctly?

Best Regards:
Jacek Stobnicki

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------