Menu

#125 Can not add headers

SIPit17
open
nobody
None
5
2018-04-11
2018-04-11
Bidyut
No

Hi

I am getting following errors when I am trying to add header

nta_msg_tsend(request): cannot add headers

Here is my Node JS code:

var acceptcontact = req.getParsedHeader('Accept-Contact');

srf.proxyRequest(req, dest, {
    headers: {
        'Accept-Contact': acceptcontact
      }
    }

Can you please point me, why I am getting error ?

Regards
Bidyut

Discussion


Log in to post a comment.