[Asterisk-Dev] chan_iax2.c: is IAX_COMMAND_REGREL implementation working?

Kevin P. Fleming kpfleming at digium.com
Tue Dec 20 05:54:11 MST 2005


Eugene Prokopiev wrote:

> It seems a registration release should cause the peer address to
> become (0) - but it is not erased from the registry. So rather then 
> deleting the entry, the iax channel just zeros the IP structure of the 
> peer. Even in this case I see client IP in 'iax2 show peers' during 1 
> minute.

The entry would never be 'deleted'. The entry came from the 
configuration file (or database), so all that is needed for Asterisk to 
'forget' where the peer is located. This code appears to be doing 
exactly that.

> What can anybody say about this code? How can I change it to work with 
> IAX_COMMAND_REGREL?

Add some debugging steps to the code and verify what it is actually 
doing, and if it's not doing the correct thing, file a bug report. Thanks.



More information about the asterisk-dev mailing list