[asterisk-dev] sip_devicestate and queue problems

Russell Bryant russell at digium.com
Mon Aug 18 14:43:34 CDT 2008


Daniel Ferrer wrote:
> I think there are 2 ways to fix this problem:
>   1) Not querying a DNS server if peer not found in function 
> sip_devicestate, this will elliminate innecesary dns queries.
>   2) Not to call to "ast_device_state_changed_literal" (in function 
> ast_setstate, channel.c) with ENTIRE channel name, SIP/peer-abcdef

This has actually already been reworked and should be fixed in 1.4.22. 
It would be helpful if you could try the latest code in the 1.4 branch 
(or one of the upcoing 1.4.22 release candidates) to see if you still 
have a problem.

$ svn co http://svn.digium.com/svn/asterisk/branches/1.4 asterisk-1.4

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.



More information about the asterisk-dev mailing list