connect.headers
Custom SIP headers to add to INVITE. Has no effect on calls to phone numbers.
An array of objects that accept the headers parameters.
headers parameters
Example
- YAML
- JSON
version: 1.0.0
sections:
main:
- connect:
to: "sip:user-a@<domain>.com"
headers:
- name: "x-FROM_NUMBER"
value: "+2B123456789"
{
"version": "1.0.0",
"sections": {
"main": [
{
"connect": {
"to": "sip:user-a@<domain>.com",
"headers": [
{
"name": "x-FROM_NUMBER",
"value": "+2B123456789"
}
]
}
}
]
}
}