PSTNBlacklistInterface
Props
addPstnBlackListItem: (request: AddPstnBlackListItemRequest) => Promise<AddPstnBlackListItemResponse>
Add a new phone number to the PSTN blacklist. Use blacklist to block incoming calls from specified phone numbers to numbers purchased from Voximplant. Since we have no control over exact phone number format for calls from SIP integrations, blacklisting such numbers should be done via JavaScript scenarios.
delPstnBlackListItem: (request: DelPstnBlackListItemRequest) => Promise<DelPstnBlackListItemResponse>
Remove phone number from the PSTN blacklist.
getPstnBlackList: (request: GetPstnBlackListRequest) => Promise<GetPstnBlackListResponse>
Get the whole PSTN blacklist.
setPstnBlackListItem: (request: SetPstnBlackListItemRequest) => Promise<SetPstnBlackListItemResponse>
Update the PSTN blacklist item. BlackList works for numbers that are purchased from Voximplant only. Since we have no control over exact phone number format for calls from SIP integrations, blacklisting such numbers should be done via JavaScript scenarios.