From 0ff7195a834f9ad7452f6ed6c833ee1b00975ddc Mon Sep 17 00:00:00 2001 From: Varun Singh <382354+vr000m@users.noreply.github.com> Date: Tue, 13 May 2025 19:08:43 -0400 Subject: [PATCH] Update README.md updating docs --- .../deployment/pipecat-cloud-daily-pstn-server/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/deployment/pipecat-cloud-daily-pstn-server/README.md b/examples/deployment/pipecat-cloud-daily-pstn-server/README.md index 11fcca85d..3a09a8f08 100644 --- a/examples/deployment/pipecat-cloud-daily-pstn-server/README.md +++ b/examples/deployment/pipecat-cloud-daily-pstn-server/README.md @@ -110,14 +110,18 @@ The payload that the webhook received is as follows: "callId": "string-contains-uuid", "callDomain": "string-contains-uuid", "sipHeaders": { - // these are fields that can be sent to the sip-interconnect - // for example from twilio to daily "X-My-Custom-Header": "value", "x-caller": "+1234567890", "x-called": "+1987654321", }, } ``` +The `To`, `From`, `callId`, `callDomain` fields are converted to +`snake_case` and mapped to `dialin_settings`. In addition, `sipHeader` +contains any custom SIP headers received by Daily on the SIP +interconnect address (`sip_uri`). These are headers sent from +Twilio or other external SIP platforms, for example, to send the +caller's phone number. ### Dialout Request