Webphone SDK
Custom SIP headers
Attach application metadata to registration, outgoing calls and answers.
const call = await phone.call('+31202100000', {
headers: {
'X-CRM-Contact-Id': 'c_1024',
'X-Campaign': 'nl-spring'
}
});
await phone.register({
headers: {
'X-Desk': 'amsterdam-floor-2'
}
});