Hi, I wonder WHY the Port in the To-header illegal? I think most people (the spec also says it) in the initial INVITE use the same value in the Request-URI and To header URI, so why should I have to remove the port from the To header if present in the Request-URI?
Regards, Christer Holmberg Ericsson Finland [EMAIL PROTECTED] wrote: > Port in the To-header is illegal. Also, you cannot change the To-header. It must be > identical to the remote-uri that was sent in the from-header of the INVITE. > > The Request-URI in the BYE MUST be set to the URI that was sent in the > contact-header of the INVITE (including ports). So, you actually have 2 bugs, the > second being that you are using to-header to populate the request-uri of the BYE. > You should use the remote-target instead (contact uri in the INVITE). > > Regards, > Hisham > > > -----Original Message----- > > From: ext Mariusz Maslowski [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 27, 2003 4:45 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [Sip-implementors] Problem with BYE > > > > > > Hello everybody, > > > > If anyone still is wondering why the Helmsman UA is not responding to > > the BYE, I have news for you. > > > > The problem was with the port which was different from default in the > > To: header, most probably. > > > > When I set up the Helmsmann UA to the 5060 port the dialog > > termination > > was successful. > > > > Now my UA sends a BYE request is as follows, and it is > > replied with 200 OK. > > > > BYE sip:[EMAIL PROTECTED]:5060 SIP/2.0 > > CALL-ID: [EMAIL PROTECTED] > > FROM: "SIP AGENT" <sip:[EMAIL PROTECTED]>;tag=1263000170 > > TO: <sip:[EMAIL PROTECTED]:5060>;tag=-821407910 > > CSEQ: 1 BYE > > VIA: SIP/2.0/UDP 192.168.0.34:5060;branch=z9hG4bK2079048389 > > MAX-FORWARDS: 70 > > CONTENT-LENGTH: 0 > > > > > > -- > > Pozdrofka, > > Mariusz Maslowski > > > > > > _______________________________________________ > > Sip-implementors mailing list > > [EMAIL PROTECTED] > > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors > > > > _______________________________________________ > Sip-implementors mailing list > [EMAIL PROTECTED] > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
