Versions Compared

Key

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

...

Go to the "Default callflow" section and create a routing scheme in which we indicate that all 2-digit numbers that start with "5" must be sent through this gateway:

screenshot_20210301_094814.png

Wiki Markupcode
[
    	{
        		"ringback": {
            			"call": {
                				"name": "$${ru-ring}",
                				"type": "tone"
            },
            			},
			"transfer": {
                				"name": "$${ru-ring}",
                				"type": "tone"
            }
        }
    },
    {
        			}
		}
	},
	{
		"recordSession": {
            			"action": "start",
            			"type": "mp3",
            			"stereo": true,
            			"followTransfer": true,
            			"bridged": true,
            			"minSec": 2,
            			"email": []
        		}
    	},
    	{
        		"bridge": {
            			"endpoints": [
                {
                    				{
					"type": "sipGateway",
                    					"name": "3CX",
                    					"dialString": "$1"
                }
            ]
        }
    },
    {
        				}
			]
		}
	},
	{
		"hangup": "NORMAL_CLEARING"
    	}
]

Now we can make calls from Webitel to any 3CX internal numbers.

...