#627 SIPMSGOPS: sip_msg_validate

1.10.x
open
modules (454)
5
2013-05-10
2013-03-11
Nick Altmann
No

Why sip_msg_validate passes Contact: in REGISTER like this?

Contact: <sip:user@domain:10501:20367;rinstance=86d960eb37116caa>

Discussion

  • Razvan Crainea
    Razvan Crainea
    2013-03-11

    Hi, Nick!

    The validate function only if the Contact header has o proper format. However, it doesn't try to parse the URI.

    Best regards,
    Răzvan

     
  • Nick,

    That is a valid Contact header. What it shouldn't be passed ?

    Regards,
    Bogdan

     
  • Nick Altmann
    Nick Altmann
    2013-03-14

    It's not valid. There are two times set port - 10501 and 20367. After lookup opensips can't send INVITE.

     
    • assigned_to: nobody --> razvancrainea
     
  • So adding a new flag to force Contact URI validation ??