On 09.11.2009 10:15 Uhr, Juha Heinanen wrote:
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 */

via2 is a shortcut to 2nd via for the purpose of reply routing.

Cheers,
Daniel

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

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev


--
Daniel-Constantin Mierla
* http://www.asipto.com/


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to