Displaying 2 results from an estimated 2 matches for "start_loop".
2008 May 29
7
how to write spec for infinite loop?
Hi,
I''ve got trouble when describe infinite loop.
code snippet:
def start_loop
while true
data = self.server.handle_client
if data
self.manager.dispatch(data)
end
end
end
without the loop, it is easy to test the logic.
but how can I describe it to tell the developer ( me :-) ) that there
should be an infinite loop inside.
thanks.
Regards,...
2010 Feb 13
4
Important security alert: update your dialplans now!
Friends,
Last week, Hans Petter Selansky alerted us of a potential security issue in all releases of Asterisk. In fact, it doesn't involve the code, but the most common way to construct dialplans. If you have something like this in your Asterisk, you need to update your dialplans:
[incoming-from-voip]
exten => _X., 1, dial(SIP/${EXTEN})
Many VoIP protocols support a large character set,