[SIPForum-discussion] Question on via and contact headers

Subhasish Panda pandasubhasish at gmail.com
Mon Dec 29 12:33:08 UTC 2014


via header is used for RESPONSE routing.

contact is mandatory for invite request and it is used for directly sending
REQUEST

On Wed, Dec 24, 2014 at 10:21 PM, shuaib ahmad <shuaib.pantnagar at gmail.com>
wrote:

> Hi All,
>
> As we know via header contains address of hub through which it is
> being passed to destination and destination would send back response
> of request using via header entries. Contact header is used to send a
> request(Re-INVITE, BYE)after first INVITE. If we do not include
> contact header in INVITE, we are not able to send BYE( we do not get
> 200 OK).
>
> My question here is if we have via header to send response back to
> source then why do we need contact header in INVITE ?
> _______________________________________________
> 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
>



-- 
Thanks
Subhasish panda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20141229/6acb5500/attachment-0002.html>


More information about the discussion mailing list