Skip to content

Commit

Permalink
support refer display name
Browse files Browse the repository at this point in the history
  • Loading branch information
xquanluu committed Dec 11, 2024
1 parent 7b3dd92 commit 91cd01c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"id": "string",
"referTo": "string",
"referredBy": "string",
"referredByDisplayName": "string",
"headers": "object",
"actionHook": "object|string",
"eventHook": "object|string"
Expand Down
6 changes: 6 additions & 0 deletions test/jambonz-verb-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,12 @@ test("validate correct verbs", async (t) => {
"referTo": "+15083084809",
"actionHook": "/action"
},
{
"verb": "sip:refer",
"referTo": "+15083084809",
"referredByDisplayName": "Alice",
"actionHook": "/action"
},
{
"verb": "tag",
"data": {
Expand Down

0 comments on commit 91cd01c

Please sign in to comment.