[SIPForum-discussion] About To header filed.

Tomasz Zieleniewski tzieleniewski at gmail.com
Wed Feb 18 08:55:57 UTC 2009


Hi Sai,

The To header field in the REGISTER request contains an address of record on
which the registration is created.
The address of record must be and SIP or SIPS URI. According to ABNF SIP URI
can have the following form:
"sip:" [ userinfo ] hostport
where hostport = host [ ":" port ] and host = hostname / IPv4address /
IPv6reference
So from REGISTER message You presented the To header is not correct although
it could be considered correctly
constructed.
There is no "@" so "101" must be considered the hostport part. It is not the
ipv4 and ipv6 address so the only possibility
that has left is hostname, which is wrong.

Kind regards
Tomasz Zieleniewski

2004/3/15 saimohan <saimohang at dlink.co.in>

>  Hi all,
>
>  Can anyone help whether this *to* header filed is valid or not. Actually
> Polycam Phone is sending *to* header in registration packet in this manner
>
>
>
> REGISTER sip:192.168.19.119 SIP/2.0
>
> Via: SIP/2.0/UDP 192.168.10.128:5060;branch=z9hG4bK646312704-2
>
> Max-Forwards: 70
>
> From: 101<sip:101 at 192.168.19.119 <sip%3A101 at 192.168.19.119>
> >;tag=plcm_646312704-3
>
> To: <sip:101>
>
> Call-ID: 646312704-1
>
> CSeq: 1 REGISTER
>
> Expires: 300
>
> Contact: 101<sip:192.168.10.128:5060;transport=udp>
>
> User-Agent: Polycom VV  8.0.2.0235
>
> Content-Length: 0
>
>
>
> Kindly do the needful.
>
>
>
> Thanks,
>
> Sai.
>  DISCLAIMER: This message is proprietary to D-Link (India) Limited and is
> intended solely for the use of the individual to whom it is addressed. It
> may contain privileged or confidential information and should not be
> circulated or used for any purpose other than for what it is intended. If
> you have received this message in error, please notify the originator
> immediately. If you are not the intended recipient, you are notified that
> you are strictly prohibited from using, copying, altering, or disclosing the
> contents of this message. D-Link (India) Limited accepts no responsibility
> for loss or damage arising from the use of the information transmitted by
> this email including damage from virus.
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20090218/473e3ea4/attachment-0002.html>


More information about the discussion mailing list