hi, is someone else having issues passing Custom S...
# telephony
a
hi, is someone else having issues passing Custom SIP Headers to the outbound trunk?, I have configured my outbound trunk but still can't see in the call logs my participantAttributes not showing my custom headers attributes, i don't see the attributes in livekit nor in twilio pcap
Copy code
{
  "sipTrunkId": "ST_[redacted]",
  "name": "...",
  "metadata": "",
  "address": "<http://redacted.pstn.twilio.com|redacted.pstn.twilio.com>",
  "transport": "SIP_TRANSPORT_TCP",
  "numbers": [
    "+[redacted]"
  ],
  "authUsername": "[redacted]",
  "authPassword": "[redacted]",
  "headers": {},
  "headersToAttributes": {
    "xCompanyId": "company_id"
  },
  "attributesToHeaders": {
    "companyId": "X-CompanyId"
  },
  "includeHeaders": "SIP_ALL_HEADERS",
  "mediaEncryption": "SIP_MEDIA_ENCRYPT_DISABLE",
  "destinationCountry": ""
}
I noticed that is this currently open https://github.com/livekit/sip/issues/358 not sure if that's the core issue
Ok, it seems that by passing it manually into CreateSIPParticipantRequest headers does the trick