daniel, andrei, or any parser expert,
i see that in typedef struct sip_msg there is these:
struct via_body* via1; /* The first via */ struct via_body* via2; /* The second via */
why two?
if i call parse_headers(msg, HDR_EOH_F, 0) and via2 is not set, does it mean that message had only one via?
-- juha
On 09.11.2009 10:15 Uhr, Juha Heinanen wrote:
via2 is a shortcut to 2nd via for the purpose of reply routing.
Cheers, Daniel