Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An example of the inbound call routing scheme through a gateway to an agent whose internal number (extension) is 200. This routing scheme must be specified in the gateway settings (Подключение провайдера связиConnecting a Communication Provider).

Code Block
languagejs
firstline1
titleCallflow
linenumberstrue
collapsetrue
[
    {
        "recordSession": {
            "action": "start",
            "bridged": false,
            "followTransfer": true,
            "minSec": 2,
            "stereo": true,
            "type": "mp3"
        }
    },
    {
        "bridge": {
            "endpoints": [
                {
                    "extension": "200",
                    "type": "user"
                }
            ]
        }
    },
    {
        "hangup": ""
    }
]

...

An example of the inbound call routing scheme through a gateway sequentially to 3 agents whose internal numbers (extension) are 200, 201, 202. This routing scheme must be specified in the gateway settings (Подключение провайдера связиConnecting a Communication Provider).

Code Block
languagejs
titleCallflow
linenumberstrue
collapsetrue
[
    {
        "recordSession": {
            "action": "start",
            "bridged": false,
            "followTransfer": true,
            "minSec": 2,
            "stereo": true,
            "type": "mp3"
        }
    },
    {
        "bridge": {
            "endpoints": [
                
                {
                    "extension": "200",
                    "parameters": {
                        "call_timeout": "20"
                    },
                    "type": "user"
                },
                {
                    "extension": "201",
                    "parameters": {
                        "call_timeout": "20"
                    },
                    "type": "user"
                },
                {
                    "extension": "202",
                    "parameters": {
                        "call_timeout": "20"
                    },
                    "type": "user"
                }
                                
            ]
        }
    },
        
    {
        "hangup": ""
    }
]

...