Skip to main content

Create/Update multiple call forward rules

  • This endpoint is used by Link management system
    • If there is already forward rule with same forward_number it will be updated
  • Available forward number patterns:
    • \d+ - digits only
    • ^laskomex:\d+$ - for devices with hybrid adapter
    • ^vizit:\d+$ - another number format for devices with hybrid adapter
    • ^sip:([0-9A-Za-z+\-_]*@)((\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(?:\:\d{1,5})?)(\.|$)){4}\b)|([0-9]*[A-Za-z+\-_]+[0-9]*)((\.([0-9]*[A-Za-z+\-_]+[0-9]*))+\b))$ - full SIP URI, for example, sip:[email protected] or sip:[email protected]
    • ^sip:(\b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?(?:\:\d{1,5})?)(\.|$)){4}\b)$ - SIP URI without name and host, for example sip:192.168.1.2
Request Body required
  • list_items object[]
Responses

OK


Schema
  • result object[]
  • link_id int64

    Logicall address of the forward

  • success boolean
  • extended_info string

    Possible values: [created, updated, deleted]

Loading...