theintencity / php-sip

Automatically exported from code.google.com/p/php-sip
3 stars 1 forks source link

To: header should be the same a initial URI #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
...so we probably need to remove setTo() method?

Original issue reported on code.google.com by level7systems@googlemail.com on 25 Mar 2010 at 8:26

GoogleCodeExporter commented 9 years ago
For example REGISTER will have URI different than To: header.

{{{
       REGISTER sip:registrar.biloxi.com SIP/2.0
       Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
       Max-Forwards: 70
       To: Bob <sip:bob@biloxi.com>
       From: Bob <sip:bob@biloxi.com>;tag=456248
       Call-ID: 843817637684230@998sdasdh09
       CSeq: 1826 REGISTER
       Contact: <sip:bob@192.0.2.4>
       Expires: 7200
       Content-Length: 0
}}}

Original comment by level7systems@googlemail.com on 31 Aug 2010 at 9:25