Comment #7 on issue 2504 by [email protected]: JDiameter: change
disconnect-cause
http://code.google.com/p/mobicents/issues/detail?id=2504
Hi Alex,
I'm agree with you. There are no needs to be able to specify a destruction
reason but I just think that it will be more flexible to use. For example,
in case of error during stack's start I need to destroy the stack (and to
specify a disconnect cause because I don't want that remote equipment
doesn't re-interrogate the stack). Since the stack is not running I just
call destroy method.
But in case where destroy method take no parameter, I just have to call
stop before destroy. So for me it's not very important but do you see a
problem if destroy method take disconnect-cause as parameter?