mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
feat: callerName to rest_dial and dial verb (#312)
* feat: callerName to rest_dial and dial verb * update verb specification
This commit is contained in:
@@ -27,6 +27,7 @@ router.post('/', async(req, res) => {
|
||||
const target = restDial.to;
|
||||
const opts = {
|
||||
callingNumber: restDial.from,
|
||||
...(restDial.callerName && {callingName: restDial.callerName}),
|
||||
headers: req.body.headers || {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user