[sr-dev] Contact parameter parsing broken?

Juha Heinanen jh at tutpro.com
Wed Jan 2 13:08:39 CET 2013


Peter Dunkley writes:

>                 if (parse_contact(msg->contact) < 0)
>                 {
>                         LM_ERR("parsing Contact: header body\n");
>                         return 0;
>                 }
>                 contact = ((contact_body_t *)msg->contact->parsed)->contacts;

after the above, have you tried simply contact->reg_id and
contact->instance?

-- juha



More information about the sr-dev mailing list