[asterisk-dev] why reset p->method in chan_sip?

David Vossel dvossel at digium.com
Tue Dec 8 11:12:01 CST 2009


Hello everyone!

In chan_sip sip_pvt->method is supposed to represent the method that opened the dialog.  It is set in sip_alloc during dialog creation, so what is the purpose of resetting it in handle_incomming for every message we receive?  Is that necessary or useful for anything?

~Vossel



More information about the asterisk-dev mailing list