[asterisk-dev] why reset p->method in chan_sip?
Olle E. Johansson
oej at edvina.net
Wed Dec 9 15:25:16 CST 2009
8 dec 2009 kl. 18.12 skrev David Vossel:
> 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?
>
The question is really: Does any part of the code assume that it's the last message received in a dialog, not the first?
/O
More information about the asterisk-dev
mailing list